joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x50], 0
jne 0x477f64
push ebx
push esi
lea eax, [edi + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0x88]
mov eax, dword [edi + 0xc]
cmp dword [esi + 8], 0
mov eax, dword [eax + 0x494]
mov dword [ebp - 0x10], eax
je 0x477db0
mov ecx, esi
call fcn.00415840
push dword [esi + 8]
call fcn.004d9a63
add esp, 4
mov dword [esi + 8], 0
push 0x50e3ac
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x477e6f
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x477e6f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x477e6f
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.004ce7b0
test eax, eax
jne 0x477e6f
mov eax, dword [ebp - 4]
test al, 1
je 0x477e20
push dword [ebp - 8]
call fcn.004d9a63
add esp, 4
jmp 0x477e6f
push eax
call fcn.004d9a7e
push dword [ebp - 4]
mov dword [esi + 8], eax
push dword [ebp - 8]
push eax
call fcn.004d6950
push dword [ebp - 8]
call fcn.004d9a63
mov eax, dword [esi + 8]
mov ecx, 0xfeff
add esp, 0x14
cmp word [eax], cx
je 0x477e5f
push eax
call fcn.004d9a63
add esp, 4
mov dword [esi + 8], 0
jmp 0x477e6f
sub dword [ebp - 4], 2
add eax, 2
push ecx
push eax
mov ecx, esi
call fcn.00415640
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x70]
push eax
call ebx
mov ecx, edi
call fcn.00477ac0
push 4
push 0
mov ecx, edi
call fcn.00477a20
push 0x87
push 1
mov ecx, edi
call fcn.00477a20
mov eax, dword [edi + 0x6c]
push 0x50e3ac
push 0x96
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x477ef1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, 0x400000
ja 0x477ef1
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x477ef1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x477ef1
mov ecx, dword [ebp - 0xc]
push esi
push eax
call fcn.00404780
mov esi, dword [edi + 0x6c]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
push 0x50e390
call fcn.00404ad0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x477f20
mov dword [eax + 0x14], 1
lea eax, [esi + 4]
push eax
call ebx
mov esi, dword [edi + 0x6c]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
push 0x50e3c0
call fcn.00404ad0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x477f55
mov dword [eax + 0x14], 1
lea eax, [esi + 4]
push eax
call ebx
pop esi
mov dword [edi + 0x50], 1
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x477f70
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x51e080]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, ecx
mov dword [esp + 0x3c], 0
push 0xa
push 0x40
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], eax
push ecx
push dword [eax + 0x28]
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], 5
call fcn.004e2982
mov eax, dword [0x5224b8]
add esp, 0x10
test eax, eax
jne 0x477fe5
xor ecx, ecx
call fcn.004319a0
mov dword [0x5224b8], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
push ecx
push 0
call eax
mov esi, eax
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
test esi, esi
je 0x47801c
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
je 0x47815a
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, 0x14
nop dword [eax]
cmp ebx, 0x24
je 0x478156
mov eax, dword [esi + 4]
cmp eax, 2
je 0x47805a
cmp eax, 0x17
jne 0x478147
push dword [esi + 0xc]
push dword [esi + 8]
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esp + 0x10]
mov dword [ebx + ecx], eax
cmp eax, 0xffffffff
je 0x478147
push 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push ecx
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ebx + ecx]
test eax, eax
jne 0x478139
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x8000
push eax
push 0x1002
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ebx + ecx]
test eax, eax
jne 0x478139
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x8000
push eax
push 0x1001
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4780fb
push dword [ebx + eax]
jmp 0x47813a
push dword [esi + 0x10]
push dword [esi + 0x18]
push dword [ebx + eax]
call dword [sym.imp.WS2_32.dll_bind]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ebx + ecx]
test eax, eax
jne 0x478139
push 5
push ecx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x47812b
mov eax, dword [esp + 0x10]
push dword [ebx + eax]
jmp 0x47813a
mov eax, dword [esp + 0x14]
inc eax
add ebx, 4
mov dword [esp + 0x14], eax
jmp 0x47814b
push ecx
call edi
mov eax, dword [esp + 0x10]
mov dword [ebx + eax], 0xffffffff
mov eax, dword [esp + 0x14]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x478040
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5224c0]
test eax, eax
jne 0x478177
lea ecx, [eax + 2]
call fcn.004319a0
mov dword [0x5224c0], eax
push esi
call eax
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret
Function at 0x478780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 4], 1
je 0x4787d8
cmp dword [esi + 0x28], 0
je 0x4787d8
call fcn.00477f70
test eax, eax
je 0x4787a6
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [esi + 0x24], 1
push eax
push 0
push esi
push 0x477620
push 0
push 0
call fcn.004d9be5
add esp, 0x18
mov dword [esi + 8], eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esi + 4], 1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4797e0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x70], edi
test eax, eax
je 0x479902
test ebx, ebx
je 0x479902
test edi, edi
je 0x479902
test edx, edx
je 0x479902
mov eax, dword [ecx + 4]
mov esi, dword [eax + 0x480]
lea eax, [ebp - 0x68]
push eax
push 0x28
push edx
mov ecx, esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0x58], 0xc3d2e1f0
mov dword [ebp - 8], 0
call fcn.004b22d0
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.004b2720
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x479884
sub esi, ecx
sar esi, 1
lea eax, [esi + 2]
cmp dword [ebx], eax
jbe 0x479902
mov edi, dword [ebp - 0x6c]
mov eax, 0x40
push dword [ebp - 0x70]
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
dec eax
push eax
push edi
call fcn.004d9c76
mov eax, 0x3d
lea ecx, [edi + 2]
mov word [edi + esi*2], ax
lea ecx, [ecx + esi*2]
mov eax, dword [ebx]
lea edx, [ebp - 0x6c]
sub eax, esi
sub eax, 2
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x68]
push 0x14
push eax
call fcn.00453930
add esp, 0x14
test eax, eax
jne 0x479902
mov eax, dword [ebp - 0x6c]
add eax, 2
add eax, esi
pop edi
mov dword [ebx], eax
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x14
Function at 0x47e8d0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x50], 0
jne 0x47eb24
cmp dword [ebx + 0x84], 1
jne 0x47eb24
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0xd8]
push eax
call fcn.0049c830
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x47eb24
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 0x144]
push 4
push eax
push 0x1002
push 0xffff
push edi
mov dword [ebp - 0x144], 0x8000
call esi
test eax, eax
jne 0x47eb1d
push 4
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0x8000
push eax
push 0x1001
push 0xffff
push edi
call esi
test eax, eax
jne 0x47eb1d
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 1
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x47eb1d
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
push 0x2c
mov esi, eax
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.004d6ed0
add esp, 0xc
test esi, esi
je 0x47ea94
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x47eb1d
mov esi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0x186a0
mov dword [ebp - 0x140], 0
mov eax, dword [ebx + 8]
cmp dword [eax + 0x3c], 0
je 0x47ea75
xor ecx, ecx
lea eax, [ebx + 0x58]
nop
cmp dword [eax], 0
je 0x47ea75
inc ecx
add eax, 4
cmp ecx, 2
jl 0x47ea10
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x138], edi
push eax
push 0
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], 1
push eax
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x47eb1d
test eax, eax
je 0x47ea63
lea eax, [ebp - 0x13c]
push eax
push edi
call esi
test eax, eax
jne 0x47ea94
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
cmp eax, 0xf
jb 0x47ea01
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 8]
push 0x94
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x164], 0
call fcn.004d3886
add esp, 4
mov dword [ebp - 0x150], eax
mov ecx, eax
push 0x10000
push 0x40000
push 0x40000
push dword [ebx + 0x34]
call fcn.0046ad40
lea ecx, [ebp - 0x178]
mov dword [ebx + 0x50], eax
push ecx
mov ecx, eax
call fcn.0046abd0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 4
Function at 0x47ebe0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
push ebx
push esi
push edi
mov ebx, dword [edx + 0x120]
mov dword [ebp - 0x84], edx
cmp dword [ebx], 0x2e5184f8
jne 0x47ed00
cmp dword [ebp + 8], 0xa4
jne 0x47ed00
add ebx, 0x30
lea eax, [edx + 0x9c]
lea esi, [ebx + 0x20]
test eax, eax
je 0x47ec95
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x5c], 0
push ecx
push 0x28
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x80], 0x6a09e667
mov dword [ebp - 0x7c], 0xbb67ae85
mov dword [ebp - 0x78], 0x3c6ef372
mov dword [ebp - 0x74], 0xa54ff53a
mov dword [ebp - 0x70], 0x510e527f
mov dword [ebp - 0x6c], 0x9b05688c
mov dword [ebp - 0x68], 0x1f83d9ab
mov dword [ebp - 0x64], 0x5be0cd19
mov dword [ebp - 0x10], 0
call fcn.004b2370
lea eax, [ebp - 0x80]
push eax
call fcn.004b2880
mov edx, dword [ebp - 0x84]
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x80]
cmp eax, dword [ebx + ecx*4]
jne 0x47ed00
inc ecx
cmp ecx, 8
jb 0x47ec97
test ebx, ebx
je 0x47ed00
test esi, esi
je 0x47ed00
mov eax, dword [edx + 0x34]
mov eax, dword [eax + 0x4d8]
mov esi, dword [eax + 0xc8]
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
lea eax, [ebx + 0x20]
mov ecx, esi
push eax
push ebx
call fcn.004a4f40
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x47ed00
cmp dword [ebx + 0x20], esi
jne 0x47ed00
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xd0]
jle 0x47ed00
mov dword [eax + 0xd0], ecx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
Function at 0x482500
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x818
mov edi, ecx
call fcn.004d9a7e
mov ebx, eax
add esp, 4
mov eax, dword [edi]
lea esi, [ebx + 0x18]
cmp dword [eax + 0x2f4], 0
je 0x4825ab
mov eax, dword [eax + 0x4c8]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
mov dword [ebp - 0xc8], eax
call fcn.0047ac20
test eax, eax
je 0x482565
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
push eax
call fcn.0047acd0
mov eax, dword [edi]
push esi
push 0x3413e20a
mov ecx, dword [eax + 0x4cc]
call fcn.00471b30
test eax, eax
jne 0x4825ab
mov ecx, dword [edi]
push esi
push 0x5995c5c7
mov ecx, dword [ecx + 0x4cc]
call fcn.00471bb0
mov eax, dword [edi]
mov dword [eax + 0x2f4], 0
mov ecx, dword [edi]
mov eax, dword [ebp - 0xc4]
mov dword [ecx + 0x2f0], eax
jmp 0x4825c6
mov eax, dword [edi]
push esi
push 0x5995c5c7
mov ecx, dword [eax + 0x4cc]
call fcn.00471b30
test eax, eax
jne 0x482717
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4825d0
sub esi, ecx
sar esi, 1
lea eax, [esi + 1]
mov dword [ebp - 0xc4], eax
cmp eax, 1
jbe 0x482717
mov dword [ebx], 0x7d2
lea esi, [ebx + 0x10]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0xffffff
mov dword [ebx + 0xc], 0
mov eax, dword [edi]
push esi
mov eax, dword [eax + 0x4c8]
mov ecx, eax
mov dword [ebp - 0xc8], eax
call fcn.0047ac20
test eax, eax
je 0x482635
mov ecx, dword [ebp - 0xc8]
push esi
call fcn.0047acd0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebx + 0x14]
and dword [esi], 0xfffff000
mov dword [eax], ecx
lea esi, [ecx*2 + 0x18]
lea ecx, [esi - 0x14]
test eax, eax
je 0x4826b5
lea edx, [ebp - 0x80]
mov dword [ebp - 0x5c], 0
push edx
push ecx
push eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x80], 0x6a09e667
mov dword [ebp - 0x7c], 0xbb67ae85
mov dword [ebp - 0x78], 0x3c6ef372
mov dword [ebp - 0x74], 0xa54ff53a
mov dword [ebp - 0x70], 0x510e527f
mov dword [ebp - 0x6c], 0x9b05688c
mov dword [ebp - 0x68], 0x1f83d9ab
mov dword [ebp - 0x64], 0x5be0cd19
mov dword [ebp - 0x10], 0
call fcn.004b2370
lea eax, [ebp - 0x80]
push eax
call fcn.004b2880
movups xmm0, xmmword [ebp - 0x80]
push 3
lea eax, [ebp - 0xc0]
movups xmmword [ebp - 0xa0], xmm0
push eax
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x90], xmm0
call fcn.004ae980
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0xa0]
push esi
push ebx
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004a72a0
push ebx
call fcn.004d9a63
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x4e0]
call fcn.0046d3e0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004d9a63
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret
Function at 0x484020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
mov ebx, ecx
push esi
mov esi, eax
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x48404a
movzx eax, word [edi]
lea edi, [edi + 2]
mov ecx, edx
shl ecx, 4
xor ecx, eax
xor edx, ecx
sub esi, 1
jne 0x484036
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x28]
and ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, dword [ebx + 0x34]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x4840dd
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
nop dword [eax]
cmp dword [edi + 0x10], eax
jne 0x4840c8
mov edx, dword [edi + 0x14]
lea esi, [eax + eax]
mov eax, ebx
sub esi, 4
jb 0x484093
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x484098
add edx, 4
add eax, 4
sub esi, 4
jae 0x484082
cmp esi, 0xfffffffc
je 0x4840d8
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4840c5
cmp esi, 0xfffffffd
je 0x4840d8
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x4840c5
cmp esi, 0xfffffffe
je 0x4840d8
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x4840c5
cmp esi, 0xffffffff
je 0x4840d8
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4840d8
mov eax, dword [ebp + 8]
mov edi, dword [edi + 4]
test edi, edi
jne 0x484070
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x485d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0x502ab0
mov esi, ecx
mov dword [ebp - 0x24], 0x310030
mov dword [ebp - 0x20], 0x330032
mov dword [ebp - 0x1c], 0x350034
mov dword [ebp - 0x18], 0x370036
mov dword [ebp - 0x14], 0x390038
mov dword [ebp - 0x10], 0x620061
mov dword [ebp - 0xc], 0x640063
mov dword [ebp - 8], 0x660065
call fcn.004860b0
lea eax, [ebp - 4]
mov ecx, esi
push eax
push 0x40
call fcn.00486190
mov edi, dword [ebp + 0xc]
mov ebx, 8
mov ecx, dword [ebp - 4]
add edi, 0x1c
mov edx, dword [edi]
lea ecx, [ecx + 0x10]
mov eax, edx
lea edi, [edi - 4]
shr eax, 0x1c
movzx eax, word [ebp + eax*2 - 0x24]
mov word [ecx - 0x10], ax
mov eax, edx
shr eax, 0x18
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x24]
mov word [ecx - 0xe], ax
mov eax, edx
shr eax, 0x14
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x24]
mov word [ecx - 0xc], ax
mov eax, edx
shr eax, 0x10
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x24]
mov word [ecx - 0xa], ax
mov eax, edx
shr eax, 0xc
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x24]
mov word [ecx - 8], ax
mov eax, edx
shr eax, 8
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x24]
mov word [ecx - 6], ax
mov eax, edx
shr eax, 4
and edx, 0xf
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x24]
mov word [ecx - 4], ax
movzx eax, word [ebp + edx*2 - 0x24]
mov word [ecx - 2], ax
sub ebx, 1
jne 0x485da8
add dword [esi + 0x10], 0x40
lea eax, [ebp + 0xc]
push eax
push 5
mov ecx, esi
call fcn.00486190
mov ecx, dword [ebp + 0xc]
pop edi
mov dword [ecx], 0x2f003c
mov eax, dword [0x502ab0]
mov dword [ecx + 4], eax
mov eax, 0x3e
mov word [ecx + 8], ax
add dword [esi + 0x10], 5
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x489350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 3
jl 0x48936c
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edi + 0x124]
cmp eax, esi
je 0x489471
mov ecx, dword [sym.imp.USER32.dll_InvalidateRect]
test eax, eax
js 0x4893a7
mov eax, dword [edi + eax*4 + 0x88]
cmp dword [eax + 0x74], 0
mov dword [eax + 0x7c], 0
jne 0x4893a7
push 0
push 0
push dword [eax + 0x54]
call ecx
mov ecx, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [edi + 0x124], esi
mov eax, dword [edi + esi*4 + 0x88]
cmp dword [eax + 0x74], 0
mov dword [eax + 0x7c], 1
jne 0x4893ca
push 0
push 0
push dword [eax + 0x54]
call ecx
cmp dword [edi + 0x124], 2
mov eax, dword [edi + 0x84]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4893e3
push 5
jmp 0x4893e5
push 0
push dword [eax + 0x54]
call ebx
mov eax, dword [edi + 0x124]
test eax, eax
jne 0x4893ff
mov ecx, edi
call fcn.004892d0
push 5
jmp 0x489443
cmp eax, 1
jne 0x489441
mov ecx, edi
call fcn.004892d0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [edi + 0xf0]
call esi
push 0
dec eax
push eax
push 0x1013
push dword [edi + 0xf0]
call esi
push 0
push dword [edi + 0xec]
call ebx
push 5
jmp 0x48944d
push 0
push dword [edi + 0xec]
call ebx
push 0
push dword [edi + 0xf0]
call ebx
push 0
push 0
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 0xe8]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x48b8f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x75616c8a
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
jne 0x48bab7
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0xac]
push 4
cmp eax, 4
jne 0x48b9c3
mov ecx, dword [edi + 0xb4]
mov eax, dword [ebp - 8]
mov edx, dword [edi + 0xb8]
sub eax, ecx
sub eax, edx
push eax
push dword [ebp - 0xc]
lea eax, [ecx + edx]
push eax
mov eax, dword [edi + 0x78]
push 0
push 0
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 0x78]
push esi
push dword [ebp + 0xc]
mov eax, dword [ecx]
push 0x75616c8a
call dword [eax + 0x14]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [edi + 0x94]
mov edi, 2
mov eax, dword [esi]
push 0
push dword [eax + 0x54]
call ebx
lea esi, [esi + 4]
sub edi, 1
jne 0x48b983
mov edi, dword [ebp - 0x18]
xor esi, esi
nop dword [eax]
mov eax, dword [edi + esi*4 + 0x9c]
push 5
mov eax, dword [eax + 0x54]
push eax
call ebx
cmp esi, 2
je 0x48baa9
inc esi
cmp esi, 3
jb 0x48b9a0
jmp 0x48baa9
cmp eax, 2
mov eax, dword [ebp - 8]
jne 0x48ba3b
mov ecx, dword [edi + 0xbc]
sub eax, ecx
push eax
push dword [ebp - 0xc]
mov eax, dword [edi + 0x78]
push ecx
push 0
push 0
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 0x78]
push esi
push dword [ebp + 0xc]
mov eax, dword [ecx]
push 0x75616c8a
call dword [eax + 0x14]
lea esi, [edi + 0x94]
mov ebx, 2
mov eax, dword [esi]
push 5
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [esi + 4]
sub ebx, 1
jne 0x48ba04
lea esi, [edi + 0x9c]
mov ebx, 3
mov eax, dword [esi]
push 0
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [esi + 4]
sub ebx, 1
jne 0x48ba24
jmp 0x48baa9
mov ecx, dword [edi + 0xb4]
sub eax, ecx
push eax
push dword [ebp - 0xc]
mov eax, dword [edi + 0x78]
push ecx
push 0
push 0
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 0x78]
push esi
push dword [ebp + 0xc]
mov eax, dword [ecx]
push 0x75616c8a
call dword [eax + 0x14]
lea esi, [edi + 0x94]
mov ebx, 2
mov eax, dword [esi]
push 5
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [esi + 4]
sub ebx, 1
jne 0x48ba74
lea esi, [edi + 0x9c]
mov ebx, 3
mov eax, dword [esi]
push 0
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [esi + 4]
sub ebx, 1
jne 0x48ba94
push 0
push 0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0xc