joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10048650
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10141130
push 0x1007f2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], dx
jne 0x100486f2
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100486f2
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x100486f2
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x100486f2
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10048920
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
lea esi, [eax - 0x10000]
movzx eax, si
push edi
test eax, eax
je 0x10048938
sub esi, eax
cmp esi, dword [ebp + 8]
jbe 0x100489c5
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [ecx]
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x10048964
mov esi, 0x4fff0000
jmp 0x100489c0
xor eax, eax
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call ebx
test eax, eax
je 0x100489c5
mov eax, 0x10000
cmp dword [ebp - 0xc], eax
jne 0x100489ae
cmp dword [ebp - 0x10], eax
jb 0x100489ae
push 0x40
push 0x3000
push eax
push esi
call edi
test eax, eax
jne 0x100489c7
sub esi, 0x10000
jmp 0x100489c0
mov esi, dword [ebp - 0x18]
add esi, 0xffff0000
movzx eax, si
test eax, eax
je 0x100489c0
sub esi, eax
cmp esi, dword [ebp + 8]
ja 0x10048950
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100489d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, eax
push edi
lea edi, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x100489e8
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x100489fb
mov ebx, 0xfff80000
mov eax, dword [0x1015a540]
mov edx, dword [0x1015a53c]
test eax, eax
jne 0x10048a15
test edx, edx
je 0x10048a28
mov eax, edx
mov dword [0x1015a540], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10048a28
cmp ecx, edi
jb 0x10048a28
cmp ecx, ebx
jbe 0x10048b27
mov eax, edx
mov dword [0x1015a540], eax
test edx, edx
je 0x10048a56
test eax, eax
je 0x10048a4a
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10048a4a
cmp ecx, edi
jb 0x10048a4a
cmp ecx, ebx
jbe 0x10048b22
mov eax, dword [eax + 4]
test eax, eax
jne 0x10048a37
mov dword [0x1015a540], eax
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, 0x40000000
jbe 0x10048a80
lea eax, [esi - 0x40000000]
push edi
call fcn.10048920
add esp, 4
test eax, eax
jne 0x10048ae9
cmp esi, 0x40000000
jae 0x10048a95
push ebx
lea eax, [esi + 0x40000000]
call fcn.10048860
add esp, 4
test eax, eax
jne 0x10048ae9
cmp esi, 0x40000000
jbe 0x10048ab6
push esi
lea eax, [esi - 0x40000000]
call fcn.10048860
add esp, 4
test eax, eax
jne 0x10048ae9
cmp esi, 0x40000000
jae 0x10048acb
lea eax, [esi + 0x40000000]
push esi
call fcn.10048920
add esp, 4
test eax, eax
jne 0x10048ae9
push edi
mov eax, esi
call fcn.10048920
add esp, 4
test eax, eax
jne 0x10048ae9
push ebx
mov eax, esi
call fcn.10048860
add esp, 4
test eax, eax
je 0x10048b4e
xor edx, edx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov ecx, dword [0x1015a53c]
mov dword [eax + 4], ecx
mov dword [0x1015a540], eax
mov dword [0x1015a53c], eax
lea ecx, [eax + 0xffa8]
mov esi, 0x38b
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x48
dec esi
jne 0x10048b12
mov dword [eax + 8], edx
jmp 0x10048b27
mov dword [0x1015a540], eax
mov esi, dword [eax + 8]
cmp esi, edi
jb 0x10048b4e
cmp esi, ebx
ja 0x10048b4e
mov edx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [eax + 8], edx
call fcn.1007ada0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x10048b90
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov eax, dword [0x1015a53c]
push ebx
mov ebx, 0x1015a53c
test eax, eax
je 0x10048bfb
push esi
push edi
cmp dword [eax], 0x52727464
jne 0x10048bf0
lea edi, [eax + 0x10000]
xor edx, edx
lea esi, [eax + 0x88]
mov ecx, dword [esi]
test ecx, ecx
je 0x10048bc5
cmp ecx, eax
jb 0x10048bf0
cmp ecx, edi
jae 0x10048bf0
inc edx
add esi, 0x48
cmp edx, 0x38d
jb 0x10048bb7
mov ecx, dword [eax + 4]
push 0x8000
push 0
push eax
mov dword [ebx], ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x1015a540], 0
jmp 0x10048bf3
lea ebx, [eax + 4]
mov eax, dword [ebx]
test eax, eax
jne 0x10048ba1
pop edi
pop esi
pop ebx
ret
Function at 0x10048c00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x1015a54c], ebx
je 0x10048c19
mov eax, 0x10dd
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x1015a54c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x10048c0f
push esi
mov esi, dword [0x1015a53c]
mov dword [0x1015a55c], ebx
mov dword [0x1015a558], ebx
mov dword [0x1015a550], ebx
mov dword [0x1015a554], ebx
cmp esi, ebx
je 0x10048c76
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ebx, [ebx]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x10048c60
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10048c80
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1015a54c], eax
je 0x10048c9b
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [0x1015a55c]
push edi
test esi, esi
je 0x10048d0d
jmp 0x10048cb0
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 4]
push eax
movzx eax, byte [edx + 0x36]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], 0
jne 0x10048cfc
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x10048cfc
push 0x48
push 0
mov edi, ebx
push ebx
and edi, 0xffff0000
call fcn.1007ada0
mov edx, dword [edi + 8]
mov dword [ebx + 0x40], edx
mov dword [edi + 8], ebx
add esp, 0xc
mov dword [esi + 0x10], 0
mov edi, dword [esi]
push esi
call fcn.100719b6
add esp, 4
mov esi, edi
test edi, edi
jne 0x10048cb0
mov dword [0x1015a55c], 0
call fcn.10048810
mov esi, dword [0x1015a558]
test esi, esi
je 0x10048d47
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea esp, [esp]
mov eax, dword [esi + 4]
push eax
call ebx
mov edi, dword [esi]
push esi
call fcn.100719b6
add esp, 4
mov esi, edi
test edi, edi
jne 0x10048d30
pop edi
xor eax, eax
pop esi
mov dword [0x1015a558], eax
mov dword [0x1015a54c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100490b0
Capabilities:
Suspend thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x1015a550]
test eax, eax
jne 0x10049125
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
jne 0x100490ca
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.10071bdd
mov esi, eax
add esp, 4
test esi, esi
jne 0x100490e0
lea edi, [eax + 8]
jmp 0x100490fd
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10049112
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.100719b6
add esp, 4
pop esi
mov dword [0x1015a550], edi
mov eax, edi
mov dword [0x1015a554], 0
pop edi
ret
mov eax, dword [0x1015a558]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x1015a558], esi
xor eax, eax
pop esi
pop edi
ret
Function at 0x10049370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1015a54c], eax
je 0x1004938d
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x1015a550]
test eax, eax
jne 0x1004948d
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x100493ac
lea eax, [esi + 6]
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [esi], 0
jne 0x100493c8
mov eax, 6
mov dword [0x1015a554], esi
mov dword [0x1015a550], eax
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
push 0x18
call fcn.10071bdd
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100493e2
lea esi, [eax + 8]
jmp 0x1004946c
mov eax, dword [esi]
call fcn.10048740
mov edi, eax
mov eax, dword [ebp + 0xc]
call fcn.10048740
movzx ecx, byte [edi + 0x36]
mov esi, dword [edi + 0x40]
sub esi, ecx
test ecx, ecx
je 0x1004945e
cmp ecx, 0x1e
ja 0x1004945e
cmp dword [edi + 0x44], eax
jne 0x1004945e
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1004942d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1004946c
mov ecx, dword [ebp + 8]
mov eax, dword [0x1015a55c]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 4], 1
mov dword [ebx + 8], ecx
mov edx, dword [ebp - 4]
pop edi
mov dword [ebx], eax
mov dword [ebx + 0x14], edx
mov dword [0x1015a55c], ebx
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [0x1015a544], 0
mov esi, 9
jne 0x10049472
mov dword [0x1015a550], esi
test ebx, ebx
je 0x1004947f
push ebx
call fcn.100719b6
add esp, 4
mov ecx, dword [ebp + 8]
pop edi
pop ebx
mov eax, esi
mov dword [0x1015a554], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10049550
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
xor edi, edi
cmp dword [0x1015a94c], edi
jne 0x10049716
mov eax, dword [0x1015a948]
cmp eax, edi
jne 0x10049718
xor eax, eax
mov dword [0x1015a954], eax
mov dword [0x1015a958], eax
mov dword [0x1015a95c], eax
mov dword [0x1015a960], eax
mov dword [0x1015a964], eax
mov dword [0x1015a968], eax
mov dword [0x1015a96c], eax
mov dword [0x1015a970], eax
mov dword [0x1015a974], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push edi
push 0x101366a0
mov dword [0x1015a954], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x1015a958], eax
cmp eax, edi
je 0x100496d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImagehlpApiVersionEx
push eax
call esi
mov dword [0x1015a95c], eax
mov eax, dword [0x1015a958]
push str.SymInitialize
push eax
call esi
mov ecx, dword [0x1015a958]
push str.SymSetOptions
push ecx
mov dword [0x1015a960], eax
call esi
mov edx, dword [0x1015a958]
push str.SymGetOptions
push edx
mov dword [0x1015a964], eax
call esi
mov dword [0x1015a968], eax
mov eax, dword [0x1015a958]
push str.SymLoadModule64
push eax
call esi
mov ecx, dword [0x1015a958]
push str.SymGetModuleInfo64
push ecx
mov dword [0x1015a96c], eax
call esi
mov edx, dword [0x1015a958]
push str.SymFromName
push edx
mov dword [0x1015a970], eax
call esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov ecx, 0xb
mov word [ebp - 8], cx
mov ecx, dword [0x1015a95c]
mov dword [0x1015a974], eax
cmp ecx, edi
je 0x100496d2
cmp dword [0x1015a960], edi
je 0x100496d2
cmp dword [0x1015a96c], edi
je 0x100496d2
cmp dword [0x1015a970], edi
je 0x100496d2
cmp eax, edi
je 0x100496d2
lea edx, [ebp - 8]
push edx
call ecx
cmp word [ebp - 8], 0xb
jb 0x100496d2
mov eax, dword [0x1015a954]
push edi
push edi
push eax
call dword [0x1015a960]
test eax, eax
je 0x100496d2
mov eax, dword [0x1015a968]
cmp eax, edi
je 0x100496c2
cmp dword [0x1015a964], edi
je 0x100496c2
call eax
and eax, 0xfffffffc
or eax, 0x2704
push eax
call dword [0x1015a964]
mov eax, 0x1015a954
mov dword [0x1015a948], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1015a958]
mov dword [0x1015a94c], 1
cmp eax, edi
je 0x100496ec
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1015a95c], edi
mov dword [0x1015a960], edi
mov dword [0x1015a964], edi
mov dword [0x1015a968], edi
mov dword [0x1015a96c], edi
mov dword [0x1015a970], edi
mov dword [0x1015a974], edi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10049e90
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f52a3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.MessageLoop.0
mov dword [esi + 4], 1
lea edi, [esi + 0xc]
push 8
mov dword [edi], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x10049ff8
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x3c]
push 8
mov dword [edi], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x10049fd4
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea eax, [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
mov dword [esi + 0x6c], ebx
mov edx, dword [0x1015a808]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 4], 1
jne 0x10049f8d
push 0x1c
call fcn.10071bdd
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x10049f86
push eax
call fcn.1004b250
mov dword [esi + 8], eax
jmp 0x10049fbe
xor eax, eax
mov dword [esi + 8], eax
jmp 0x10049fbe
push 0x10
call fcn.10071bdd
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10049fb9
push ebx
push ebx
push ebx
push ebx
mov dword [edi], vtable.MessagePumpDefault.0
mov byte [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
jmp 0x10049fbb
xor edi, edi
mov dword [esi + 8], edi
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
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.10071a69
push 0x10140c60
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.10077e5e
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.10071a69
push 0x10140c60
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.10077e5e
int3
Function at 0x1004d4e0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8b68
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x1014f644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [ebx + 0x14], eax
jne 0x1004d52f
push eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
push 0x1012f5e5
mov ecx, esi
mov byte [esi], al
call fcn.100071e0
jmp 0x1004d60b
push 1
push 0x401
call fcn.10072bbb
mov edi, eax
add esp, 8
mov dword [ebp + 8], edi
add ebx, 4
mov dword [ebp - 4], 0
cmp dword [ebx + 0x10], 0
je 0x1004d586
cmp dword [ebx + 0x14], 0x10
jb 0x1004d55d
mov eax, dword [ebx]
jmp 0x1004d55f
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
test al, al
je 0x1004d586
cmp dword [ebx + 0x14], 0x10
jb 0x1004d579
mov eax, dword [ebx]
jmp 0x1004d57b
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x1004d5a8
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push eax
mov ecx, esi
mov byte [esi], 0
call fcn.10006dc0
jmp 0x1004d602
mov eax, 0x10
cmp dword [ebx + 0x14], eax
jb 0x1004d5b4
mov ebx, dword [ebx]
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x14], eax
jb 0x1004d5be
mov edx, dword [edx]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], eax
jb 0x1004d5c8
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x1004d5d3
mov eax, dword [eax]
push ebx
push 0x401
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 0x14]
push ecx
add eax, edi
push eax
push edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call fcn.10010340
push edi
call fcn.100719b6
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100612c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa4e3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.WininetManager::__slimLockableObject.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.WininetManager::HttpRequestContext.0
mov edx, dword [0x1014f25c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1014f25c
lea edi, [esi + 0x24]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
push 0x18
mov dword [esi + 0x30], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x10061407
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x2c]
mov byte [ecx + 0x14], 1
mov edx, dword [esi + 0x2c]
mov byte [edx + 0x15], 1
mov byte [ebp - 4], 2
push 0x14
mov dword [esi + 0x3c], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x100613e3
mov dword [esi + 0x38], eax
mov dword [eax], eax
mov eax, dword [esi + 0x38]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
mov byte [esi + 0x44], bl
call fcn.10062940
add esp, 0x10
mov byte [ebp - 4], 4
call fcn.1000a5c0
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100613cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x18
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.10071a69
push 0x10140c60
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.10077e5e
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp + 0xc], ebx
call fcn.10071a69
push 0x10140c60
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], vtable.std::bad_alloc.0
call fcn.10077e5e
int3
Function at 0x100641e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8900
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.WininetManager::__slimLockableObject.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.WininetManager::ConnectContext.0
mov edx, dword [0x1014f25c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1014f25c
lea edi, [esi + 0x24]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
push 0x10
mov dword [esi + 0x30], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x10064294
mov dword [esi + 0x2c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.1000a5c0
mov cx, word [ebp + 0x14]
mov word [esi + 0x28], cx
mov byte [esi + 0x38], bl
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 0x10
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], ebx
call fcn.10071a69
push 0x10140c60
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call fcn.10077e5e
int3
Function at 0x10067de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f4e28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x10067ec4
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.10071bdd
add esp, 4
cmp eax, ebx
je 0x10067ea0
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
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
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.10071a69
push 0x10140c60
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.10077e5e
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.10071a69
push 0x10140c60
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.10077e5e
int3