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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, 0x400000
push esi
push 0
push eax
mov dword [ebp - 0xc], esi
call fcn.00518380
add esp, 0xc
mov edi, 0x4400
mov dword [ebp - 0x20], 0
jmp 0x41d5f3
mov esi, dword [ebp - 0xc]
cmp esi, 0x400000
jbe 0x41d605
mov esi, 0x400000
mov dword [ebp - 8], esi
jmp 0x41d608
mov dword [ebp - 8], esi
mov edx, dword [ebp + 8]
mov ecx, esi
and ecx, 0x1ff
sub esi, ecx
cmp byte [edx + 0xc], 0
jne 0x41d6a8
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x18]
push ecx
push edi
push ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xffffffff
jne 0x41d655
test eax, eax
jne 0x41d660
cmp ecx, 0xffffffff
jne 0x41d660
cmp dword [ebp - 0x18], 0
je 0x41d67f
mov eax, dword [ebp + 0x10]
push 0
lea edx, [ebp - 0x10]
push edx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41d67f
cmp dword [ebp - 0x10], esi
jne 0x41d67f
xor ebx, ebx
jmp 0x41d68b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x41d6b8
mov ecx, dword [ebp - 8]
add edi, esi
adc dword [ebp - 0x20], 0
sub dword [ebp - 0xc], ecx
jne 0x41d5f0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, 0x4c7
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x18]
cmp byte [edx + 0x54], 0
push ebx
je 0x41d6cc
push 0x56f0a8
jmp 0x41d6d1
push 0x56f0d0
push 0x597f50
call fcn.00515b45
movzx eax, word [esi + 4]
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
and eax, 0xff
push 0x597f50
or eax, 0x100
shl eax, 0x10
push eax
push 0x178c
push ecx
call edi
movzx edx, word [esi + 4]
mov eax, dword [esi + 8]
and edx, 0xff
push 0x597f50
shl edx, 0x10
or edx, 0x1000001
push edx
push 0x178c
push eax
call edi
pop edi
mov byte [esi + 0xd], 1
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [eax + 0x54]
mov edx, ecx
shl edx, 9
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x58]
push ebx
push edi
mov ebx, 0x200
test edx, edx
jns 0x41e046
mov eax, dword [esi + 0x1c]
add eax, edx
jmp 0x41e048
mov eax, edx
cdq
mov edi, eax
shld edx, edi, 9
mov dword [ebp - 0x18], edx
mov eax, ecx
cdq
shld edx, eax, 9
shl eax, 9
xor ecx, ecx
shl edi, 9
sub eax, dword [ebp + 0x10]
push 0x200
sbb edx, ecx
add edi, eax
adc dword [ebp - 0x18], edx
movzx edx, word [esi + 4]
mov eax, dword [esi + 8]
and edx, 0xff
shl edx, 0x10
or edx, 2
push edx
push 0x178c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, 0x400000
jbe 0x41e0a2
mov eax, 0x400000
mov dword [ebp - 8], eax
jmp 0x41e0a7
mov dword [ebp - 8], ebx
mov eax, ebx
mov ecx, eax
and ecx, 0x1ff
sub eax, ecx
cmp byte [esi + 0xc], 0
mov dword [ebp + 0x10], eax
jne 0x41e1f3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
push 0
lea eax, [ebp - 0x20]
push eax
push edi
push ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xffffffff
jne 0x41e0f4
test eax, eax
jne 0x41e10a
cmp ecx, 0xffffffff
jne 0x41e10a
cmp dword [ebp - 0x20], 0
jne 0x41e10a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x41e137
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push 0
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41e12e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
je 0x41e13b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41e17b
add edi, dword [ebp + 0x10]
movzx edx, word [esi + 4]
adc dword [ebp - 0x18], 0
sub ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 8]
and edx, 0xff
sub ecx, ebx
push ecx
shl edx, 0x10
or edx, 3
push edx
push 0x178c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x41e090
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x18]
cmp byte [ecx + 0x54], 0
push eax
je 0x41e18c
push 0x56f24c
jmp 0x41e191
push 0x56f274
push 0x597f50
call fcn.00515b45
movzx edx, word [esi + 4]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
and edx, 0xff
push 0x597f50
or edx, 0x100
shl edx, 0x10
push edx
push 0x178c
push eax
call edi
movzx ecx, word [esi + 4]
mov edx, dword [esi + 8]
and ecx, 0xff
push 0x597f50
shl ecx, 0x10
or ecx, 0x1000001
push ecx
push 0x178c
push edx
call edi
mov eax, dword [ebp - 0xc]
mov byte [esi + 0xd], 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x58]
mov eax, ebx
shl eax, 9
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x200
test ecx, ecx
jns 0x41e231
mov eax, dword [esi + 0x1c]
add eax, ecx
cdq
mov edi, eax
mov ecx, edx
shld ecx, edi, 9
jmp 0x41e23f
mov eax, ecx
cdq
mov edi, eax
shld edx, edi, 9
mov dword [ebp - 0x1c], edx
mov ecx, edx
mov eax, ebx
cdq
shld edx, eax, 9
shl eax, 9
shl edi, 9
sub eax, 0x200
sbb edx, 0
add edi, eax
movzx eax, word [esi + 4]
adc ecx, edx
and eax, 0xff
push 0x200
shl eax, 0x10
or eax, 2
push eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 8]
push 0x178c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 8]
cmp eax, 0x400000
jbe 0x41e293
mov ebx, 0x400000
mov dword [ebp - 4], ebx
jmp 0x41e298
mov dword [ebp - 4], eax
mov ebx, eax
mov edx, ebx
and edx, 0x1ff
sub ebx, edx
cmp byte [esi + 0xc], 0
jne 0x41e3e0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x14]
push ecx
push edi
push edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
jne 0x41e2e2
test eax, eax
jne 0x41e2f8
cmp ecx, 0xffffffff
jne 0x41e2f8
cmp dword [ebp - 0x14], 0
jne 0x41e2f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x41e31f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e316
cmp dword [ebp - 0xc], ebx
je 0x41e323
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41e368
movzx ecx, word [esi + 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [esi + 8]
add edi, ebx
adc dword [ebp - 0x1c], 0
mov ebx, dword [ebp - 8]
sub ebx, dword [ebp - 4]
and ecx, 0xff
sub eax, ebx
push eax
shl ecx, 0x10
or ecx, 3
push ecx
push 0x178c
push edx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x41e27f
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x18]
cmp byte [ecx + 0x54], 0
push eax
je 0x41e379
push 0x56f2b0
jmp 0x41e37e
push str.Error_in_writing_to_the_disk._Error_code:__d
push 0x597f50
call fcn.00515b45
movzx edx, word [esi + 4]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
and edx, 0xff
push 0x597f50
or edx, 0x100
shl edx, 0x10
push edx
push 0x178c
push eax
call edi
movzx ecx, word [esi + 4]
mov edx, dword [esi + 8]
and ecx, 0xff
push 0x597f50
shl ecx, 0x10
or ecx, 0x1000001
push ecx
push 0x178c
push edx
call edi
mov eax, dword [ebp - 0xc]
mov byte [esi + 0xd], 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4020
call fcn.0051a810
mov eax, dword [0x58f660]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4020], ecx
mov ecx, dword [eax + 0x58]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x401c], edx
mov dword [ebp - 0x400c], 1
test ecx, ecx
jns 0x41e6a3
mov eax, dword [esi + 0x1c]
add eax, ecx
jmp 0x41e6a5
mov eax, ecx
cdq
push 0
shld edx, eax, 9
lea ecx, [ebp - 0x4014]
shl eax, 9
push ecx
push eax
push edi
mov dword [ebp - 0x4010], 0
mov dword [ebp - 0x4018], eax
mov dword [ebp - 0x4014], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4018], eax
call ebx
mov ecx, dword [ebp - 0x4018]
cmp ecx, 0xffffffff
jne 0x41e6f1
test eax, eax
jne 0x41e6ff
cmp ecx, 0xffffffff
jne 0x41e6ff
cmp dword [ebp - 0x4014], 0
je 0x41e72f
push 0
lea edx, [ebp - 0x4010]
push edx
push 0x4000
lea eax, [ebp - 0x4008]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e72f
cmp dword [ebp - 0x4010], 0x4000
je 0x41e7bb
call ebx
mov edi, eax
test edi, edi
je 0x41e7bb
mov ecx, dword [esi + 0x18]
cmp byte [ecx + 0x54], 0
push edi
je 0x41e74c
push 0x56f354
jmp 0x41e751
push str.Failed_to_read_the_disk_data._The_error_code_is:_d___Location:13_
push 0x597f50
call fcn.00515b45
movzx edx, word [esi + 4]
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
push 0x597f50
and edx, 0xff
shl edx, 0x10
push edx
push 0x178c
push eax
call ebx
movzx ecx, word [esi + 4]
mov edx, dword [esi + 8]
and ecx, 0xff
push 0x597f50
shl ecx, 0x10
or ecx, 1
push ecx
push 0x178c
push edx
call ebx
mov byte [esi + 0xd], 1
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00514194
mov esp, ebp
pop ebp
ret 8
xor eax, eax
lea ecx, [ecx]
cmp byte [ebp + eax - 0x4008], 0
jne 0x41e7d4
inc eax
cmp eax, 0x4000
jl 0x41e7c0
jmp 0x41e840
mov dword [ebp - 0x400c], 0
xor eax, eax
cmp byte [ebp + eax - 0x4008], 0xff
jne 0x41e81f
cmp byte [ebp + eax - 0x4007], 0xff
jne 0x41e814
cmp byte [ebp + eax - 0x4006], 0xff
jne 0x41e817
cmp byte [ebp + eax - 0x4005], 0xff
jne 0x41e81c
add eax, 4
cmp eax, 0x4000
jl 0x41e7e0
jmp 0x41e81f
inc eax
jmp 0x41e81f
add eax, 2
jmp 0x41e81f
add eax, 3
cmp eax, 0x4000
jne 0x41e840
mov eax, dword [ebp - 0x401c]
mov dword [ebp - 0x400c], 1
test eax, eax
je 0x41e840
mov dword [eax], 1
mov eax, dword [ebp - 0x4020]
mov ecx, dword [ebp - 0x400c]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00514194
mov esp, ebp
pop ebp
ret 8
Function at 0x41f540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push edi
push 0
lea edx, [ebp - 0x10]
push edx
push eax
push esi
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xffffffff
jne 0x41f57f
test eax, eax
jne 0x41f58a
cmp ecx, 0xffffffff
jne 0x41f58a
cmp dword [ebp - 0x10], 0
je 0x41f5ac
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 8]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41f5ac
cmp dword [ebp - 8], ebx
jne 0x41f5ac
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
call edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41f5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push edi
push 0
lea edx, [ebp - 0x10]
push edx
push eax
push esi
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xffffffff
jne 0x41f5ff
test eax, eax
jne 0x41f60a
cmp ecx, 0xffffffff
jne 0x41f60a
cmp dword [ebp - 0x10], 0
je 0x41f62c
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 8]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f62c
cmp dword [ebp - 8], ebx
jne 0x41f62c
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
call edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41f640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, eax
test ecx, ecx
je 0x41f673
push ebx
push edi
lea esp, [esp]
mov eax, dword [edx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x56b4d0]
inc esi
dec ecx
mov dword [edx], eax
jne 0x41f650
pop edi
pop ebx
pop esi
ret
mov eax, dword [edx]
pop esi
ret

Function at 0x420140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042a3bc
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x420179
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041fd82
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4201d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4201fb
cmp dword [edi + 0x74], 0
jne 0x4201fb
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0042a3bc
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00420198
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x427b43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x427b8a
call fcn.0042a3bc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x427b8a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x427ba6
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00427648
mov esi, eax
test edi, edi
je 0x427ba4
test ebx, ebx
je 0x427ba4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x427fac
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5358b6
call fcn.00517b74
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x427fd1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x428023
call fcn.004202a7
push eax
lea ecx, [ebp - 0x10]
call fcn.00401b20
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00517dd8
push eax
call fcn.00420b5a
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401b50
mov eax, esi
call fcn.00517c4c
ret 8

Function at 0x428f06
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00428b05
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x428f50
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00425b03
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042419e
jmp 0x428f5b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00433235
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x428f64
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00427c4f
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x428fa1
call fcn.00428b05
mov dword [esi + 0xc], 1
jmp 0x428fa6
call fcn.00428b05
cmp dword [esi], 0
je 0x428fef
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x428fc7
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00425b03
jmp 0x428fd9
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401930
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042419e
jmp 0x429013
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x429013
push dword [esi]
push dword [ebp + 8]
call fcn.00433235
pop esi
pop ebp
ret 0xc

