joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13023890
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 8
mov ecx, 0x412
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov esi, 0x13059cf8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x48
jle 0x130238b6
mov ecx, 0x48
mov edi, dword [esp + 0x20]
push ebp
mov eax, edi
mov ebp, ebx
lea esi, [ecx + edi]
mov dword [esp + 0x1c], 0x12
xor ecx, ecx
mov cl, byte [eax]
inc eax
cmp eax, esi
jb 0x130238d5
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x130238e5
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x130238f5
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x13023905
mov eax, edi
mov edx, dword [ebp]
add ebp, 4
xor edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebp - 4], edx
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x130238ca
xor eax, eax
mov esi, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edi, 9
pop ebp
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.13023980
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esp, 8
add esi, 8
dec edi
jne 0x1302392d
lea esi, [ebx + 0x48]
mov edi, 0x200
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.13023980
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esp, 8
add esi, 8
dec edi
jne 0x13023956
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x13033090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebp
xor ebp, ebp
push esi
test eax, eax
push edi
mov dword [esp + 0xc], ebp
je 0x130330a4
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1303317f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x1303317f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x13033170
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.13032f60
mov ebp, dword [esp + 0x2c]
add esp, 8
test ebp, ebp
mov esi, eax
je 0x13033117
cmp dword [ebp], 0
je 0x13033114
test esi, esi
je 0x1303310f
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp]
jmp 0x13033117
mov dword [ebp], esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x13033155
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push esi
push ebx
push edi
call fcn.130331c0
mov edx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
mov dword [edx], eax
je 0x13033146
mov dword [esp + 0x10], 1
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x1c]
jmp 0x1303315d
mov dword [esp + 0x10], 1
test ebp, ebp
jne 0x1303316c
test esi, esi
je 0x1303316c
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ecx
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ecx
ret
Function at 0x130335c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
and eax, 0xffff
push str.PALETTE
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1303360e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1303360e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1303360e
add eax, 0x14
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret

Function at 0x13033670
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
test eax, eax
mov dword [esp + 0x10], ebp
je 0x13033793
cmp byte [eax], 0
je 0x13033793
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x13033793
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
sub edi, 0xe
push edi
call fcn.13039b3e
mov esi, eax
add esp, 4
test esi, esi
je 0x13033793
lea eax, [esp + 0x28]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea ecx, [esp + 0x1c]
push 0xe
push ecx
push ebx
call ebp
test eax, eax
je 0x13033777
cmp dword [esp + 0x28], 0xe
jne 0x13033777
cmp word [esp + 0x14], 0x4d42
jne 0x13033777
lea edx, [esp + 0x28]
push 0
push edx
push edi
push esi
push ebx
call ebp
test eax, eax
je 0x13033777
cmp dword [esp + 0x28], edi
jne 0x13033777
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [esp + 0x2c]
mov ebp, eax
test edi, edi
je 0x13033747
push edi
call dword [sym.imp.GDI32.dll_GetObjectType]
cmp eax, 5
jne 0x13033747
push edi
push esi
push ebp
call fcn.130331c0
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x1303376e
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.13032f60
mov edi, eax
push edi
push esi
push ebp
call fcn.130331c0
add esp, 0x14
mov dword [esp + 0x10], eax
test edi, edi
je 0x1303376e
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call fcn.13039b67
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x13033f00
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x13033f77
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
inc esi
lea eax, [esi + 1]
push eax
call fcn.13039b3e
mov edi, eax
add esp, 4
test edi, edi
je 0x13033f77
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x13033f6e
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push edi
call fcn.13034af0
add esp, 8
test eax, eax
je 0x13033f6e
mov edx, dword [esp + 0x10]
push edx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esp + 0x10]
push eax
call fcn.13039b67
add esp, 4
push edi
call fcn.13039b67
add esp, 4
pop edi
pop esi
pop ebx
ret

Function at 0x13034090
Capabilities:
Get file version info

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x14]
mov dword [ebp], 0
mov dword [eax], 0
test edi, edi
je 0x13034116
cmp byte [edi], 0
je 0x13034116
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x13034116
push ebx
push esi
call fcn.13039b3e
mov edx, dword [esp + 0x24]
add esp, 4
mov ebx, eax
push ebx
push esi
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x13053e30
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1303410c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov edx, dword [eax + 0xc]
mov dword [ebp], edx
push ebx
call fcn.13039b67
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x13034820
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x214
test eax, eax
jne 0x13034835
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
mov dword [0x130634c4], eax
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push str.ResDll
push str.softwareGator.comGatordyn
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.13034a00
add esp, 0x14
test eax, eax
jne 0x130348e6
lea ecx, [esp + 0x14]
push 0x104
push ecx
push str.CommonFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.13034a00
add esp, 0x14
test eax, eax
je 0x130348e6
lea edx, [esp + 0x14]
dec edx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x130348c2
lea eax, [esp + 0x14]
push 0x13053e30
push eax
call esi
lea ecx, [esp + 0x14]
push 0x13053f24
push ecx
call esi
lea edx, [esp + 0x14]
push 0x13053e30
push edx
call esi
lea eax, [esp + 0x14]
push 0x1305ebdc
push eax
call esi
mov al, byte [esp + 0x14]
test al, al
je 0x13034910
push 0x130635d8
push 0x130635d4
lea ecx, [esp + 0x1c]
push 0x130634c0
push ecx
call fcn.130341b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x13034936
push 0x130635d8
push 0x130635d4
push 0x130634c0
push str.GatorRes.dll
call fcn.130341b0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x130349e7
mov edx, dword [0x130634c0]
lea eax, [esp + 8]
xor edi, edi
push eax
push 0x20019
push edi
push str.softwareGator.comGatordyn
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x130634c8], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x130349c6
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x118]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push edi
push str.OEMResDll
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x130349b7
push 0x130635e4
push 0x130635e0
lea edx, [esp + 0x120]
push 0x130635dc
push edx
call fcn.130341b0
add esp, 0x10
mov edi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x130349e2
push 0x130635e4
push 0x130635e0
push 0x130635dc
push str.GatorOEMRes.dll
call fcn.130341b0
add esp, 0x10
call fcn.130346b0
mov eax, esi
pop edi
pop esi
add esp, 0x214
ret
Function at 0x13034a00
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push ebx
xor eax, eax
push esi
test edx, edx
push edi
je 0x13034a89
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x13034a89
cmp byte [ecx], 0
je 0x13034a89
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x13034a89
cmp byte [ebx], al
je 0x13034a89
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x13034a89
mov edi, dword [esp + 0x20]
test edi, edi
je 0x13034a89
mov byte [esi], al
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x13034a82
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push esi
push edx
mov dword [esp + 0x24], eax
push eax
mov eax, dword [esp + 0x20]
push ebx
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x13034a77
mov byte [esi], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
pop edi
pop esi
pop ebx
ret
Function at 0x4020b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x494cce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c72d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
lea ebx, [esi + 0x7c]
push ebx
push ecx
push edx
mov ecx, esi
call fcn.00407ea0
mov ebp, dword [esp + 0x34]
xor edi, edi
push ebp
push edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x28], edi
mov dword [esi], vtable.CBaseRenderer.2.0
mov dword [esi + 0xc], vtable.CBaseRenderer.1.0
mov dword [esi + 0x10], vtable.CBaseRenderer.0
mov dword [esi + 0x50], edi
call fcn.00408600
push ebp
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x28], 1
call fcn.00408600
push ebp
lea ecx, [esi + 0x5c]
push 1
mov byte [esp + 0x28], 2
call fcn.00408600
push ebx
mov ebx, dword [0x49620c]
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call ebx
lea eax, [esi + 0x94]
push eax
call ebx
lea ecx, [esi + 0xc4]
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], 1
push ecx
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
call ebx
cmp dword [ebp], edi
jl 0x4021a7
mov edx, dword [esi + 0x5c]
push edx
call dword [0x4960b8]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

