joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b38f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 8], 0
mov ebx, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call fcn.004014a0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x20], 2
cmp eax, ebx
jne 0x4106ae
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004012a0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 3
call fcn.00491b05
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x30]
jmp 0x4106d9
lea edx, [esp + 0x2c]
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x14]
call fcn.00401090
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.00491b05
mov byte [esp + 0x20], 2
lea ecx, [esp + 0x30]
call fcn.004919cc
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00491741
mov dword [esp + 8], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.00401510
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.004919cc
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x414590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b402f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov ecx, dword [esi + 0xc4]
lea eax, [esi + 0xfc]
cmp ecx, eax
je 0x4145da
lea eax, [esp + 0x24]
push 0x4cf8d0
push eax
mov dword [esp + 0x2c], 0
call fcn.00477ff4
mov ecx, dword [0x4e641c]
push edi
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
lea eax, [esp + 8]
push edx
push str.TCP_IP
push str._s__sWT_SERVER
push eax
mov dword [esp + 0x28], 1
call fcn.0048ea3f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov edx, dword [esi]
add esp, 0x10
push 0x4eb07c
push eax
push ecx
push edi
mov ecx, esi
call dword [edx + 0x9c]
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004919cc
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x414dd0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4160
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [esp + 0x78]
xor ebx, ebx
cmp esi, ebx
je 0x414f5e
cmp byte [esi], bl
je 0x414f5e
push esi
lea ecx, [esp + 0x7c]
call fcn.00491a3a
push 0x5c
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], ebx
call fcn.0048e697
inc eax
lea ecx, [esp + 0x78]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0048e61f
push ebx
push esi
mov byte [esp + 0x78], 1
call fcn.0047952e
add esp, 8
test eax, eax
jne 0x414f40
call fcn.0041fe20
test eax, eax
je 0x414e70
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x7c]
push 1
push ecx
push edx
push esi
push str.RunAs
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0xffffffff
je 0x414f40
jmp 0x414f05
push edi
lea eax, [esp + 0x7c]
push 0x4dc604
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00491c61
mov edx, dword [esp + 0x80]
mov byte [esp + 0x74], 2
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00491c61
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 4
call fcn.004919cc
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push edx
push ebx
lea ecx, [esp + 0x18]
call fcn.00491dfc
push eax
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x34]
call fcn.00491dfc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
pop edi
mov byte [esp + 0x70], 1
lea ecx, [esp + 0xc]
jne 0x414f3b
call fcn.004919cc
lea ecx, [esp + 8]
mov byte [esp + 0x70], bl
call fcn.004919cc
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.004919cc
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
call fcn.004919cc
lea ecx, [esp + 8]
mov byte [esp + 0x70], bl
call fcn.004919cc
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call fcn.004919cc
mov ecx, dword [esp + 0x68]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
Function at 0x416430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
lea ecx, [esp + 4]
push eax
call fcn.00491a3a
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41648b
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004919cc
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
mov edx, dword [esp + 0x3c]
lea ecx, [esp]
push edx
call fcn.00491a3a
mov eax, dword [esp]
mov byte [esp + 0x2c], 1
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4164b7
push str._____t_r_n_____t_r_n____t_r_n_____t_r_n_____t_r_n__
lea ecx, [esp + 4]
call fcn.00491b55
mov eax, dword [0x4e641c]
push ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 4]
mov byte [esp + 0x30], 3
push ecx
lea ecx, [esp + 0x14]
call fcn.00401810
mov edx, dword [esp + 8]
mov bl, 4
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
call fcn.00401af0
test eax, eax
je 0x416584
push esi
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x44]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00401bf0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 5
call fcn.00491b05
lea ecx, [esp + 0x44]
mov byte [esp + 0x34], bl
call fcn.004919cc
lea ecx, [esp + 0x3c]
push 2
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401bf0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 6
call fcn.00491b05
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], bl
call fcn.004919cc
lea ecx, [esp + 0x40]
call fcn.00491eee
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.004912e3
mov ecx, eax
call fcn.00491b55
lea ecx, [esp + 0x14]
call fcn.00401b50
test eax, eax
jne 0x4164f9
pop esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.00401ab0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.004919cc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call fcn.004919cc
lea ecx, [esp + 4]
mov byte [esp + 0x30], 0
call fcn.004919cc
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.004919cc
mov ecx, dword [esp + 0x28]
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x4175e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4741
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
mov esi, dword [esp + 0x124]
push 0x4dc5c0
mov ecx, esi
call fcn.0048e6b9
cmp eax, 0xffffffff
jne 0x4176f1
push ebx
push 1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0048e0ff
lea eax, [esp + 8]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x128], 0
call fcn.0048e61f
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004780eb
add esp, 8
lea ecx, [esp + 8]
test eax, eax
setne bl
call fcn.004919cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.004919cc
test bl, bl
pop ebx
je 0x4176aa
push esi
lea edx, [esp + 8]
push 0x5c
push edx
call fcn.0048e1c7
push eax
mov ecx, esi
mov dword [esp + 0x120], 1
call fcn.00491b05
lea ecx, [esp + 4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004919cc
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x10]
push esi
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00491cd5
push eax
mov ecx, esi
mov dword [esp + 0x120], 2
call fcn.00491b05
lea ecx, [esp + 0xc]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004919cc
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4

