joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456410
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
push ecx
push ecx
mov eax, dword [0x5edee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 8], ebx
cmp dword [ebp + 0x1c], ebx
jne 0x456439
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c], eax
mov esi, dword [0x4b614c]
xor eax, eax
cmp dword [ebp + 0x20], ebx
push ebx
push ebx
push dword [ebp + 0x14]
setne al
push dword [ebp + 0x10]
lea eax, [eax*8 + 1]
push eax
push dword [ebp + 0x1c]
call esi
push eax
pop edi
cmp edi, ebx
jne 0x456466
sub eax, eax
jmp 0x4564e5
jle 0x4564a4
cmp edi, 0x7ffffff0
ja 0x4564a4
lea eax, [edi + edi + 8]
cmp eax, 0x400
ja 0x45648e
call fcn.00453d10
push esp
pop eax
cmp eax, ebx
je 0x4564a2
mov dword [eax], 0xcccc
jmp 0x45649f
push eax
call fcn.0044d29b
pop ecx
cmp eax, ebx
je 0x4564a2
mov dword [eax], 0xdddd
add eax, 8
push eax
pop ebx
test ebx, ebx
je 0x456462
lea eax, [edi + edi]
push eax
push 0
push ebx
call fcn.0044c960
add esp, 0xc
push edi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0x1c]
call esi
or eax, eax
je 0x4564db
push dword [ebp + 0x18]
push eax
push ebx
push dword [ebp + 0xc]
call dword [0x4b6150]
mov dword [ebp - 8], eax
push ebx
call fcn.0044dd51
mov eax, dword [ebp - 8]
pop ecx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044c449
leave
ret

Function at 0x456b31
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
mov ecx, dword [ebp + 8]
push ebx
sub ebx, ebx
push esi
push edi
cmp ecx, ebx
jl 0x456b9d
cmp ecx, dword [0x5f4544]
jae 0x456b9d
mov eax, ecx
sar eax, 5
mov esi, ecx
and esi, 0x1f
lea edi, [eax*4 + 0x5f4560]
mov eax, dword [edi]
shl esi, 6
test byte [eax + esi + 4], 1
je 0x456b9d
cmp dword [eax + esi], 0xffffffff
je 0x456b9d
cmp dword [0x5edf10], 1
jne 0x456b93
sub ecx, ebx
je 0x456b8a
dec ecx
je 0x456b85
dec ecx
jne 0x456b93
push ebx
push 0xfffffffffffffff4
jmp 0x456b8d
push ebx
push 0xfffffffffffffff5
jmp 0x456b8d
push ebx
push 0xfffffffffffffff6
call dword [0x4b6154]
mov eax, dword [edi]
or dword [esi + eax], 0xffffffff
sub eax, eax
jmp 0x456bb2
call fcn.0044f1e2
mov dword [eax], 9
call fcn.0044f1f5
mov dword [eax], ebx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x457d0f
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00455697
mov dword [ebp - 0x18], eax
and eax, edx
add esp, 0x10
mov dword [ebp - 0x14], edx
cmp eax, 0xffffffff
je 0x457d97
push 2
push ebx
push ebx
push dword [ebp + 8]
call fcn.00455697
push eax
pop ecx
and ecx, edx
add esp, 0x10
cmp ecx, 0xffffffff
je 0x457d97
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esi, eax
sbb edi, edx
js 0x457e2c
jg 0x457d70
cmp esi, ebx
jbe 0x457e2c
mov ebx, 0x1000
push ebx
push 8
call dword [0x4b6160]
push eax
call dword [0x4b60a8]
mov dword [ebp - 4], eax
or eax, eax
jne 0x457da3
call fcn.0044f1e2
mov dword [eax], 0xc
call fcn.0044f1e2
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
mov dword [ebp - 8], eax
test edi, edi
jl 0x457dc3
jg 0x457dbf
cmp esi, ebx
jb 0x457dc3
push ebx
pop eax
jmp 0x457dc5
push esi
pop eax
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00454353
add esp, 0xc
cmp eax, 0xffffffff
je 0x457e0f
cdq
sub esi, eax
sbb edi, edx
js 0x457de6
jg 0x457db5
test esi, esi
jne 0x457db5
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [0x4b6160]
push eax
call dword [0x4b60ac]
sub ebx, ebx
jmp 0x457e95
call fcn.0044f1f5
cmp dword [eax], 5
jne 0x457e24
call fcn.0044f1e2
mov dword [eax], 0xd
or esi, 0xffffffff
mov dword [ebp - 0xc], esi
jmp 0x457de9
cmp edi, ebx
jg 0x457ea1
jl 0x457e36
cmp esi, ebx
jae 0x457ea1
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
push dword [ebp + 8]
call fcn.00456bb7
pop ecx
push eax
call dword [0x4b615c]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov dword [ebp - 0x10], eax
and eax, edx
mov dword [ebp - 0xc], edx
cmp eax, 0xffffffff
jne 0x457ea1
call fcn.0044f1e2
mov dword [eax], 0xd
call fcn.0044f1f5
mov esi, eax
call dword [0x4b6168]
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
and esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x457d97
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
sub eax, eax
jmp 0x457d9e
Function at 0x401170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401189
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4011c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4011c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011b0
cmp esi, eax
jb 0x4011ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4020e0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
push edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
lea edi, [esi + 0x228]
or ebp, 0xffffffff
push eax
mov dword [esi + 0x214], ebp
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0
mov dword [edi], 0
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebp
mov dword [esi + 0x214], eax
jne 0x402143
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [esi + 8], eax
xor al, al
pop ebp
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40216a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x214]
push ecx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop ebp
ret
mov edx, dword [edi]
mov eax, dword [esi + 0x22c]
mov ecx, dword [esi + 0x214]
push 0
push edx
push eax
push 2
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 0x218], eax
jne 0x4021b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0x214]
push edx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 0x214], ebp
xor al, al
pop ebp
ret
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0x21c], eax
jne 0x4021fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x214]
push eax
call edi
mov ecx, dword [esi + 0x218]
push ecx
mov dword [esi + 0x214], ebp
call edi
pop edi
mov dword [esi + 0x218], ebp
xor al, al
pop ebp
ret
pop edi
mov al, 1
pop ebp
ret

