joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4118d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x411905
dec al
je 0x411941
dec al
je 0x411985
dec al
je 0x4119f0
jmp 0x411a7a
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x411a7a
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x411915
jmp 0x411a7a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x411a7a
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x411951
jmp 0x411a7a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x411a7a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4119b3
xor ebp, ebp
jmp 0x4119c4
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4119cd
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x411995
jmp 0x411a7a
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x411a7a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x411a48
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0040f714
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x411a04
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x413738
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
call fcn.004041b8
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
jne 0x413767
mov byte [0x420178], 1
jmp 0x4137b0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, esp
mov ecx, 4
call fcn.004026dc
mov eax, dword [esp]
mov dword [esp + 8], eax
mov word [esp + 4], 2
mov ax, word [ebx + 0x10]
push eax
call sub.wsock32.dll_htons
mov word [esp + 6], ax
push 0x10
lea eax, [esp + 8]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x4137b0
mov byte [0x420178], 1
add esp, 0x14
pop ebx
ret
Function at 0x414cd8
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebx
add esp, 0xfffffe60
mov ebx, eax
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [0x42019c], eax
mov word [esp + 0x190], 2
push 0
call sub.wsock32.dll_htonl
mov dword [esp + 0x194], eax
push ebx
call sub.wsock32.dll_htons
mov word [esp + 0x192], ax
push 0x10
lea eax, [esp + 0x194]
push eax
mov eax, dword [0x42019c]
push eax
call sub.wsock32.dll_bind
push 0x29
push 0x1a0a
mov eax, dword [0x41d648]
mov eax, dword [eax]
push eax
mov eax, dword [0x42019c]
push eax
call sub.wsock32.dll_WSAAsyncSelect
push 0
mov eax, dword [0x42019c]
push eax
call sub.wsock32.dll_listen
add esp, 0x1a0
pop ebx
ret

Function at 0x416014
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetDC
mov edi, eax
push edi
call sub.gdi32.dll_CreateCompatibleDC
mov ebp, eax
mov eax, dword [0x41d568]
mov eax, dword [eax]
push eax
mov eax, dword [0x41d574]
mov eax, dword [eax]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [esp], eax
mov eax, dword [esp]
push eax
push ebp
call sub.gdi32.dll_SelectObject
mov dword [esp + 4], eax
mov esi, dword [0x41d568]
mov esi, dword [esi]
dec esi
test esi, esi
jl 0x416087
inc esi
xor ebx, ebx
push 0xcc0020
push ebx
push 0
push edi
push 1
mov eax, dword [0x41d574]
mov eax, dword [eax]
push eax
push ebx
push 0
push ebp
call sub.gdi32.dll_BitBlt
inc ebx
dec esi
jne 0x416067
mov eax, dword [esp + 4]
push eax
push ebp
call sub.gdi32.dll_SelectObject
push ebp
call sub.gdi32.dll_DeleteDC
push edi
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_ReleaseDC
mov eax, dword [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x416114
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x416220
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_GetDesktopWindow
push eax
push 0
push 0
push 0
push 0
push 0x40000000
push 0x416230
call sub.AVICAP32.DLL_capCreateCaptureWindowA
mov dword [0x4201b4], eax
cmp dword [0x4201b4], 0
je 0x416200
push 0
push 0
push 0x40a
mov eax, dword [0x4201b4]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x43c
mov eax, dword [0x4201b4]
push eax
call sub.user32.dll_SendMessageA
mov edx, dword [0x41d5d4]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x41623c
call fcn.00404004
mov eax, dword [ebp - 4]
call fcn.004041b8
push eax
push 0
push 0x419
mov eax, dword [0x4201b4]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x40b
mov eax, dword [0x4201b4]
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x10
mov eax, dword [0x4201b4]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
mov dword [0x4201b4], eax
mov edx, dword [0x41d5d4]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x41623c
call fcn.00404004
mov eax, dword [ebp - 8]
call fcn.004160b0
mov ebx, eax
jmp 0x416205
mov ebx, 0xea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416227
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e34
ret
Function at 0x405858
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x405864
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004036a0
pop esp
sal byte [esi - 0x20], cl
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004036a0
movsb byte es:[edi], byte [esi]
std
mov ebp, 0x348b49a6
mov eax, dword [ebx]
idiv dword [eax + 0x50746547]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x40588d
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x40588d
call fcn.004036a0
xchg ebp, eax
das
mov ebx, 0x245a8ba4
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004036a0
cmpsd dword [esi], dword es:[edi]
sti
in eax, dx
out 0xff, eax
jne 0x4058d7
push dword [ebp + 4]
push dword [ebp]
call fcn.00403ea0
cld
mov esp, ebp
pop ebp
ret
in eax, 0xff
invalid
Function at 0x10014c6d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10014cdc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.100132e0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.10016501
lea ecx, [ebp - 0x3c]
call fcn.10016526
jmp 0x10014ce6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret
Function at 0x1002bb82
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002bd20
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1002bbdd
mov dword [ebp - 0x10], 1
jmp 0x1002bbe1
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jg 0x1002bbf4
mov dword [ebp - 8], 1
jmp 0x1002bbf8
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 8]
jle 0x1002bc13
mov dword [ebp - 0x14], 1
jmp 0x1002bc17
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
je 0x1002bc32
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002bc32
mov dword [ebp - 0x18], 1
jmp 0x1002bc36
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
sub edx, dword [ecx]
cmp dword [eax], edx
jl 0x1002bc4e
mov dword [ebp - 0x1c], 1
jmp 0x1002bc52
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jne 0x1002bc65
mov dword [ebp - 0x20], 1
jmp 0x1002bc69
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
je 0x1002bc84
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x1002bc84
mov dword [ebp - 0x28], 1
jmp 0x1002bc88
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
sub edx, dword [ecx]
cmp dword [eax], edx
jge 0x1002bca0
mov dword [ebp - 0x2c], 1
jmp 0x1002bca4
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [eax]
cmp ecx, 0xfffe
jae 0x1002bcbd
mov dword [ebp - 0x30], 1
jmp 0x1002bcc1
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jg 0x1002bcd4
mov dword [ebp - 0x34], 1
jmp 0x1002bcd8
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jg 0x1002bcf0
mov dword [ebp - 0x4c], 1
jmp 0x1002bcf4
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, 0xd033
test eax, eax
jne 0x1002bd0f
xor eax, eax
jne 0x1002bd0f
and dword [ebp - 0x38], 0
jmp 0x1002bd16
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x1002bd26
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esp, ebp
pop ebp
ret
Function at 0x1002d987
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002d9d3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1002d9dd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esp, ebp
pop ebp
ret