Function at 0x41b360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ecx, ebp
call fcn.0040b1a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41b3d3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41b3d3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push 1
push ebx
mov ecx, ebp
call fcn.0040b1e0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41b3d3
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x41cc30
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4df1
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
mov esi, dword [esp + 0x124]
push 0x4dc5c0
mov ecx, esi
call fcn.0048e6b9
cmp eax, 0xffffffff
jne 0x41cd41
push ebx
push 1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0048e0ff
lea eax, [esp + 8]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x128], 0
call fcn.0048e61f
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004780eb
add esp, 8
lea ecx, [esp + 8]
test eax, eax
setne bl
call fcn.004919cc
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.004919cc
test bl, bl
pop ebx
je 0x41ccfa
push esi
lea edx, [esp + 8]
push 0x5c
push edx
call fcn.0048e1c7
push eax
mov ecx, esi
mov dword [esp + 0x120], 1
call fcn.00491b05
lea ecx, [esp + 4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004919cc
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x10]
push esi
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00491cd5
push eax
mov ecx, esi
mov dword [esp + 0x120], 2
call fcn.00491b05
lea ecx, [esp + 0xc]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004919cc
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4

Function at 0x41fc90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.0049170d
add esp, 4
mov ebx, eax
call fcn.0041fd30
mov byte [ebx], al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41fcc3
mov al, byte [esp + 0x14]
mov byte [ebx], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea eax, [esi - 1]
test eax, eax
jle 0x41fd0b
mov cl, byte [eax + ebx - 1]
mov dl, byte [eax + ebx]
xor dl, cl
mov byte [eax + ebx], dl
dec eax
test eax, eax
jg 0x41fcfa
push 0x1000
push 0x4ec300
push esi
push ebx
call fcn.0041fb60
push ebx
call fcn.00491736
add esp, 0x14
mov eax, 0x4ec300
pop edi
pop esi
pop ebx
ret
Function at 0x41fd70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x4eb300
mov ebx, ecx
mov ecx, 0x400
rep stosd dword es:[edi], eax
mov eax, ebx
and eax, 0x80000001
jns 0x41fd9f
dec eax
or eax, 0xfffffffe
inc eax
je 0x41fdaa
pop edi
pop ebp
mov eax, 0x4eb300
pop ebx
ret
mov eax, ebx
push esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, 2
push esi
call fcn.0049170d
mov edi, eax
push esi
push edi
push ebx
push ebp
call fcn.0041fc20
sub esi, 2
mov eax, 1
add esp, 0x14
cmp esi, eax
jle 0x41fde8
mov cl, byte [eax + edi - 1]
mov bl, byte [eax + edi]
xor bl, cl
mov byte [eax + edi], bl
inc eax
cmp eax, esi
jl 0x41fdd7
push 0
lea edx, [edi + 1]
push 0xffffffffffffffff
push edx
push 0x1000
push 0x4eb300
mov byte [eax + edi], 0
call fcn.0041faa0
push edi
call fcn.00491736
add esp, 0x18
mov eax, 0x4eb300
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x41fe20
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x41fe53
cmp dword [esp + 4], 6
jb 0x41fe53
mov eax, 1
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret

Function at 0x420644
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4b4fcc
call fcn.0047a548
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
push esi
mov esi, ecx
push edi
shr eax, 0x10
test ax, ax
mov dword [esi + 0x40], ebx
jne 0x420672
cmp dword [esi + 0x3c], 0
jne 0x420672
movzx eax, bx
mov dword [esi + 0x3c], eax
call fcn.004a9596
mov edi, dword [eax + 0xc]
push 5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42069d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4206a5
or eax, 0xffffffff
jmp 0x420728
call fcn.0041b350
xor ecx, ecx
cmp eax, ecx
jle 0x4206b3
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x5c], ecx
jle 0x42071a
mov eax, dword [0x4e641c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ecx
push eax
lea eax, [ebp + 8]
push eax
push ebx
mov dword [ebp - 0x10], ecx
call fcn.00497c98
add esp, 0xc
test eax, eax
je 0x42070e
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00497ae7
mov ax, word [esi + 0x5c]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.00497d07
lea ecx, [ebp - 0x1c]
call fcn.00497b84
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.00497b76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004919cc
push edi
push 0
push dword [ebp + 0xc]
mov ecx, esi
push ebx
call fcn.004921e2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x420739
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4b4fe8
call fcn.0047a548
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x48]
mov ebx, dword [esi + 0x44]
call fcn.004a9596
cmp dword [esi + 0x40], 0
je 0x42077a
call fcn.004a9596
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x420787
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x420793
or eax, 0xffffffff
jmp 0x420854
call fcn.0041b350
xor ebx, ebx
cmp eax, ebx
jle 0x4207a1
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x5c], ebx
jle 0x420808
mov eax, dword [0x4e641c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x14], ebx
call fcn.00497c98
add esp, 0xc
test eax, eax
je 0x4207fc
push edi
lea ecx, [ebp - 0x20]
call fcn.00497ae7
mov ax, word [esi + 0x5c]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call fcn.00497d07
lea ecx, [ebp - 0x20]
call fcn.00497b84
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.00497b76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004919cc
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], ebx
call fcn.00409b80
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x542
test eax, eax
je 0x420831
call fcn.00409b80
push 0
push 1
push ebx
push dword [eax + 0x1c]
call edi
mov ecx, esi
call fcn.00492535
mov esi, eax
call fcn.00409b80
test eax, eax
je 0x420852
call fcn.00409b80
push 0
push 0
push ebx
push dword [eax + 0x1c]
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429d27
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4b5bce
call fcn.0047a548
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00491741
mov eax, dword [edi + 4]
and dword [ebp - 4], 0
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00491741
mov eax, dword [edi + 0x20]
lea ecx, [esi + 0x40]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.00491741
mov eax, dword [edi + 0x44]
add edi, 0x74
mov dword [esi + 0x44], eax
mov eax, dword [edi - 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [edi - 0x28]
mov dword [esi + 0x4c], eax
mov eax, dword [edi - 0x24]
mov dword [esi + 0x50], eax
mov eax, dword [edi - 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [edi - 0x1c]
mov dword [esi + 0x58], eax
mov eax, dword [edi - 0x18]
mov dword [esi + 0x5c], eax
mov eax, dword [edi - 0x14]
mov dword [esi + 0x60], eax
mov eax, dword [edi - 0x10]
mov dword [esi + 0x64], eax
mov eax, dword [edi - 0xc]
mov dword [esi + 0x68], eax
mov eax, dword [edi - 8]
mov dword [esi + 0x6c], eax
mov eax, dword [edi - 4]
push edi
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 2
mov dword [esi + 0x70], eax
call fcn.00491741
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43b790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b69a8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x40]
push esi
mov ebx, ecx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43b812
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43b837
push ebp
push eax
lea ecx, [esp + 0x18]
call fcn.00440300
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x38], 0
call fcn.0043b850
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.00440350
mov al, bl
jmp 0x43b839
mov edi, str.Unable_to_load_resource_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor al, al
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x4428d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
call fcn.0043b4d0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
jns 0x442902
mov dword [esp + 0x2c], 0
jmp 0x44291d
mov ecx, ebp
call fcn.0043b4d0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 2]
mov dx, word [esi + 6]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x2c], eax
mov ecx, ebp
call fcn.0043b4d0
xor edi, edi
mov ebx, eax
mov di, word [esi]
xor ecx, ecx
mov cx, word [esi + 4]
xor edx, edx
xor eax, eax
mov dx, di
mov ax, word [esi + 2]
sub ebx, eax
lea esi, [ecx + edx]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.0043b4e0
cmp eax, esi
jae 0x44295d
mov ecx, ebp
call fcn.0043b4e0
mov dword [esp + 0x10], eax
jmp 0x442961
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
call fcn.0043b320
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp ebp, ebx
jge 0x4429cd
mov eax, dword [esp + 0x10]
mov esi, edi
cmp edi, eax
jge 0x4429c8
mov eax, dword [esp + 0x2c]
mov ebx, ebp
sub ebx, eax
mov ecx, dword [esp + 0x28]
mov eax, esi
sub eax, edi
push ebx
push eax
call fcn.0043c480
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xff
cmp ecx, edx
je 0x4429bb
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push esi
call fcn.0043c8f0
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x442988
mov ebx, dword [esp + 0x20]
inc ebp
cmp ebp, ebx
jl 0x442976
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x451ba0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x11], 0xca
jne 0x451bd0
push esi
call fcn.004520a0
mov al, byte [esi + 0x3d]
add esp, 4
test al, al
je 0x451bc9
mov dword [esi + 0x11], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x11], 0xcb
mov eax, dword [esi + 0x11]
cmp eax, 0xcb
jne 0x451c50
mov eax, dword [esi + 0x183]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x451c3f
mov eax, dword [esi + 8]
test eax, eax
je 0x451bf4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x183]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x451c3b
cmp eax, 2
je 0x451c3f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x451be7
cmp eax, 3
je 0x451c1a
cmp eax, 1
jne 0x451be7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x451be7
mov edx, dword [esi + 0x10f]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x451be7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x72]
push esi
mov dword [esi + 0x7a], eax
call fcn.00451c80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451c70
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x11]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00451c80
add esp, 4
pop esi
ret
Function at 0x47952e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47954e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047cc62
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x479571
test byte [esp + 8], 2
je 0x479571
call fcn.0047ccd5
mov dword [eax], 0xd
call fcn.0047ccde
mov dword [eax], 5
jmp 0x47954a
xor eax, eax
ret
Function at 0x48cce0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004784a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x48cdab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x48cdab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x48cd5e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x48cd69
or bh, 8
and edi, 0x8000000
je 0x48cd84
mov eax, dword [0x4f15bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x48cdab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret