Function at 0x10038380
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]
mov edx, dword [ebp + 0x10]
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 + 0x14], eax
mov dword [esp + 0x20], edx
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 + 0x2c], esp
push 0x101085d0
push str.2474
push str.__line:
push str.._api_api.cpp
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea esi, [ebx + 1]
call fcn.10007a10
add esp, 0xc
push eax
lea edx, [esp + 0xa8]
push edx
call fcn.10007a10
add esp, 0xc
push eax
lea eax, [esp + 0x88]
push eax
call fcn.10007a10
add esp, 0xc
push eax
push edi
call fcn.10007a10
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xe
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x1010bd30
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 0x10038478
mov ecx, dword [esp + 0x64]
push ecx
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 0x1003849d
mov edx, dword [esp + 0x80]
push edx
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 0x100384c5
mov eax, dword [esp + 0x20]
push eax
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 0x100384e4
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100b3111
add esp, 4
mov eax, dword [0x10135b94]
mov dword [0x1013182c], 1
cmp eax, ebx
je 0x10038744
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1010bd30
push eax
call edi
cmp eax, ebx
je 0x10038744
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push ecx
push edx
call eax
mov esi, eax
cmp esi, ebx
je 0x1003854e
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 0xc
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 0x100385bb
push 0x1010c474
push eax
call edi
cmp eax, ebx
je 0x100385bb
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x188]
push edx
push ecx
call eax
mov esi, eax
cmp esi, ebx
je 0x100385c2
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 0xc
mov esi, 0xc001000c
jmp 0x10038595
sub esp, 0x1c
lea eax, [esp + 0x1a4]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov dword [0x10135a08], 2
call fcn.10004800
call fcn.10034fe0
add esp, 0x1c
test al, al
je 0x100385f8
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 + 0x14]
push ecx
mov esi, eax
call fcn.10007ae0
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10038639
push eax
call fcn.1005c230
add esp, 4
cmp dword [esp + 0xc], ebx
je 0x1003871e
lea eax, [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x1002d370
mov dword [esp + 0x40], 0x1002d380
jmp 0x10038660
mov ecx, dword [0x10135a08]
push str.used_lib_version:__d
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0x18], 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 + 0xc]
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 0x100386cb
mov eax, dword [eax + 4]
jmp 0x100386ce
add eax, 4
push eax
mov ecx, esi
call fcn.10008730
lea ecx, [esp + 0x98]
call fcn.10005040
cmp dword [esp + 0x34], edi
jb 0x100386f5
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 + 0xc], ebx
jne 0x10038660
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 0xc
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 0xc