Function at 0x406970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495083
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c72d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
test eax, eax
je 0x4069ae
push eax
call dword [0x4961c8]
cmp dword [esi + 0x58], 0
je 0x4069bf
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 0x10]
push eax
call dword [0x496210]
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004048b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40cca0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp edi, 3
jge 0x40cefd
mov ecx, 0x5a3150
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x40cced
cmp eax, 0x18f
ja 0x40cce7
imul eax, eax, 0xcc
mov byte [eax + ebx + 0x273d4], 0
mov dword [eax + ebx + 0x273d8], 0xffffffff
mov dword [ecx], 0xffffffff
add ecx, 4
cmp ecx, 0x5a31a4
jl 0x40ccc0
lea esi, [ebx + 0xecd8]
push str.SysCFG
mov ecx, esi
call fcn.0040eb20
test edi, edi
jne 0x40cefd
xor eax, eax
mov ecx, 0x4c9a18
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
nop
cmp dword [ebx + 0xad77c], eax
jne 0x40cdb2
cmp dword [0x5a3154], 0xffffffff
jne 0x40cd93
lea esi, [ebx + 0x273d4]
xor edi, edi
lea ecx, [ecx]
cmp byte [esi], 0
je 0x40cd59
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x40cd40
or edi, 0xffffffff
jmp 0x40cd88
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.0045fbb0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
mov dword [0x5a3154], edi
cmp edi, 0xffffffff
je 0x40cdc3
lea eax, [ecx + 0x9e8]
push eax
push dword [ecx]
push dword [ecx - 4]
mov ecx, ebx
push 8
push dword [0x5a3154]
push 1
call fcn.0042de20
jmp 0x40cdbd
lea eax, [ecx - 8]
mov ecx, esi
push eax
call fcn.0040eff0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, 0x84
lea esi, [ebx + 0xecd8]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp ecx, 0x4c9ba4
jl 0x40cd20
cmp byte [ebx + 0xad764], 0
mov ecx, ebx
je 0x40cdf1
push 0xd
jmp 0x40cdf3
push 0xe
call fcn.0040cf10
cmp byte [ebx + 0xad765], 0
mov ecx, ebx
je 0x40ce07
push 0xf
jmp 0x40ce09
push 0x10
call fcn.0040cf10
cmp byte [ebx + 0xad777], 0
mov ecx, ebx
je 0x40ce1d
push 0x18
jmp 0x40ce1f
push 0x17
call fcn.0040cf10
cmp byte [ebx + 0xad761], 0
mov ecx, ebx
je 0x40ce33
push 0x11
jmp 0x40ce35
push 0x12
call fcn.0040cf10
cmp byte [ebx + 0xad762], 0
mov ecx, ebx
je 0x40ce49
push 0x14
jmp 0x40ce4b
push 0x13
call fcn.0040cf10
cmp byte [ebx + 0xad773], 0
mov ecx, ebx
je 0x40ce5f
push 0x16
jmp 0x40ce61
push 0x15
call fcn.0040cf10
cmp byte [ebx + 0xad664], 0
mov ecx, ebx
je 0x40ce75
push 0x1f
jmp 0x40ce77
push 0x1e
call fcn.0040cf10
mov esi, 0x4cc730
lea edi, [ebx + 0xecd8]
push esi
mov ecx, edi
call fcn.0040eff0
add esi, 0x84
cmp esi, 0x4cc838
jl 0x40ce87
cmp byte [ebx + 0xad645], 0
mov ecx, edi
je 0x40ceaf
push 0x4c9350
jmp 0x40ceb4
push 0x4cbcb0
call fcn.0040eff0
cmp byte [ebx + 0xad647], 0
mov ecx, edi
je 0x40cecb
push 0x4c93d4
jmp 0x40ced0
push 0x4cbd34
call fcn.0040eff0
cmp byte [ebx + 0xad646], 0
mov ecx, edi
je 0x40cef3
push 0x4c9458
call fcn.0040eff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x4cbdb8
call fcn.0040eff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419c20
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xada05], 0
jne 0x419d49
cmp byte [esi + 0xad9c4], 0
je 0x419c59
cmp byte [esi + 0xad9c5], 0
je 0x419d49
jmp 0x419c50
cmp byte [esi + 0xad9c4], 0
jne 0x419c50
lea ecx, [esi + 0x2f0]
mov byte [esi + 0xad9c5], 0
call fcn.00456d70
test eax, eax
setne al
mov byte [esi + 0xad9c6], al
test al, al
je 0x419cae
lea ecx, [esi + 0x2f0]
call fcn.00456d70
cmp eax, 1
jne 0x419d49
push eax
movzx eax, byte [esi + 0xad779]
push ecx
push eax
movzx eax, byte [esi + 0xad4dc]
mov ecx, esi
push eax
call fcn.004493c0
mov byte [esi + 0xad9c6], 0
mov eax, dword [esi + 0xecb8]
mov ecx, esi
mov dword [esi + 0xad9d0], eax
call fcn.00418870
mov al, byte [esi + 0xd179]
mov ecx, esi
mov byte [esi + 0xad9d4], al
mov dword [esi + 0xad9d8], 0
mov dword [esi + 0xad9e0], 0x500
mov dword [esi + 0xad9dc], 0
mov dword [esi + 0xad9e4], 0x2d0
mov dword [esi + 0xad9e8], 0xff00ff
call fcn.00424a60
test al, al
jne 0x419d16
push 0x4ae0ec
mov ecx, esi
call fcn.004489b0
push esi
push 0
push 0x416480
mov byte [esi + 0xad9c4], 1
call fcn.004676b6
add esp, 0xc
mov dword [esi + 0xad9cc], eax
cmp eax, 0xffffffff
jne 0x419d43
mov byte [esi + 0xad9c4], 0
pop edi
pop esi
pop ecx
ret
inc dword [esi + 0xecd0]
pop edi
pop esi
pop ecx
ret
Function at 0x41d8b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xebf8], 0
je 0x41d8c9
call fcn.0041b2d0
push 0x1a
mov ecx, edi
call fcn.0041b560
cmp byte [edi + 0x5848], 0
je 0x41d8e3
mov eax, dword [edi + 0x584c]
jmp 0x41d8e9
mov eax, dword [edi + 0x5810]
cmp byte [edi + 0x5848], 0
mov dword [ebp - 4], eax
je 0x41d8fd
mov eax, dword [edi + 0x5850]
jmp 0x41d903
mov eax, dword [edi + 0x5814]
push 0x1e
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.0041a9d0
push eax
push 0x13
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.0041b890
mov dword [edi + 0xecb4], 1
lea esi, [edi + 0x273d4]
xor ebx, ebx
mov edi, edi
cmp byte [esi], 0
je 0x41d94b
inc ebx
add esi, 0xcc
cmp ebx, 0x190
jl 0x41d930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.0045fbb0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp ebx, 0xffffffff
je 0x41da0b
push 0
push 0
push 0
push 0x1a
push ebx
push 1
mov ecx, edi
call fcn.0042de20
imul eax, ebx, 0xcc
lea edx, [edi + 0x273d4]
add edx, eax
mov dword [ebp - 0x10], edx
je 0x41da05
mov dword [edx + 8], 0x2f
mov eax, dword [edi + 0xecb8]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0xecb8]
add eax, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx + 0x3c], 0xff
mov dword [edx + 0x40], 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 8]
mov dword [edx + 0x28], ecx
lea esi, [eax + eax*2]
mov eax, dword [ebp - 4]
sub eax, ecx
mov dword [edx + 0x30], esi
mov ecx, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x20], eax
mov dword [ecx + 0xb0], 1
mov dword [edi + 0xec38], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41da20
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xebf8], 0
je 0x41da39
call fcn.0041b2d0
push 0x1a
mov ecx, esi
call fcn.0041b560
push 0x1b
mov ecx, esi
call fcn.0041b560
cmp byte [esi + 0x5848], 0
je 0x41da5c
mov eax, dword [esi + 0x584c]
jmp 0x41da62
mov eax, dword [esi + 0x5810]
cmp byte [esi + 0x5848], 0
mov dword [ebp - 4], eax
je 0x41da76
mov eax, dword [esi + 0x5850]
jmp 0x41da7c
mov eax, dword [esi + 0x5814]
push 0x1e
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.0041a9d0
push eax
push 0x13
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041b890
lea edi, [esi + 0x273d4]
mov dword [esi + 0xecb4], 1
xor eax, eax
mov ebx, edi
mov dword [ebp - 0xc], eax
lea esp, [esp]
cmp byte [ebx], 0
je 0x41dac8
inc eax
add ebx, 0xcc
mov dword [ebp - 0xc], eax
cmp eax, 0x190
jl 0x41dab0
jmp 0x41db44
lea ecx, [ebx + 0xb4]
mov byte [ebx], 1
call fcn.0045fbb0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 4], 1
mov ebx, dword [ebp - 0xc]
cmp ebx, 0xffffffff
je 0x41db44
push 0
push 0
push 0
push 0x1b
push ebx
push 1
mov ecx, esi
call fcn.0042de20
imul eax, ebx, 0xcc
lea ecx, [esi + 0x273d4]
add ecx, eax
je 0x41db3e
mov dword [ecx + 8], 0x20
mov eax, dword [esi + 0xecb8]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0xecb8]
add eax, dword [ebp - 0x10]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x40], 0
mov dword [esi + 0xec34], ebx
xor ebx, ebx
cmp byte [edi], 0
je 0x41db6b
inc ebx
add edi, 0xcc
cmp ebx, 0x190
jl 0x41db46
mov dword [esi + 0x1330c], 0x80000001
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xb4]
mov byte [edi], 1
call fcn.0045fbb0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 4], 1
cmp ebx, 0xffffffff
je 0x41dc2b
push 0
push 0
push 0
push 0x1a
push ebx
push 1
mov ecx, esi
call fcn.0042de20
imul eax, ebx, 0xcc
lea edx, [esi + 0x273d4]
add edx, eax
mov dword [ebp - 0xc], edx
je 0x41dc25
mov dword [edx + 8], 0x2f
mov eax, dword [esi + 0xecb8]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xecb8]
add eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx + 0x3c], 0xff
mov dword [edx + 0x40], 0
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 8]
mov dword [edx + 0x28], ecx
lea edi, [eax + eax*2]
mov eax, dword [ebp - 4]
sub eax, ecx
mov dword [edx + 0x30], edi
mov ecx, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x20], eax
mov dword [ecx + 0xb0], 1
mov dword [esi + 0xec38], ebx
pop edi
mov dword [esi + 0x1330c], 0x80000001
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ed70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
test esi, esi
je 0x41eda8
call fcn.00461550
mov edx, dword [ebp + 8]
mov ecx, edx
shr ecx, 1
je 0x41ed99
call fcn.00461530
movzx eax, ax
xor word [esi], ax
add esi, 2
dec ecx
jne 0x41ed88
test dl, 1
je 0x41eda8
call fcn.00461530
movzx eax, ax
xor byte [esi], al
pop esi
pop ebp
ret
Function at 0x437600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492adb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c72d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
push 0
push 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push 0
push 0
push eax
mov dword [esi + 0x38], 0xa
mov dword [esi + 0x34], 0xffffffff
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [0x4962fc]
mov ecx, dword [esi + 0x30]
mov eax, 0x66666667
sub ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x38]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x4376c9
cmp edi, 0x6666666
jbe 0x4376c0
push str.vector_T__too_long
call fcn.004668f7
push edi
lea ecx, [esi + 0x28]
call fcn.00437710
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4