joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479fb0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0047a100
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x479fd0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x479fb1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0047a100
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x479fd0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x47a000
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x47a057
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x47a06d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0047a090
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x47a090
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x47a120
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x47a169
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x47a5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e620
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0047a190
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0047a210
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0047a210
lea ecx, [esi + 0xc]
call fcn.0048f399
lea ecx, [esi + 0x10]
call fcn.0048f399
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047ca40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047ca40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047ca40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048f40e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048f40e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x47b288
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49e848
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x47b298
call fcn.0047b7b0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x47b37b
cmp byte [edi], 0
je 0x47b37b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x47b2bd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00479fb0
test eax, eax
jne 0x47b2dd
push 0x57f27c
lea ecx, [esi + 0x38]
call fcn.0048f54b
jmp 0x47b37b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0047a000
test eax, eax
jne 0x47b30c
mov ecx, esi
call fcn.0047a100
push edi
add esi, 0x38
push 0x57f258
push esi
call fcn.0048d147
add esp, 0xc
jmp 0x47b37b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0047c030
test eax, eax
je 0x47b374
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0047b450
test eax, eax
jne 0x47b390
push edi
lea eax, [esi + 0x38]
push 0x57f234
push eax
call fcn.0048d147
add esp, 0xc
mov ecx, esi
call fcn.0047b7b0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47b438
mov ecx, dword [0x57f590]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0048d147
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0047a0b0
test eax, eax
jne 0x47b3fa
push 0x57f218
lea ecx, [esi + 0x38]
call fcn.0048f54b
jmp 0x47b40a
push 0xfa
mov ecx, esi
call fcn.0047c030
test eax, eax
jne 0x47b427
mov ecx, esi
call fcn.0047b7b0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048f40e
jmp 0x47b37b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048f40e
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4917b2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4917ea
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048f869
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048f841
jmp 0x4917f6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x492ea4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x492ee6
call fcn.00498ba7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x492ee6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x492edd
xor eax, eax
jmp 0x492eee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00492ef4
pop edi
pop esi
pop ebx
ret 4

