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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1388]
mov dword [ebp], eax
mov ecx, dword [esi + 0x138c]
mov dword [ebp + 4], ecx
mov eax, dword [esi + 0x1388]
mov ecx, dword [esi + 0x1184]
mov edx, dword [esi + 0x1180]
push edi
mov edi, dword [esp + 0x28]
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x138c]
adc eax, ebx
cmp eax, ecx
mov dword [esp + 0x10], edx
jl 0x416e0f
mov eax, edx
jg 0x416de9
cmp dword [esp + 0x18], eax
jbe 0x416e0f
sub eax, dword [esi + 0x1388]
sbb ecx, dword [esi + 0x138c]
mov edi, eax
mov ebx, ecx
or eax, ebx
jne 0x416e0f
pop edi
pop esi
mov dword [ebp], eax
mov dword [ebp + 4], eax
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0x10
mov edx, dword [esi + 0x1390]
mov eax, dword [esi + 0x1394]
mov ecx, dword [0x48d2bc]
mov dword [esp + 0x28], edx
add edx, edi
mov dword [esp + 0x2c], eax
adc eax, ebx
cmp eax, ecx
jl 0x416f44
mov eax, dword [0x48d2b8]
jg 0x416e44
cmp edx, eax
jbe 0x416f44
sub eax, dword [esp + 0x28]
sbb ecx, dword [esp + 0x2c]
mov dword [esi + 0x1178], eax
mov dword [esi + 0x117c], ecx
test ecx, ecx
jl 0x416ea8
jg 0x416e62
test eax, eax
jbe 0x416ea8
mov edx, dword [esp + 0x24]
push 0
lea ebp, [esi + 0x1170]
push ebp
mov ecx, eax
mov eax, dword [esi + 0x1160]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp]
add dword [esi + 0x1388], ecx
mov edx, dword [esi + 0x1178]
mov eax, dword [esi + 0x117c]
adc dword [esi + 0x138c], 0
add dword [esi + 0x1390], edx
adc dword [esi + 0x1394], eax
mov ecx, esi
call fcn.00416ab0
test al, al
jne 0x416ec4
pop edi
pop esi
pop ebp
mov byte [0x48d267], 1
pop ebx
add esp, 0x10
ret 0x10
mov eax, edi
sub eax, dword [esi + 0x1178]
mov ecx, ebx
sbb ecx, dword [esi + 0x117c]
mov dword [esp + 0x2c], ecx
js 0x416f97
jg 0x416ee8
test eax, eax
jbe 0x416f97
mov eax, dword [esi + 0x1178]
mov ecx, dword [esp + 0x24]
push 0
lea ebp, [esi + 0x1170]
push ebp
mov edx, edi
sub edx, eax
push edx
mov edx, dword [esi + 0x1160]
add eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp]
add dword [esi + 0x1388], eax
mov al, 1
adc dword [esi + 0x138c], 0
sub edi, dword [esi + 0x1178]
sbb ebx, dword [esi + 0x117c]
add dword [esi + 0x1390], edi
pop edi
adc dword [esi + 0x1394], ebx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x1160]
push 0
lea eax, [esi + 0x1170]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x1170]
add dword [esi + 0x1388], eax
mov ecx, dword [esi + 0x1388]
adc dword [esi + 0x138c], 0
add dword [esi + 0x1390], edi
mov edx, dword [esi + 0x138c]
adc dword [esi + 0x1394], ebx
sub ecx, dword [ebp]
sbb edx, dword [ebp + 4]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0x10
Function at 0x41aed0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp byte [esi + 0xdd], al
je 0x41af2a
push 0x48d244
push eax
push esi
push 0x406310
mov byte [esi + 0xdd], al
push eax
push 0x48d248
mov byte [0x48d266], al
mov dword [0x48d248], 0xc
mov dword [0x48d24c], eax
mov dword [0x48d250], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x100
push eax
mov dword [0x48d240], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 5
mov ecx, esi
call fcn.004344b4
pop esi
ret

Function at 0x41cbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468b5e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x30], 0
call fcn.00425420
push str..TempFile
lea ecx, [esp + 0x10]
call fcn.00425240
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x38], 1
call fcn.0041ccb0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.00425410
sub esp, 0xc
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004252b0
mov ecx, esi
call fcn.0041cd50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.00425410
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0xc

Function at 0x41dec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468ea3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push edi
push eax
mov dword [esp + 0x34], 0
call fcn.00412860
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00425320
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.00425630
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.00425420
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00425410
push edi
mov ecx, esi
call fcn.0041d970
mov edi, eax
cmp edi, 0xffffffff
je 0x41dfb8
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0xc]
push edx
push edi
add ecx, 8
call fcn.00402270
mov ecx, eax
call fcn.00425420
push 0x47080c
lea ecx, [esp + 0x1c]
call fcn.00425240
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x18]
push eax
push edi
add ecx, 8
mov byte [esp + 0x34], 3
call fcn.00402270
mov ecx, eax
call fcn.00425560
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00425410
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x18]
push edi
add ecx, 8
call fcn.00402270
mov ecx, eax
call fcn.00425560
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00425410
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 0x10
Function at 0x421900
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x46967a
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x81c], eax
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x840]
mov dword [esp + 0x834], 0
call fcn.00402760
push eax
lea eax, [esp + 0x2c]
push 0x800
push eax
call fcn.0044bc9e
lea esi, [esp + 0x34]
add esp, 0xc
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x421970
sub esi, ecx
test esi, esi
jle 0x42198b
mov al, 0x5c
nop
cmp byte [esp + esi + 0x28], al
je 0x42198b
dec esi
test esi, esi
jg 0x421980
lea ecx, [esp + 0x83c]
push ecx
lea ecx, [esp + 0x10]
inc esi
call fcn.004252b0
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
lea edx, [esi - 1]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 1
call fcn.00425630
mov ecx, edi
call fcn.00421650
lea ecx, [esp + 0xc]
call fcn.00425320
sub eax, esi
push eax
inc esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00425630
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], 2
call fcn.00425420
lea ecx, [esp + 0x1c]
mov byte [esp + 0x834], 1
call fcn.00425410
lea ecx, [esp + 0x10]
call fcn.00402760
mov edx, dword [edi + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x834], 0
call fcn.00425410
lea ecx, [esp + 0x83c]
mov dword [esp + 0x834], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.0044b658
add esp, 0x82c
ret 0xc
Function at 0x421a70
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4696c6
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x81c], eax
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x82c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x840]
mov dword [esp + 0x834], 0
call fcn.00402760
push eax
lea eax, [esp + 0x2c]
push 0x800
push eax
call fcn.0044bc9e
lea esi, [esp + 0x34]
add esp, 0xc
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x421ae0
sub esi, ecx
test esi, esi
jle 0x421afb
mov al, 0x5c
nop
cmp byte [esp + esi + 0x28], al
je 0x421afb
dec esi
test esi, esi
jg 0x421af0
lea ecx, [esp + 0x83c]
push ecx
lea ecx, [esp + 0x10]
inc esi
call fcn.004252b0
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
lea edx, [esi - 1]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x850], 1
call fcn.00425630
mov ecx, edi
call fcn.00421650
lea ecx, [esp + 0xc]
call fcn.00425320
sub eax, esi
push eax
inc esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00425630
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x838], 2
call fcn.00425420
lea ecx, [esp + 0x1c]
mov byte [esp + 0x834], 1
call fcn.00425410
lea ecx, [esp + 0x10]
call fcn.00402760
mov edx, dword [edi + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x834], 0
call fcn.00425410
lea ecx, [esp + 0x83c]
mov dword [esp + 0x834], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.0044b658
add esp, 0x82c
ret 0xc

