joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fd20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x48fedd
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x48fe56
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x48fe56
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x48fe3d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x48fe3d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.00490f90
mov ebp, eax
test ebp, ebp
je 0x48fe35
push ebp
mov ecx, esi
call fcn.00491880
test eax, eax
je 0x48fe35
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x48fe35
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x48fdf6
xor eax, eax
jmp 0x48fdfe
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.00491f50
inc ebx
xor ebp, ebp
jmp 0x48fd87
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x48fd60
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.00491280
test eax, eax
pop ebx
je 0x48fedd
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.00490f90
mov edi, eax
cmp edi, ebp
je 0x48fedd
push edi
mov ecx, esi
call fcn.00491880
test eax, eax
je 0x48fedd
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.00491480
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.004914f0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.00491f50
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x496d60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4cc617
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004b984e
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004b984e
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00497880
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4978d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cc6f0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004c51d2
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x497903
xor al, al
jmp 0x497a2f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x497925
xor al, al
jmp 0x497a2f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x497938
xor al, al
jmp 0x497a2f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x49794c
xor al, al
jmp 0x497a2f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.004b9913
test eax, eax
jne 0x497980
xor al, al
jmp 0x497a2f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x609bc4
mov dword [esp + 0x20], ebp
call fcn.004c51d2
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004c200e
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004c2065
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x497a14
mov ax, word [ebx]
test ax, ax
je 0x497a06
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00497a50
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4979ea
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004c2065
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x497f90
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004c36d7
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x497fd6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004aa668
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x62a0fc
push ecx
call fcn.004abfe1
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x49f770
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4cd043
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004c1417
xor eax, eax
mov dword [esi + 0x10], 0x60a03c
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0049f870
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x49f800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cd06b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.004a04b0
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.004c2065
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004c154c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4bd602
Capabilities:
Get graphical window text

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

Function at 0x4bedcc
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 0x4bee0e
call fcn.004c51d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4bee0e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4bee05
xor eax, eax
jmp 0x4bee16
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004bee1c
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c5702
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 0x4c5730
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c574e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c5668
jmp 0x4c574e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c574e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c5668
test edi, edi
mov eax, edi
jne 0x4c5738
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.EnableUE
push str.Software360Safe
push 0x80000001
mov dword [esp + 0x18], 0
call dword [0x4231d0]
test eax, eax
jne 0x401046
cmp dword [esp], 1
jmp 0x401049
cmp eax, 2
je 0x401051
xor eax, eax
add esp, 0xc
ret
mov eax, 1
add esp, 0xc
ret
Function at 0x402b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x421e99
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x42d1d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.W3Client.0
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
mov dword [esp + 0x14], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebx
mov byte [esi + 0x68], bl
lea eax, [esi + 0x88]
push eax
mov byte [esp + 0x18], 3
call fcn.00403f70
lea ecx, [esi + 0xa4]
push ecx
mov byte [esp + 0x18], 4
call fcn.00403f70
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x402e10
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x2218
call fcn.0041f4b0
mov eax, dword [0x42d1d0]
xor eax, esp
mov dword [esp + 0x2214], eax
xor eax, eax
test edi, edi
je 0x402f6b
push esi
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov dword [esp + 0x14], 1
mov word [esp + 0x1c], ax
call fcn.00413110
xor edx, edx
push 0x1ffe
push edx
lea eax, [esp + 0x22e]
push eax
mov word [esp + 0x230], dx
call fcn.00413110
add esp, 0x18
mov dword [esp + 4], 0x104
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
call fcn.00402d60
test eax, eax
je 0x402e8b
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360GameBox.exe
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x80000002
call dword [0x4231d0]
pop esi
test eax, eax
jne 0x402ede
lea ecx, [esp + 0xc]
push ecx
call dword [0x4231dc]
test eax, eax
je 0x402ede
lea edx, [esp + 0xc]
push edx
call dword [0x4231e0]
lea eax, [esp + 0xc]
push 0x5c
push eax
call fcn.00411825
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x402f10
push 0x104
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x4230a0]
lea eax, [esp + 0xc]
push eax
call dword [0x4231e0]
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.00411825
add esp, 8
xor edx, edx
mov word [eax + 2], dx
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402f17
sub eax, edx
sar eax, 1
jne 0x402f3f
xor eax, eax
mov ecx, dword [esp + 0x2214]
xor ecx, esp
call fcn.00410e2c
add esp, 0x2218
ret
push 0x1000
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [0x42306c]
test eax, eax
je 0x402f28
lea eax, [esp + 0xc]
mov edx, edi
call fcn.00402d00
mov eax, 1
mov ecx, dword [esp + 0x2214]
xor ecx, esp
call fcn.00410e2c
add esp, 0x2218
ret
Function at 0x402f80
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4221f2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x42d1d0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push edi
mov eax, dword [0x42d1d0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x228], ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x42fb6c]
mov edx, dword [eax + 0xc]
mov ecx, 0x42fb6c
mov dword [esp + 0x10], esi
call edx
add eax, 0x10
mov dword [esi], eax
push 0x206
lea ecx, [esp + 0x1a]
mov dword [esp + 0x22c], ebx
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x18], 1
mov word [esp + 0x20], ax
call fcn.00413110
add esp, 0xc
lea edi, [esp + 0x14]
call fcn.00402e10
test eax, eax
je 0x403051
push str.360verify.dll
mov edx, edi
push edx
call dword [0x4231d4]
mov eax, edi
push eax
call dword [0x4231dc]
test eax, eax
je 0x403051
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403034
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x14]
mov ebx, eax
push ecx
mov eax, esi
call fcn.004028e0
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00410e2c
add esp, 0x220
ret
Function at 0x4034a0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4222fb
mov eax, dword fs:[0]
push eax
mov eax, 0x221c
call fcn.0041f4b0
mov eax, dword [0x42d1d0]
xor eax, esp
mov dword [esp + 0x2218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42d1d0]
xor eax, esp
push eax
lea eax, [esp + 0x2230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2240]
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x2a]
xor eax, eax
push ebx
mov dword [esp + 0x20], ebx
push ecx
mov word [esp + 0x30], ax
call fcn.00413110
add esp, 0xc
push 0x104
lea edx, [esp + 0x28]
push edx
push ebx
call dword [0x423040]
push eax
call dword [0x4230a0]
lea eax, [esp + 0x24]
push eax
call dword [0x4231e0]
lea ecx, [esp + 0x24]
push ecx
call dword [0x4231e4]
mov edx, dword [0x430774]
imul edx, edx, 0xc40
add edx, str.360Desktop.exe
push edx
lea eax, [esp + 0x28]
push eax
call dword [0x4231d4]
lea ecx, [esp + 0x24]
push ecx
call dword [0x4231dc]
test eax, eax
je 0x403632
push 0x1fff
lea edx, [esp + 0x231]
push ebx
push edx
mov byte [esp + 0x238], bl
call fcn.00413110
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x24], ebx
call fcn.00421bda
cmp eax, ebx
je 0x403632
cmp eax, 0x1fff
ja 0x403632
lea edx, [esp + 0x22c]
push edx
push eax
push ebx
lea eax, [esp + 0x30]
push eax
call fcn.00421bce
test eax, eax
je 0x403632
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x425294
lea eax, [esp + 0x238]
push eax
call fcn.00421bd4
test eax, eax
je 0x403632
lea esi, [esp + 0x14]
call fcn.00402a90
mov dword [esp + 0x2238], ebx
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push 0x425298
mov edi, esi
call fcn.00402ad0
mov eax, dword [esp + 0x28]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00401b60
add eax, 0x10
mov dword [ebp], eax
mov eax, esi
call fcn.00401e20
jmp 0x40363d
push ebp
mov ecx, 0x4250ec
call fcn.004029c0
mov eax, ebp
mov ecx, dword [esp + 0x2230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2218]
xor ecx, esp
call fcn.00410e2c
add esp, 0x2228
ret
Function at 0x405090
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421f70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42d1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0
push 0
push eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
call dword [0x423220]
mov dword [edi + 4], eax
test eax, eax
je 0x40526d
cmp eax, 0xffffffff
je 0x40526d
mov ecx, dword [ebp + 0x18]
sub ecx, 0
je 0x40515d
sub ecx, 1
je 0x405132
sub ecx, 1
jne 0x40518b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x405113
mov ecx, 0x1bb
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push 0
push 0
push 3
push ebx
push esi
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [0x423208]
mov dword [edi + 8], eax
jmp 0x405191
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40513e
mov ecx, 0x50
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push 0
push 0
push 3
push ebx
push esi
push ecx
push edx
push eax
call dword [0x423208]
mov dword [edi + 8], eax
jmp 0x405191
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x405169
mov ecx, 0x15
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push 0
push 0x8000000
push 1
push ebx
push esi
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [0x423208]
mov dword [edi + 8], eax
jmp 0x405191
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 8]
test eax, eax
je 0x405258
cmp eax, 0xffffffff
je 0x405258
push 0
call dword [0x423210]
test eax, eax
je 0x4051c6
push 0x42ac98
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], str.connect_failed...
call fcn.00412c6b
mov edx, dword [ebp + 8]
lea eax, [edi + 0x10]
push eax
call fcn.00406a40
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x40520f
mov eax, dword [ebp + 0x18]
sub eax, 0
je 0x405203
sub eax, 1
je 0x4051f7
sub eax, 1
jne 0x405215
mov dword [edi + 0x80], 0x1bb
jmp 0x405215
mov dword [edi + 0x80], 0x50
jmp 0x405215
mov dword [edi + 0x80], 0x15
jmp 0x405215
mov dword [edi + 0x80], eax
mov ecx, dword [ebp + 0x18]
mov dword [edi + 0x84], ecx
test esi, esi
je 0x40522d
lea edx, [edi + 0x2c]
push edx
mov edx, esi
call fcn.00406a40
test ebx, ebx
je 0x40523c
lea eax, [edi + 0x48]
push eax
mov edx, ebx
call fcn.00406a40
call fcn.00405840
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x42ac98
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], str.connect_failed...
call fcn.00412c6b
push 0x42ac98
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], str.open_internet_failed...
call fcn.00412c6b
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 4]
push eax
mov byte [ebp - 0x11], 0
call dword [0x423228]
mov ecx, dword [esi + 8]
push ecx
call dword [0x423024]
mov eax, 0x4052a3
ret
Function at 0x406570
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421d70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x42d1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jne 0x4065c2
push 0x42ac98
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], str.connection_failed...
call fcn.00412c6b
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
push 0x64
push ecx
push eax
call dword [0x423204]
test eax, eax
jne 0x406606
push 0x42ac98
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], str.response_failed...
call fcn.00412c6b
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
push eax
call dword [0x423228]
mov dword [esi + 0xc], 0
mov eax, 0x406606
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4083d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
mov dword [esp + 0xc], edi
cmp eax, edx
jb 0x408460
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.004149c0
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x40842f
sub eax, ebp
jmp 0x408431
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x408420
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x408450
sub eax, ebp
jmp 0x408452
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x408441
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x40851a
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov dword [esp + 0x10], edx
cmp ebx, ecx
jbe 0x408488
mov ebx, ecx
test ebx, ebx
je 0x4084dc
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4084aa
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.00407110
jmp 0x4084c3
cmp eax, 2
jne 0x4084ca
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x4084bc
xor eax, eax
jmp 0x4084c7
mov edx, ebx
call fcn.00407370
mov edx, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.004149c0
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x408506
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x40851a
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x4083e0
pop edi
pop ebp
pop ebx
add esp, 8
ret