joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [edi], 0
je 0x405634
cmp byte [edi + 1], 0
je 0x40562d
push 2
push 0
push 0
push dword [edi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40563a
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
cmp byte [edi], 0
push ebx
je 0x40565f
cmp byte [edi + 1], 0
je 0x405658
push 1
push 0
push 0
push dword [edi + 4]
call ecx
mov ebx, eax
sub ebx, dword [edi + 0xc]
jmp 0x405662
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x405671
mov ebx, dword [edi + 0x18]
mov eax, 0xffff
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
jae 0x405674
mov dword [ebp - 4], ebx
push esi
push 0x404
call fcn.00409987
mov esi, eax
add esp, 4
test esi, esi
jne 0x40568f
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 4
mov dword [ebp - 0x10], 0
cmp ecx, eax
jbe 0x40578f
add eax, 0x400
cmp eax, ecx
mov edx, eax
mov eax, 0x404
cmova edx, ecx
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x1c], edx
sub ebx, ecx
mov dword [ebp - 0x18], ecx
cmp ebx, 0x404
cmova ebx, eax
cmp byte [edi], 0
je 0x4056f0
cmp byte [edi + 1], 0
je 0x40578f
mov eax, dword [edi + 0xc]
push 0
push 0
add eax, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4056f3
mov dword [edi + 0x18], ecx
cmp byte [edi], 0
mov ecx, ebx
mov dword [ebp - 0xc], ebx
je 0x40571b
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405716
mov byte [edi + 8], 1
mov eax, dword [ebp - 0x14]
jmp 0x405744
mov edx, dword [edi + 0x18]
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x14]
jbe 0x40572e
mov ecx, dword [edi + 0x14]
sub ecx, edx
mov dword [ebp - 0xc], ecx
push ecx
mov ecx, dword [edi + 0x10]
add ecx, edx
push ecx
push esi
call fcn.0040e360
mov eax, dword [ebp - 0xc]
add esp, 0xc
add dword [edi + 0x18], eax
xor edx, edx
div ebx
cmp eax, 1
jne 0x40578f
lea eax, [ebx - 3]
test eax, eax
jle 0x40577e
dec eax
cmp byte [eax + esi], 0x50
jne 0x405770
cmp byte [eax + esi + 1], 0x4b
jne 0x405770
cmp byte [eax + esi + 2], 5
jne 0x405770
cmp byte [eax + esi + 3], 6
je 0x405776
test eax, eax
jg 0x405754
jmp 0x40577e
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jne 0x40578f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
cmp eax, ecx
jb 0x4056a6
push esi
call fcn.00409a19
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x406c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x340
call fcn.0040a27e
mov edi, eax
add esp, 4
test edi, edi
je 0x406c72
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x134], 0xffffffff
jmp 0x406c74
xor edi, edi
cmp dword [edi], 0
jne 0x406cca
cmp dword [edi + 4], 0xffffffff
jne 0x406cca
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4226fc
push 0x104
push esi
call fcn.00409a51
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
call fcn.004053f0
add esp, 8
test eax, eax
jne 0x406cba
mov eax, dword [ebp - 4]
jmp 0x406ccf
mov ecx, eax
call fcn.004057b0
mov dword [edi], eax
mov eax, dword [0x7aeee0]
jmp 0x406ccf
mov eax, 0x1000000
mov dword [0x7aeedc], eax
test eax, eax
je 0x406ce9
push edi
call fcn.00409973
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 8
call fcn.0040a27e
add esp, 4
mov dword [eax + 4], edi
pop edi
mov dword [eax], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406e30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x406f7f
push ebx
mov bl, byte [ebp + 0xa]
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x406e50
mov dl, byte [esi + str.aWtsaXQ]
cmp dl, 0x2b
jne 0x406e5f
mov dl, 0x3e
jmp 0x406e8d
cmp dl, 0x2f
jne 0x406e68
mov dl, 0x3f
jmp 0x406e8d
cmp dl, 0x39
jg 0x406e72
add dl, 4
jmp 0x406e8d
cmp dl, 0x3d
je 0x406e8b
cmp dl, 0x5a
jg 0x406e81
sub dl, 0x41
jmp 0x406e8d
cmp dl, 0x7a
jg 0x406e8b
sub dl, 0x47
jmp 0x406e8d
mov dl, 0x40
mov cl, byte [esi + 0x4228a1]
cmp cl, 0x2b
jne 0x406e9c
mov cl, 0x3e
jmp 0x406eca
cmp cl, 0x2f
jne 0x406ea5
mov cl, 0x3f
jmp 0x406eca
cmp cl, 0x39
jg 0x406eaf
add cl, 4
jmp 0x406eca
cmp cl, 0x3d
je 0x406ec8
cmp cl, 0x5a
jg 0x406ebe
sub cl, 0x41
jmp 0x406eca
cmp cl, 0x7a
jg 0x406ec8
sub cl, 0x47
jmp 0x406eca
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228a2]
cmp al, 0x3d
je 0x406f27
mov bl, al
cmp bl, 0x2b
jne 0x406ef0
mov bl, 0x3e
jmp 0x406f19
cmp bl, 0x2f
jne 0x406ef9
mov bl, 0x3f
jmp 0x406f19
cmp bl, 0x39
jg 0x406f03
add bl, 4
jmp 0x406f19
cmp bl, 0x5a
jg 0x406f0d
sub bl, 0x41
jmp 0x406f19
cmp bl, 0x7a
jg 0x406f17
sub bl, 0x47
jmp 0x406f19
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228a3]
cmp al, 0x3d
je 0x406f66
cmp al, 0x2b
jne 0x406f39
mov al, 0x3e
jmp 0x406f5b
cmp al, 0x2f
jne 0x406f41
mov al, 0x3f
jmp 0x406f5b
cmp al, 0x39
jg 0x406f49
add al, 4
jmp 0x406f5b
cmp al, 0x5a
jg 0x406f51
sub al, 0x41
jmp 0x406f5b
cmp al, 0x7a
jg 0x406f59
sub al, 0x47
jmp 0x406f5b
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [edi + edx], cl
inc edi
add esi, 4
cmp esi, 8
jb 0x406e50
mov byte [edi + edx], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x406f90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4070a7
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4070a7
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jb 0x4070a7
push esi
xor eax, eax
xor esi, esi
mov dword [ebp + 8], eax
test ebx, ebx
je 0x40709c
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 3
shr cl, 2
movzx ecx, cl
shl dl, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], cl
cmp esi, ebx
jae 0x407085
mov ecx, dword [ebp + 0xc]
mov bl, byte [esi + ecx]
inc esi
mov cl, bl
and bl, 0xf
shr cl, 4
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
cmp esi, dword [ebp + 0x10]
jae 0x407062
mov ecx, dword [ebp + 0xc]
shl bl, 2
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 0x3f
shr cl, 6
add bl, cl
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
movzx ecx, dl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 3], cl
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 3
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov ecx, dword [ebp + 0xc]
jb 0x406fc7
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
shl bl, 2
movzx ecx, bl
pop esi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
mov byte [eax + edi + 3], 0x3d
add eax, 4
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
mov word [eax + edi + 2], 0x3d3d
add eax, 4
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x4078d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x10b8
call fcn.0040a27e
mov edi, eax
add esp, 4
test edi, edi
je 0x4079ed
push str.http:__tj.wudiyou.com:8800_
push 0x824
push edi
call fcn.00409abd
add esp, 0xc
lea eax, [edi + 0x104c]
push str.7k7k_REPORT
push 0x32
push eax
call fcn.00409abd
add esp, 0xc
mov dword [edi + 0x10b0], 0x1b
call fcn.00407a00
push 1
mov dword [edi + 0x10b4], eax
call fcn.0040a27e
add esp, 4
mov dword [0x7aeee4], eax
mov ecx, edi
call fcn.00407e80
push 0x7aeac8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4079ed
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040be80
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [edi + 0x1048]
push 0x4247f4
push eax
call fcn.00408710
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x7aeac8
push eax
push str.Service_Value
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [edi + 0x10b4]
lea eax, [ebp - 0x210]
push 0x4247f4
push eax
call fcn.00408710
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x7aeac8
push eax
push str.InstallID
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00409978
mov esp, ebp
pop ebp
ret

Function at 0x407bf0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2888
call fcn.004158c0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x407ccd
lea eax, [ebp - 0x2888]
mov dword [ebp - 0x2888], 0x2880
push eax
lea eax, [ebp - 0x2884]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x407ccd
lea eax, [ebp - 0x2884]
nop
cmp byte [eax + 0x194], 0
jne 0x407c8d
cmp byte [eax + 0x195], 0
jne 0x407c8d
cmp byte [eax + 0x196], 0
jne 0x407c8d
cmp byte [eax + 0x197], 0
jne 0x407c8d
cmp byte [eax + 0x198], 0
jne 0x407c8d
cmp byte [eax + 0x199], 0
jne 0x407c8d
mov eax, dword [eax]
test eax, eax
jne 0x407c40
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409978
mov esp, ebp
pop ebp
ret 4
movzx ecx, byte [eax + 0x199]
push ecx
movzx ecx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push eax
push str._02X__02X__02X__02X__02X__02X
push 0x32
push esi
call fcn.0040b1f1
add esp, 0x24
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00409978
mov esp, ebp
pop ebp
ret 4
Function at 0x407db0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x407dbb
xor eax, eax
pop ebx
ret
push esi
push edi
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x407dc2
sub edi, ecx
inc edi
push edi
call fcn.00409987
push edi
mov esi, eax
push 0
push esi
call fcn.0040be80
push ebx
push edi
push esi
call fcn.0040aa34
xor eax, eax
add esp, 0x1c
cmp byte [esi], al
je 0x407dfa
mov edi, edi
xor byte [esi], 0x20
inc eax
inc esi
cmp byte [esi], 0
jne 0x407df0
sub esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x408e90
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
mov dword [0x7aef14], 1
mov byte [0x7aeee8], 0
call fcn.00409987
add esp, 4
mov dword [0x7aef0c], eax
test eax, eax
je 0x408eec
mov ecx, esi
mov dword [0x7aef10], eax
mov dword [0x7aef20], 0x67452301
mov dword [0x7aef24], 0xefcdab89
mov dword [0x7aef28], 0x98badcfe
mov dword [0x7aef2c], 0x10325476
pop esi
jmp fcn.00409740
pop esi
ret
Function at 0x414142
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040fa3b
mov dword [ebp - 0x14], eax
cmp dword [0x7ae844], esi
jne 0x414235
push 0x800
push esi
push 0x41e7d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4141c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x414315
push esi
push esi
push 0x41e7d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x414315
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414315
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x7ae844], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x7ae848], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x7ae84c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7ae854], eax
test eax, eax
je 0x414232
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7ae850], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41425a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41424d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41426f
push 4
pop eax
jmp 0x414317
cmp dword [ebp - 0x14], esi
je 0x41426f
push dword [0x7ae844]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x414254
mov eax, dword [0x7ae850]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4142cd
cmp dword [0x7ae854], edi
je 0x4142cd
push eax
call ebx
push dword [0x7ae854]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4142cd
test eax, eax
je 0x4142cd
call ecx
test eax, eax
je 0x4142c2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4142c2
test byte [ebp - 8], 1
jne 0x4142cd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4142fd
mov eax, dword [0x7ae848]
cmp eax, edi
je 0x4142fa
push eax
call ebx
test eax, eax
je 0x4142fa
call eax
mov esi, eax
test esi, esi
je 0x4142fa
mov eax, dword [0x7ae84c]
cmp eax, edi
je 0x4142fa
push eax
call ebx
test eax, eax
je 0x4142fa
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x7ae844]
call ebx
test eax, eax
je 0x414315
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x414317
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409978
mov esp, ebp
pop ebp
ret
Function at 0x1002d90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001340
push 0x1002fa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x1004030], 0xffffffff
mov dword [0x1004034], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x100402c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x1004028]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x1004038], ecx
call fcn.01002f90
mov eax, dword [0x1004010]
test eax, eax
jne 0x1002e21
push 0x1002f80
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.01002f60
push 0x100400c
push 0x1004008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x1004024]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x1004020]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x1004004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x1002f2f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1002e95
cmp al, 0x22
jne 0x1002e87
cmp byte [esi], 0x22
jne 0x1002e9e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1002eae
cmp al, 0x20
ja 0x1002eae
inc esi
mov dword [ebp - 0x74], esi
jmp 0x1002e9e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x1002ecf
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x1002ed4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x1002f14
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x1002e9e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x1002f2f
Function at 0x5882ec
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
jne 0x588311
push 0x57
jmp 0x58839e
push 0x1c
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movdqu xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call dword [0x43207c]
test eax, eax
je 0x5883a4
push 0
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
push edi
call dword [fcn.00432030]
test eax, eax
je 0x5883a4
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x588399
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x5c]
ja 0x588399
cmp eax, 0x40
jb 0x588399
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [fcn.00432030]
test eax, eax
je 0x5883a4
cmp dword [ebx], 0x4550
jne 0x588399
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0058d808
mov esp, ebp
pop ebp
ret 4
push 0xc1
call dword [fcn.00432084]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058d808
mov esp, ebp
pop ebp
ret 4
Function at 0x58902c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x4514c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 4
push 0x1000
push 0x1230
mov edi, ecx
mov dword [ebp - 0x1cc], eax
push 0
push edi
call dword [fcn.00432070]
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je 0x589296
push 0x40
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x1c4], 0
push 0
push eax
call fcn.0058f3cc
mov ebx, dword [fcn.0043202c]
add esp, 0xc
mov eax, 0x5a4d
mov dword [ebp - 0x8c], 0x40
mov word [ebp - 0xc8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x589296
cmp dword [ebp - 0x1c4], 0x40
jne 0x589296
push 0xf8
lea eax, [ebp - 0x1c0]
add esi, 0x40
push 0
push eax
call fcn.0058f3cc
add esp, 0xc
mov dword [ebp - 0x1c0], 0x4550
mov eax, 1
mov dword [ebp - 0x1ac], 0x200000e0
mov word [ebp - 0x1ba], ax
mov eax, 0x10b
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0xf8
lea eax, [ebp - 0x1c0]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x589296
cmp dword [ebp - 0x1c4], 0xf8
jne 0x589296
mov eax, dword [0x44b2dc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], eax
add esi, 0xf8
mov eax, dword [0x44b2e0]
mov dword [ebp - 0x40], eax
mov eax, esi
sub eax, dword [ebp - 0x1c8]
add eax, 0x28
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x1c4]
push eax
push 0x28
lea eax, [ebp - 0x44]
push eax
push esi
movdqu xmmword [ebp - 0x34], xmm0
push edi
mov dword [ebp - 0x34], 0x10d0
call ebx
test eax, eax
je 0x589296
cmp dword [ebp - 0x1c4], 0x28
jne 0x589296
push 0x40
lea eax, [ebp - 0x88]
add esi, 0x28
push 0
push eax
call fcn.0058f3cc
add esp, 0xc
mov dword [ebp - 0x88], 0x40
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x84], 0x727444
mov dword [ebp - 0x80], 0x40
mov dword [ebp - 0x7c], 0x10d0
push eax
push 0x40
lea eax, [ebp - 0x88]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x589296
cmp dword [ebp - 0x1c4], 0x40
jne 0x589296
lea eax, [ebp - 0x1c4]
xorps xmm0, xmm0
push eax
push 0x18
movdqu xmmword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
add esi, 0x40
movq qword [ebp - 0xc], xmm0
movdqu xmm0, xmmword [0x44af5c]
push eax
push esi
push edi
mov dword [ebp - 0x1c], 0x1090
mov dword [ebp - 0x18], 0
movdqu xmmword [ebp - 0x14], xmm0
call ebx
test eax, eax
je 0x589296
cmp dword [ebp - 0x1c4], 0x18
jne 0x589296
lea eax, [ebp - 0x1c4]
push eax
push 0x1078
push dword [ebp - 0x1cc]
lea ecx, [esi + 0x18]
push ecx
push edi
call ebx
test eax, eax
je 0x589296
cmp dword [ebp - 0x1c4], 0x1078
jne 0x589296
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d808
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058d808
mov esp, ebp
pop ebp
ret 8
Function at 0x5893cc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x44f4e0
push 0x423e00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4514c8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov edx, ecx
mov dword [ebp - 0x20], edx
test edx, edx
jne 0x58942a
push ecx
call dword [fcn.00432064]
mov edx, eax
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x58942a
push 0xc0
call dword [fcn.00432084]
jmp 0x5895bc
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edx], ax
je 0x589445
push 0xc1
jmp 0x5895af
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
je 0x58945b
push 0xbf
jmp 0x5895af
cmp word [eax + edx + 0x14], 0
je 0x5895aa
mov eax, dword [eax + edx + 0x80]
test eax, eax
je 0x58958b
lea ebx, [eax + edx]
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x5895aa
jmp 0x58948c
mov ecx, dword [ebx]
test ecx, ecx
je 0x589550
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5895aa
lea esi, [eax + edx]
test esi, esi
je 0x5895aa
lea eax, [ecx + edx]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5894bd
add eax, edx
jmp 0x5894bf
xor eax, eax
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
call fcn.005892bc
mov ecx, 0x4115e0
test ecx, ecx
je 0x5894de
push esi
push eax
push edi
call fcn.005848ac
test eax, eax
je 0x589550
xor esi, esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x589539
mov edi, edi
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x589536
xor eax, eax
test ecx, ecx
js 0x589507
add ecx, 2
je 0x589505
mov eax, dword [ebp - 0x20]
add eax, ecx
jmp 0x589507
xor eax, eax
mov ecx, 0x411640
test ecx, ecx
je 0x589547
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ecx + esi*4]
test edi, edi
je 0x589536
test eax, eax
je 0x589536
cmp byte [edi], 0
je 0x589547
push dword [edi + 0xc]
push eax
call fcn.0058d8d8
add esp, 8
test eax, eax
jne 0x589547
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp - 0x20]
jmp 0x58948c
inc esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x28]
jmp 0x5894ec
mov eax, 0x4115e0
test eax, eax
je 0x589563
push 0
push 0
push edi
call fcn.005848ac
push 0
call dword [fcn.00432084]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x1c], 0
jmp 0x5895aa
push 0xc0
call dword [fcn.00432084]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8