Function at 0x421c00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46971e
mov eax, dword fs:[0]
push eax
sub esp, 0xa3c
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0xa38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0xa50]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa60]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
mov ebp, 1
mov dword [esp + 0xa58], ebp
cmp dword [edi + 8], ebx
jne 0x421c6d
push 0x470fca
mov ecx, esi
call fcn.00425240
jmp 0x421cc2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
lea ecx, [esp + 0xa78]
mov dword [esp + 0x28], 0x800
call fcn.00402760
push eax
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x421cb6
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
mov byte [esp + ecx + 0x24], bl
push edx
mov ecx, esi
call fcn.00425330
jmp 0x421cc2
push 0x470fcb
mov ecx, esi
call fcn.00425240
lea ecx, [esp + 0xa64]
mov dword [esp + 0x14], ebp
mov byte [esp + 0xa58], bl
call fcn.00425410
mov eax, esi
mov ecx, dword [esp + 0xa50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa38]
xor ecx, esp
call fcn.0044b658
add esp, 0xa48
ret 0x10
Function at 0x421fd0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46978a
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.0044cd20
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x201c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
mov ebx, 1
push eax
lea ecx, [esp + 0x203c]
mov dword [esp + 0x2028], ebx
call fcn.00425580
lea ecx, [esp + 0x10]
call fcn.00402760
push eax
lea ecx, [esp + 0x1c]
push 0x1000
push ecx
call fcn.0044bc9e
add esp, 0xc
lea edx, [esp + 0x1018]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00421e90
cmp dword [esi + 8], 0
je 0x4220c9
push eax
lea ecx, [esp + 0x101c]
push ecx
push 3
push 0
lea ecx, [esp + 0x2040]
call fcn.00402760
mov edx, dword [esi + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4220c9
lea ecx, [esp + 0xc]
mov byte [esp + 0x2024], bl
call fcn.00425410
lea ecx, [esp + 0x202c]
mov byte [esp + 0x2024], 0
call fcn.00425410
lea ecx, [esp + 0x2038]
mov dword [esp + 0x2024], 0xffffffff
call fcn.00425410
mov al, bl
jmp 0x422106
lea ecx, [esp + 0xc]
mov byte [esp + 0x2024], bl
call fcn.00425410
lea ecx, [esp + 0x202c]
mov byte [esp + 0x2024], 0
call fcn.00425410
lea ecx, [esp + 0x2038]
mov dword [esp + 0x2024], 0xffffffff
call fcn.00425410
xor al, al
mov ecx, dword [esp + 0x201c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.0044b658
add esp, 0x201c
ret 0x18

Function at 0x422130
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4697c8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [esp + 0x10], 1
je 0x4221c4
lea ecx, [esp + 0x24]
call fcn.00425320
push eax
lea ecx, [esp + 0x2c]
call fcn.00402760
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.00402760
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4221c4
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], al
call fcn.00425410
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425410
mov al, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.00425410
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425410
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x4228d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4698c0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 8], 0
je 0x422942
push 4
lea eax, [esp + 0x28]
push eax
push 4
push 0
lea ecx, [esp + 0x2c]
call fcn.00402760
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x422942
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425410
mov al, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00425410
xor al, al
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x10
Function at 0x425e20
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a15f
mov eax, dword fs:[0]
push eax
mov eax, 0xa030
call fcn.0044cd20
mov eax, dword [0x48bb84]
xor eax, esp
mov dword [esp + 0xa02c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0xa044]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
push 0x471ce5
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa050], ebx
call fcn.00425240
push 0x471d4c
lea ecx, [esp + 0xa05c]
mov byte [esp + 0xa050], 1
call fcn.00402760
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0044ccc7
add esp, 0xc
test eax, eax
jne 0x425fc8
mov ecx, dword [esp + 0x14]
push 2
push ebx
push ecx
call fcn.0044e317
mov edx, dword [esp + 0x20]
push edx
call fcn.0044e21f
add esp, 0x10
cmp eax, ebx
jne 0x425ed7
mov eax, dword [esp + 0x14]
push eax
call fcn.0044c9cc
add esp, 4
jmp 0x425fc8
cdq
mov ecx, 0xa000
idiv ecx
mov edi, edx
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call fcn.0044dfbc
add esp, 4
cmp esi, ebx
jle 0x425f4e
mov eax, dword [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x3c]
push 0xa000
push ecx
call fcn.0044df9f
add esp, 0x10
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa038], bl
call fcn.00425330
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa050], 2
call fcn.00425560
lea ecx, [esp + 0x24]
mov byte [esp + 0xa04c], 1
call fcn.00425410
sub esi, 1
jne 0x425ef4
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.0044df9f
add esp, 0x10
mov byte [esp + edi + 0x34], bl
cmp edi, ebx
je 0x425fa0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
call fcn.00425330
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa050], 3
call fcn.00425560
lea ecx, [esp + 0x24]
mov byte [esp + 0xa04c], 1
call fcn.00425410
mov edx, dword [esp + 0x14]
push edx
call fcn.0044c9cc
add esp, 4
push ebx
sub esp, 0xc
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004252b0
mov ecx, ebp
call fcn.00425bb0
lea ecx, [esp + 0x18]
mov byte [esp + 0xa04c], bl
call fcn.00425410
lea ecx, [esp + 0xa054]
mov dword [esp + 0xa04c], 0xffffffff
call fcn.00425410
mov ecx, dword [esp + 0xa044]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa02c]
xor ecx, esp
call fcn.0044b658
add esp, 0xa03c
ret 0xc
Function at 0x42e0d6
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x42e0fa
cmp dword [edi + 0x54], 0
jne 0x42e0fa
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0043a3af
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.0042e097
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 0x433b1b
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 0x433b62
call fcn.0043a3af
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x433b62
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x433b7e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00433695
mov esi, eax
test edi, edi
je 0x433b7c
test ebx, ebx
je 0x433b7c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x434a73
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46b7f5
call fcn.0044eac9
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x434a98
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x434ade
lea ecx, [ebp - 0x10]
call fcn.00402660
mov ecx, dword [esi + 0x50]
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.00434236
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402960
mov eax, esi
call fcn.0044eba1
ret 8
Function at 0x439096
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4390de
call fcn.0043a3af
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4390de
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x439121
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43910a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43910a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43911e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44b658
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48bb84]
jne 0x44b662
repz ret
jmp fcn.00452705
Function at 0x460957
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004537f8
and dword [ebp - 4], 0
cmp dword [0x491318], 0
mov ebx, eax
jne 0x460a08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x460ab9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47aac4
push edi
call esi
test eax, eax
je 0x460ab9
push eax
call fcn.00453786
mov dword [esp], 0x47aab4
push edi
mov dword [0x491318], eax
call esi
push eax
call fcn.00453786
mov dword [esp], 0x47aaa0
push edi
mov dword [0x49131c], eax
call esi
push eax
call fcn.00453786
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x491320], eax
call esi
push eax
call fcn.00453786
pop ecx
mov dword [0x491328], eax
test eax, eax
je 0x460a08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453786
pop ecx
mov dword [0x491324], eax
mov eax, dword [0x491324]
cmp eax, ebx
je 0x460a60
cmp dword [0x491328], ebx
je 0x460a60
push eax
call fcn.00453801
push dword [0x491328]
mov esi, eax
call fcn.00453801
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x460a60
test edi, edi
je 0x460a60
call esi
test eax, eax
je 0x460a57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x460a57
test byte [ebp - 0xc], 1
jne 0x460a60
or dword [ebp + 0x10], 0x200000
jmp 0x460a99
mov eax, dword [0x49131c]
cmp eax, ebx
je 0x460a99
push eax
call fcn.00453801
pop ecx
test eax, eax
je 0x460a99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x460a99
mov eax, dword [0x491320]
cmp eax, ebx
je 0x460a99
push eax
call fcn.00453801
pop ecx
test eax, eax
je 0x460a99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x491318]
call fcn.00453801
pop ecx
test eax, eax
je 0x460ab9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x460abb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x21c84c60
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5d09613c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219