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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1e4
mov eax, dword [0x10158df0]
xor eax, esp
mov dword [esp + 0x1e0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, esp
push 0x1012c9e4
push str.2071
push str.__line:
sub esp, 0x1c
mov dword [esp + 0x5c], ecx
mov ecx, esp
mov dword [esp + 0x50], esp
xor ebx, ebx
push 0xd
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._api_api.cpp
mov dword [esp + 0x68], edx
mov byte [ecx + 4], bl
mov dword [esp + 0x60], eax
call fcn.10007180
lea esi, [esp + 0xec]
call fcn.10040f50
add esp, 0x1c
push 3
push 0x1012ca0c
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.10007180
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0xb0]
push eax
call fcn.1000a2e0
add esp, 0xc
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.1000a390
add esp, 0xc
push eax
lea edx, [esp + 0x70]
push edx
call fcn.1000a390
add esp, 0xc
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.1000a390
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1d
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x101307ac
mov byte [ecx + 4], bl
call fcn.10007180
lea ecx, [edi - 0xe]
lea ebx, [esp + 0x200]
call fcn.10055540
mov esi, 0x10
cmp dword [esp + 0x60], esi
jb 0x1004c072
mov eax, dword [esp + 0x4c]
push eax
call fcn.100d4a7a
add esp, 4
xor ebx, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x7c], esi
jb 0x1004c093
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0x98], esi
jb 0x1004c0b8
mov edx, dword [esp + 0x84]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0x3c], esi
jb 0x1004c0e0
mov eax, dword [esp + 0x28]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0xc0], esi
jb 0x1004c105
mov ecx, dword [esp + 0xac]
push ecx
call fcn.100d4a7a
add esp, 4
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
mov dword [esp + 0x44], edx
call fcn.1005c4f0
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x10]
push edx
mov esi, eax
call fcn.1000a460
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [eax], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x1004c146
push eax
call fcn.10073c20
add esp, 4
cmp dword [esp + 0x10], ebx
je 0x1004c3d1
lea edx, [ebp + 0x18]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0x10040250
mov dword [esp + 0xa4], 0x10040260
push 0x1012c9e4
push str.2072
push str.__line:
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xd
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._api_api.cpp
mov byte [ecx + 4], bl
call fcn.10007180
lea esi, [esp + 0x114]
call fcn.10040f50
add esp, 0x1c
push 3
push 0x1012ca0c
lea ecx, [esp + 0x38]
mov esi, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.10007180
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xbc]
push ecx
call fcn.1000a2e0
add esp, 0xc
push eax
lea edx, [esp + 0xd4]
push edx
call fcn.1000a390
add esp, 0xc
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1000a390
add esp, 0xc
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.1000a390
add esp, 0xc
push str.bCheckScatter:__d
lea edx, [esp + 0x10c]
push edx
mov dword [esp + 0x14], eax
call fcn.10009e40
lea ecx, [esp + 0x9c]
push ecx
call fcn.10011e90
add esp, 4
mov edi, eax
call fcn.1005c4f0
mov eax, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.1000a530
mov esi, dword [eax + 4]
add esp, 0xc
lea edx, [esp + 0x80]
mov ecx, edi
add esi, 4
call fcn.10009f40
mov ecx, dword [eax + 0x14]
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x1004c278
mov eax, dword [eax + 4]
jmp 0x1004c27b
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x14]
cmp dword [eax + 0x18], edi
jb 0x1004c295
mov eax, dword [eax + 4]
jmp 0x1004c298
add eax, 4
push ecx
push eax
mov ecx, esi
call fcn.100087d0
lea ecx, [esp + 0xe0]
call fcn.10006d40
cmp dword [esp + 0x98], edi
jb 0x1004c2c6
mov ecx, dword [esp + 0x84]
push ecx
call fcn.100d4a7a
add esp, 4
lea edi, [esp + 0x108]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.10003aa0
mov esi, 0x10
cmp dword [esp + 0x7c], esi
jb 0x1004c303
mov edx, dword [esp + 0x68]
push edx
call fcn.100d4a7a
add esp, 4
mov edi, 0xf
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0x60], esi
jb 0x1004c327
mov eax, dword [esp + 0x4c]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0xdc], esi
jb 0x1004c34c
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
cmp dword [esp + 0xc0], esi
jb 0x1004c37a
mov edx, dword [esp + 0xac]
push edx
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
cmp dword [esp + 0x3c], esi
jb 0x1004c3a2
mov eax, dword [esp + 0x28]
push eax
call fcn.100d4a7a
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x104], esi
jb 0x1004c3c7
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.100d4a7a
add esp, 4
cmp dword [esp + 0x10], ebx
jne 0x1004c170
cmp dword [0x1015e880], 1
jne 0x1004c442
mov eax, dword [0x1015e9ec]
cmp eax, ebx
je 0x1004c419
push 0x101307ac
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1004c419
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
call eax
mov esi, eax
lea eax, [esp + 0x1c8]
push eax
jmp 0x1004c462
lea ecx, [esp + 0x1c8]
push ecx
call fcn.100557e0
mov eax, 0xc001000c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e0]
xor ecx, esp
call fcn.100d3ba1
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
call fcn.100298d0
lea ecx, [esp + 0x1c8]
mov esi, eax
push ecx
call fcn.100557e0
mov ecx, dword [esp + 0x1ec]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.100d3ba1
mov esp, ebp
pop ebp
ret 0x14