Function at 0x10037f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
mov eax, dword [0x1012fdf0]
xor eax, esp
mov dword [esp + 0x288], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 2
mov dword [esp + 0x18], ecx
xor ebx, ebx
push 0x101085f8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.10005cd0
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x28], esp
push 0x101085d0
push str.2433
push str.__line:
push str.._api_api.cpp
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x4c]
push eax
lea esi, [ebx + 1]
call fcn.10007a10
add esp, 0xc
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.10007a10
add esp, 0xc
push eax
lea edx, [esp + 0x88]
push edx
call fcn.10007a10
add esp, 0xc
push eax
push edi
call fcn.10007a10
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x11
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x1010bcec
mov byte [ecx + 4], bl
call fcn.10005cd0
mov ecx, esi
lea edx, [esp + 0x19c]
call fcn.1003be80
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x10038061
mov eax, dword [esp + 0x64]
push eax
call fcn.100b3111
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x94], esi
jb 0x10038086
mov ecx, dword [esp + 0x80]
push ecx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
cmp dword [esp + 0x34], esi
jb 0x100380ae
mov edx, dword [esp + 0x20]
push edx
call fcn.100b3111
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x5c], esi
jb 0x100380cd
mov eax, dword [esp + 0x48]
push eax
call fcn.100b3111
add esp, 4
mov eax, dword [0x10135b94]
cmp eax, ebx
je 0x10038319
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1010bcec
push eax
call edi
cmp eax, ebx
je 0x10038319
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call eax
mov esi, eax
cmp esi, ebx
je 0x10038128
lea eax, [esp + 0x164]
push eax
call fcn.1003c130
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.100b2691
mov esp, ebp
pop ebp
ret 8
push 0x103
lea ecx, [esp + 0x18d]
push ebx
push ecx
mov byte [esp + 0x194], bl
call fcn.100b8cd0
mov eax, dword [0x10135b94]
add esp, 0xc
cmp eax, ebx
je 0x10038195
push 0x1010c474
push eax
call edi
cmp eax, ebx
je 0x10038195
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x188]
push edx
push ecx
call eax
mov esi, eax
cmp esi, ebx
je 0x1003819c
lea edx, [esp + 0x164]
push edx
call fcn.1003c130
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.100b2691
mov esp, ebp
pop ebp
ret 8
mov esi, 0xc001000c
jmp 0x1003816f
sub esp, 0x1c
lea eax, [esp + 0x1a4]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [0x10135a08], 2
call fcn.10004800
call fcn.10034fe0
add esp, 0x1c
test al, al
je 0x100381d2
mov dword [0x10135a08], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
call fcn.100433c0
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
call fcn.10007ae0
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov dword [eax], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x10038213
push eax
call fcn.1005c230
add esp, 4
cmp dword [esp + 0x10], ebx
je 0x100382f3
lea eax, [esp + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x1002d370
mov dword [esp + 0x40], 0x1002d380
mov ecx, dword [0x10135a08]
push str.used_lib_version:__d
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0x14], ecx
call fcn.10007580
lea ecx, [esp + 0x38]
push ecx
call fcn.1000f490
add esp, 4
mov ebx, eax
call fcn.100433c0
mov eax, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10007b90
mov esi, dword [eax + 4]
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, ebx
add esi, 4
call fcn.10007680
mov ebx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x100382a0
mov eax, dword [eax + 4]
jmp 0x100382a3
add eax, 4
push eax
mov ecx, esi
call fcn.10008730
lea ecx, [esp + 0x98]
call fcn.10005040
cmp dword [esp + 0x34], edi
jb 0x100382ca
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100b3111
add esp, 4
lea edx, [esp + 0xa4]
xor ebx, ebx
push edx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.100031a0
cmp dword [esp + 0x10], ebx
jne 0x10038235
lea eax, [esp + 0x164]
push eax
call fcn.1003c130
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.100b2691
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x164]
push ecx
call fcn.1003c130
mov ecx, dword [esp + 0x294]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0xc001000c
call fcn.100b2691
mov esp, ebp
pop ebp
ret 8