joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430b30
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x404
mov eax, dword [0x4d4980]
mov dword [esp + 0x400], eax
cmp dword [0x4e8fa4], 0
je 0x430ba1
cmp dword [0x4e8fb0], 0
mov edx, dword [esp + 0x40c]
jne 0x430b61
cmp byte [edx], 0x2a
je 0x430b8d
lea ebp, [esp]
lea eax, [esp + 0x410]
push eax
push edx
push ebp
call dword [0x4bc3ac]
push ebp
call dword [0x4bc0a0]
push dword [0x4e8fa4]
push eax
push 1
push ebp
call fcn.0048e948
add esp, 0x10
mov ecx, dword [esp + 0x400]
call fcn.0048e39e
add esp, 0x404
pop ebp
ret
mov ecx, dword [esp + 0x400]
call fcn.0048e39e
add esp, 0x404
pop ebp
ret

Function at 0x453520
Capabilities:
Encode data using xor

Disassembly:
push esi
movsx edx, byte [eax]
test edx, edx
je 0x45354f
mov dword [esp], esi
xor ecx, ecx
lea esi, [ecx*8]
sub esi, ecx
mov ecx, edx
xor ecx, esi
inc eax
movsx edx, byte [eax]
test edx, edx
jne 0x45352d
mov esi, dword [esp]
mov dword [0x51f78c], ecx
mov eax, ecx
pop ecx
ret
mov dword [0x51f78c], 0
xor ecx, ecx
jmp 0x45354b

Function at 0x4537c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov ebp, edx
movsx ecx, byte [eax]
mov edx, 0x513081
mov byte [0x513080], cl
test ecx, ecx
je 0x45380f
mov dword [esp], ebx
xor ecx, ecx
lea ebx, [ecx*8]
sub ebx, ecx
movsx ecx, byte [eax]
xor ecx, ebx
inc eax
movsx ebx, byte [eax]
mov byte [edx], bl
inc edx
test ebx, ebx
jne 0x4537db
mov ebx, dword [esp]
mov dword [0x51f78c], ecx
call fcn.004528b0
mov dword [eax + 4], 0xffffffe5
mov dword [eax + 0xc], ebp
pop ecx
pop ebp
ret
mov dword [0x51f78c], 0
jmp 0x4537fd

Function at 0x486e20
Capabilities:
Write file on windows

Disassembly:
push esi
sub esp, 0xc
call fcn.004324f0
push 0xffffffffffffffff
call fcn.00434130
pop ecx
call fcn.00433200
push 0
call fcn.0042c640
pop ecx
call fcn.004882f0
call fcn.00486dc0
call fcn.0044c7e0
call fcn.004432c0
call fcn.0048d6d0
call fcn.0048bd80
call fcn.0044c6f0
call fcn.004597b0
xor esi, esi
mov eax, dword [esi*4 + 0x5e38cc]
test eax, eax
je 0x486e85
push eax
call fcn.0044ad90
pop ecx
mov dword [esi*4 + 0x5e38cc], 0
inc esi
cmp esi, 8
jl 0x486e68
mov eax, dword [0x5e38ec]
test eax, eax
je 0x486ead
push eax
push 0xfffffffffffffffc
push dword [0x50e504]
call dword [0x4bc3a8]
mov dword [0x5e38ec], 0
cmp dword [0x5e38f0], 0
je 0x486ecb
push 0x5e38f4
call dword [0x4bc128]
mov dword [0x5e38f0], 0
movsx eax, byte [0x5e36a0]
test eax, eax
je 0x486f19
mov dword [esp + 4], 0x5e36a0
lea eax, [esp + 4]
mov dword [esp + 8], 0x4c033c
call fcn.00484b34
mov esi, eax
test esi, esi
je 0x486f12
push esi
push 1
push dword [0x5e38c8]
push dword [0x5e38c4]
call fcn.0048e948
push esi
call fcn.0048e76a
add esp, 0x14
mov byte [0x5e36a0], 0
mov eax, 1
add esp, 0xc
pop esi
ret

Function at 0x4883a2
Capabilities:
Create thread

