joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x408770
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, edx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp], ecx
push ebp
push ebx
call fcn.00409530
add esp, 8
mov ecx, ebp
mov edx, edi
call fcn.00408bd0
test al, al
je 0x4087f1
mov ecx, ebp
mov edx, edi
call fcn.00409310
mov ecx, ebx
mov edx, ebp
call fcn.00408bd0
test al, al
je 0x4087f1
mov ecx, ebx
mov edx, ebp
call fcn.00409310
mov ecx, esi
mov edx, ebx
call fcn.00408bd0
test al, al
je 0x4087f1
mov ecx, esi
mov edx, ebx
call fcn.00409310
mov ecx, dword [esp]
mov edx, esi
call fcn.00408bd0
test al, al
je 0x4087f1
mov ecx, dword [esp]
mov edx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00409310
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x408800
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, edx
mov ebp, ecx
mov edi, dword [esp + 0x14]
call fcn.00408bd0
mov ebx, eax
mov ecx, esi
mov edx, edi
call fcn.00408bd0
test bl, bl
je 0x408840
mov ecx, ebp
test al, al
jne 0x40883c
mov edx, esi
call fcn.00409310
mov ecx, esi
mov edx, edi
call fcn.00408bd0
test al, al
je 0x408867
mov ecx, esi
mov edx, edi
jmp 0x40885e
test al, al
je 0x408867
mov ecx, esi
mov edx, edi
call fcn.00409310
mov ecx, ebp
mov edx, esi
call fcn.00408bd0
test al, al
je 0x408867
mov ecx, ebp
mov edx, esi
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00409310
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409530
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00408800
add esp, 4
mov ecx, ebx
mov edx, ebp
call fcn.00408bd0
test al, al
je 0x40958f
mov ecx, ebx
mov edx, ebp
call fcn.00409310
mov ecx, esi
mov edx, ebx
call fcn.00408bd0
test al, al
je 0x40958f
mov ecx, esi
mov edx, ebx
call fcn.00409310
mov ecx, edi
mov edx, esi
call fcn.00408bd0
test al, al
je 0x40958f
mov ecx, edi
mov edx, esi
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00409310
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40abb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, edx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp], ecx
push ebp
push ebx
call fcn.0040b010
add esp, 8
mov ecx, edi
mov edx, ebp
call fcn.00408bd0
test al, al
je 0x40ac31
mov ecx, ebp
mov edx, edi
call fcn.00409310
mov ecx, ebp
mov edx, ebx
call fcn.00408bd0
test al, al
je 0x40ac31
mov ecx, ebx
mov edx, ebp
call fcn.00409310
mov ecx, ebx
mov edx, esi
call fcn.00408bd0
test al, al
je 0x40ac31
mov ecx, esi
mov edx, ebx
call fcn.00409310
mov ecx, esi
mov edx, dword [esp]
call fcn.00408bd0
test al, al
je 0x40ac31
mov ecx, dword [esp]
mov edx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00409310
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40ac40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, edx
mov ebp, ecx
mov edi, dword [esp + 0x14]
mov ecx, edx
mov edx, ebp
call fcn.00408bd0
mov ebx, eax
mov ecx, edi
mov edx, esi
call fcn.00408bd0
test bl, bl
je 0x40ac84
mov ecx, ebp
test al, al
jne 0x40ac80
mov edx, esi
call fcn.00409310
mov ecx, edi
mov edx, esi
call fcn.00408bd0
test al, al
je 0x40acab
mov ecx, esi
mov edx, edi
jmp 0x40aca2
test al, al
je 0x40acab
mov ecx, esi
mov edx, edi
call fcn.00409310
mov ecx, esi
mov edx, ebp
call fcn.00408bd0
test al, al
je 0x40acab
mov ecx, ebp
mov edx, esi
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00409310
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40b010
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push ebx
call fcn.0040ac40
add esp, 4
mov ecx, ebp
mov edx, ebx
call fcn.00408bd0
test al, al
je 0x40b06f
mov ecx, ebx
mov edx, ebp
call fcn.00409310
mov ecx, ebx
mov edx, esi
call fcn.00408bd0
test al, al
je 0x40b06f
mov ecx, esi
mov edx, ebx
call fcn.00409310
mov ecx, esi
mov edx, edi
call fcn.00408bd0
test al, al
je 0x40b06f
mov ecx, edi
mov edx, esi
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00409310
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x417620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x417631
jmp dword [eax*4 + 0x41fb44]
cmp dword [0x4240ac], 0
je 0x417740
push 0x4240b0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4240c8]
test edi, edi
je 0x417735
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41767b
mov edi, dword [edi + 8]
test edi, edi
je 0x417735
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x417670
test esi, esi
je 0x417670
mov ecx, dword [edi + 4]
call dword [0x41ffcc]
push esi
call ecx
add esp, 4
jmp 0x417670
call fcn.00416f40
jmp case.default.0x417631
cmp dword [0x4240ac], 0
je case.default.0x417631
push 0x4240b0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4240c8]
test edi, edi
je 0x417728
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4176e7
mov edi, dword [edi + 8]
test edi, edi
je 0x417728
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4176e0
test esi, esi
je 0x4176e0
mov ecx, dword [edi + 4]
call dword [0x41ffcc]
push esi
call ecx
add esp, 4
jmp 0x4176e0
cmp dword [0x4240ac], 0
jne 0x41771c
push 0x4240b0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4240ac], 1
jmp case.default.0x417631
push 0x4240b0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x417631
push 0x4240b0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4240ac]
cmp eax, 1
jne case.default.0x417631
mov eax, dword [0x4240c8]
test eax, eax
je 0x417772
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x417760
mov dword [0x4240c8], 0
mov dword [0x4240ac], 0
push 0x4240b0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4178b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x41d004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x417916
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x417916
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x417916
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x417916
mov edx, dword [esp + 0xc]
sub edx, dword [0x41d004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x417906
add esi, 0x28
dec ecx
je 0x417916
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x417900
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x417900
mov eax, esi
pop esi
pop edi
ret
Function at 0x41e48a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [0x481200]
push 0x40d6c0
mov edi, eax
mov esi, edx
call fcn.0042d4e5
xor ecx, ecx
cmp ebx, ecx
jne 0x41e4ca
push 0x40d6f8
mov esi, dword [0x481200]
call fcn.0042d729
xor al, al
jmp 0x41e5a6
cmp edi, 0xffffffff
je 0x41e4d7
cmp dword [esi + 0xc4], ecx
je 0x41e4e1
xor edx, edx
inc edx
mov dword [ebp - 4], edx
xor edi, edi
jmp 0x41e4e4
xor edx, edx
inc edx
cmp dword [ebx], ecx
je 0x41e4f8
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x41e5a4
cmp edi, edx
mov eax, edx
jl 0x41e524
mov ebx, dword [esi + 0x3c]
mov ebx, dword [ebx]
mov dword [esi + 0x3c], ebx
cmp ebx, dword [esi + 0x34]
je 0x41e512
inc eax
cmp eax, edi
jle 0x41e4fe
jmp 0x41e524
cmp eax, edx
jl 0x41e522
dec eax
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x3c], ecx
jne 0x41e516
mov ecx, edx
cmp dword [ebp - 4], 0
je 0x41e536
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x3c], eax
test ecx, ecx
jne 0x41e594
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e55c
lea ecx, [eax + 4]
jmp 0x41e55e
xor ecx, ecx
mov eax, dword [esi + 0x40]
cmp eax, ecx
je 0x41e56b
push 0
push dword [eax]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e57a
add eax, 4
jmp 0x41e57c
xor eax, eax
push 5
push dword [esi + 4]
mov dword [esi + 0x40], eax
call edi
test eax, eax
jne 0x41e594
push 0x40d744
jmp 0x41e4b8
mov ecx, dword [0x481200]
push 0x40d76c
call fcn.0042d4e5
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41e5b0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x481200]
push esi
push 0x40d7a0
mov esi, eax
call fcn.0042d4e5
xor eax, eax
inc eax
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x3c]
cmp edx, dword [ecx]
je 0x41e5de
mov ecx, edx
mov ecx, dword [ecx + 4]
inc eax
cmp eax, 1
mov dword [esi + 0x3c], ecx
jle 0x41e5c6
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e601
lea ecx, [eax + 4]
jmp 0x41e603
xor ecx, ecx
mov eax, dword [esi + 0x40]
cmp eax, ecx
je 0x41e610
push 0
push dword [eax]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e61f
add eax, 4
jmp 0x41e621
xor eax, eax
push 5
push dword [esi + 4]
mov dword [esi + 0x40], eax
call edi
pop edi
test eax, eax
jne 0x41e644
mov esi, dword [0x481200]
push 0x40d744
call fcn.0042d729
xor al, al
pop esi
ret
mov ecx, dword [0x481200]
push 0x40d76c
call fcn.0042d4e5
mov al, 1
pop esi
ret
Function at 0x437dba
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x46a90f
call fcn.0045f38b
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x14], ebx
jae 0x437ddd
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push esi
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437e18
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.00411dad
xor al, al
call fcn.0045f477
ret 0x38
cmp dword [ebp + 0x3c], 8
push 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], ebx
jae 0x437e30
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x437e77
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], bl
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.00411dad
mov al, byte [ebp - 0xd]
jmp 0x437e10
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov byte [ebp - 0xd], 1
jmp 0x437e57

Function at 0x437e8d
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x47c144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x114
xor ebx, ebx
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.004433d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x437ef4
cmp dword [ebp - 0x108], 2
jne 0x437ef4
cmp dword [ebp - 0x114], 5
jne 0x437ef4
mov eax, dword [ebp - 0x110]
cmp eax, dword [ebp + 8]
jne 0x437ef4
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0043dff7
leave
ret 4
Function at 0x437f6b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x278
mov eax, 0x46d084
call fcn.0045f3fe
mov esi, ecx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x278], ebx
jae 0x437f96
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x278]
push ecx
push edi
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437fd4
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.00411dad
xor al, al
call fcn.0045f490
ret 0x38
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004433d0
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp dword [ebp + 0x3c], 8
mov dword [ebp - 0x280], 0x103
mov dword [ebp - 0x27c], ebx
jae 0x43800e
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x27c]
push ecx
push ebx
push eax
push dword [ebp - 0x278]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x278]
test eax, eax
je 0x43806f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x271], bl
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.00411dad
mov al, byte [ebp - 0x271]
jmp 0x437fcc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x270]
push eax
call fcn.00437b61
mov byte [ebp - 4], 2
lea eax, [ebp - 0x244]
push eax
call fcn.00437b61
mov byte [ebp - 4], 3
sub esp, 0x1c
add esi, 4
mov ecx, esp
mov dword [ebp - 0x284], esp
push esi
call fcn.004132f9
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.00437b9b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.00413ccf
lea ebx, [ebp - 0x244]
call fcn.00437bdc
mov eax, ebx
lea ecx, [ebp - 0x270]
call fcn.00437d1b
test eax, eax
je 0x438114
mov byte [ebp - 4], 2
mov eax, ebx
push eax
call fcn.00430721
mov byte [ebp - 4], 1
lea eax, [ebp - 0x270]
push eax
call fcn.00430721
mov byte [ebp - 0x271], 1
xor ebx, ebx
jmp 0x438047
mov byte [ebp - 4], 2
lea eax, [ebp - 0x244]
push eax
call fcn.00430721
mov byte [ebp - 4], 1
lea eax, [ebp - 0x270]
push eax
call fcn.00430721
mov byte [ebp - 0x271], 0
jmp 0x43810d
Function at 0x43dff7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47c144]
jne 0x43e001
repz ret
jmp fcn.0044174c

