joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e160
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x46e1b6
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
push str.dudubao.exe
lea ecx, [esp + 0x1c]
call fcn.00410560
xor ebx, ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x150], ebx
call fcn.0040e820
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
or ebp, 0xffffffff
cmp edi, ebp
jne 0x40e1de
push 0x47b304
call fcn.0045504c
add esp, 4
jmp 0x40e322
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x40e322
lea esp, [esp]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
call fcn.00410560
mov byte [esp + 0x150], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40e23c
push esi
lea ecx, [esp + 0x18]
call fcn.00410120
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0045554f
push eax
call fcn.0040fc50
add esp, 0xc
cmp esi, ebx
jl 0x40e36e
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x40e36e
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], bl
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
je 0x40e2d1
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.0045599c
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
jne 0x40e2db
lea eax, [esp + 0x1c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
mov esi, eax
mov byte [esp + 0x150], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jne 0x40e200
jmp 0x40e322
push 0x80004005
call fcn.0040fef0
mov esi, dword [esp + 0x24]
mov byte [esp + 0x150], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x40e322
push esi
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x40e322
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esp + 0x150], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40e346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004540ed
add esp, 0x140
ret
push 0x80070057
call fcn.0040fef0
int3
Function at 0x40e380
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46e44b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
call fcn.0043adc8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40e3d9
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x130], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x40e454
lea edx, [esp + 0x14]
push edx
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x40e448
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x40e437
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
call fcn.00410440
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esi - 0xc]
cmp ecx, edi
jne 0x40e4b6
push 0x47b3d4
mov ecx, ebx
call fcn.00410560
lea eax, [esi - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e48e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004540ed
add esp, 0x124
ret
lea eax, [ecx - 1]
cmp eax, edi
jl 0x40e566
cmp eax, ecx
jg 0x40e566
cmp byte [eax + esi], 0x5c
je 0x40e4df
push 1
push 0x47a9d8
lea ecx, [esp + 0x14]
call fcn.0040ecb0
push 0xc
push str.dooland.com_
lea ecx, [esp + 0x14]
call fcn.0040ecb0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
push ecx
call esi
push 8
push str.dudubao_
lea ecx, [esp + 0x14]
call fcn.0040ecb0
mov edx, dword [esp + 0xc]
push edi
push edx
call esi
push 5
push str.V2.0_
lea ecx, [esp + 0x14]
call fcn.0040ecb0
push edi
mov edi, dword [esp + 0x10]
push edi
call esi
lea esi, [edi - 0x10]
push esi
call fcn.00410330
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov dword [esp + 0x12c], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e48e
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
jmp 0x40e489
push 0x80070057
call fcn.0040fef0
int3
Function at 0x40fd20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40fd39
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40fd74
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40fd70
lea ebx, [ebx]
cmp esi, eax
jae 0x40fd74
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40fd60
cmp esi, eax
jb 0x40fd7a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x412510
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x46fea8
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
push 0
push 0x64
push 0xcd
push eax
mov dword [0x492cfc], 1
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0043adc8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41256b
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
mov ecx, dword [0x492de4]
push ecx
lea edx, [esp + 0xc]
push str.c:ipepmemfile_pwfcreate_08_09_17_file__slogin_dooland.swf
push edx
call fcn.00410070
mov edi, dword [esp + 0x14]
push edi
push 0
push 0x4901b4
push 0
push 0
push 1
lea eax, [esi + 0xf48]
push 0x8e
push eax
call fcn.0043dbc8
add esp, 0x2c
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x4062f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4125fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret
Function at 0x417c90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x18
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x417cd1
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x417cd1
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004585d0
add esp, 0xc
mov edx, dword [esp + 0x1c]
push edx
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 8]
push ecx
push eax
mov dword [edi], eax
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, 0xffffffff
setne dl
xor ecx, esp
mov eax, edx
call fcn.004540ed
add esp, 0x18
ret 4

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

Disassembly:
sub esp, 0xc10
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0xc0c], eax
mov eax, dword [esp + 0xc14]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc28]
push 0x800
mov ebx, edx
xor ebp, ebp
lea edx, [esp + 0x420]
push ebp
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
xor esi, esi
call fcn.00458160
add esp, 0xc
mov dword [edi], esi
push 0x400
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00458160
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x417dd1
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + esi + 0x424]
push ecx
call fcn.004585d0
lea edx, [esp + 0x428]
push str._r_n_r_n
push edx
add esi, edi
call fcn.00455bc0
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x417d70
jmp 0x417dd5
test ebp, ebp
je 0x417e13
mov ecx, dword [esp + 0x14]
lea ebx, [esp + 0x41c]
call fcn.00418840
mov ecx, dword [esp + 0x18]
sub esi, ebp
lea esi, [esp + esi + 0x41c]
lea eax, [esi - 4]
push eax
add ebp, 4
push ebp
push ecx
call fcn.004585d0
mov edx, dword [esp + 0x1c]
add esp, 0xc
add esi, 0xfffffffc
mov dword [edx], esi
mov eax, 1
jmp 0x417e15
xor eax, eax
mov ecx, dword [esp + 0xc1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004540ed
add esp, 0xc10
ret 8
Function at 0x418520
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x404
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x410]
push ebp
mov ebp, dword [esp + 0x40c]
push esi
push edi
mov esi, ecx
push esi
push eax
push ebp
call fcn.004585d0
add esp, 0xc
push 0x400
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00458160
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
lea edi, [eax + esi]
cmp edi, dword [esp + 0x418]
jg 0x41859e
test eax, eax
jle 0x41859e
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + ebp]
push ecx
call fcn.004585d0
mov esi, edi
jmp 0x41854f
mov ecx, dword [esp + 0x40c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.004540ed
add esp, 0x404
ret 0xc

Function at 0x4185c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
push 0x47adfc
push eax
mov edi, ecx
mov ebx, edx
call fcn.004547d8
mov esi, eax
add esp, 8
test esi, esi
jne 0x418603
or eax, 0xffffffff
jmp 0x418669
test edi, edi
jle 0x418614
push esi
push 1
push edi
push ebx
call fcn.00454905
add esp, 0x10
mov ebx, dword [sym.imp.WS2_32.dll_recv]
lea ebx, [ebx]
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00458160
mov edx, dword [ebp]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
test eax, eax
push esi
jle 0x41865f
push 1
push eax
add edi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00454905
add esp, 0x10
jmp 0x418620
call fcn.00454a05
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004540ed
add esp, 0x404
ret 8
Function at 0x418f70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e046
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1d4]
mov ebx, edx
push 0x47aaa8
push eax
mov esi, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
call fcn.004547d8
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
jne 0x41902b
cmp ebp, eax
je 0x419024
call fcn.00455ead
mov eax, dword [eax]
push eax
call fcn.00455e0b
add esp, 4
test eax, eax
jne 0x419005
xor ecx, ecx
push ecx
push eax
mov ecx, ebp
call fcn.0040ffe0
xor al, al
jmp 0x4191bd
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x419010
sub ecx, esi
push ecx
push eax
mov ecx, ebp
call fcn.0040ffe0
xor al, al
jmp 0x4191bd
cmp ebx, eax
je 0x419037
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
jmp 0x41903b
mov dword [esp + 0x18], eax
mov ecx, esi
mov byte [esp + 0x1a8], al
mov dword [esp + 0x1a9], eax
mov dword [esp + 0x1ad], eax
mov dword [esp + 0x1b1], eax
mov dword [esp + 0x1b5], eax
mov word [esp + 0x1b9], ax
mov byte [esp + 0x1bb], al
call fcn.004103e0
push 2
push 0
push edi
call fcn.00455b32
push edi
call fcn.00456089
push 0
push 0
push edi
mov ebp, eax
call fcn.00455b32
add esp, 0x1c
test ebp, ebp
je 0x419189
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebp
or eax, ecx
jge 0x4190b9
push ebp
mov ecx, esi
call fcn.00410120
mov eax, dword [esi]
push edi
push 1
push ebp
push eax
call fcn.00454cde
add esp, 0x10
push ebp
mov ecx, esi
call fcn.0041c2e0
mov eax, dword [esi]
push 0xfde9
lea edx, [esp + 0xac]
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0xac], edx
call fcn.0041c0f0
mov dword [esp + 0x1c8], 0
mov ebx, dword [esp + 0xa4]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
call dword [0x48fb80]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0041c1a0
mov byte [esp + 0x1c8], 1
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x419131
xor eax, eax
jmp 0x419141
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x419136
sub eax, ebx
push eax
push edx
mov ecx, esi
call fcn.0040ffe0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x41915f
push eax
call fcn.00456a45
add esp, 4
mov dword [esp + 0x1c8], 0xffffffff
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x419185
push eax
call fcn.00456a45
add esp, 4
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4191a8
push ebp
lea edx, [esp + 0x1ac]
push edx
push str._s_d_bytes
push eax
call fcn.00410070
add esp, 0x10
push edi
call fcn.00454a05
add esp, 4
test ebx, ebx
je 0x4191bb
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov al, 1
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.004540ed
add esp, 0x1b8
ret
Function at 0x4191f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46eef6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d4]
mov ebp, dword [esp + 0x1d8]
mov ebx, edx
push 0x47adfc
push eax
mov esi, ecx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1f], 1
call fcn.004547d8
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
jne 0x4192ab
cmp ebx, eax
je 0x4192a4
call fcn.00455ead
mov eax, dword [eax]
push eax
call fcn.00455e0b
add esp, 4
test eax, eax
jne 0x419286
xor ecx, ecx
push ecx
push eax
mov ecx, ebx
call fcn.0040ffe0
xor al, al
jmp 0x41942d
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x419290
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x419290
sub ecx, esi
push ecx
push eax
mov ecx, ebx
call fcn.0040ffe0
xor al, al
jmp 0x41942d
cmp ebp, eax
je 0x4192b8
mov ecx, dword [ebp]
mov dword [esp + 0x1c], ecx
jmp 0x4192bc
mov dword [esp + 0x1c], eax
mov ebx, dword [esi]
mov byte [esp + 0x1ac], al
mov dword [esp + 0x1ad], eax
mov dword [esp + 0x1b1], eax
mov dword [esp + 0x1b5], eax
mov dword [esp + 0x1b9], eax
mov word [esp + 0x1bd], ax
mov byte [esp + 0x1bf], al
mov esi, dword [ebx - 0xc]
test esi, esi
je 0x4193d3
lea edx, [esp + 0xac]
mov dword [esp + 0xa8], edx
call dword [0x48fb80]
push eax
push ebx
lea eax, [esp + 0xb0]
call fcn.0041c0f0
mov dword [esp + 0x1cc], 0
mov ebx, dword [esp + 0xa8]
push 0xfde9
lea ecx, [esp + 0x28]
lea eax, [esp + 0x2c]
push ecx
mov dword [esp + 0x2c], eax
call fcn.0041c1a0
mov byte [esp + 0x1cc], 1
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00410560
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 0xc]
push edi
push 1
push esi
push eax
call fcn.00454905
add esp, 0x10
cmp eax, 1
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x4193ad
push eax
call fcn.00456a45
add esp, 4
mov dword [esp + 0x1cc], 0xffffffff
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0xac]
cmp eax, edx
je 0x4193d3
push eax
call fcn.00456a45
add esp, 4
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4193f2
push esi
lea eax, [esp + 0x1b0]
push eax
push str._s_d_bytes
push ebx
call fcn.00410070
add esp, 0x10
cmp byte [esp + 0x17], 0
jne 0x419415
test ebx, ebx
je 0x419415
call fcn.00455ead
mov ecx, dword [eax]
push ecx
call fcn.00455e0b
add esp, 4
push eax
mov ecx, ebx
call fcn.00410440
push edi
call fcn.00454a05
add esp, 4
test ebp, ebp
je 0x419429
mov edx, dword [esp + 0x1c]
mov dword [ebp], edx
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.004540ed
add esp, 0x1bc
ret
Function at 0x420f70
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
test esi, esi
mov ebx, eax
jne 0x420f8a
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 4
cmp ebx, 4
jge 0x420f9c
pop esi
mov eax, 2
pop ebx
add esp, 8
ret 4
cmp ebx, 0x38
jle 0x420fae
pop esi
mov eax, 3
pop ebx
add esp, 8
ret 4
push ebp
push edi
mov edi, dword [esp + 0x1c]
mov eax, 0x47ec78
lea ecx, [edi + 0x48]
lea esp, [esp]
mov edx, pe_nt_image_headers32
mov ebp, dword [eax]
mov dword [ecx], ebp
add eax, 4
add ecx, 4
sub edx, 1
jne 0x420fc5
cmp eax, 0x47fc78
jl 0x420fc0
mov ebp, 0x47ec30
xor eax, eax
sub ebp, edi
mov dword [esp + 0x14], 0x12
lea esp, [esp]
movzx ecx, byte [eax + esi]
add eax, 1
cmp eax, ebx
jl 0x420ffd
xor eax, eax
movzx edx, byte [eax + esi]
shl ecx, 8
add eax, 1
or edx, ecx
cmp eax, ebx
jl 0x42100f
xor eax, eax
movzx ecx, byte [eax + esi]
shl edx, 8
add eax, 1
or ecx, edx
cmp eax, ebx
jl 0x421021
xor eax, eax
movzx edx, byte [eax + esi]
shl ecx, 8
add eax, 1
or edx, ecx
cmp eax, ebx
jl 0x421033
xor eax, eax
mov ecx, dword [edi + ebp]
xor ecx, edx
mov dword [edi], ecx
add edi, 4
sub dword [esp + 0x14], 1
jne 0x420ff0
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov edi, edi
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov edx, edi
call fcn.004210d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi + esi*4], ecx
mov dword [edi + esi*4 + 4], edx
add esi, 2
cmp esi, 0x12
jl 0x421050
mov ebp, edi
lea esi, [ebp + 0x4c]
mov ebx, 4
mov edi, 0x80
jmp 0x421090
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, ebp
call fcn.004210d0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi - 4], edx
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x421090
sub ebx, 1
jne 0x421086
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x4210d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
test eax, eax
push esi
mov esi, dword [esp + 0x10]
je 0x421212
test esi, esi
je 0x421212
mov ecx, dword [eax]
push ebx
push ebp
push edi
mov edi, dword [esi]
lea esi, [edx + 8]
mov dword [esp + 0x10], 4
lea esp, [esp]
xor ecx, dword [esi - 8]
add esi, 0x10
mov eax, ecx
shr eax, 0x10
mov ebx, ecx
and eax, 0xff
mov eax, dword [edx + eax*4 + 0x448]
shr ebx, 0x18
add eax, dword [edx + ebx*4 + 0x48]
movzx ebx, ch
xor eax, dword [edx + ebx*4 + 0x848]
mov ebx, ecx
and ebx, 0xff
add eax, dword [edx + ebx*4 + 0xc48]
xor eax, edi
xor eax, dword [esi - 0x14]
mov edi, ecx
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x448]
mov ebp, eax
shr ebp, 0x18
add ecx, dword [edx + ebp*4 + 0x48]
movzx ebp, ah
xor ecx, dword [edx + ebp*4 + 0x848]
mov ebx, eax
and eax, 0xff
add ecx, dword [edx + eax*4 + 0xc48]
xor ecx, edi
xor ecx, dword [esi - 0x10]
mov eax, ecx
shr eax, 0x10
mov ebp, ecx
and eax, 0xff
mov eax, dword [edx + eax*4 + 0x448]
shr ebp, 0x18
add eax, dword [edx + ebp*4 + 0x48]
movzx ebp, ch
xor eax, dword [edx + ebp*4 + 0x848]
mov edi, ecx
and ecx, 0xff
add eax, dword [edx + ecx*4 + 0xc48]
xor eax, ebx
xor eax, dword [esi - 0xc]
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x448]
mov ebp, eax
shr ebp, 0x18
add ecx, dword [edx + ebp*4 + 0x48]
movzx ebp, ah
xor ecx, dword [edx + ebp*4 + 0x848]
mov ebx, eax
and eax, 0xff
add ecx, dword [edx + eax*4 + 0xc48]
xor ecx, edi
sub dword [esp + 0x10], 1
mov edi, ebx
jne 0x421100
mov eax, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
xor edx, edi
xor eax, ecx
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
pop ebp
pop ebx
mov dword [edx], eax
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, 1
pop esi
pop ecx
ret 8