Function at 0x4990d7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x499105
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x499123
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049903d
jmp 0x499123
mov eax, dword [esi + 0x14]
test eax, eax
je 0x499123
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049903d
test edi, edi
mov eax, edi
jne 0x49910d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100f968d
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 [0x100fda80]
add esi, 0x647
mov dword [0x100fda7c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100f9762
mov eax, dword [ebp - 0x34]
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 [0x100fda7c]
add ecx, 0xffffe677
mov dword [0x100fda7c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100f9b2f
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0xc], ecx
mov dword [0x100fda7c], 0x828
add ecx, 0x26e3
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x100f9759
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100fb0bc]
mov dh, byte [eax + 0x100fb08d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x100f9762
lea eax, [ebp - 0x24]
mov dword [0x100fda7c], 0x16fa
mov dword [0x100fda80], 0xec7
mov dword [ebp - 0x44], eax
call fcn.100f9503
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.100f905c
mov dword [0x100fda7c], 0x632
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x100f96bc
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100f97ef
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x100fda7c]
add edx, 0xffffda67
mov dword [0x100fda80], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100fda7c], 0x2653
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x100f9889
jmp 0x100f9872
mov dword [0x100fda80], 0xfffff470
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x100f991b
jmp 0x100f9967
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], eax
jl 0x100f9838
mov eax, dword [ebp - 0x24]
mov dword [0x100fda80], 0x2ce7
mov dword [0x100fda7c], 0x711
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
jne 0x100f9967
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100f9967
mov dword [0x100fda7c], 0x1a80
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100f9967
mov dword [0x100fda7c], 0x59b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100f9967
mov dword [0x100fda7c], 0x15f7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100f9850
jmp 0x100f9967
mov eax, 0x198e
mov ecx, 0x1f4c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x100f994e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x100fda7c], eax
mov cl, byte [ebp - 0x29]
and cl, 1
movzx eax, cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100f9971
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x100fda7c], 0x77
mov dword [ebp - 0x10], eax
call fcn.100fa2be
xor ecx, ecx
mov edx, eax
mov dword [0x100fda80], 0x265c
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100f99c1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x100fda7c], 0x16b1
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x100f9a4b
jmp 0x100f9a72
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x100f9ab2
jmp 0x100f9a86
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
jb 0x100f9a56
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x100f99f8
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jmp 0x100f9a56
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x100f99f8
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x100f9abe
jmp 0x100f9a27
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
jmp 0x100f9a4b
Function at 0x100fa08d
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 dword [0x100fda80], 0x102f
mov dword [0x100fda88], 0
mov byte [0x100fda8c], 0
mov dword [0x100fda7c], 0x194
mov dword [0x100fda84], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100fa111
mov eax, dword [0x100fda80]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100fa143
mov eax, 0x225b
xor ecx, ecx
mov dword [0x100fda80], 0x225b
mov dword [0x100fda84], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x100fa143
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100fda7c], 0x540
mov eax, dword [0x100fda84]
add eax, 1
mov dword [0x100fda84], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100fa111
jmp 0x100fa0ee
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov esi, ecx
add esi, 0x8b2
mov dword [0x100fda90], 0
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
add ecx, 0xffffeb81
mov dword [0x100fda80], ecx
mov ecx, dword [0x100fda88]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
movzx edi, byte [ebx + edi]
add edi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add edi, edx
mov dword [0x100fda90], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x30]
idiv edi
mov dword [0x100fda88], edx
mov dword [0x100fda7c], esi
mov esi, dword [ebp - 0x2c]
mov cl, byte [ebx + esi]
mov byte [0x100fda8c], cl
mov dword [0x100fda80], 0xf5e
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x100fda7c]
add edx, 0xffffe36b
mov dword [0x100fda7c], edx
mov cl, byte [0x100fda8c]
mov edx, dword [0x100fda88]
mov byte [ebx + edx], cl
mov edx, dword [0x100fda84]
add edx, 1
mov dword [0x100fda84], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100fa0de
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fa43e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2d17
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0xb8c
mov dword [0x100fda84], 0
mov dword [0x100fda88], 0
mov dword [0x100fda94], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x100fda7c]
add eax, 0xffffdbca
mov dword [0x100fda80], eax
mov dword [0x100fda7c], 0xb8c
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, ebx
mov dword [ebp - 0x18], eax
mov eax, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
je 0x100fa5ff
jmp 0x100fa4dd
mov eax, dword [0x100fda7c]
add eax, 0x218b
mov dword [ebp - 0x34], eax
jmp 0x100fa5ff
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edi, 0x100
mov ebx, eax
add ebx, 1
add edx, 1
add ecx, 0xffffe6cf
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
idiv edi
mov dword [0x100fda84], edx
mov dword [0x100fda80], 0x2089
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x100fda88], edx
mov ecx, dword [ebp - 0x3c]
mov dword [0x100fda80], ecx
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x100fda8c], cl
mov dword [0x100fda7c], 0x136f
mov edi, dword [ebp - 0x2c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x100fda80], 0xf56
mov cl, byte [0x100fda8c]
mov edx, dword [0x100fda88]
mov byte [edi + edx], cl
mov dword [0x100fda7c], 0x2311
mov edx, dword [0x100fda84]
movzx edx, byte [edi + edx]
mov ecx, dword [0x100fda88]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x100fda80], 0xa5a
and ecx, 0xff
mov dword [0x100fda94], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov dword [0x100fda7c], 0x6f8
xor ch, cl
mov edx, dword [ebp - 0x28]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x44], ebx
je 0x100fa4cb
mov eax, dword [0x100fda88]
mov ecx, dword [0x100fda84]
mov edx, dword [0x100fda7c]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x30], esi
jmp 0x100fa4dd
mov eax, dword [ebp - 0x34]
mov dword [0x100fda80], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100fa60f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x100fda7c], 0x1c0e
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100f9c40
lea ecx, [0x100f9f4b]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0x131000
mov edx, dword [0x100fda68]
mov dword [esp + 0x68], edx
mov edx, dword [0x100fda6c]
mov dword [esp + 0x64], edx
mov edx, dword [0x100fda70]
mov dword [esp + 0x88], edx
mov edx, dword [0x100fda74]
mov dword [esp + 0x84], edx
mov edx, dword [0x100fda78]
mov dword [esp + 0x78], edx
mov dword [0x100fda7c], 0x1fcb
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x100fa6bc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100fa6d0
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100fa699
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov dword [0x100fda7c], 0xe25
mov dword [0x100fda80], 0x265c
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x4c], edx
call fcn.100f97ef
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x100fa74b
lea eax, [esp + 0x30]
mov dword [0x100fda7c], 0x1c67
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100f968d
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x100fda7c], 0x1592
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
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, 0x408e84
nop
nop
mov ecx, 0x58551a3a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x79467471
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x402106
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x404075
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
sub esp, 0xe
mov byte [esp], 0x6d
mov byte [esp + 1], 0x63
mov byte [esp + 2], 0x69
mov byte [esp + 3], 0x53
mov byte [esp + 4], 0x65
mov byte [esp + 5], 0x6e
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0x53
mov byte [esp + 8], 0x74
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0x67
mov byte [esp + 0xd], 0x41
mov byte [esp + 0xe], 0
lea eax, [esp]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x4060ec], eax
leave
ret

Function at 0x403576
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret
Function at 0x10008e90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae84e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1d8], 0
je 0x10008ee2
mov eax, dword [edi + 0x1c0]
push 5
push 0
push 0
push dword [eax + 0x6c]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0x24
push 0xffffffffffffffff
push ecx
mov ecx, esp
push 0x100b5dc4
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x1a8]
call sub.AWallData.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CHGMsg::HT_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____long_int_
push dword [eax]
mov dword [ebp - 4], 0
call sub.mfc140.dll_Ordinal_2298
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc140.dll_Ordinal_1044]
cmp esi, 6
jne 0x10008f2d
mov dword [edi + 0x1d4], 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret