joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443e20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471468
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.0046a3b5
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004437c0
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.0046a2e3
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.00466ba7
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.00466ba7
push 1
push 0
push 0
mov ecx, esi
call fcn.00466b4f
push 1
push 0
push 1
mov ecx, esi
call fcn.00466b4f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046a427
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x443fa0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471488
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.0046a3b5
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004437c0
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.0046a2e3
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 0x444064
cmp dword [esp + 0x40], 1
jne 0x444062
cmp ecx, eax
jge 0x444064
mov eax, ecx
cmp eax, 0xc8
jge 0x444070
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443e20
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.0046a427
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4447e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4714f3
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.00464fc5
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.0046a65d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046bb79
test eax, eax
je 0x4448fc
mov ecx, dword [esp + 0x3c]
call fcn.0046a68a
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 0x4448c0
push edi
mov ecx, esi
call fcn.00467cee
mov ecx, esi
call fcn.00444a60
cmp dword [esp + 0x38], 1
jne 0x4448f5
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.00467e29
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 0x447320
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x447353
push esi
call fcn.0044a420
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44734c
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 0x4473d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4473c2
mov eax, dword [esi + 8]
test eax, eax
je 0x447377
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 0x4473be
cmp eax, 2
je 0x4473c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44736a
cmp eax, 3
je 0x44739d
cmp eax, 1
jne 0x44736a
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 0x44736a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44736a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447400
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4473e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447400
add esp, 4
pop esi
ret

Function at 0x465dba
Capabilities:
Get graphical window text

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

Function at 0x4674ab
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 0x4674ed
call fcn.0046cf69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4674ed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4674e4
xor eax, eax
jmp 0x4674f5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004674fb
pop edi
pop esi
pop ebx
ret 4

Function at 0x46d499
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 0x46d4c7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d4e5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d3ff
jmp 0x46d4e5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d4e5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d3ff
test edi, edi
mov eax, edi
jne 0x46d4cf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001000
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
cmp dword [ebp + 0xc], 1
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
jae 0x10001049
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp + 0xc], str.Incorrect_key_length
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea eax, [ebp - 0x1c]
push 0x100066b8
push eax
call sub.MSVCRT.dll__CxxThrowException
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x10001054
mov dword [ebp + 0xc], eax
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
lea edi, [esi + 0x10]
push 0x48
push 0x100052d0
push edi
call sub.MSVCRT.dll_memcpy
lea eax, [esi + 0x58]
push 0x1000
push 0x10005318
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x24
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x54]
mov ecx, edi
push 4
mov dword [ebp - 8], 0x12
pop ebx
and dword [ebp + 8], 0
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 8]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x100010c6
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x54]
dec dword [ebp - 4]
jne 0x100010a5
mov edx, dword [ebp + 8]
push 4
xor dword [ecx], edx
pop ebx
add ecx, ebx
dec dword [ebp - 8]
jne 0x1000109e
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.10001157
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x12
jb 0x100010e5
lea eax, [esi + 0x58]
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
and dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.10001157
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x100
jl 0x1000111a
add dword [ebp + 0x10], 0x400
dec dword [ebp + 8]
jne 0x10001113
pop edi
mov eax, esi
pop ebx
pop esi
leave
ret 0xc
Function at 0x1000141d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
test eax, eax
mov esi, ecx
je 0x10001549
test al, 7
jne 0x10001549
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp dword [ebp + 0x14], 1
jne 0x100014a1
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
cmp eax, 8
jb 0x1000149a
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.10001379
xor dword [ebp - 8], edi
xor dword [ebp - 4], ebx
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.10001157
add dword [ebp + 0xc], 8
push dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.100013d6
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x1000145a
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x14], 2
jne 0x10001508
mov ecx, dword [esi + 8]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
jb 0x1000149a
shr eax, 3
mov edi, eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.10001157
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.10001379
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
add dword [ebp + 0xc], 8
push dword [ebp + 0xc]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0xc], ecx
call fcn.100013d6
add dword [ebp + 8], 8
add esp, 0x10
dec edi
jne 0x100014bd
jmp 0x1000149a
cmp eax, 8
jb 0x1000149a
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.10001379
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.10001157
add dword [ebp + 0xc], 8
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.100013d6
add dword [ebp + 8], 8
pop ecx
dec edi
pop ecx
jne 0x10001512
jmp 0x1000149a
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp + 0xc], str.Incorrect_buffer_length
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea eax, [ebp - 0x14]
push 0x100066b8
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x1000156b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
test eax, eax
mov esi, ecx
je 0x100016ae
test al, 7
jne 0x100016ae
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp dword [ebp + 0x14], 1
jne 0x10001601
mov ecx, dword [esi + 8]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
jb 0x100015fa
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.10001379
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.10001286
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], 8
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0xc], ebx
call fcn.100013d6
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x100015ae
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x14], 2
jne 0x1000166d
mov ecx, dword [esi + 8]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc], ecx
jb 0x100015fa
shr eax, 3
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.10001379
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
mov ecx, esi
call fcn.10001157
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], 8
push dword [ebp + 0xc]
mov edx, eax
xor eax, dword [ebp - 0x10]
mov edi, ecx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
call fcn.100013d6
add dword [ebp + 8], 8
pop ecx
dec ebx
pop ecx
jne 0x1000161d
jmp 0x100015fa
cmp eax, 8
jb 0x100015fa
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.10001379
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.10001286
add dword [ebp + 0xc], 8
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.100013d6
add dword [ebp + 8], 8
pop ecx
dec edi
pop ecx
jne 0x10001677
jmp 0x100015fa
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
mov dword [ebp + 0xc], str.Incorrect_buffer_length
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea eax, [ebp - 0x14]
push 0x100066b8
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x10001c38
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov eax, 0x10004280
call fcn.10003de0
sub esp, 0x24
push ebx
push esi
push edi
push 3
lea ecx, [ebp - 0x14]
pop esi
mov dword [ebp - 0x20], 4
mov dword [ebp - 4], esi
call fcn.10003a58
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.10003a58
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10001822
add esp, 0xc
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.Gnway_Mini_Explorer
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push ebx
push esi
push ebx
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push dword [ebp + 0x10]
mov edi, eax
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push str._s:_d
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push 0xc
push eax
mov dword [ebp - 0x30], esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0x26
push ebx
mov dword [ebp - 0x28], ebx
call esi
push ebx
push 0x400000
push ebx
push ebx
push ebx
push 0x1000806c
push 0x100080c0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp + 0x10], 1
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax - 8]
lea ecx, [eax + 1]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 8]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
sub eax, 0x191
je 0x10001d6c
sub eax, 6
jne 0x10001d8e
push ecx
push ebx
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x2b
push edi
call esi
push dword [ebp - 0x18]
lea ecx, [ebp + 0x18]
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x2c
push edi
call esi
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], 4
jl 0x10001cfd
jmp 0x10001d8e
push ecx
push ebx
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x2b
push edi
call esi
push dword [ebp - 0x18]
lea ecx, [ebp + 0x18]
push ebx
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x2c
push edi
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000271d
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 2
push ebx
push esi
push edi
mov esi, ecx
jne 0x100027bc
push dword [ebp + 0xc]
call fcn.10002980
mov edi, eax
xor ebx, ebx
push edi
push ebx
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi], eax
jne 0x1000276c
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.1000289b
mov edi, eax
push edi
push ebx
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [esi], eax
cmp dword [esi], ebx
jne 0x10002811
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10002980
mov edi, eax
mov eax, dword [ebp + 0x10]
add eax, 4
push edi
push eax
lea ecx, [esi + 0x14]
push ebx
push 4
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi], eax
jne 0x10002811
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push ebx
mov ecx, esi
push dword [ebp + 0xc]
call fcn.1000289b
mov edi, eax
jmp 0x100027f8
xor ebx, ebx
cmp dword [ebp + 8], 1
jne 0x100027c7
push ebx
jmp 0x100027d0
cmp dword [ebp + 8], 3
jne 0x100027dc
push dword [ebp + 0x14]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.1000289b
jmp 0x100027e6
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10002980
mov edi, eax
push edi
push ebx
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi], eax
jne 0x10002811
mov eax, dword [ebp + 0x10]
push edi
add eax, 4
push eax
push ebx
lea eax, [esi + 0x14]
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x10002850
mov ecx, dword [ebp + 0x10]
add ecx, 4
push ecx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea ecx, [eax + 4]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
cmp dword [eax], 0x12345678
je 0x10002850
push dword [ebp + 0x10]
push ebx
push ecx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
add esp, 0xc
mov dword [eax], 0x12345678
cmp byte [esi + 0x10], bl
je 0x10002888
push edi
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x10002888
push 4
push str._Event
push edi
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0xc
push edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
cmp edi, ebx
je 0x10002894
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x4111d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x4111f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4111f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4111e8
mov eax, 1
add ebx, ebx
jne 0x41120b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411200
jne 0x41121c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411200
xor ecx, ecx
sub eax, 3
jb 0x411230
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4112a2
mov ebp, eax
add ebx, ebx
jne 0x41123b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411248
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41126c
inc ecx
add ebx, ebx
jne 0x411258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41124d
jne 0x411269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41124d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41128c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41127d
jmp 0x4111ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41128c
add edi, ecx
jmp 0x4111ee
pop esi
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x4112f4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4112a9
mov ecx, edi
jns 0x4112d8
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11068]
or eax, eax
je 0x4112ee
mov dword [ebx], eax
add ebx, 4
jmp 0x4112c6
call dword [esi + 0x11078]
mov ebp, dword [esi + 0x1106c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x411328
sub esp, 0xffffff80
jmp 0x40edac