joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100092c3
Capabilities:
Get common file path

Disassembly:
push ebp
push edi
push pe_nt_image_headers32
call sub.glib_lite.dll_Ordinal_406
mov edi, eax
pop ecx
test edi, edi
je 0x1000934d
push edi
xor ebp, ebp
push ebp
push 0x1001d834
push 0x10023880
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
je 0x10009352
push ebx
push ebp
mov ebx, 0x4000100
push ebx
push 2
push ebp
push 5
push 0xc0000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileA]
push ebp
push ebx
push 3
push ebp
push 7
push Ordinal_1
push edi
mov dword [edi + 0x108], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp dword [edi + 0x108], 0xffffffff
mov dword [edi + 0x104], eax
pop ebx
je 0x10009352
cmp eax, 0xffffffff
je 0x10009352
mov dword [edi + 0x118], ebp
mov dword [edi + 0x11c], ebp
mov dword [edi + 0x110], ebp
mov dword [edi + 0x114], ebp
mov eax, edi
pop edi
pop ebp
ret
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
jmp 0x1000934f

Function at 0x10010530
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [eax*4 + 0x1001e2c8]
push esi
push edi
push 0xffffffffffffff80
mov dword [esp + 0x18], ecx
lea edi, [ecx + ecx]
pop esi
mov ebx, esi
xor edx, edx
sar ebx, 0x1f
mov eax, ebx
xor eax, esi
sub eax, ebx
cmp eax, edi
cmovl edx, eax
mov al, bl
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
xor dl, cl
sub al, dl
add al, cl
mov ecx, dword [esp + 0x14]
add al, cl
xor al, bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0x80
jle 0x1001054d
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10013a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x10013a33
pop dword [ebp - 0x44]
mov eax, 0xcee3ff98
sub eax, 0xbee2c565
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x5981257f
sub dword [ebp - 0x54], 0xb2ee034
mov dword [ebp - 0x50], 0xe0178cc8
sub dword [ebp - 0x50], 0xade44083
mov dword [ebp - 0x4c], 0x8a4715ca
sub dword [ebp - 0x4c], 0x3dfad19c
mov dword [ebp - 0x48], 0xfb340c4e
sub dword [ebp - 0x48], 0xfb340c4e
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x8d910ae4
sub dword [ebp - 0x54], 0x191ea18e
mov dword [ebp - 0x50], 0xb3d6590e
sub dword [ebp - 0x50], 0x7269f799
mov dword [ebp - 0x4c], 0xce2e6347
add dword [ebp - 0x4c], 0x95410925
mov dword [ebp - 0x48], 0xb7d0f1b7
sub dword [ebp - 0x48], 0xb7d0f1b7
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xcabe29e4
add eax, 0x4543961c
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3c31d
push 0
call eax
mov ecx, 0x882e4f3b
sub ecx, 0x882df419
mov edi, eax
mov esi, 0x736de6a7
sub esi, 0x636b7ea7
add esi, dword [ebp - 0x44]
mov ebx, 0x92c6b2b2
sub ebx, 0xc54187d7
xor dword [ebp - 0x3c], 0x44c38598
mov edx, dword [esi]
xor edx, ebx
xor dword [ebp - 0x24], edx
mov dword [edi], edx
sub dword [ebp - 0x3c], edx
add edi, 4
add esi, 4
loop 0x10013b50
add eax, 0x15f5b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5a3beb03
sub ecx, 0x4a3beb03
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4013e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.004026c0
mov eax, dword [0x813100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x10004], ax
lea eax, [ebp - 0x10002]
push eax
call fcn.004026f0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7fff
lea eax, [ebp - 0x10004]
push eax
push str.STEAM_COMPAT_PROTON
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
push 0
setne bl
call dword [sym.imp.KERNEL32.dll_SetLastError]
test bl, bl
pop ebx
jne 0x401460
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004026af
mov esp, ebp
pop ebp
ret
push 0xa
lea eax, [ebp - 0x10004]
push 0
push eax
call fcn.00402697
mov ecx, dword [ebp - 4]
add esp, 0xc
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004026af
mov esp, ebp
pop ebp
ret

Function at 0x401510
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20004
call fcn.004026c0
mov eax, dword [0x813100]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x20004], ax
lea eax, [ebp - 0x20002]
push eax
call fcn.004026f0
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x10004], ax
lea eax, [ebp - 0x10002]
push eax
call fcn.004026f0
add esp, 0x18
lea eax, [ebp - 0x20004]
push 0x7fff
push eax
push 0x40e260
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x8141e0
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.0040242b
lea eax, [ebp - 0x20004]
push 0x7fff
push eax
call fcn.00402497
add esp, 0x14
test eax, eax
je 0x4015d6
push 0x40e25c
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.0040242b
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
call fcn.0040242b
add esp, 0x18
lea eax, [ebp - 0x10004]
push eax
push 0x40e260
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004026af
mov esp, ebp
pop ebp
ret
Function at 0x408b85
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00404871
mov dword [ebp - 0x14], eax
cmp dword [0x825038], esi
jne 0x408c78
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x408c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x408d58
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x408d58
push 0x4101f8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408d58
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x825038], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x82503c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x825040], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x825048], eax
test eax, eax
je 0x408c75
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x825044], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x408c9d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408c90
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x408cb2
push 4
pop eax
jmp 0x408d5a
cmp dword [ebp - 0x14], esi
je 0x408cb2
push dword [0x825038]
call dword [0x413004]
push 3
jmp 0x408c97
mov eax, dword [0x825044]
mov ebx, dword [0x413004]
cmp eax, edi
je 0x408d10
cmp dword [0x825048], edi
je 0x408d10
push eax
call ebx
push dword [0x825048]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x408d10
test eax, eax
je 0x408d10
call ecx
test eax, eax
je 0x408d05
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x408d05
test byte [ebp - 8], 1
jne 0x408d10
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x408d40
mov eax, dword [0x82503c]
cmp eax, edi
je 0x408d3d
push eax
call ebx
test eax, eax
je 0x408d3d
call eax
mov esi, eax
test esi, esi
je 0x408d3d
mov eax, dword [0x825040]
cmp eax, edi
je 0x408d3d
push eax
call ebx
test eax, eax
je 0x408d3d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x825038]
call ebx
test eax, eax
je 0x408d58
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x408d5a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004026af
mov esp, ebp
pop ebp
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401c66
pop dword [ebp - 0x40]
mov eax, 0xcb9e75d9
add eax, 0x34a1a68d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x797cb8c
sub dword [ebp - 0x50], 0xb9458641
mov dword [ebp - 0x4c], 0x79752ab5
sub dword [ebp - 0x4c], 0x4741de70
mov dword [ebp - 0x48], 0xce8bc8b9
sub dword [ebp - 0x48], 0x823f848b
mov dword [ebp - 0x44], 0xce342323
sub dword [ebp - 0x44], 0xce342323
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x127c5b0b
add dword [ebp - 0x50], 0x61f60e4b
mov dword [ebp - 0x4c], 0xd03d2d46
add dword [ebp - 0x4c], 0x712f342f
mov dword [ebp - 0x48], 0xfdd5e2a1
sub dword [ebp - 0x48], 0x9a667635
mov dword [ebp - 0x44], 0x5b7dabd4
sub dword [ebp - 0x44], 0x5b7dabd4
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a56a
push 0
call eax
mov ecx, 0x560dea1c
add ecx, 0xa9f26d52
xor esi, esi
add esi, eax
mov edx, 0x11cbb469
sub edx, 0x118b4469
add edx, dword [ebp - 0x40]
mov ebx, 0x42600e50
add dword [ebp - 0x34], edi
mov edi, dword [edx]
sub dword [ebp - 4], eax
xor edi, ebx
xor dword [ebp - 0x1c], edx
mov dword [esi], edi
add esi, 0x456c7966
add esi, 0xba93869e
add edx, 0xe4a04d45
add edx, 0x1b5fb2bf
loop 0x401d7a
add eax, 0x26ae504e
sub eax, 0x26acffc3
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x409d35
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040710b
and dword [ebp - 4], 0
cmp dword [0x41185c], 0
mov ebx, eax
jne 0x409de6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409e97
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409e97
push eax
call fcn.00407099
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41185c], eax
call esi
push eax
call fcn.00407099
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411860], eax
call esi
push eax
call fcn.00407099
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x411864], eax
call esi
push eax
call fcn.00407099
pop ecx
mov dword [0x41186c], eax
test eax, eax
je 0x409de6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407099
pop ecx
mov dword [0x411868], eax
mov eax, dword [0x411868]
cmp eax, ebx
je 0x409e3e
cmp dword [0x41186c], ebx
je 0x409e3e
push eax
call fcn.00407114
push dword [0x41186c]
mov esi, eax
call fcn.00407114
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409e3e
test edi, edi
je 0x409e3e
call esi
test eax, eax
je 0x409e35
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409e35
test byte [ebp - 0xc], 1
jne 0x409e3e
or dword [ebp + 0x10], 0x200000
jmp 0x409e77
mov eax, dword [0x411860]
cmp eax, ebx
je 0x409e77
push eax
call fcn.00407114
pop ecx
test eax, eax
je 0x409e77
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409e77
mov eax, dword [0x411864]
cmp eax, ebx
je 0x409e77
push eax
call fcn.00407114
pop ecx
test eax, eax
je 0x409e77
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41185c]
call fcn.00407114
pop ecx
test eax, eax
je 0x409e97
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409e99
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002a250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8d98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.Entered_ADALGetPasswordChangeUrl
push 0
mov dword [ebp - 4], 0
call fcn.10046430
add esp, 8
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push dword [ebp + 8]
call fcn.100330f0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x14]
mov ecx, dword [edi]
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
push eax
call fcn.100330f0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ebx, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1002a2f7
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002e410
Capabilities:
Hash data using fnv
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101480b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x102
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x214], eax
mov dword [eax], 1
je 0x1002e544
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push 0x10
mov dword [ebp - 0x208], ebx
mov esi, ebx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e467
or ebx, 0x10000
mov dword [ebp - 0x208], ebx
mov esi, ebx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e484
mov ebx, esi
or ebx, 0x20000
mov dword [ebp - 0x208], ebx
mov esi, ebx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1002e49f
mov ebx, esi
or ebx, 0x40000
mov dword [ebp - 0x208], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1015084c]
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101512c0]
cmp eax, dword [ecx + 4]
jg 0x1002e556
movzx eax, bl
xor eax, 0x811c9dc5
mov edx, dword [0x101512a4]
imul ecx, eax, 0x1000193
movzx eax, bh
xor ecx, eax
movzx eax, byte [ebp - 0x206]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x205]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul esi, ecx, 0x1000193
mov ecx, dword [0x101512ac]
and esi, dword [0x101512b8]
mov edi, dword [ecx + esi*8]
mov eax, edi
nop
cmp edi, edx
jne 0x1002e518
mov ecx, edx
jmp 0x1002e51e
mov ecx, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1002e541
cmp dword [eax + 8], ebx
je 0x1002e531
mov eax, dword [eax]
mov ecx, dword [0x101512ac]
jmp 0x1002e510
cmp eax, edx
je 0x1002e541
mov eax, dword [ebp - 0x214]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100055f3
mov esp, ebp
pop ebp
ret 0x20
push 0x101512c0
call fcn.100330f0
add esp, 4
cmp dword [0x101512c0], 0xffffffff
jne 0x1002e4c0
mov ecx, 0x80
mov dword [0x101512a0], 0
mov esi, 0x10104158
mov dword [0x101512a4], 0
lea edi, [ebp - 0x204]
mov dword [0x101512a8], 0
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov ecx, 0x101512a4
call fcn.100330f0
push 8
mov ecx, 0x101512a0
mov dword [0x101512a4], eax
mov dword [0x101512ac], 0
mov dword [0x101512b0], 0
mov dword [0x101512b4], 0
mov dword [0x101512a0], 0x3f800000
call fcn.100330f0
lea edi, [ebp - 0x204]
jmp 0x1002e5f0
mov eax, dword [0x101512a4]
mov ecx, 0x101512a4
push edi
mov esi, dword [eax]
mov eax, dword [esi + 4]
push eax
push esi
mov dword [ebp - 0x20c], eax
call fcn.100330f0
mov edx, dword [0x101512a8]
mov ecx, 0x15555554
sub ecx, edx
mov dword [ebp - 0x210], eax
cmp ecx, 1
jb 0x1002e680
mov ecx, dword [ebp - 0x210]
inc edx
mov dword [0x101512a8], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20c]
mov dword [eax], ecx
mov ecx, 0x101512a0
mov eax, dword [0x101512a4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.100330f0
add edi, 4
lea eax, [ebp - 4]
cmp edi, eax
jne 0x1002e5f0
push 0x100f7c20
call fcn.100330f0
push 0x101512c0
call fcn.100330f0
add esp, 8
jmp 0x1002e4c0
push str.list_T__too_long
call fcn.100330f0
int3
Function at 0x10031a50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0xc], ebx
jb 0x10031a6f
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10031a91
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10031a80
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebp - 0x14], eax
cmp edx, ebx
jne 0x10031abb
mov eax, ebx
jmp 0x10031abf
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10031b6b
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
mov edx, edi
jb 0x10031ad4
mov edx, dword [edi]
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ecx + 0x10]
jb 0x10031adf
mov ecx, dword [ecx]
cmp edi, dword [ebp - 0xc]
jne 0x10031b40
sub edi, 4
jb 0x10031b01
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10031b06
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10031af0
cmp edi, 0xfffffffc
je 0x10031b3a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10031b33
cmp edi, 0xfffffffd
je 0x10031b3a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10031b33
cmp edi, 0xfffffffe
je 0x10031b3a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10031b33
cmp edi, 0xffffffff
je 0x10031b3a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10031b3a
sbb eax, eax
or eax, 1
jmp 0x10031b3c
xor eax, eax
test eax, eax
je 0x10031b50
mov esi, dword [esi]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x10031ab3
mov edi, dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, dword [ebp - 8]
push eax
push edi
call fcn.100330f0
test al, al
mov ecx, ebx
cmove ecx, esi
mov eax, ecx
jmp 0x10031b6f
mov ecx, ebx
mov eax, ebx
cmp eax, ebx
jne 0x10031bcf
mov esi, dword [ebx]
lea eax, [ebp - 1]
mov ebx, dword [ebp - 8]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [esi + 4]
push eax
push 0x10104374
push edi
push esi
lea ecx, [ebx + 4]
call fcn.100330f0
mov edx, eax
mov ecx, 0x71c71c6
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x10031be1
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.100330f0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.100330f0
int3
Function at 0x100a2b50
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.1004aa00
movzx edi, al
mov ecx, esi
neg edi
sbb edi, edi
and edi, 0x800000
call fcn.1004aa00
test al, al
je 0x100a2b98
mov eax, dword [ebx]
push 0x800
push 0x54
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x100f9528]
mov ecx, ebx
call esi
lea esi, [ebx + 0x30]
push 0xd
mov ecx, ebx
call fcn.100330f0
cmp dword [ebx + 0x40], 0
je 0x100a2c00
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.100330f0
push edi
push 0
push 0
push 0
push dword [eax]
push dword [ebx + 0x10]
push dword [ebx + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x44], eax
add ecx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100a2bf1
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
cmp dword [ebx + 0x44], 0
je 0x100a2c07
push 0xe
mov ecx, ebx
call fcn.100330f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x10]
call fcn.100330f0
push 0x101303e8
lea eax, [ebp - 0x10]
push eax
call fcn.100330f0
int3
Function at 0x100a2f80
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f4499
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101480b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
call fcn.10002710
mov edi, eax
test edi, edi
je 0x100a30ce
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100f9528]
mov ecx, edi
call esi
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 1
push dword [ebp + 0xc]
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100a30b8
mov esi, dword [ebp - 0x10]
cmp esi, 0xa00000
ja 0x100a30d8
shr esi, 1
sub esi, 1
js 0x100a30f3
mov eax, dword [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x100a3050
push esi
mov ecx, edi
call fcn.100330f0
mov ecx, dword [edi]
cmp esi, dword [ecx - 8]
jg 0x100a30f3
mov dword [ecx - 0xc], esi
xor edx, edx
mov eax, dword [edi]
push edx
mov word [eax + esi*2], dx
lea eax, [ebp - 0x10]
push eax
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebx + 0x44]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, dword [edi]
mov esi, eax
test ecx, ecx
je 0x100a3095
push dword [ecx - 8]
push ecx
call fcn.100330f0
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x100a30f3
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x100a30f3
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
test esi, esi
jne 0x100a30b8
push esi
push 0x100fb314
mov ecx, edi
call fcn.100330f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.100330f0
push 0xcaa10024
lea ecx, [ebp - 0x20]
call fcn.100330f0
push 0x10134bb4
lea eax, [ebp - 0x20]
push eax
call fcn.100330f0
push 0x80070057
call fcn.100330f0
int3