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

Disassembly:
push 0xffffffffffffffff
push 0x1010bb90
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10159df0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
call fcn.10002a00
push eax
mov dword [esp + 0x68], 0
call fcn.1007c560
mov edi, dword [esp + 0x34]
add esp, 4
mov ebp, eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x64], 0xffffffff
test edi, edi
je 0x1007d2ff
push 0
lea ecx, [esp + 0x18]
call fcn.10071540
mov eax, dword [edi + 4]
test eax, eax
jbe 0x1007d2dd
cmp eax, 0xffffffff
jae 0x1007d2dd
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.10071568
test esi, esi
je 0x1007d2ff
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.1007b090
mov al, byte [ebx]
mov ecx, 1
mov dword [esp + 0x64], ecx
cmp al, 0x2b
je 0x1007d341
cmp al, 0x2d
je 0x1007d341
cmp al, 0x30
jne 0x1007d337
mov al, byte [ebx + 1]
cmp al, 0x78
je 0x1007d32d
cmp al, 0x58
jne 0x1007d337
mov dword [esp + 0x14], 2
jmp 0x1007d345
mov dword [esp + 0x14], 0
jmp 0x1007d345
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov eax, edx
cmp ecx, 0x10
jae 0x1007d358
lea eax, [esp + 0x40]
cmp byte [eax], 0x7f
je 0x1007d3db
mov eax, edx
cmp ecx, 0x10
jae 0x1007d368
lea eax, [esp + 0x40]
cmp byte [eax], 0
jle 0x1007d3db
cmp ecx, 0x10
jb 0x1007d378
mov dword [esp + 0x20], edx
jmp 0x1007d380
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
mov al, byte [edx]
mov ebp, dword [esp + 0x88]
mov esi, ebp
cmp al, 0x7f
je 0x1007d3e2
test al, al
jle 0x1007d3e2
mov ecx, esi
sub ecx, dword [esp + 0x14]
movsx eax, al
cmp eax, ecx
jae 0x1007d3e2
sub esi, eax
mov edx, ebp
sub edx, esi
lea eax, [edx + 1]
push eax
lea edi, [ebx + esi]
push edi
push eax
lea eax, [ebx + esi + 1]
push eax
call fcn.100d4880
mov eax, dword [esp + 0x30]
add esp, 0x10
mov byte [edi], 0
inc ebp
cmp byte [eax + 1], 0
jle 0x1007d3d3
inc eax
mov dword [esp + 0x20], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x1007d393
jmp 0x1007d3e2
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x1007d3f5
cmp esi, ebp
jbe 0x1007d3f5
sub esi, ebp
jmp 0x1007d3f7
xor esi, esi
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x80]
and eax, 0x1c0
cmp eax, 0x40
je 0x1007d49a
cmp eax, 0x100
je 0x1007d436
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.1007a500
add esp, 0x18
jmp 0x1007d48b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
push ebx
push edx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.1007a570
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x2c]
push esi
mov dword [esp + 0x94], edx
mov edx, dword [eax]
add ebx, ecx
sub ebp, ecx
mov ecx, dword [eax + 4]
push edi
push ecx
mov ecx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.1007a500
add esp, 0x30
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
movzx eax, ax
push eax
push ebp
push ebx
mov ebx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.1007a650
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov dword [esp + 0x98], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push esi
push ebx
mov dword [esp + 0xac], eax
mov dword [edx + 0x18], 0
call fcn.1007a500
add esp, 0x34
cmp dword [esp + 0x54], 0x10
jb 0x1007d508
mov eax, dword [esp + 0x40]
push eax
call fcn.100d574a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.100d4871
add esp, 0x54
ret