Function at 0x42ce35
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00425ef3
call fcn.004024c0
cmp eax, esi
pop esi
jne 0x42ce51
mov ecx, 0x593880
jmp fcn.004382ce
ret

Function at 0x47dd44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x47dd5e
call fcn.0042a3bc
mov esi, dword [eax + 0xc]
push dword [0x5952d4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x47dd7c
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47dd74
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x47dda9
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x47dd76
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0047dc72
mov esi, eax
jmp 0x47dd9b

Function at 0x485e24
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x485e5f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x485e46
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x485e57
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x485e61
inc edi
add eax, 0x28
cmp edi, esi
jb 0x485e3c
xor eax, eax
pop edi
pop esi
ret
Function at 0x48614e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00485df4
push eax
push esi
push dword [ebp + 8]
call fcn.00485da9
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
invalid
inc ebp
sahf
Function at 0x486cd6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00485dc2
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
test dword [eax + 0x27fffffc], ebp
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00485df4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00485da9
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00485de4
mov ah, 0xfd
add al, 0x76
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.00485de4
aad 0x15
jae 0x486d9a
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.00485df4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00485da9
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x486e90
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
movsx eax, byte [ebp + eax - 0x655]
cmp eax, 0x5c
jne 0x486eb0
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
and dword [ebp - 0x3d0], 0
jmp 0x486ecd
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0x104
jge 0x486f34
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
and eax, 0x80
test eax, eax
je 0x486eff
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
jmp 0x486f32
mov eax, dword [ebp - 0x3d0]
invalid
invalid
invalid
invalid
int3