joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435860
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
xor ebx, ebx
push 8
mov ebp, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.0043a403
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x435899
push ebx
call fcn.0043b4f4
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x43589b
xor edi, edi
cmp esi, ebx
jle 0x4358e4
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x435901
push 0
call fcn.0043b4f4
sub eax, dword [edi]
add esp, 4
imul eax, eax, 0x3e8
mov dword [esp + 0x1c], edx
cmp eax, dword [ebp + 0x24]
ja 0x43590b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4358e4
sub esi, eax
add ebx, eax
test esi, esi
jg 0x4358a3
mov eax, dword [esp + 0x2c]
sub dword [eax], esi
push edi
call fcn.0043a3dd
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov dword [esp + 0x10], 0xffffffff
jmp 0x4358ea
mov dword [esp + 0x10], 0xfffffffe
jmp 0x4358ea

Function at 0x435920
Capabilities:
Send data

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0043a403
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x435954
push ebx
call fcn.0043b4f4
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x435956
xor esi, esi
mov edi, dword [esp + 0x2c]
cmp edi, ebx
jbe 0x4359b7
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4359a4
push 0
call fcn.0043b4f4
sub eax, dword [esi]
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x3e8
add esp, 4
mov dword [esp + 0x20], edx
cmp eax, dword [ecx + 0x24]
ja 0x4359ae
mov eax, dword [esp + 0x14]
add ebx, eax
sub edi, eax
jne 0x435967
jmp 0x4359b6
mov dword [esp + 0x10], 0xffffffff
jmp 0x4359b6
mov dword [esp + 0x10], 0xfffffffe
pop ebp
push esi
call fcn.0043a3dd
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc

Function at 0x435b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450e58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 3
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
push ecx
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x20], 0
mov dword [esi], vtable.t_ipcServerTaskConditionUploadEnd.0
call fcn.00424810
mov edx, dword [esp + 0x24]
mov dword [esi + 0x2c], edx
mov byte [esi + 0x30], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x437030
Capabilities:
Create thread

Disassembly:
push 0
push 0
push ecx
push 0x437000
push 0
push 0
call fcn.0043a95e
add esp, 0x18
mov eax, 1
ret

Function at 0x437050
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
push esi
call edi
cmp eax, 0xffffffff
jne 0x4370a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x43708b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push esi
call edi
pop edi
ret

Function at 0x437160
Capabilities:
Check http status code
Create http request