Function at 0x1002dcff
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002dd23
xor eax, eax
jmp 0x1002de47
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002db0a
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002dd4b
xor eax, eax
jmp 0x1002de47
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002db61
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1002dd6a
xor eax, eax
jmp 0x1002de47
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
call fcn.1002d9e1
add esp, 0x18
push 0x1a25
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x165
push 0x7da6
push 1
call fcn.1002dbac
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.1002dc4c
add esp, 0xc
push dword [ebp - 4]
call fcn.1002d23e
pop ecx
test eax, eax
jne 0x1002ddda
xor eax, eax
jmp 0x1002de47
lea eax, [ebp - 4]
push eax
push 0x38b1
push 1
call fcn.1002dcb4
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002de2f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x1002de0c
xor eax, eax
jmp 0x1002de47
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002de25
xor eax, eax
jmp 0x1002de47
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002de40
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002de44
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x10040777
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100407a8
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100407a6
push 0xc03
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x100407ed
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 5
jmp 0x100407ca
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffff3
je 0x100407ed
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100407eb
push 0x247b
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x100407bf
mov esp, ebp
pop ebp
ret
Function at 0x10070a5e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10077330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006180c
mov dword [ebp - 0x14], eax
cmp dword [0x10664d44], esi
jne 0x10070b51
push 0x800
push esi
push 0x10007ab4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10070ade
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10070c31
push esi
push esi
push 0x10007ab4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10070c31
push 0x10007acc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10070c31
push eax
call ebx
push 0x10007ad8
push edi
mov dword [0x10664d44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ae8
push edi
mov dword [0x10664d48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007afc
push edi
mov dword [0x10664d4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10664d54], eax
test eax, eax
je 0x10070b4e
push 0x10007b18
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10664d50], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10070b76
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10070b69
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10070b8b
push 4
pop eax
jmp 0x10070c33
cmp dword [ebp - 0x14], esi
je 0x10070b8b
push dword [0x10664d44]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10070b70
mov eax, dword [0x10664d50]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10070be9
cmp dword [0x10664d54], edi
je 0x10070be9
push eax
call ebx
push dword [0x10664d54]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10070be9
test eax, eax
je 0x10070be9
call ecx
test eax, eax
je 0x10070bde
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10070bde
test byte [ebp - 8], 1
jne 0x10070be9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10070c19
mov eax, dword [0x10664d48]
cmp eax, edi
je 0x10070c16
push eax
call ebx
test eax, eax
je 0x10070c16
call eax
mov esi, eax
test esi, esi
je 0x10070c16
mov eax, dword [0x10664d4c]
cmp eax, edi
je 0x10070c16
push eax
call ebx
test eax, eax
je 0x10070c16
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10664d44]
call ebx
test eax, eax
je 0x10070c31
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10070c33
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d762
mov esp, ebp
pop ebp
ret
Function at 0x43b658
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
add edi, edi
add edi, 0x80132b3f
inc eax
call fcn.0043b68c
mov edi, eax
xor dword [ebx], ecx
mov eax, 0xdde4d963
inc ebx
and eax, eax
cmp ebx, edx
jne fcn.0043b658
and eax, eax
push 0x2da1ca23
pop edi
mov eax, 0x5fd75db1
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5454471c
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1e616e90
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x5094c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x5094da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5094e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5094d0
mov eax, 1
add ebx, ebx
jne 0x5094f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5094e8
jne 0x509504
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5094e8
xor ecx, ecx
sub eax, 3
jb 0x509518
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50958a
mov ebp, eax
add ebx, ebx
jne 0x509523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x509530
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x509554
inc ecx
add ebx, ebx
jne 0x509540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x509535
jne 0x509551
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x509535
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x509574
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x509565
jmp 0x5094d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x509574
add edi, ecx
jmp 0x5094d6
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x5095dc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb678]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb6f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x509591
mov ecx, edi
jns 0x5095c0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb6f8]
or eax, eax
je 0x5095d6
mov dword [ebx], eax
add ebx, 4
jmp 0x5095ae
call dword [esi + 0xb6f4]
mov ebp, dword [esi + 0xb6fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x509610
sub esp, 0xffffff80
jmp 0x501d80
Function at 0x4030c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x421fa8], eax
pop esi
pop edi
pop ebp
ret