Function at 0x446765
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.00440e61
and dword [ebp - 4], 0
cmp dword [0x47ec58], 0
mov ebx, eax
jne 0x446816
push 0x401d30
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4468c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401d24
push edi
call esi
test eax, eax
je 0x4468c7
push eax
call fcn.00440dea
mov dword [esp], 0x401d14
push edi
mov dword [0x47ec58], eax
call esi
push eax
call fcn.00440dea
mov dword [esp], 0x401d00
push edi
mov dword [0x47ec5c], eax
call esi
push eax
call fcn.00440dea
mov dword [esp], 0x401ce4
push edi
mov dword [0x47ec60], eax
call esi
push eax
call fcn.00440dea
pop ecx
mov dword [0x47ec68], eax
test eax, eax
je 0x446816
push 0x401ccc
push edi
call esi
push eax
call fcn.00440dea
pop ecx
mov dword [0x47ec64], eax
mov eax, dword [0x47ec64]
cmp eax, ebx
je 0x44686e
cmp dword [0x47ec68], ebx
je 0x44686e
push eax
call fcn.00440e6f
push dword [0x47ec68]
mov esi, eax
call fcn.00440e6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44686e
test edi, edi
je 0x44686e
call esi
test eax, eax
je 0x446865
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446865
test byte [ebp - 0xc], 1
jne 0x44686e
or dword [ebp + 0x10], 0x200000
jmp 0x4468a7
mov eax, dword [0x47ec5c]
cmp eax, ebx
je 0x4468a7
push eax
call fcn.00440e6f
pop ecx
test eax, eax
je 0x4468a7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4468a7
mov eax, dword [0x47ec60]
cmp eax, ebx
je 0x4468a7
push eax
call fcn.00440e6f
pop ecx
test eax, eax
je 0x4468a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47ec58]
call fcn.00440e6f
pop ecx
test eax, eax
je 0x4468c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4468c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44b57b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47edbc], 0
push esi
jne 0x44b4e9
call fcn.0044b405
test eax, eax
je 0x44b52c
mov eax, dword [0x47edbc]
cmp eax, 1
jne 0x44b50a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44b52c
pop esi
ret
push eax
call dword [0x47edc4]
test eax, eax
jne 0x44b574
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44b530
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x47edbc]
call dword [0x47edc4]
mov edi, eax
test edi, edi
je 0x44b555
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x44b571
mov edi, esi
add esi, 0xff0
push edi
push dword [0x47edbc]
call dword [0x47edc0]
add edi, 0x10
cmp edi, esi
jb 0x44b55d
mov eax, edi
pop edi
pop esi
ret
jmp 0x44b4d6
Function at 0x45582b
Capabilities:
Create directory

Disassembly:
push 0x294
mov eax, 0x468ca0
call fcn.0045f3fe
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x240], ebx
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], ebx
call fcn.004433d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call fcn.00451340
test eax, eax
jne 0x4558ad
push 0x409384
mov ecx, esi
call fcn.004132cd
mov dword [ebp - 4], ebx
mov dword [ebp - 0x240], 1
mov eax, esi
jmp 0x455a27
push ebx
lea eax, [ebp - 0x268]
push eax
call fcn.00451af8
mov dword [ebp - 0x24c], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00414de7
mov byte [ebp - 4], 2
push dword [ebp - 0x24c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00419205
add esp, 0x18
mov byte [ebp - 4], 4
push ebx
push esi
lea ecx, [ebp - 0x284]
call fcn.00411dad
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x268]
push ebx
push esi
call fcn.00411dad
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x45592b
lea eax, [ebp - 0x234]
push ebx
push eax
call fcn.0043f683
pop ecx
pop ecx
test eax, eax
jne 0x4559cc
inc dword [ebp - 0x244]
push dword [ebp - 0x244]
lea eax, [ebp - 0x2a0]
push eax
call fcn.00451af8
mov edi, eax
mov byte [ebp - 4], 6
push dword [ebp - 0x248]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00414de7
mov byte [ebp - 4], 7
push edi
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00419205
add esp, 0x18
mov byte [ebp - 4], 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x238]
call fcn.00411dfc
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0x268]
call fcn.00411dad
mov byte [ebp - 4], 6
push ebx
push esi
lea ecx, [ebp - 0x284]
call fcn.00411dad
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a0]
jmp 0x45590f
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x4559e1
lea eax, [ebp - 0x234]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x23c]
test eax, eax
jne 0x4559ff
push 0x409384
call fcn.004132cd
jmp 0x455a0b
lea eax, [ebp - 0x238]
push eax
call fcn.004132f9
mov dword [ebp - 0x240], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x238]
call fcn.00411dad
mov eax, dword [ebp - 0x23c]
call fcn.0045f490
ret 8