Disassembly:
sub esp, 0x20c
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov edi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
cmp esi, ebx
je 0x43720b
push ebp
push ebx
push accept
push ebx
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
cmp edi, ebx
je 0x437207
push 0x1ff
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.0043ae00
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0x13
push edi
mov dword [esp + 0x24], 0x200
mov dword [esp + 0x28], ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x437204
lea ecx, [esp + 0x18]
push ecx
call fcn.0043bfeb
add esp, 4
cmp eax, 0xc8
sete bl
push edi
call ebp
push esi
call ebp
pop ebp
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0043a84e
add esp, 0x20c
ret
Function at 0x437280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x451089
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 7
mov ebp, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x8c], eax
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0xa8]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0xa8], ebx
call fcn.0042f130
test al, al
je 0x4373c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [esp + 0x3c], eax
call fcn.00430260
push 0x38
call fcn.0043a403
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov byte [esp + 0xa0], 1
cmp edi, ebx
je 0x4373af
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x24]
push ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x20], eax
call fcn.0042cfd0
mov ecx, dword [esp + 0x20]
push eax
mov al, byte [esp + 0x28]
and al, 1
movzx eax, al
push eax
push ecx
push esi
mov ecx, edi
call fcn.00431020
jmp 0x4373b1
xor eax, eax
mov byte [esp + 0xa0], bl
cmp eax, ebx
je 0x4373c9
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x4373c9
push eax
call fcn.00430940
lea ecx, [esp + 0x20]
call fcn.0042e660
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0043a84e
add esp, 0x90
ret 8
Function at 0x4375e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x451129
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 7
mov ebp, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x94], eax
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], dx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov edi, dword [esp + 0xb0]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
push edi
mov dword [esp + 0xb0], ebx
call fcn.0042f130
test al, al
je 0x437772
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
cmp ecx, 0x3e8
jb 0x437760
mov eax, dword [esp + 0x40]
inc eax
shl eax, 0xc
xor edx, edx
div ecx
push 0x38
mov dword [esp + 0x24], eax
call fcn.0043a403
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
mov byte [esp + 0xa8], 1
cmp esi, ebx
je 0x43772a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
push edx
inc eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.0042cfd0
push eax
mov al, byte [esp + 0x2c]
and al, 1
movzx edx, al
push edx
push ebp
push edi
mov ecx, esi
call fcn.004310d0
mov ebp, dword [esp + 0x14]
mov esi, eax
jmp 0x43772c
xor esi, esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 8]
push edi
mov byte [esp + 0xb0], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
call fcn.00430260
cmp esi, ebx
je 0x437772
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x437772
push esi
call fcn.00430940
jmp 0x437772
mov ecx, dword [ebp + 8]
inc dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
push edi
call fcn.00430260
lea ecx, [esp + 0x28]
call fcn.0042e660
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0043a84e
add esp, 0x98
ret 8
Function at 0x438910
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x824
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x820], eax
mov eax, dword [esp + 0x82c]
push ebx
push ebp
mov ebp, dword [esp + 0x838]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x83c]
push esi
push edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x848]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x84c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x850]
xor edi, edi
mov esi, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
xor bl, bl
mov dword [esp + 0x18], edi
call fcn.00437050
mov esi, eax
cmp esi, 0xffffffff
je 0x4389ea
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x83c]
push esi
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00438450
add esp, 0x14
mov bl, al
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4389f4
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4389f4
mov ecx, ebp
call fcn.004370b0
mov bl, al
test bl, bl
jne 0x4389f4
mov edx, dword [esp + 0x10]
mov dword [edx], 0x3e9
jmp 0x4389f4
mov eax, dword [esp + 0x10]
mov dword [eax], 0x3eb
push 0x7ff
lea ecx, [esp + 0x35]
push 0
push ecx
mov byte [esp + 0x3c], 0
call fcn.0043ae00
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
sub edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [edx]
mov edx, dword [esp + 0x38]
push edi
movzx ecx, bl
push ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0043a2e0
lea ecx, [esp + 0x58]
push ecx
call fcn.0043a120
mov ecx, dword [esp + 0x85c]
add esp, 0x2c
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0043a84e
add esp, 0x824
ret
Function at 0x439350
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x451519
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa4]
xor ebx, ebx
mov eax, 7
mov ebp, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x88], eax
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0xa4], ebx
call fcn.0042f130
test al, al
je 0x439485
push 0x30
call fcn.0043a403
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x9c], 1
cmp edi, ebx
je 0x439445
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ecx
call fcn.0042cfd0
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
mov ecx, edi
call fcn.00431180
jmp 0x439447
xor eax, eax
mov byte [esp + 0x9c], bl
cmp eax, ebx
je 0x439485
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x43945f
push eax
call fcn.00430940
push ebx
push 4
push esi
push 0x439000
push ebx
push ebx
call fcn.0043a95e
mov edi, eax
add esp, 0x18
cmp edi, ebx
jne 0x439492
push 0x3f7
push esi
mov ecx, ebp
call fcn.00437f80
lea ecx, [esp + 0x1c]
call fcn.0042e660
xor al, al
jmp 0x4394ba
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
call fcn.00430260
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [esp + 0x1c]
call fcn.0042e660
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0043a84e
add esp, 0x8c
ret 8
Function at 0x43a170
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
push edi
xor bl, bl
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [esp + 8], eax
test eax, eax
jne 0x43a1ae
pop edi
xor al, al
pop ebx
add esp, 0xc
ret
push esi
push eax
call fcn.0043b693
mov ecx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43a20e
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x45663c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43a20e
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xa]
mov ecx, dword [esp + 0x20]
mov word [ecx], dx
movzx edx, word [eax + 8]
mov word [ecx + 2], dx
movzx edx, word [eax + 0xe]
mov word [ecx + 4], dx
mov ax, word [eax + 0xc]
mov word [ecx + 6], ax
mov bl, 1
test esi, esi
je 0x43a21b
push esi
call fcn.0043b75d
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
add esp, 0xc
ret