Function at 0x402460
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [eax], 0
je 0x4024b4
cmp dword [eax + 0x8c], 0
je 0x4024b4
mov ecx, dword [eax + 0x98]
cmp ecx, 5
je 0x4024b4
mov edx, dword [eax + 0x8c]
lea ecx, [esp]
push ecx
push 0
push eax
push 0x402450
push 0
mov dword [eax + 0x90], edx
mov dword [eax + 0x70], 0
push 0
mov dword [eax + 0x98], 5
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x402ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x14
mov eax, dword [0x45e508]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
xor ebp, ebp
cmp dword [esi + 0xc], ebp
je 0x402ad8
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0042f760
add esp, 0x14
ret
mov eax, dword [esi + 0x98]
cmp eax, 5
jne 0x402afb
mov dword [esi + 0x98], 1
lea ecx, [ecx]
mov ecx, dword [esi + 0x98]
cmp ecx, 2
jne 0x402af0
mov eax, dword [esi + 0x84]
cmp eax, ebp
je 0x402b14
push eax
call fcn.004132c9
add esp, 4
mov dword [esi + 0x84], ebp
mov eax, dword [esi + 0x8c]
cmp eax, ebp
je 0x402b2d
push eax
call fcn.004132c9
add esp, 4
mov dword [esi + 0x8c], ebp
mov eax, dword [esi + 0x9c]
cmp eax, ebp
je 0x402b44
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x9c], ebp
push edi
push 0x451d54
push 0x86
push ebp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x50], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebp
jne 0x402b78
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0042f760
add esp, 0x14
ret
push ebx
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
je 0x402cb0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ebp, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dl, byte [edi + 0xc]
mov dword [esp + 0xc], ebp
add edi, 0xd
cmp byte [esp + 0xc], 0x47
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], dl
jne 0x402cb0
mov edx, ebp
shr edx, 8
cmp dl, 0x49
jne 0x402cb0
mov edx, ebp
shr edx, 0x10
cmp dl, 0x46
jne 0x402cb0
mov edx, ebp
shr edx, 0x18
cmp dl, 0x38
jne 0x402cb0
mov dl, al
cmp dl, 0x37
je 0x402bff
cmp dl, 0x39
jne 0x402cb0
mov edx, eax
shr edx, 8
cmp dl, 0x61
jne 0x402cb0
shr eax, 0x10
mov dword [esi + 0xa0], eax
movzx eax, word [esp + 0x14]
mov edx, ecx
shr edx, 0x18
shr ecx, 0x10
test cl, cl
mov dword [esi + 0xa4], eax
mov dword [esi + 0x4c], edx
jns 0x402c69
and ecx, 7
add ecx, 1
mov eax, 1
shl eax, cl
mov dword [esi + 0x5c], eax
lea eax, [eax + eax*2]
push eax
call fcn.004132c4
mov ecx, dword [esi + 0x5c]
lea ecx, [ecx + ecx*2]
push ecx
push edi
push eax
mov dword [esi + 0x84], eax
call fcn.004356a0
mov eax, dword [esi + 0x5c]
lea edx, [eax + edi]
add esp, 0x10
lea edi, [edx + eax*2]
mov eax, dword [esi + 0x5c]
add eax, 4
lea ecx, [eax + eax*2]
mov eax, ebx
sub eax, ecx
push eax
mov dword [esi + 0x50], eax
call fcn.004132c4
mov edx, dword [esi + 0x50]
push edx
push edi
push eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call fcn.004356a0
add esp, 0x10
pop ebx
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0042f760
add esp, 0x14
ret
mov ecx, dword [esp + 0x1c]
pop ebx
pop edi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0042f760
add esp, 0x14
ret
Function at 0x405070
Capabilities:
Initialize winsock library

Disassembly:
push esi
push 0x101
mov dword [esi + 0x16a0], 1
call sub.WSOCK32.dll_WSAStartup
push 0x80
lea eax, [esi + 0x294]
push 0
push eax
call fcn.00432dc0
push 0x80
lea ecx, [esi + 0x314]
push 0
push ecx
call fcn.00432dc0
push 0x104
lea edx, [esi + 0x190]
push 0
push edx
call fcn.00432dc0
push 0x80
lea eax, [esi + 0x394]
push 0
push eax
call fcn.00432dc0
push 0x80
lea ecx, [esi + 0x414]
push 0
push ecx
call fcn.00432dc0
push 0x104
lea edx, [esi + 0x494]
push 0
push edx
call fcn.00432dc0
add esp, 0x48
push 0x1000
lea eax, [esi + 0x598]
push 0
push eax
call fcn.00432dc0
push 0x104
lea ecx, [esi + 0x1598]
push 0
push ecx
call fcn.00432dc0
add esp, 0x18
mov eax, esi
ret
Function at 0x405140
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x50
mov eax, dword [0x45e508]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], eax
push esi
push edi
mov ebx, ecx
mov eax, 0xaaaaaaab
mul ebp
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
shr edx, 1
lea ecx, [edx + edx*2]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], 0
movsb byte es:[edi], byte [esi]
je 0x40518e
add edx, 1
lea ecx, [edx*4]
cmp ecx, 0x1000
jbe 0x4051b4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0042f760
add esp, 0x50
ret 8
test ebp, ebp
mov esi, dword [esp + 0x10]
mov eax, ebx
jbe 0x4052dd
mov ecx, 0xfffffffe
mov edi, ebp
sub ecx, ebx
jmp 0x4051d0
cmp edi, 3
jge 0x4051d9
test edi, edi
jg 0x40524d
movzx edx, byte [eax]
shr edx, 2
movzx edx, byte [esp + edx + 0x18]
mov byte [esi], dl
mov bl, byte [eax]
movzx edx, byte [eax + 1]
and bl, 3
shr edx, 4
shl bl, 4
movzx ebx, bl
lea ebx, [esp + ebx + 0x18]
movzx edx, byte [ebx + edx]
mov byte [esi + 1], dl
movzx edx, byte [eax + 1]
movzx ebx, byte [eax + 2]
and dl, 0xf
add dl, dl
add dword [esp + 0x14], 4
add dl, dl
movzx edx, dl
shr ebx, 6
lea ebx, [esp + ebx + 0x18]
movzx edx, byte [ebx + edx]
mov byte [esi + 2], dl
movzx edx, byte [eax + 2]
and edx, 0x3f
movzx edx, byte [esp + edx + 0x18]
add eax, 3
mov byte [esi + 3], dl
lea edx, [ecx + eax + 2]
sub edi, 3
add esi, 4
cmp edx, ebp
jb 0x4051d0
jmp 0x4052dd
push edi
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0
mov word [esp + 0x1d], 0
call fcn.004356a0
mov al, byte [esp + 0x1c]
movzx ecx, al
shr ecx, 2
movzx edx, byte [esp + ecx + 0x24]
mov cl, byte [esp + 0x1d]
and al, 3
mov byte [esi], dl
shl al, 4
movzx edx, cl
movzx eax, al
shr edx, 4
lea eax, [esp + eax + 0x24]
movzx edx, byte [eax + edx]
movzx eax, byte [esp + 0x1e]
and cl, 0xf
add cl, cl
mov byte [esi + 1], dl
add cl, cl
mov edx, eax
shr edx, 6
movzx ecx, cl
lea edx, [esp + edx + 0x24]
movzx ecx, byte [edx + ecx]
and eax, 0x3f
movzx edx, byte [esp + eax + 0x24]
add esp, 0xc
cmp edi, 1
mov byte [esi + 2], cl
mov byte [esi + 3], dl
jne 0x4052cf
mov al, 0x3d
mov byte [esi + 2], al
mov byte [esi + 3], al
jmp 0x4052d8
cmp edi, 2
jne 0x4052d8
mov byte [esi + 3], 0x3d
add dword [esp + 0x14], 4
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042f760
add esp, 0x50
ret 8
Function at 0x405d60
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, 0x1004
call fcn.00434960
mov eax, dword [0x45e508]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push 0x1000
lea eax, [esp + 8]
push 0
push eax
mov ebx, ecx
call fcn.00432dc0
add esp, 0xc
push 0
push 0x1000
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
jne 0x405dbe
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0042f760
add esp, 0x1004
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call ebp
lea edx, [esp + 8]
push ebx
push edx
call fcn.00431620
add esp, 8
test eax, eax
je 0x405e27
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call ebx
test eax, eax
je 0x405e44
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00432dc0
push esi
lea ecx, [esp + 0x18]
push str._s_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
lea edx, [esp + 0xc]
push edx
call ebx
push eax
lea eax, [esp + 0x10]
push eax
push edi
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
jne 0x405e40
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0042f760
add esp, 0x1004
ret
push 0x32
call ebp
mov ecx, dword [esp + 0x1008]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0042f760
add esp, 0x1004
ret
Function at 0x408b71
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0041c52a
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x408830
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x408b9b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Send_Mail
mov ecx, esi
call fcn.0041b788
mov eax, 1
pop esi
pop ecx
ret