Disassembly:
push esi
mov dword [0x4d4800], 1
mov dword [0x5e3940], eax
call fcn.004888e4
test eax, eax
je 0x4883c5
push 0x5e3940
push 0
push 0x487440
call fcn.00491e6b
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [0x5e3960], edx
mov eax, dword [0x5e3960]
add esp, 0x10
ret
xor eax, eax
pop ecx
ret
Function at 0x4ac990
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x4aca30
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x4ac9e2
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4d6964]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4ac9c3
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x4aca0b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4d6964]
xor eax, edx
inc esi
cmp esi, edi
jl 0x4ac9ee
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x405078
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405314
mov byte [esp], al
cmp byte [esp], 0
jne 0x405202
test edi, edi
je 0x405202
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405142
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x40511d
cmp edi, 0xffffffff
je 0x4050dd
call sub.KERNEL32.DLL_GetTickCount_1
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4050dd
mov byte [esp], 0
jmp 0x405202
mov ebx, dword [esi]
cmp ebx, 1
jg 0x40511d
test ebx, ebx
jne 0x40510f
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40510f
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405202
lea eax, [esp + 0xc]
call fcn.00404e28
dec ebp
test ebp, ebp
jg 0x4050c2
cmp edi, 0xffffffff
je 0x405142
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405140
mov byte [esp], 0
jmp 0x405202
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405086
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405142
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405270
mov edx, eax
mov ebx, dword [0x4218f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4051a6
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4051a4
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4051a6
xor edi, edi
cmp byte [esp], 0
je 0x4051cc
mov ebx, dword [esi]
test bl, 1
jne 0x4051e2
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4051ac
mov byte [esp + 1], 1
jmp 0x4051e2
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4051cc
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405159
cmp byte [esp], 0
je 0x405202
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405be4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x421054], 0
je 0x405c4b
cmp word [0x421340], 0xd7b2
jne 0x405c0d
cmp dword [0x421348], 0
jbe 0x405c0d
mov eax, 0x42133c
call dword [0x421358]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x405c78
call fcn.00406364
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x41f022], 0
jne 0x405c67
push 0
push 0x41f9aa
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4076c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40782d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405e70
cmp si, word [0x41f9e8]
jb 0x407760
cmp si, word [0x41fbe8]
ja 0x407760
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x407760
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x41f9e8]
jae 0x40773a
mov edi, ebx
dec edi
jmp 0x40775b
cmp si, word [ebx*8 + 0x41f9e8]
jbe 0x40774a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40775b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x41f9ec]
call fcn.004075e8
jmp 0x407760
cmp edi, dword [ebp - 8]
jae 0x407724
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40780f
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale_1
test eax, eax
je 0x40780f
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW_1
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW_1
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004064fc
push dword [ebp - 0x160]
push 0x407848
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004064fc
push dword [ebp - 0x164]
push 0x407858
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004064fc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004066b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407834
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405ed0
ret
Function at 0x4079e0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x407ae4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x423b84
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x423b9c]
jne 0x407a2c
mov eax, esi
mov edx, 0x423b9e
mov ecx, 0x55
call fcn.004064fc
push 0x423b84
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x407ace
push 0x423b84
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.00405e70
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale_1
test eax, eax
je 0x407a9b
cmp byte [0x423b80], 0
je 0x407a60
mov edx, esi
mov eax, ebx
call fcn.004078c4
jmp 0x407a9b
mov edx, esi
mov eax, ebx
call fcn.004076c8
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x407a9b
cmp dword [esi], 0
je 0x407a84
mov eax, esi
mov edx, 0x407afc
call fcn.004065d4
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004076c8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004065d4
push 0x423b84
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x423b9c], bx
mov eax, dword [esi]
call fcn.00406468
mov ecx, eax
mov eax, 0x423b9e
mov edx, 0xaa
call fcn.00407548
push 0x423b84
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407aeb
lea eax, [ebp - 4]
call fcn.00405e70
ret
Function at 0x407d14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f54
xor eax, eax
push ebp
push 0x407f39
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x407d54
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW_1
jmp 0x407d6e
mov eax, dword [ebp - 4]
call fcn.00406468
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00407548
cmp word [ebp - 0x21a], 0
je 0x407f23
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407f48
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407e3d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407f48
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407e3d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407f84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407e3d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407f84
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407e3d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407fb8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407e3d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407fec
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x407f23
xor eax, eax
push ebp
push 0x407f1c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00407b24
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x407eac
mov eax, dword [ebp - 0x10]
call fcn.00403fe8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004064c0
jmp 0x407ef7
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40802c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x407ef7
mov eax, dword [ebp - 0x10]
call fcn.00403fe8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40802c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004064c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f23
cmp dword [ebp - 8], 0
je 0x407f12
mov eax, dword [ebp - 8]
call fcn.00404004
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f40
lea eax, [ebp - 4]
call fcn.00405e70
ret
Function at 0x408228
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f54
xor eax, eax
push ebp
push 0x4082e8
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004064fc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040662c
mov eax, dword [ebx]
call fcn.004080f0
test al, al
jne 0x4082c5
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004064fc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040662c
mov eax, dword [ebx]
call fcn.004080f0
test al, al
jne 0x4082c5
mov eax, ebx
call fcn.00405e70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4082ef
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405ed0
lea eax, [ebp - 4]
call fcn.00405e70
ret

Function at 0x4153e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x415421
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405fc8
jmp 0x41542a
mov eax, ebx
mov edx, esi
call fcn.00406144
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415434
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x415456
movzx eax, word [esp]
jmp 0x415458
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x416750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x416875
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00416558
mov esi, eax
mov eax, dword [0x420764]
cmp byte [eax], 0
je 0x41681d
mov eax, dword [0x42067c]
call fcn.0040430c
call fcn.0040413c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416720]
call fcn.00406ffc
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x416890
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x416859
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x420654]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x423c4c]
call fcn.004071e8
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41687c
lea eax, [ebp - 4]
mov edx, dword [0x416720]
call fcn.00407120
ret

Function at 0x4183d0
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004064fc
add esp, 0x800
pop ebx
ret

Function at 0x41968c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4196b9
push 0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_TerminateProcess
pop ecx
pop ecx
pop ebp
ret
Function at 0x4e1d88
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403a28
and dword [ebp - 0x20], 0
call fcn.00440ab0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [0x5202e8], esi
call fcn.00440ab0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
add eax, dword [0x5202e8]
jo 0x4e1e19
cmp esi, eax
jge 0x4e1deb
call sub.MSVBVM60.DLL_rtcDoEvents
jmp 0x4e1dc6
push 0x4e1dfc
jmp 0x4e1dfb
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow

Function at 0x4e1e1e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x403a38
and dword [ebp - 0x20], 0
call fcn.00440ab0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [0x5202e8], esi
call fcn.00440ab0
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp + 0xc]
movsx eax, word [eax]
add eax, dword [0x5202e8]
jo 0x4e1f0e
cmp esi, eax
jge 0x4e1ee0
call sub.MSVBVM60.DLL_rtcDoEvents
push 4
call fcn.0044066c
mov edi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0xdc
call fcn.004409fc
mov esi, eax
call sub.MSVBVM60.DLL___vbaSetSystemError
test si, si
jl 0x4e1eca
cmp word [0x5201be], 0
je 0x4e1eca
cmp word [0x5201de], 0xffff
je 0x4e1eca
cmp word [0x520240], 0xffff
je 0x4e1eca
push 1
pop eax
jmp 0x4e1ecc
xor eax, eax
xor ecx, ecx
test di, di
sete cl
test eax, ecx
jne 0x4e1e5c
or word [0x5201de], 0xffff
push 0x4e1ef1
jmp 0x4e1ef0
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x4e1f13
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xa0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403a48
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0x4455d8
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x445634
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 0x4008
mov dword [ebp - 0x44], 0x80020004
mov dword [ebp - 0x4c], 0xa
mov dword [ebp - 0x84], 0x443410
mov dword [ebp - 0x8c], 8
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcGetObject
push 0
push 0x445638
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0xac]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
push 0x4434d8
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarLateMemCallLdRf
add esp, 0x20
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarLateMemCallLd
add esp, 0x10
push eax
call sub.MSVBVM60.DLL___vbaBoolVar
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
push 0x4e209c
jmp 0x4e2093
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
Function at 0x401280
Capabilities:
Check http status code

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x14]
cmp eax, 0xc8
je 0x4012af
cmp eax, 0xc9
je 0x4012af
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x13
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
call dword [eax]
add esp, 4
push esi
call fcn.004012f0
mov ecx, eax
add esp, 4
dec ecx
je 0x4012e9
dec ecx
jne 0x4012ee
mov al, byte [esp + 0xc]
test al, al
je 0x4012d9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x2d
mov edx, dword [esi]
call dword [edx]
add esp, 4
push esi
call fcn.00403220
add esp, 4
mov eax, 2
pop esi
ret
mov eax, 1
pop esi
ret

Function at 0x4016e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x401710
push esi
call fcn.00404d60
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x401709
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x401793
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x40177f
mov eax, dword [esi + 8]
test eax, eax
je 0x401734
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x40177b
cmp eax, 2
je 0x40177f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x401727
cmp eax, 3
je 0x40175a
cmp eax, 1
jne 0x401727
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x401727
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x401727
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004017c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4017b3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x13
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004017c0
add esp, 4
pop esi
ret