Function at 0x43a2e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
cmp byte [0x467668], 0
jne 0x43a31f
lea eax, [esp]
push eax
push 0x467668
lea ecx, [esp + 0xc]
push ecx
push str.Region
push str.SoftwareSogouInput
push reloc.WS2_32.dll_bind
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x3ff
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.0043a230
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push 0x467668
push ecx
push str.http:__ping.pinyin.sogou.com_sgdownload.gif_h_sr_sv_ss_ud_du_St_ddz_d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x30
ret

Function at 0x43a84e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x464630]
jne 0x43a858
repz ret
jmp fcn.0043f80c
Function at 0x449311
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043f146
and dword [ebp - 4], 0
cmp dword [0x468508], 0
mov ebx, eax
jne 0x4493c2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x449473
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x449473
push eax
call fcn.0043f0d4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x468508], eax
call esi
push eax
call fcn.0043f0d4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46850c], eax
call esi
push eax
call fcn.0043f0d4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x468510], eax
call esi
push eax
call fcn.0043f0d4
pop ecx
mov dword [0x468518], eax
test eax, eax
je 0x4493c2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043f0d4
pop ecx
mov dword [0x468514], eax
mov eax, dword [0x468514]
cmp eax, ebx
je 0x44941a
cmp dword [0x468518], ebx
je 0x44941a
push eax
call fcn.0043f14f
push dword [0x468518]
mov esi, eax
call fcn.0043f14f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44941a
test edi, edi
je 0x44941a
call esi
test eax, eax
je 0x449411
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x449411
test byte [ebp - 0xc], 1
jne 0x44941a
or dword [ebp + 0x10], 0x200000
jmp 0x449453
mov eax, dword [0x46850c]
cmp eax, ebx
je 0x449453
push eax
call fcn.0043f14f
pop ecx
test eax, eax
je 0x449453
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x449453
mov eax, dword [0x468510]
cmp eax, ebx
je 0x449453
push eax
call fcn.0043f14f
pop ecx
test eax, eax
je 0x449453
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x468508]
call fcn.0043f14f
pop ecx
test eax, eax
je 0x449473
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x449475
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6aec17d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6aec7c10
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6aec7c10
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6aec1830
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6b281054]
test esi, esi
jle 0x6aec1950
mov eax, dword [0x6b281058]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6aec1864
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6aec18e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6aec1850
mov dword [esp], ebx
call fcn.6aec1f90
mov edi, eax
test eax, eax
je 0x6aec1977
mov eax, dword [0x6b281058]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6aec20d0
mov edx, dword [0x6b281058]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6aec1957
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6aec18e0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6aec18f0
add dword [0x6b281054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6b281058]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6aec18e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6aec17d0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6aec186e
mov eax, dword [0x6b281058]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6aec17d0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6aec17d0
lea esi, [esi]
nop
Function at 0x6aec1c10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6b281064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6b28105c]
sub esp, 4
test ebx, ebx
je 0x6aec1c65
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6aec1c5e
test esi, esi
je 0x6aec1c5e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6aec1c40
mov dword [esp], 0x6b281064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6aec1f90
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6aec0000], 0x5a4d
jne 0x6aec1fb5
mov ecx, dword [0x6aec003c]
cmp dword [ecx + 0x6aec0000], 0x4550
lea edx, [ecx + 0x6aec0000]
je 0x6aec1fc0
ret
cmp word [ecx + 0x6aec0018], 0x10b
jne 0x6aec1fb5
push esi
movzx eax, word [ecx + 0x6aec0014]
push ebx
movzx esi, word [ecx + 0x6aec0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6aec0000
test esi, esi
je 0x6aec2008
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6aec1ffe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6aec200a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6aec1ff0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219