joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e9bd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x42200c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x423518]
test eax, eax
jne 0x402586
push str.sciter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x402576
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40256f
call eax
mov dword [0x423518], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x402576
mov dword [0x423514], eax
jmp 0x402576
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x423518]
test eax, eax
jne 0x402586
push 0xffffffffffffffff
call fcn.00405b99
mov eax, dword [eax + 0x54]
push 0xf
push 8
push 0
call eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x423520]
cmp eax, dword [ecx + 4]
jle 0x4025d3
push 0x423520
call fcn.004028bd
add esp, 4
cmp dword [0x423520], 0xffffffff
jne 0x4025d3
push 0x423520
mov dword [0x423510], 0
call fcn.0040287e
add esp, 4
push 0xc5d4
push 0x414018
mov ecx, 0x423510
call fcn.00402460
push 0x20
call fcn.004029c1
mov esi, eax
mov dword [ebp - 0x10], esi
sub esp, 0x10
mov byte [ebp - 4], 1
mov eax, esp
mov dword [esi + 4], 0x413ff4
xorps xmm0, xmm0
mov dword [esi + 0x1c], vtable.aux::iasset.0
push ecx
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.00401ce0
mov eax, dword [esi + 4]
mov dword [esi], vtable.frame.3.0
mov dword [esi + 0xc], vtable.frame.2.0
mov dword [esi + 0x10], vtable.frame.1.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 4], vtable.frame.0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 0
lea eax, [ecx - 0x18]
mov dword [ecx + esi], eax
mov ecx, dword [esi + 0x14]
call fcn.00401650
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
jne 0x40265e
call fcn.00402761
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x402686
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402eb8
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x421128
call fcn.004033f0
push 1
call fcn.00402a6d
pop ecx
test al, al
jne 0x402d6f
push 7
call fcn.00402fe5
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00402a38
mov byte [ebp - 0x24], al
mov eax, dword [0x4229f0]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x402d68
test eax, eax
jne 0x402dd9
mov dword [0x4229f0], ecx
push 0x40f178
push 0x40f15c
call fcn.00406f7a
pop ecx
pop ecx
test eax, eax
je 0x402dbc
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402eb2
push 0x40f158
push 0x40f150
call fcn.00406f1e
pop ecx
pop ecx
mov dword [0x4229f0], 2
jmp 0x402dde
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00402bc7
pop ecx
call fcn.0040354f
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402e0e
push esi
call fcn.00402b3d
pop ecx
test al, al
je 0x402e0e
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004031cc
call esi
call fcn.00403555
mov esi, eax
cmp dword [esi], edi
je 0x402e2c
push esi
call fcn.00402b3d
pop ecx
test al, al
je 0x402e2c
push dword [esi]
call fcn.00405b61
pop ecx
call fcn.00403100
movzx eax, ax
push eax
call fcn.00406ed8
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00403133
test al, al
jne 0x402e57
push esi
call fcn.00405b99
test bl, bl
jne 0x402e60
call fcn.00405b3c
push edi
push 1
call fcn.00402be4
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x402eb2
call fcn.00403436
ret
call fcn.0040344b
jmp 0x402d50
Function at 0x42d394
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42d39a
ret

Function at 0x44ad80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44af31
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040583c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x44af48
call fcn.00405498
mov eax, ebx
call fcn.0042abe0
mov edi, eax
dec edi
test edi, edi
jl 0x44ae38
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042abb4
mov edx, dword [0x43e284]
call fcn.004043d4
test al, al
je 0x44ae34
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042abb4
lea edx, [ebp - 0x14]
call fcn.00452ecc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040583c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040550c
inc esi
dec edi
jne 0x44ade6
mov al, byte [0x44af4c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x44af58
mov eax, dword [ebp - 0xc]
call fcn.0040fe30
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405224
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00452ecc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x44af48
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00452ecc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x44af48
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x44af48
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x44af64
call fcn.0040b740
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44af38
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004051b0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004051b0
lea eax, [ebp - 0x14]
call fcn.0040518c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004051b0
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x34426f3c
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x748a53f2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x287040b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x4c5f7647
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x5b0ebc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov ebp, eax
push 0
push 0
push 0
push 0
push esi
push ebp
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete bl
test bl, bl
je 0x5b0f38
test esi, esi
je 0x5b0ee9
cmp word [esi], 0
jne 0x5b0f38
call fcn.0042719c
cmp eax, 2
je 0x5b0f38
xor ebx, ebx
xor esi, esi
mov dword [esp + 4], 2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push esi
push ebp
call sub.advapi32.dll_RegEnumValueW
mov edi, eax
test edi, edi
je 0x5b0f26
cmp edi, 0xea
jne 0x5b0f38
test edi, edi
jne 0x5b0f35
cmp word [esp], 0
jne 0x5b0f35
mov bl, 1
jmp 0x5b0f38
inc esi
jmp 0x5b0ef7
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5b0fa4
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x5b0fb8
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x6697c0], 0
jne 0x5b0fdb
push 0x5b1000
push 0x5b1020
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00411e58
mov dword [0x6697c0], eax
cmp dword [0x6697c0], 0
je 0x5b0ff5
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x6697c0]
jmp 0x5b0ffa
mov eax, 0x7f
pop esi
pop ebx
ret
Function at 0x401ca4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401cb3
pop dword [ebp - 0x30]
mov eax, 0x542d378d
add eax, 0xac12e526
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3739d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x50615797
sub ecx, 0x50611795
xor edx, edx
add edx, eax
mov ebx, 0x36e06f28
add ebx, 0xc960cc9c
add ebx, dword [ebp - 0x30]
mov edi, 0x37779fd9
add edi, 0xb7385df8
add dword [ebp - 0x18], ebx
mov esi, dword [ebx]
add dword [ebp - 0xc], esi
add esi, edi
xor dword [ebp - 0x2c], 0x56cb0116
mov dword [edx], esi
sub dword [ebp - 0x2c], 0x2b1aa1ef
add edx, 0x7e303e79
add edx, 0x81cfc18b
add ebx, 0x79565af2
add ebx, 0x86a9a512
loop 0x401d0f
add eax, 0xf2db
mov ebx, eax
add eax, 0x199712a0
sub eax, 0x1997129b
mov ecx, 0xbf23069b
add ecx, 0x411cf965
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00401ca4
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00401ca4
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00401ca4
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00401ca4
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00401ca4
mov dword [0x41203c], eax
call fcn.00401ca4
test eax, eax
jge 0x402550
push 8
call fcn.00401ca4
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00401ca4
pop ecx
push 1
call fcn.00401ca4
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00401ca4
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00401ca4
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00401ca4
jmp 0x402495
Function at 0x4037a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
and dword [ebp + 8], 0
add esi, edi
cmp dword [esi + 0x18], 0
jbe 0x4037ea
mov ebx, dword [esi + 0x20]
add ebx, edi
test ebx, ebx
je 0x4037dc
mov ecx, dword [ebx]
push dword [ebp + 0xc]
or eax, 0xffffffff
add ecx, edi
or edx, eax
call fcn.0040a7f8
test eax, eax
je 0x4037f3
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add ebx, 4
cmp eax, dword [esi + 0x18]
jb 0x4037c3
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + edi]
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + edi]
add eax, edi
jmp 0x4037ec

Function at 0x40380d
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
xor ebx, ebx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
cmp ebx, 0
je 0x40384b
push dword [0x40e918]
push ebx
call fcn.004037a2
mov dword [0x411c90], eax
push dword [0x40e91c]
push ebx
call fcn.004037a2
mov dword [0x411c2c], eax
pop ebx
ret

Function at 0x403a7b
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x403ac6
push 4
push edi
call dword [0x411e38]
test eax, eax
jne 0x403af0
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x403af0
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x403af0
lea esi, [eax + 0x80]
push 8
push esi
call dword [0x411e38]
test eax, eax
jne 0x403af0
cmp dword [esi + 4], eax
je 0x403af0
mov esi, dword [esi]
test esi, esi
je 0x403af0
add esi, edi
push ebx
push 0x14
push esi
xor bl, bl
call dword [0x411e38]
test eax, eax
jne 0x403b1e
mov eax, dword [esi + 0xc]
test eax, eax
je 0x403b1a
push 2
add eax, edi
push eax
call dword [0x411e38]
test eax, eax
je 0x403af4
mov bl, 1
jmp 0x403b0a
xor eax, eax
jmp 0x403b37
mov eax, dword [esi + 0xc]
push dword [esp + 0xc]
add eax, edi
push eax
xor bl, bl
call dword [0x411d40]
test eax, eax
je 0x403b1e
push 0x14
add esi, 0x14
push esi
call dword [0x411e38]
test eax, eax
je 0x403ad6
test bl, bl
jne 0x403b34
push 0x14
push esi
call dword [0x411e38]
test eax, eax
jne 0x403b34
cmp dword [esi + 0xc], eax
je 0x403b34
mov eax, esi
jmp 0x403b36
xor eax, eax
pop ebx
pop esi
ret 4
Function at 0x406e3f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and dword [0x411b78], 0
sub esp, 0x210
call fcn.0040643d
test al, al
jne 0x406e5a
leave
ret
or dword [0x411a70], 0xffffffff
push ebx
mov ebx, fcn.00406d93
call fcn.004072b2
xor ebx, ebx
push ebx
push 0x80000
push ebx
mov dword [0x411c28], eax
call dword [0x411d7c]
mov dword [0x412ed0], eax
cmp eax, ebx
jne 0x406e9c
call dword [0x411ce4]
mov dword [0x412ed0], eax
mov byte [0x41176f], bl
jmp 0x406ea3
mov byte [0x41176f], 1
call fcn.0040d18a
mov eax, pe_nt_image_headers32
mov dword [0x411ed4], ebx
mov byte [0x411796], bl
call fcn.0040a428
mov dword [0x411a74], eax
cmp eax, ebx
jne 0x406ece
xor al, al
jmp 0x407016
push esi
mov dword [ebp - 8], ebx
push edi
movzx edi, word [ebp - 8]
shl edi, 2
mov eax, dword [edi + 0x411020]
movzx eax, byte [eax]
inc eax
je 0x406eef
call fcn.0040a428
mov esi, eax
jmp 0x406ef1
xor esi, esi
cmp esi, ebx
je 0x406f59
mov edx, dword [edi + 0x411020]
cmp byte [edx], bl
mov byte [ebp - 1], bl
jle 0x406f21
xor ecx, ecx
mov al, 0xba
mov bl, byte [ecx + edx + 1]
add bl, al
inc byte [ebp - 1]
mov byte [ecx + esi], bl
movzx ecx, byte [ebp - 1]
movsx ebx, byte [edx]
add al, 2
cmp ecx, ebx
jl 0x406f06
xor ebx, ebx
movzx eax, byte [ebp - 1]
mov byte [eax + esi], bl
cmp byte [esi], 0x57
jne 0x406f60
mov eax, dword [edi + 0x411020]
movzx eax, byte [eax]
lea ecx, [esi + 1]
dec eax
push ecx
call fcn.0040a785
mov ecx, dword [0x411a74]
push esi
mov dword [edi + ecx], eax
call fcn.0040a43b
mov eax, dword [0x411a74]
cmp dword [edi + eax], ebx
jne 0x406f69
xor al, al
jmp 0x407014
mov eax, dword [0x411a74]
inc esi
mov dword [edi + eax], esi
inc dword [ebp - 8]
cmp word [ebp - 8], 0x66
jb 0x406ed3
call dword [0x411e08]
mov edx, dword [0x411c28]
mov dword [0x411c1c], eax
mov eax, dword [edx + 0x3c]
add eax, edx
movzx esi, word [eax + 6]
xor ecx, ecx
cmp si, bx
jbe 0x406faa
movzx ecx, si
movzx esi, word [eax + 0x14]
imul ecx, ecx, 0x28
add ecx, eax
mov ecx, dword [esi + ecx - 4]
add ecx, edx
mov dword [0x411b0c], ecx
call dword [0x411d10]
push str.SeDebugPrivilege
mov word [0x411af8], ax
call fcn.0040c63a
test al, al
jne 0x406fd1
or dword [0x411b78], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 8], 0x103
call dword [0x411b14]
test eax, eax
je 0x407008
mov eax, dword [ebp - 8]
add eax, eax
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0040a48e
mov dword [0x411a6c], eax
cmp eax, ebx
jne 0x407012
mov dword [0x411a6c], 0x410578
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4072b2
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ebx
and esi, 0xffff0000
push edi
je 0x407308
push 0x40
push esi
call dword [0x411e38]
test eax, eax
jne 0x407300
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x407300
mov eax, dword [esi + 0x3c]
lea edi, [eax + esi]
cmp edi, ebx
jae 0x407300
push 0xf8
push edi
call dword [0x411e38]
test eax, eax
jne 0x407300
cmp dword [edi], 0x4550
jne 0x407300
mov eax, dword [edi + 0x50]
add eax, esi
cmp eax, ebx
ja 0x40730d
sub esi, 0x10000
jne 0x4072be
xor eax, eax
pop edi
pop esi
ret
mov eax, esi
jmp 0x40730a
Function at 0x40abc7
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
test byte [ebp + 0x18], 2
mov eax, 0x8484f300
je 0x40abda
mov eax, 0x84c4f300
push ebx
push esi
push edi
push 4
pop ebx
test byte [ebp + 0x18], bl
je 0x40abea
or eax, 0x800000
test byte [ebp + 0x18], 1
mov ecx, str.POST
jne 0x40abfa
mov ecx, 0x410720
xor edi, edi
push edi
push eax
push section..data
push edi
push str.HTTP_1.1
push dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
call dword [0x411a90]
mov esi, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
push 0x1f
push esi
mov dword [ebp + 8], ebx
call dword [0x411aa8]
or dword [ebp + 0x18], 0x100
push ebx
lea eax, [ebp + 0x18]
push eax
push 0x1f
push esi
call dword [0x411ad4]
cmp esi, edi
je 0x40ac8b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push edi
push esi
call dword [0x411a94]
test eax, eax
je 0x40ac84
push edi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x20000013
push esi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], ebx
call dword [0x411aa4]
test eax, eax
je 0x40ac84
cmp dword [ebp + 0xc], 0xc8
jne 0x40ac84
mov eax, esi
jmp 0x40ac8d
push esi
call dword [0x411a84]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

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

Disassembly:
mov eax, dword [0x412ecc]
cmp eax, 0x270
jl 0x40b1d5
push esi
push edi
xor edx, edx
mov esi, 0x7fffffff
mov ecx, edx
shl ecx, 2
mov eax, dword [ecx + 0x412504]
xor eax, dword [ecx + 0x412500]
and eax, esi
xor eax, dword [ecx + 0x412500]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + 0x411508]
xor eax, dword [ecx + 0x412b34]
inc edx
cmp edx, 0xe3
mov dword [ecx + 0x412500], eax
jl 0x40b12f
cmp edx, 0x26f
jge 0x40b1a7
lea ecx, [edx*4 + 0x412500]
mov eax, dword [ecx]
lea edx, [ecx + 4]
xor eax, dword [edx]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + 0x411508]
xor edi, dword [edx - 0x390]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
mov ecx, edx
cmp ecx, 0x412ebc
jl 0x40b17a
mov ecx, dword [0x412ebc]
mov eax, dword [0x412500]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x411508]
pop edi
xor eax, dword [0x412b30]
pop esi
mov dword [0x412ebc], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x412500]
inc eax
mov dword [0x412ecc], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
call dword [0x411da0]
cmp eax, dword [0x411ed4]
je 0x40b2e2
xor ecx, ecx
mov dword [0x411ed4], eax
mov dword [0x412500], eax
inc ecx
mov eax, 0x412500
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x412ebc
jl 0x40b2bc
mov dword [0x412ecc], ecx
pop esi
jmp 0x40b116
Function at 0x40b30b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x411796], 0
jne 0x40b344
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x40b328
shr eax, 1
xor eax, 0xedb88320
jmp 0x40b32a
shr eax, 1
dec edx
jne 0x40b31b
mov dword [ecx*4 + 0x411ed8], eax
inc ecx
cmp ecx, 0x100
jb 0x40b316
mov byte [0x411796], 1
xor ecx, ecx
or eax, 0xffffffff
cmp dword [esp + 8], ecx
jbe 0x40b370
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x411ed8]
inc ecx
cmp ecx, dword [esp + 8]
jb 0x40b34f
not eax
ret 8

Function at 0x40b375
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov cl, byte [eax + 0x100]
push edi
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x101]
xor edi, edi
mov byte [ebp - 2], cl
cmp dword [ebp + 0xc], edi
jbe 0x40b3d1
push ebx
push esi
add byte [ebp - 1], 5
movzx ecx, byte [ebp - 1]
lea esi, [ecx + eax]
mov dl, byte [esi]
add byte [ebp - 2], dl
movzx ecx, byte [ebp - 2]
add ecx, eax
mov bl, byte [ecx]
mov byte [esi], bl
mov byte [ecx], dl
movzx esi, byte [esi]
mov ecx, dword [ebp + 8]
movzx edx, dl
add esi, edx
and esi, 0xff
mov dl, byte [esi + eax]
add ecx, edi
xor byte [ecx], dl
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x40b395
pop esi
pop ebx
mov cl, byte [ebp - 1]
mov byte [eax + 0x100], cl
mov cl, byte [ebp - 2]
mov byte [eax + 0x101], cl
pop edi
leave
ret 8