joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cfc0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46ddc8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42cff9
inc eax
mov dword [esi + 0x10], eax
jmp 0x42d10c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42d00d
mov eax, 0xffffffc7
jmp 0x42d10e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42d01e
cmp dword [esi + 8], eax
jne 0x42d00d
cmp dword [esi + 8], eax
jne 0x42d037
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42d037
mov eax, 0xffffffc7
jmp 0x42d10e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42d04b
push eax
mov ecx, ebx
call fcn.0042c7f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401ad0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42d07c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401af0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042bf60
test eax, eax
mov dword [esp + 0x38], eax
je 0x42d0af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x498260
call fcn.00401cd0
mov eax, dword [esp + 0x38]
jmp 0x42d10e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042ce20
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42d0f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042ce40
mov esi, eax
test esi, esi
jne 0x42d123
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042ce20
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42d0c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x498260
call fcn.00401cd0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x498260
call fcn.00401cd0
mov eax, esi
jmp 0x42d10e

Function at 0x4301e0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x430240
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x430240
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x430240
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x430240
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x430280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x436390
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00465881
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00435d30
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004657af
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00461f96
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00461f96
push 1
push 0
push 0
mov ecx, esi
call fcn.00461f3e
push 1
push 0
push 1
mov ecx, esi
call fcn.00461f3e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004658f3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x436510
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00465881
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00435d30
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004657af
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4365d4
cmp dword [esp + 0x40], 1
jne 0x4365d2
cmp ecx, eax
jge 0x4365d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4365e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00436390
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004658f3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x436d60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e483
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004603b6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00465b29
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467081
test eax, eax
je 0x436e7c
mov ecx, dword [esp + 0x3c]
call fcn.00465b56
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x436e40
push edi
mov ecx, esi
call fcn.0046311a
mov ecx, esi
call fcn.00436fe0
cmp dword [esp + 0x38], 1
jne 0x436e75
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00463284
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x439890
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4398c3
push esi
call fcn.0043c980
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4398bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x439949
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439932
mov eax, dword [esi + 8]
test eax, eax
je 0x4398e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43992e
cmp eax, 2
je 0x439932
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4398da
cmp eax, 3
je 0x43990d
cmp eax, 1
jne 0x4398da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4398da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4398da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439970
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439958
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439970
add esp, 4
pop esi
ret

Function at 0x4611ac
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4611e4
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.0045f263
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045f23b
jmp 0x4611f0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46289e
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 0x4628e0
call fcn.0046858d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4628e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4628d7
xor eax, eax
jmp 0x4628e8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004628ee
pop edi
pop esi
pop ebx
ret 4

Function at 0x468abd
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 0x468aeb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468b09
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468a23
jmp 0x468b09
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468b09
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468a23
test edi, edi
mov eax, edi
jne 0x468af3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x7a9175
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x7a9192
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7a9183
add dl, dl
jne 0x7a919d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7a91e9
xor eax, eax
add dl, dl
jne 0x7a91aa
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7a9286
add dl, dl
jne 0x7a91b9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7a91c4
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7a91cf
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7a91da
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7a91e4
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x7a9189
mov eax, 1
add dl, dl
jne 0x7a91f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7a9202
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7a91ee
sub eax, 2
jne 0x7a9231
mov ecx, 1
add dl, dl
jne 0x7a9217
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7a9222
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7a920e
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7a9189
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7a9248
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7a9253
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7a923f
cmp eax, 0x7d00
jae 0x7a9276
cmp eax, 0x500
jb 0x7a9271
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7a9189
cmp eax, 0x7f
ja 0x7a9279
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7a9189
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7a92a2
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7a9189
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret
Function at 0x638450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xed000]
push edi
or ebp, 0xffffffff
jmp 0x638472
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x638479
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x638468
mov eax, 1
add ebx, ebx
jne 0x63848b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x638480
jne 0x63849c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x638480
xor ecx, ecx
sub eax, 3
jb 0x6384b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x638522
mov ebp, eax
add ebx, ebx
jne 0x6384bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6384c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6384ec
inc ecx
add ebx, ebx
jne 0x6384d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6384cd
jne 0x6384e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6384cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x63850c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6384fd
jmp 0x63846e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x63850c
add edi, ecx
jmp 0x63846e
pop esi
mov edi, esi
mov ecx, 0x5d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x63852a
cmp byte [edi], 1
jne 0x63852a
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 0x63852f
lea edi, [esi + 0x236000]
mov eax, dword [edi]
or eax, eax
je 0x63859e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x238378]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2383c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x63855c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2383cc]
or eax, eax
je 0x638598
mov dword [ebx], eax
add ebx, 4
jmp 0x638579
call dword [esi + 0x2383dc]
mov ebp, dword [esi + 0x2383d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x6385d2
sub esp, 0xffffff80
jmp 0x402c61
Function at 0x40104d
Capabilities:
Create http request

Disassembly:
xor eax, eax
push esi
push eax
push eax
mov esi, ecx
push eax
push eax
push str.Wildfire_WFREPORT
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov eax, esi
pop esi
ret

Function at 0x4010fd
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
cmp dword [ebp + 0x10], 0xffffffff
push ebx
mov ebx, ecx
jne 0x40111b
push dword [ebp + 0xc]
call fcn.00405de0
pop ecx
mov dword [ebp + 0x10], eax
push esi
push edi
xor esi, esi
push 1
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov word [ebp - 0x38], si
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.00405de0
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov eax, dword [ebx + 8]
cmp eax, esi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x401179
push eax
call edi
push dword [ebp - 0x40]
call fcn.00405db0
mov ecx, dword [ebp - 0x3c]
and byte [eax + ecx], 0
push dword [ebp - 0x24]
mov dword [ebp + 8], eax
call fcn.00405db0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
and byte [eax + ecx], 0
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4011a9
push eax
call edi
xor eax, eax
cmp word [ebp - 0x38], 0x50
push 0x12
setne al
pop ecx
mov esi, str.Content_Type:_multipart_form_data__boundaryxxxwf01324354657687980wfyyy_n
lea edi, [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
dec eax
and eax, 0xff7fd000
add eax, 0x4803000
mov dword [ebp - 8], eax
mov eax, dword [0x41608c]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
xor esi, esi
push esi
push 0x4000000
push 3
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, 0x418290
push eax
push eax
push dword [ebp - 0x38]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WININET.dll_InternetConnectA]
push esi
push dword [ebp - 8]
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
push dword [ebp - 4]
mov dword [ebx + 8], eax
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push dword [ebp + 0x10]
mov dword [ebx + 4], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x9c]
push eax
call fcn.00405de0
pop ecx
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
pop edi
pop esi
jne 0x40125b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x14], eax
xor bl, bl
jmp 0x40125d
mov bl, 1
push dword [ebp + 8]
call fcn.00405cdb
push dword [ebp - 4]
call fcn.00405cdb
pop ecx
pop ecx
mov al, bl
pop ebx
leave
ret 0xc
Function at 0x4012e4
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00406110
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
jne 0x401302
or dword [esi + 0x14], 0xffffffff
jmp 0x401328
cmp byte [ebp + 0xc], 0
je 0x40131a
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004010fd
jmp 0x401324
push dword [ebp + 8]
mov ecx, esi
call fcn.004010be
test al, al
jne 0x40132f
xor eax, eax
jmp 0x4013c3
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x40133d
push eax
call fcn.00405cdb
pop ecx
push ebx
push 1
push 0x2001
call fcn.00405f93
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
pop ecx
pop ecx
mov dword [esi + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0x1fff
lea eax, [ebp - 0x2000]
push eax
push dword [esi + 4]
call ebx
test eax, eax
je 0x4013bf
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4013bf
and byte [ebp + eax - 0x2000], 0
add edi, eax
mov eax, dword [esi + 0xc]
and byte [eax + edi], 0
lea eax, [ebp - 0x2000]
push eax
push dword [esi + 0xc]
call fcn.00406030
lea eax, [edi + 0x2000]
push eax
push dword [esi + 0xc]
call fcn.00405e5b
add esp, 0x10
mov dword [esi + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0x1fff
lea eax, [ebp - 0x2000]
push eax
push dword [esi + 4]
jmp 0x401368
mov eax, dword [esi + 0xc]
pop ebx
pop edi
pop esi
leave
ret 0x10
Function at 0x40375f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov dword [ecx], eax
mov dword [ecx + 0x9c0], 1
mov edx, dword [ecx + 0x9c0]
mov esi, dword [ecx + edx*4 - 4]
lea eax, [ecx + edx*4]
mov edi, esi
shr edi, 0x1e
xor edi, esi
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax], edi
inc dword [ecx + 0x9c0]
cmp dword [ecx + 0x9c0], 0x270
jb 0x403771
pop edi
pop esi
ret 4

Function at 0x4037a6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [ecx + 0x9c0], 0x270
jb 0x403856
push ebx
push esi
push edi
mov edx, ecx
mov ebx, 0xe3
mov esi, 0x7fffffff
mov edi, dword [edx]
mov eax, dword [edx + 4]
xor eax, edi
and eax, esi
xor eax, edi
mov edi, eax
and edi, 1
mov edi, dword [ecx + edi*4 + 0x9c4]
shr eax, 1
xor edi, eax
xor edi, dword [edx + 0x634]
mov dword [edx], edi
add edx, 4
dec ebx
jne 0x4037c5
lea edx, [ecx + 0x38c]
mov ebx, 0x18c
mov edi, dword [edx]
mov eax, dword [edx + 4]
xor eax, edi
and eax, esi
xor eax, edi
mov edi, eax
and edi, 1
mov edi, dword [ecx + edi*4 + 0x9c4]
shr eax, 1
xor edi, eax
xor edi, dword [edx - 0x38c]
mov dword [edx], edi
add edx, 4
dec ebx
jne 0x4037f9
mov edx, dword [ecx + 0x9bc]
mov eax, edx
xor eax, dword [ecx]
pop edi
and eax, esi
xor eax, edx
mov edx, eax
and edx, 1
mov edx, dword [ecx + edx*4 + 0x9c4]
xor edx, dword [ecx + 0x630]
shr eax, 1
xor edx, eax
and dword [ecx + 0x9c0], 0
pop esi
mov dword [ecx + 0x9bc], edx
pop ebx
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ecx + 0x9c0], eax
mov eax, edx
shr eax, 0xb
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x404476
Capabilities:
Create directory

Disassembly:
mov eax, 0x412c67
call fcn.004066bc
sub esp, 0x13c
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
push ebx
lea ecx, [ebp - 0x20]
call fcn.00402fd2
push 1
pop ebx
push str.shell32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x404547
push str.SHGetSpecialFolderPathA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404547
push ebx
push 0x1a
lea ecx, [ebp - 0x148]
push ecx
push 0
call eax
test eax, eax
je 0x404547
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403014
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00403de8
push str.Wildfire_
mov edx, eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040299e
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004030f6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00403098
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00403098
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403098
push 0
lea ecx, [ebp - 0x20]
call fcn.00403384
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.00403086
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00403098
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop ebx
mov dword fs:[0], ecx
leave
ret