Function at 0x409730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4467e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x45e508]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x20]
call fcn.0041a674
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 8], 0
mov dword [esp + 4], vtable.CBrush.0
mov byte [esp + 0x38], 1
mov eax, dword [esi + 0x94]
test eax, eax
je 0x40979c
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
jmp 0x4097a4
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [esp + 8]
call fcn.0041a8a8
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov byte [esp + 0x38], 0
lea ecx, [esp + 4]
mov dword [esp + 4], vtable.CBrush.0
call fcn.004034b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0041a6c8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
add esp, 0x38
ret

Function at 0x409a60
Capabilities:
Check for software breakpoints
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
mov ebx, eax
je 0x409a83
cmp ebx, 0xcc
jl 0x409a83
mov eax, dword [ebp + 0x3c]
movzx ecx, word [eax + ebp + 6]
add eax, ebp
cmp ecx, 2
jge 0x409a88
pop ebp
xor al, al
pop ebx
ret
movzx edx, word [eax + 0x14]
push esi
push edi
lea edx, [edx + eax + 0x18]
xor edi, edi
test ecx, ecx
mov esi, edx
jle 0x409acc
mov ebp, ecx
lea esp, [esp]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
add eax, 0x1ff
and ecx, 0xfffffe00
and eax, 0xfffffe00
add eax, ecx
cmp eax, edi
jle 0x409ac0
mov esi, edx
mov edi, eax
add edx, 0x28
sub ebp, 1
jne 0x409aa0
mov ebp, dword [esp + 0x14]
cmp edi, ebx
jge 0x409af1
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add eax, ebp
mov dword [ecx], eax
sub ebx, dword [esi + 0x14]
pop edi
sub ebx, dword [esi + 0x10]
pop esi
pop ebp
mov dword [edx], ebx
mov al, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x40c3a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, eax
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x40c3bd
pop edi
add esp, 0x1c
ret
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40c3db
mov ecx, dword [esp + 0x28]
push 0x104
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40c3e3
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [edx + eax + 0x18]
jbe 0x40c424
lea eax, [ecx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
cmp edx, esi
mov ecx, dword [eax - 4]
ja 0x40c410
mov edx, esi
cmp edi, ecx
jb 0x40c41a
add edx, ecx
cmp edi, edx
jbe 0x40c42e
add ebx, 1
add eax, 0x28
cmp ebx, ebp
jb 0x40c402
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
add ebx, 1
pop ebp
mov dword [eax], ebx
sub edi, ecx
mov ecx, dword [esp + 0x34]
pop ebx
pop esi
mov dword [ecx], edi
mov eax, 1
pop edi
add esp, 0x1c
ret

Function at 0x40cc20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x45e508]
xor eax, esp
mov dword [esp + 0x404], eax
mov ecx, dword [esp + 0x40c]
push esi
lea eax, [esp + 0x414]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00430534
mov edx, dword [0x4627d0]
add esp, 0xc
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x408]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0042f760
add esp, 0x408
ret
Function at 0x410d10
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x44607b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x45e508]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e508]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf4]
lea ecx, [esp + 0x18]
call fcn.00413fef
xor edi, edi
push edi
mov dword [esp + 0xf0], edi
mov eax, dword [ebp + 0x9c]
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.0041445b
test eax, eax
lea ecx, [esp + 0x18]
jne 0x410d95
mov dword [esp + 0xec], 0xffffffff
call fcn.004140eb
xor al, al
jmp 0x410f3a
push edi
push edi
push 0x84
call fcn.00413d88
lea ecx, [esp + 0x18]
call fcn.00413ee2
mov esi, eax
sub esi, 0x84
jne 0x410dd8
lea ecx, [esp + 0x18]
call fcn.00413f8d
lea ecx, [esp + 0x18]
mov dword [esp + 0xec], 0xffffffff
call fcn.004140eb
xor al, al
jmp 0x410f3a
lea ebx, [ebp + 4]
call fcn.00412120
mov eax, esi
mov ecx, ebx
call fcn.004123d0
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x410df7
mov ecx, dword [ebx + 8]
sub ecx, eax
jne 0x410dfc
call fcn.00431b00
mov edx, dword [ebx + 4]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.00413cfd
lea ecx, [esp + 0x18]
call fcn.00413f8d
push 0x40
lea eax, [esp + 0x8c]
push edi
push eax
mov dword [esp + 0x38], vtable.CMD5Class.0
call fcn.00432dc0
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, edi
mov byte [esp + 0x88], 0x80
jne 0x410e41
xor esi, esi
jmp 0x410e46
mov esi, dword [ebx + 8]
sub esi, eax
cmp eax, edi
je 0x410e51
mov ecx, dword [ebx + 8]
sub ecx, eax
jne 0x410e56
call fcn.00431b00
mov ebx, dword [ebx + 4]
push ebx
mov eax, esi
lea ebx, [esp + 0x30]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], 0x67452301
mov dword [esp + 0x40], 0xefcdab89
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
call fcn.004046e0
lea edi, [esp + 0xcc]
mov ecx, ebx
call fcn.00404790
mov edx, 0x10
mov eax, edi
lea ecx, [ebp + 0x8c]
mov esi, dword [ecx]
cmp esi, dword [eax]
jne 0x410ec0
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x410ea8
test edx, edx
je 0x410f1d
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x410f0f
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x410f1d
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x410f0f
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x410f1d
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x410f0f
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x410f1d
movzx esi, byte [ecx]
movzx edx, byte [eax]
sub esi, edx
je 0x410f1d
test esi, esi
mov eax, 1
jg 0x410f1f
or eax, 0xffffffff
jmp 0x410f1f
xor eax, eax
test eax, eax
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0xec], 0xffffffff
call fcn.004140eb
mov al, bl
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0042f760
add esp, 0xdc
ret 4