joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b452
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [ecx + 0xc]
lea edx, [esp]
push edx
push 0x20019
push 0
push eax
mov eax, dword [ecx + 4]
push eax
mov dword [esp + 0x20], 3
mov dword [esp + 0x1c], 4
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b448
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b43e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add esp, 0x10
ret 8
push esi
mov esi, dword [esp + 0x18]
push edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push esi
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x42b477
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edi, dword [esp + 0xc]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x42b4b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x108
mov eax, dword [0x493790]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 0x108], eax
cmp dword [ebx - 0xc], 0xfe
push ebp
push edi
mov edi, ecx
mov ebp, 1
jg 0x42b50c
lea edx, [esp + 0x10]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42b4e4
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
push 0x20006
push 0
push eax
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b561
mov eax, dword [esp + 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b52d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x104]
call fcn.004475ee
add esp, 0x108
ret 8
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b568
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x11c]
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x18]
push eax
push 1
push 0
push esi
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
je 0x42b596
xor ebp, ebp
mov eax, dword [edi + 8]
test eax, eax
jne 0x42b5a8
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.advapi32.dll_RegFlushKey]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x42b5ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b5e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x110]
pop edi
mov eax, ebp
pop ebp
pop ebx
call fcn.004475ee
add esp, 0x108
ret 8
Function at 0x42b610
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
push ecx
push 0x20006
push 0
push eax
push edx
mov edi, 1
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b65e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x1c]
push eax
push 3
push 0
push ebx
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
je 0x42b680
xor edi, edi
mov eax, dword [esi + 8]
test eax, eax
jne 0x42b692
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.advapi32.dll_RegFlushKey]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x42b6b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ecx
ret 8
Function at 0x42b800
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x471380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x493790]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x120], eax
mov edi, ecx
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x138]
push ecx
mov eax, 1
mov dword [esp + 0x14], esp
add esi, 0xfffffff0
mov ebp, esp
push esi
mov dword [esp + 0x134], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x1c], eax
call fcn.00401fc0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.0042b320
cmp eax, 1
mov dword [esp + 0x18], eax
je 0x42b884
cmp eax, 2
jne 0x42b8e3
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
cmp eax, ebx
mov dword [edi], eax
jne 0x42b8e3
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
cmp eax, ebx
mov dword [edi], eax
je 0x42b8d0
xor edi, edi
jmp 0x42b8d4
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp edi, ebx
jne 0x42b947
mov edi, dword [esp + 0x13c]
add edi, 0xfffffff0
push edi
call fcn.00401fc0
mov ebp, dword [esp + 0x138]
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x12c], bl
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b921
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x12c], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42b943
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, ebp
jmp 0x42b9a6
mov edi, dword [esp + 0x134]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00401990
mov byte [esp + 0x12c], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b978
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b9a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x120]
call fcn.004475ee
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0xc
Function at 0x42ba80
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x493790]
mov ecx, dword [esp + 0x170]
test ecx, ecx
mov dword [esp + 0x160], eax
mov eax, 0x4010
je 0x42baa7
mov eax, 0x4011
mov ecx, dword [esp + 0x16c]
test ecx, ecx
je 0x42bab5
or eax, 2
mov ecx, dword [esp + 0x168]
mov edx, dword [ecx]
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x80
push edx
call dword [sym.imp.shell32.dll_SHGetFileInfo]
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 4]
call fcn.004475ee
add esp, 0x164
ret 0xc

Function at 0x42baf0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4713a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
mov eax, dword [0x493790]
push esi
push edi
mov edi, dword [esp + 0x284]
mov dword [esp + 0x270], eax
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
jne 0x42bc7a
push 8
call fcn.0046032c
add esp, 4
mov dword [esp + 8], eax
cmp eax, esi
mov dword [esp + 0x27c], esi
je 0x42bb4e
mov ecx, eax
call fcn.00459412
jmp 0x42bb50
xor eax, eax
push ebp
or ebp, 0xffffffff
cmp eax, esi
mov dword [esp + 0x280], ebp
mov dword [edi], eax
je 0x42bc52
cmp dword [esp + 0x28c], esi
mov eax, 0x4010
je 0x42bb78
mov eax, 0x4011
push ebx
push eax
push 0x160
lea eax, [esp + 0x120]
push eax
push 0x80
push 0x47860c
call dword [sym.imp.shell32.dll_SHGetFileInfo]
mov ecx, dword [edi]
push eax
call fcn.00459503
push 0x105
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.00401990
push 0xc
push 0x4785fc
lea ecx, [esp + 0x18]
mov dword [esp + 0x28c], 1
call fcn.00402350
push 8
call fcn.00460357
push 8
mov ebx, eax
call fcn.00460357
add esp, 8
push 1
mov esi, eax
mov eax, dword [esp + 0x14]
push esi
push ebx
push 3
push eax
call dword [sym.imp.shell32.dll_ExtractIconEx]
mov eax, dword [esi]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
push eax
push ebp
push ecx
call dword [sym.imp.comctl32.dll_ImageList_ReplaceIcon]
push ebx
call fcn.0046035c
push esi
call fcn.0046035c
mov edi, dword [edi]
mov edx, dword [edi + 4]
add esp, 8
push ebp
push edx
call dword [sym.imp.comctl32.dll_ImageList_SetBkColor]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov esi, 1
mov dword [esp + 0x284], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
pop ebx
jg 0x42bc52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
pop ebp
mov ecx, dword [esp + 0x274]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x26c]
pop esi
call fcn.004475ee
add esp, 0x278
ret 8
mov eax, esi
jmp 0x42bc55
Function at 0x447298
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00447580
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x447333
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4e5cf8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x447333
cmp eax, 1
je 0x447354
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x447333
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x447300
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44732f
xor eax, eax
inc eax
jmp 0x447373
cmp edi, eax
jae 0x447337
xor eax, eax
jmp 0x447373
cmp eax, esi
jae 0x44733e
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov eax, dword [0x4e5cf8]
jmp 0x447357
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4491cf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x4493a3
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4e6220]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x4493a3
test cl, 0x48
je 0x44923a
cmp byte [eax + 5], 0xa
je 0x44923a
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x44928c
call dword [sym.imp.kernel32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x449274
call fcn.0044a38d
mov dword [eax], 9
call fcn.0044a396
mov dword [eax], esi
jmp 0x449284
cmp eax, 0x6d
je 0x4493a3
push eax
call fcn.0044a39f
pop ecx
or eax, 0xffffffff
jmp 0x4493a5
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x44939e
test eax, eax
je 0x4492b3
cmp byte [ebx], 0xa
jne 0x4492b3
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4492bc
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x449398
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x449388
cmp al, 0xd
je 0x4492ee
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x44937a
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x449308
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x449303
add dword [ebp + 0x10], 2
jmp 0x44935c
mov dword [ebp + 0x10], eax
jmp 0x449376
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x449330
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x449376
cmp dword [ebp - 0xc], 0
je 0x449376
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x449351
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x44935c
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x449379
cmp ebx, dword [ebp + 0xc]
jne 0x449361
cmp byte [ebp - 1], 0xa
jne 0x449361
mov byte [ebx], 0xa
jmp 0x449379
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044efa5
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x44937a
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x4492d2
jmp 0x449398
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x449398
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x4493a5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4496b4
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x493790]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x4496e5
xor eax, eax
jmp 0x44986e
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x4e6220]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x449721
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00449455
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4497fc
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x44983a
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x449785
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x449776
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x449756
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x4497c5
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x4497ce
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x449747
jmp 0x4497d0
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x449869
cmp dword [ebp - 0x6c], edi
je 0x44983a
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x44982f
call fcn.0044a38d
mov dword [eax], 9
call fcn.0044a396
mov dword [eax], esi
jmp 0x449864
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x449824
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x4497d0
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x4497d0
push dword [ebp - 0x6c]
call fcn.0044a39f
pop ecx
jmp 0x449864
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x449852
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x449852
xor eax, eax
jmp 0x44986c
call fcn.0044a38d
mov dword [eax], 0x1c
call fcn.0044a396
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x44986c
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.004475ee
add ebp, 0x3a0
leave
ret
Function at 0x44b36f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x44b38c
call fcn.0044a38d
mov dword [eax], 0x16
xor eax, eax
jmp 0x44b3f6
push esi
push 0x8c
push 1
call fcn.0044c25a
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44b3e1
push esi
call fcn.0044e09a
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x44b3bf
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x44b2da
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
jne 0x44b3f5
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00447227
test ebx, ebx
pop ecx
je 0x44b3f3
push ebx
call fcn.0044a39f
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x44b56f
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4829b0
call fcn.0044b408
push 8
call fcn.0044c819
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4e5d38], esi
jne 0x44b5a3
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x4e5d34], esi
mov al, byte [ebp + 0x10]
mov byte [0x4e5d30], al
cmp dword [ebp + 0xc], edi
jne 0x44b5ed
cmp dword [0x4e6588], edi
je 0x44b5dd
mov eax, dword [0x4e6584]
sub eax, 4
mov dword [0x4e6584], eax
cmp eax, dword [0x4e6588]
jb 0x44b5dd
mov eax, dword [eax]
cmp eax, edi
je 0x44b5be
call eax
jmp 0x44b5be
push 0x4920b0
mov eax, 0x4920a8
call fcn.0044b4ed
pop ecx
push 0x4920bc
mov eax, 0x4920b4
call fcn.0044b4ed
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x44b61e
cmp dword [ebp + 0x10], edi
jne 0x44b62c
mov dword [0x4e5d38], esi
push dword [ebp + 8]
call fcn.0044b4ab
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x44b62b
push 8
call fcn.0044c764
pop ecx
ret
call fcn.0044b443
ret
Function at 0x44d3f3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x44d421
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x44d428
cmp ebx, dword [eax + 4]
jae 0x44d428
xor eax, eax
jmp 0x44d618
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x44d439
xor eax, eax
inc eax
jmp 0x44d617
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x44d44f
cmp ecx, edx
jae 0x44d594
cmp dword [eax + 4], 0
je 0x44d458
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x44d440
cmp dword [ebp + 8], 0
je 0x44d47a
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x44d594
cmp eax, esi
jae 0x44d594
mov eax, dword [0x4e5e98]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x44d49f
cmp dword [esi*4 + 0x4e5ea0], edi
je 0x44d598
inc esi
cmp esi, eax
jl 0x44d48d
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x44d614
cmp dword [ebp - 8], 0x1000000
jne 0x44d614
test byte [ebp - 0xc], 0xcc
je 0x44d51d
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x44d614
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44d614
cmp word [eax + 0x18], 0x10b
jne 0x44d614
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x44d614
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x44d51d
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x44d51d
test byte [ecx + 0x27], 0x80
jne 0x44d594
push 1
push 0x4e5ee0
call dword [sym.imp.kernel32.dll_InterlockedExchange]
test eax, eax
jne 0x44d431
mov ecx, dword [0x4e5e98]
test ecx, ecx
mov edx, ecx
jle 0x44d551
lea eax, [ecx*4 + 0x4e5e9c]
cmp dword [eax], edi
je 0x44d551
dec edx
sub eax, 4
test edx, edx
jg 0x44d545
test edx, edx
jne 0x44d582
push 0xf
pop ebx
cmp ecx, ebx
jg 0x44d55e
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x44d576
lea eax, [edx*4 + 0x4e5ea0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x44d564
cmp ecx, 0x10
jge 0x44d582
inc ecx
mov dword [0x4e5e98], ecx
push 0
push 0x4e5ee0
call dword [sym.imp.kernel32.dll_InterlockedExchange]
jmp 0x44d431
xor eax, eax
jmp 0x44d617
test esi, esi
jle 0x44d431
mov ebx, dword [sym.imp.kernel32.dll_InterlockedExchange]
push 1
push 0x4e5ee0
call ebx
test eax, eax
jne 0x44d431
cmp dword [esi*4 + 0x4e5ea0], edi
je 0x44d5ee
mov eax, dword [0x4e5e98]
lea esi, [eax - 1]
test esi, esi
jl 0x44d5dc
cmp dword [esi*4 + 0x4e5ea0], edi
je 0x44d5d8
dec esi
jns 0x44d5cc
test esi, esi
jge 0x44d5ec
cmp eax, 0x10
jge 0x44d5e7
inc eax
mov dword [0x4e5e98], eax
lea esi, [eax - 1]
jmp 0x44d5ee
je 0x44d606
xor ecx, ecx
test esi, esi
jl 0x44d606
lea eax, [ecx*4 + 0x4e5ea0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x44d5f4
push 0
push 0x4e5ee0
call ebx
jmp 0x44d431
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret