joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0df8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a0e52
inc esi
xor edi, edi
cmp edi, 1
jne 0x4a0e1e
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4a0e2c
cmp edi, 1
jle 0x4a0e2c
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00426f54
test eax, eax
jne 0x4a0e52
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4a0e52
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4a0e52
inc edi
dec esi
jne 0x4a0e0e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4a0e5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4a0e80
mov eax, dword [ebp - 4]
jmp 0x4a0e83
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a0e88
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4a0ed5
xor ebx, ebx
jmp 0x4a0eca
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.004198d4
test eax, eax
jne 0x4a0ec9
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x4a0f80
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a0eab
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4a0ee1
je 0x4a0eea
jmp 0x4a0ef3
call fcn.00422f18
mov esi, eax
jmp 0x4a0ef5
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x4a0ef5
xor esi, esi
test si, si
je 0x4a0f80
xor ebx, ebx
jmp 0x4a0f1b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x4a0f1a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a0f80
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a0f02
xor ebx, ebx
jmp 0x4a0f75
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x4a0f74
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x4a0f69
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.004a0e5c
push eax
mov eax, esi
call fcn.004a0e5c
pop edx
cmp edx, eax
jne 0x4a0f74
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a0f80
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a0f2a
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4a1368
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a143d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a1458
push ebx
push 0x4a1468
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087a4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405864
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084c8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a13e8
mov al, 0x72
call fcn.004a0f90
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a133c
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4a13f1
call fcn.004a133c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1444
lea eax, [ebp - 4]
call fcn.004079f4
ret

Function at 0x4a14f0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a15bb
jmp 0x4a15af
cmp dword [esi + 0x10], 0x1000
jne 0x4a159b
test byte [esi + 0x15], 1
jne 0x4a159b
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4a154c
cmp ebp, 2
je 0x4a154c
cmp ebp, 0x10
je 0x4a154c
cmp ebp, 0x20
jne 0x4a1568
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a1568
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4a1579
mov eax, dword [esi]
add eax, ebx
call fcn.004a14e8
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4a156c
cmp byte [esp + 4], 0
je 0x4a159b
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a15bb
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4a1521
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x423d80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x423d86
ret

Function at 0x452fe0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4808d0]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x4531b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0044b1f4
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0044c41c
mov eax, dword [esi]
call fcn.00468e68
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x453052
mov eax, dword [esi]
call fcn.00468e68
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00468e74
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x453076
mov eax, dword [esi]
call fcn.00468e74
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00468e5c
cmp eax, dword [ebp - 0x18]
jle 0x45308c
mov eax, dword [esi]
call fcn.00468e5c
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00468e50
cmp eax, dword [ebp - 0xc]
jle 0x4530a2
mov eax, dword [esi]
call fcn.00468e50
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004519ac
push eax
call fcn.00406f60
call fcn.004066d8
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x453169
mov eax, ebx
call fcn.004041f8
cmp eax, 0x64
jge 0x453169
cmp dword [0x47fc38], 0
je 0x453169
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00406fb0
cmp dword [ebp - 8], 0
je 0x453169
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00406fb0
cmp dword [ebp - 8], 0
je 0x45312c
mov bl, 2
jmp 0x453147
lea edx, [ebp - 0x20]
mov eax, dword [0x481b24]
call fcn.00456278
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x453145
xor ebx, ebx
jmp 0x453147
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x47fd40]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004519ac
push eax
call dword [0x47fc38]
mov eax, dword [0x48074c]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.0044f0e0
push 4
mov eax, dword [ebp - 4]
call fcn.004519ac
push eax
call fcn.00406fa8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4531c0
call fcn.004066d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x406470
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x406501
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x406501
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x406501
cmp dword [eax + edi + 0x7c], 0
je 0x406501
mov eax, dword [eax + edi + 0x78]
xor esi, esi
add eax, edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add edx, edi
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [ebp + 8], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x406501
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp + 0xc]
add eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4064f0
test dl, dl
je 0x4064ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4064f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4064d0
xor eax, eax
jmp 0x4064f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x40650a
mov edx, dword [ebp + 8]
inc esi
cmp esi, ebx
jb 0x4064c8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406520
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44065d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4525c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [0x453860]
push eax
lea eax, [ebp - 0x28]
push str.https:__data.grandmta.ru_
push eax
call fcn.00401700
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x406573
mov eax, dword [eax]
push 0
push 0x80000000
push 0
push 0
push eax
push dword [0x45386c]
call esi
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x4065c0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4065b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40662f
push ecx
push edx
call fcn.0041e31b
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x40660f
mov eax, dword [0x453858]
lea ecx, [ebp - 0x30]
push 0
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push ecx
push 0x20000013
push esi
mov dword [ebp - 0x30], 4
call eax
test eax, eax
je 0x406613
cmp dword [ebp - 0x2c], 0x194
jne 0x406613
push esi
call dword [0x453864]
xor eax, eax
jmp 0x406615
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e63d
mov esp, ebp
pop ebp
ret
call fcn.0042329f
int3
Function at 0x4076a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44081d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4525c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0
push 0
push 1
mov dword [ebp - 0x58], eax
mov eax, dword [0x45385c]
push str._ShortFile
call eax
mov edi, eax
test edi, edi
je 0x407851
mov ebx, dword [0x453860]
lea eax, [ebp - 0x28]
push esi
push str.https:__data.grandmta.ru_
push eax
call fcn.00401700
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x407719
mov eax, dword [eax]
push 0
push 0x80000000
push 0
push 0
push eax
push edi
call ebx
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x407765
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40775b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40786f
push ecx
push edx
call fcn.0041e31b
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x407851
mov eax, dword [0x453858]
lea ecx, [ebp - 0x4c]
push 0
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
push 0x20000013
push esi
mov dword [ebp - 0x4c], 4
call eax
test eax, eax
je 0x4077b5
cmp dword [ebp - 0x48], 0x194
je 0x407843
mov eax, dword [0x453858]
lea ecx, [ebp - 0x50]
push 0
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push ecx
push 0x20000005
push esi
mov dword [ebp - 0x50], 4
call eax
test eax, eax
je 0x407843
push dword [ebp - 0x44]
call fcn.0041e329
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407843
mov ecx, dword [0x453868]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x54], 0
push ebx
push esi
call ecx
test eax, eax
je 0x407843
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00403860
mov ecx, dword [ebp - 0x58]
push eax
call fcn.00404b60
lea ecx, [ebp - 0x40]
call fcn.00404620
push ebx
call fcn.0041e332
add esp, 4
push edi
call dword [0x453864]
push esi
call dword [0x453864]
mov al, 1
jmp 0x407853
push edi
call dword [0x453864]
push esi
call dword [0x453864]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e63d
mov esp, ebp
pop ebp
ret
call fcn.0042329f
int3
Function at 0x40aed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4525c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0041e2eb
mov edi, eax
add esp, 4
test edi, edi
je 0x40af6d
push 1
mov dword [ebp - 4], 0
call fcn.0041bdf5
add esp, 4
mov dword [edi + 4], eax
jmp 0x40af6f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00402db0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x40afca
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x40afca
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x40afe6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x40b009
cmp byte [ebp + 0xc], 0
je 0x40aff5
push esi
call fcn.0041c5e6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x40b015
mov esi, str.ios_base::badbit_set
jmp 0x40b025
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0040b470
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00403f90
push 0x44f1a8
lea eax, [ebp - 0x28]
push eax
call fcn.0041f5dd
int3
Function at 0x411cd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4525c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x90]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x94], ebx
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.00419a70
lea ecx, [ebp - 0x90]
call fcn.00412670
movups xmm0, xmmword [ebp - 0x38]
xor esi, esi
lea edi, [ebp - 0x28]
movups xmmword [ebp - 0xa8], xmm0
movzx eax, byte [ebp + esi - 0xa8]
push eax
push str._02X
push edi
call fcn.0041b4c0
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x411d52
xorps xmm0, xmm0
mov byte [ebp - 8], 0
movups xmmword [ebx], xmm0
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411d90
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
call fcn.00401a20
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e63d
mov esp, ebp
pop ebp
ret

Function at 0x412640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x41264e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41265e
xor al, al
pop ebp
ret
shr eax, 4
not al
and al, 1
pop ebp
ret
Function at 0x413e60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4525c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x453ef0]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x453988]
cmp eax, dword [ecx + 4]
jg 0x414027
cmp dword [0x4524c8], 0
jne 0x41400a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.00414800
test al, al
jne 0x413f19
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00403ae0
mov esi, eax
add esp, 0xc
cmp esi, 0x4524b8
je 0x414001
mov ecx, dword [0x4524cc]
cmp ecx, 0xf
jbe 0x413fbe
mov edx, dword [0x4524b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413fb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41405d
jmp 0x413fb4
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.00420030
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x413f87
cmp dword [ebp - 0x240], esi
je 0x413f7b
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413f60
jmp 0x413f87
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00403ae0
add esp, 0x10
mov esi, eax
cmp esi, 0x4524b8
pop edi
jmp 0x413ed6
push ecx
push edx
call fcn.0041e31b
add esp, 8
mov dword [0x4524c8], 0
mov dword [0x4524cc], 0xf
mov byte [0x4524b8], 0
movups xmm0, xmmword [esi]
movups xmmword [0x4524b8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4524c8], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.00404620
pop esi
push 0x4524b8
mov ecx, ebx
call fcn.00403770
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041e63d
mov esp, ebp
pop ebp
ret
push 0x453988
call fcn.0041e5d9
add esp, 4
cmp dword [0x453988], 0xffffffff
jne 0x413e9d
push 0x4422c0
call fcn.0041e573
push 0x453988
call fcn.0041e588
add esp, 8
jmp 0x413e9d
call fcn.0042329f
int3
Function at 0x414070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4413a6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4525c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.00420030
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.004202bb
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4140f5
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x4141ee
call fcn.00401ab0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00418d20
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00414240
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x41419f
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414195
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414233
push ecx
push edx
call fcn.0041e31b
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x414216
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41420c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414233
jmp 0x41420c
call fcn.00401ab0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.00418d20
add esp, 8
jmp 0x4141ba
push ecx
push edx
call fcn.0041e31b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e63d
mov esp, ebp
pop ebp
ret
call fcn.0042329f
int3
Function at 0x41b809
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x41b830
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x41b833
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0041b7e5
pop esi
leave
ret 8

Function at 0x41edab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41edea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41edea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41edea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41edea
cmp dword [ecx + 0x74], 0xe
jbe 0x41edea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret