joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x447b18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x30]
xor ebp, ebp
cmp eax, ebp
je 0x41c84f
lea ecx, [ebx + 0x24]
mov dword [eax], ecx
mov edi, dword [ebx + 0x30]
call fcn.0041a6a0
test al, al
jne 0x41c856
mov byte [ebx + 0x2d], 1
xor al, al
jmp 0x41c958
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push eax
call esi
push ebp
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 4]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 4]
push 0x3ed
push edx
call esi
push ebp
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0xb
push str.ck_W
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.00401a90
mov dword [esp + 0x38], ebp
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x41c8c8
lea eax, [esp + 0x14]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
mov eax, dword [ebx + 4]
push 0x3ec
push eax
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.0041ca40
mov ecx, dword [ebx + 0x30]
call fcn.0041af50
test al, al
jne 0x41c90d
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2d], 1
jb 0x41c909
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00431474
add esp, 4
xor al, al
jmp 0x41c958
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x41c91c
lea eax, [esp + 0x14]
mov edx, dword [ebx + 4]
push eax
push 0x3ec
push edx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.0041ca40
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2c], 1
jb 0x41c956
mov eax, dword [esp + 0x14]
push eax
call fcn.00431474
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00431b07
add esp, 0x2c
ret
Function at 0x41d2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446c60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0xc], esi
mov ebx, 7
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
push esi
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x5c], 1
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.0041caa0
add esp, 0xc
test al, al
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
mov word [edi + 4], si
jne 0x41d38a
cmp dword [esp + 0x28], 8
jb 0x41d36f
mov edx, dword [esp + 0x14]
push edx
call fcn.00431474
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x41d3cd
mov eax, dword [esp + 0x30]
push eax
jmp 0x41d3c5
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x34]
mov ecx, edi
call fcn.004019a0
cmp dword [esp + 0x28], 8
jb 0x41d3ac
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x41d3cd
mov edx, dword [esp + 0x30]
push edx
call fcn.00431474
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00431b07
add esp, 0x4c
ret
Function at 0x41d3f0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4449f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 8], edi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
mov dword [esp + 0x34], edi
cmp dword [eax + 0x18], 8
mov dword [esp + 8], edi
jb 0x41d44d
mov eax, dword [eax + 4]
jmp 0x41d450
add eax, 4
push edi
lea ecx, [esp + 0xc]
push ecx
push edi
push 8
push 1
push eax
call sub.DNSAPI.dll_DnsQuery_W
test eax, eax
jne 0x41d4ea
mov eax, dword [esp + 8]
cmp eax, edi
je 0x41d4ea
cmp word [eax + 8], 1
je 0x41d484
mov eax, dword [eax]
cmp eax, edi
mov dword [esp + 8], eax
jne 0x41d471
jmp 0x41d4b8
mov eax, dword [eax + 0x18]
mov edx, eax
shr edx, 0x18
push edx
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
push edx
shr ecx, 8
movzx edx, cl
movzx eax, al
push edx
push eax
push 0x44c634
lea ecx, [esp + 0x20]
call fcn.0042de04
mov eax, dword [esp + 0x1c]
add esp, 0x14
push 1
push eax
call sub.DNSAPI.dll_DnsRecordListFree
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
lea eax, [esp + 0x14]
mov ecx, esi
mov word [esi + 4], di
call fcn.004019a0
cmp dword [esp + 0x24], 8
jb 0x41d51a
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x41d512
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
lea eax, [esp + 0x14]
mov ecx, esi
mov word [esi + 4], di
call fcn.004019a0
cmp dword [esp + 0x24], 8
jb 0x41d51a
mov edx, dword [esp + 0x10]
push edx
call fcn.00431474
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00431b07
add esp, 0x30
ret
Function at 0x41d540
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4451e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov esi, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], ebx
lea ebp, [ebx + 0x40]
call fcn.0041de60
test al, al
je 0x41d5a3
mov ebp, 0x100
cmp dword [esi + 0x18], 8
jb 0x41d5ae
mov esi, dword [esi + 4]
jmp 0x41d5b1
add esi, 4
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push ebp
push 1
push esi
call sub.DNSAPI.dll_DnsQuery_W
cmp eax, ebx
jne 0x41d6b6
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41d6b6
xor ebp, ebp
jmp 0x41d5e0
cmp word [eax + 8], 1
jne 0x41d676
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
mov byte [esp + 0x58], 1
mov eax, dword [eax + 0x18]
mov ecx, eax
shr ecx, 0x18
push ecx
mov edx, eax
shr edx, 0x10
movzx ecx, dl
push ecx
mov edx, eax
shr edx, 8
movzx ecx, dl
push ecx
movzx edx, al
push edx
push 0x44c634
lea ecx, [esp + 0x44]
call fcn.0042de04
add esp, 0x14
cmp ebp, ebx
jle 0x41d645
push 1
push 0x44c64c
lea ecx, [esp + 0x1c]
call fcn.0040a5f0
push ebx
lea eax, [esp + 0x34]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040a4e0
add ebp, 1
mov byte [esp + 0x58], bl
cmp dword [esp + 0x48], 8
jb 0x41d672
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00431474
add esp, 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x41d5e0
push 1
push eax
call sub.DNSAPI.dll_DnsRecordListFree
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x1c]
mov ecx, edi
mov word [edi + 4], bx
call fcn.004019a0
cmp dword [esp + 0x2c], 8
jb 0x41d6e6
mov edx, dword [esp + 0x18]
push edx
jmp 0x41d6de
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x1c]
mov ecx, edi
mov word [edi + 4], bx
call fcn.004019a0
cmp dword [esp + 0x2c], 8
jb 0x41d6e6
mov eax, dword [esp + 0x18]
push eax
call fcn.00431474
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00431b07
add esp, 0x4c
ret
Function at 0x41dbb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4451a8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x78], 1
cmp dword [esp + 0x94], ebx
mov ebp, 8
jne 0x41dc2e
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.0042feb8
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
mov byte [esp + 0x80], 2
call fcn.004019a0
mov byte [esp + 0x78], 1
cmp dword [esp + 0x6c], ebp
jb 0x41dc2e
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xb0], ebx
jne 0x41dc4e
lea edx, [esp + 0x9c]
push edx
lea esi, [esp + 0x84]
call fcn.0042fb68
add esp, 4
push 0x3c
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00433170
add esp, 0xc
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x540
call fcn.0041de00
test al, al
mov dword [esp + 0x24], str.runas
jne 0x41dc8b
mov dword [esp + 0x24], str.open
cmp dword [esp + 0x98], ebp
jb 0x41dca1
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
jmp 0x41dcac
lea edx, [esp + 0x84]
mov dword [esp + 0x28], edx
cmp dword [esp + 0xb4], ebp
jb 0x41dcc2
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
jmp 0x41dccd
lea ecx, [esp + 0xa0]
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x18], ebp
jb 0x41dcdb
mov edx, dword [edi + 4]
mov dword [esp + 0x2c], edx
jmp 0x41dce2
add edi, 4
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41dd5b
cmp dword [esp + 0x98], ebp
jb 0x41dd12
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
jb 0x41dd45
mov edx, dword [esp + 0xa0]
push edx
call fcn.00431474
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
je 0x41dd8f
cmp byte [esp + 0xb8], bl
je 0x41dd88
mov edx, dword [esp + 0xbc]
or eax, 0xffffffff
cmp edx, ebx
jl 0x41dd7c
mov eax, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x98], ebp
jb 0x41dda8
mov eax, dword [esp + 0x84]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
jb 0x41dddb
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00431474
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x41e7d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x41e7e3
push 0x80004005
call fcn.00401040
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x41e7f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41e830
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x41e89e
test ecx, ecx
je 0x41e890
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x41e8ac
test ecx, ecx
je 0x41e951
push ecx
jmp 0x41e94b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
jne 0x41e91e
jmp 0x41e8e0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0041e830
mov edi, eax
test edi, edi
jne 0x41e96d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
je 0x41e8e0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e935
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e951
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00431b07
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e97c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41e953
Function at 0x41ee30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x446c20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4551b0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [0x455008]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x41eeb9
call fcn.0041e560
mov esi, eax
jmp 0x41ef9f
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41eed5
call fcn.0041e560
jmp 0x41ef96
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x41eeee
call fcn.0041e560
jmp 0x41ef96
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x41ef24
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41ef12
lea eax, [ebp]
call fcn.0042c6f0
lea esi, [ebp - 0x1c]
call fcn.0042c450
mov eax, 0x8007000e
jmp 0x41efb2
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0042c4c0
mov dword [ebp - 4], 1
jmp 0x41ef4c
mov esi, dword [ebp]
test esi, esi
jne 0x41ef5a
mov esi, 0x8007000e
jmp 0x41ef98
call dword [0x455008]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41ef7b
call fcn.0041e560
jmp 0x41ef96
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.0041fb80
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x41efb0
lea eax, [ebp]
call fcn.0042c6f0
nop
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00431b07
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421be0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x446af0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
mov edi, ecx
xor ebp, ebp
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], 5
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x1b
call fcn.0041d710
mov dword [esp + 0x80], ebp
push 0x3e
mov ebx, 7
push str._web_ajax63_uId2SPTNPQRLSXuId41905134525324506284263rlO
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
call fcn.00401a90
push ebp
push edi
or eax, 0xffffffff
mov byte [esp + 0x88], 1
call fcn.0040a4e0
lea ecx, [esp + 0x58]
push ecx
mov edx, str._version
lea edi, [esp + 0x1c]
call fcn.0040a850
add esp, 4
push ebp
push eax
or eax, 0xffffffff
mov byte [esp + 0x88], 2
call fcn.0040a4e0
mov edi, 8
mov byte [esp + 0x80], 1
cmp dword [esp + 0x30], edi
jb 0x421cbf
mov edx, dword [esp + 0x1c]
push edx
call fcn.00431474
add esp, 4
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], ebp
push ebp
lea eax, [esp + 0x60]
mov word [ecx + 4], bp
call fcn.004019a0
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x70], esp
mov byte [esp + 0xb8], 3
push 0x11
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push str.union2.50bang.org
mov word [esi + 4], bp
call fcn.00401a90
mov byte [esp + 0xb8], 1
call fcn.00423bf0
add esp, 0x38
cmp dword [esp + 0x54], edi
jb 0x421d2f
mov eax, dword [esp + 0x40]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
jb 0x421d4f
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00431474
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00431b07
add esp, 0x70
ret
Function at 0x423bf0
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x814
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
cmp ebx, esi
jne 0x423c75
mov ebp, 8
cmp dword [esp + 0x840], ebp
jb 0x423c39
mov eax, dword [esp + 0x82c]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0x85c], ebp
mov dword [esp + 0x840], 7
mov dword [esp + 0x83c], esi
mov word [esp + 0x82c], si
jb 0x423e01
mov ecx, dword [esp + 0x848]
push ecx
call fcn.00431474
add esp, 4
jmp 0x423e01
push 4
lea edx, [esp + 0x18]
push edx
push 2
push ebx
mov dword [esp + 0x24], 0x7d0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [esp + 0x82c]
mov ebp, 8
cmp dword [esp + 0x840], ebp
jae 0x423ca9
lea eax, [esp + 0x82c]
push esi
push esi
push 3
push esi
push esi
push 0x50
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
cmp edi, esi
jne 0x423ccb
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x423c20
cmp dword [esp + 0x85c], ebp
mov eax, dword [esp + 0x848]
jae 0x423ce2
lea eax, [esp + 0x848]
push esi
push 0x4280000
push esi
push esi
push str.HTTP_1.1
push eax
push 0x44cec8
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x423d65
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
cmp dword [esp + 0x840], ebp
jb 0x423d27
mov edx, dword [esp + 0x82c]
push edx
call fcn.00431474
add esp, 4
xor eax, eax
cmp dword [esp + 0x85c], ebp
mov dword [esp + 0x840], 7
mov dword [esp + 0x83c], eax
mov word [esp + 0x82c], ax
jb 0x423e01
mov eax, dword [esp + 0x848]
push eax
call fcn.00431474
add esp, 4
jmp 0x423e01
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push 0x7fe
lea ecx, [esp + 0x1e]
push 0
push ecx
mov word [esp + 0x24], 0
call fcn.00433170
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0x13
push esi
mov dword [esp + 0x24], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebx
call edi
lea eax, [esp + 0x18]
call fcn.0042d941
cmp eax, 0xc8
push esi
jne 0x423de7
call edi
lea ecx, [esp + 0x828]
call fcn.00401940
lea ecx, [esp + 0x844]
call fcn.00401940
mov al, 1
jmp 0x423e03
call edi
lea ecx, [esp + 0x828]
call fcn.00401940
lea ecx, [esp + 0x844]
call fcn.00401940
xor al, al
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431b07
add esp, 0x814
ret
Function at 0x4267f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x446f86
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
lea ebp, [eax + 0x78]
push ebp
call fcn.0042f18d
add esp, 4
test al, al
je 0x4269e9
lea esi, [esp + 0x54]
call fcn.0042efaf
xor edi, edi
lea esi, [esp + 0x18]
mov dword [esp + 0xac], edi
call fcn.0042f60d
mov byte [esp + 0xac], 1
push 5
push 0x44d368
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], di
call fcn.00401a90
mov eax, esi
push eax
mov bl, 2
push ebp
lea edi, [esp + 0x40]
mov byte [esp + 0xb4], bl
call fcn.0040a7a0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
mov ecx, eax
mov byte [esp + 0xb0], 3
call fcn.0042f50c
mov byte [esp + 0xac], bl
cmp dword [esp + 0x50], 8
mov byte [esp + 0x17], al
jb 0x4268da
mov edx, dword [esp + 0x3c]
push edx
call fcn.00431474
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4269a7
lea esi, [esp + 0x54]
call fcn.0042f09c
test al, al
jne 0x42692d
mov eax, esi
call fcn.0042f089
test al, al
jne 0x42692d
mov eax, esi
call fcn.0042f085
push eax
push ebp
lea edi, [esp + 0x40]
call fcn.0040a7a0
add esp, 8
mov byte [esp + 0xac], 4
call fcn.0042faa2
mov ecx, edi
mov byte [esp + 0xac], bl
call fcn.00401940
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
call fcn.0042f579
test al, al
je 0x4269a7
nop
lea esi, [esp + 0x54]
call fcn.0042f09c
test al, al
jne 0x426995
mov eax, esi
call fcn.0042f089
test al, al
jne 0x426995
mov eax, esi
call fcn.0042f085
push eax
push ebp
lea edi, [esp + 0x40]
call fcn.0040a7a0
add esp, 8
mov byte [esp + 0xac], 5
call fcn.0042faa2
mov byte [esp + 0xac], bl
cmp dword [esp + 0x50], 8
jb 0x426995
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00431474
add esp, 4
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x58]
call fcn.0042f579
test al, al
jne 0x426940
lea eax, [esp + 0x18]
call fcn.0042f5cc
cmp dword [esp + 0x34], 8
jb 0x4269c4
mov eax, dword [esp + 0x20]
push eax
call fcn.00431474
add esp, 4
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
call fcn.0042f4f4
lea ecx, [esp + 0x54]
call fcn.0042efe2
mov al, 1
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00431b07
add esp, 0x9c
ret 4