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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1013d070]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov dword [esp + 0xc], esi
mov edi, dword [esi]
movzx eax, byte [esi + 0x92]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
test dword [edi + 0x1c], 0x4000
je 0x1007dad8
mov ecx, dword [edx + 0x48]
mov ebx, 0xfff0bdc0
mov dword [esp + 0x28], ebx
test ecx, ecx
je 0x1007d4dc
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x28], ebx
cmp dword [eax], ecx
je 0x1007d4dc
nop
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x1007d4d0
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 0x10]
mov ecx, ebx
mov ebx, dword [edx + 0x10]
add ecx, ecx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + ecx*8]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x1007d8b0
nop dword [eax]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
je 0x1007d583
mov ecx, dword [edx]
mov eax, dword [ebx + 8]
test ecx, ecx
jne 0x1007d52d
neg eax
sbb eax, eax
jmp 0x1007d538
test eax, eax
je 0x1007d53c
mov edx, eax
call fcn.10032ee0
test eax, eax
je 0x1007d57f
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1007d895
lea ecx, [ebx + 0x24]
nop word [eax + eax]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx*4], 0
jge 0x1007d57b
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x1007d56d
cmp dword [ebp + 0x14], 0
jne 0x1007d57b
inc esi
add ecx, 8
cmp esi, dword [ebx + 0x14]
jl 0x1007d550
jmp 0x1007d895
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
cmp byte [esi + 0x92], 0
push ecx
je 0x1007d59c
mov edx, dword [ebx + 8]
mov ecx, edi
call fcn.100703c0
add esp, 4
jmp 0x1007d5ab
push dword [ebx + 8]
xor edx, edx
mov ecx, esi
call fcn.10070510
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1007d75f
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
lea ecx, [esp + 0x34]
push ecx
push ebx
mov ecx, esi
call fcn.1007be80
add esp, 0xc
test eax, eax
jne 0x1007d75b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1007d5e6
mov ecx, eax
mov dword [esp + 0x20], eax
jmp 0x1007d5f5
mov eax, dword [ebx + 0x24]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1007d669
nop dword [eax]
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp dword [ecx + esi*4], eax
jne 0x1007d614
mov dword [ecx + esi*4], 0xffffffff
cmp dword [edi + 0x130], 0
je 0x1007d663
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x1007d632
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x1007d636
movzx eax, word [edx + 0x28]
push dword [esp + 0x28]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x14]
call fcn.1006fb50
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x1007d600
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov ecx, esi
mov edx, dword [esp + 0x28]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.1006fd80
inc dword [esi + 0x28]
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x1007d6b2
push dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x44]
push dword [esp + 0x34]
call fcn.1007c140
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x1007d707
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1c8]
test eax, eax
je 0x1007d6e5
mov eax, dword [eax]
cmp eax, dword [ebx + 0x1c]
jne 0x1007d6da
cmp byte [ebx + 0x19], 8
je 0x1007d707
cmp eax, dword [ebx + 0x20]
jne 0x1007d6e5
cmp byte [ebx + 0x1a], 8
je 0x1007d707
push dword [esp + 0x18]
mov ecx, esi
push 1
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
push ebx
push dword [esp + 0x44]
push dword [esp + 0x34]
call fcn.1007c140
add esp, 0x1c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1007d899
cmp dword [edi + 0x1d8], 0
je 0x1007d72a
mov edx, ecx
mov ecx, edi
call fcn.1002f870
jmp 0x1007d899
cmp ecx, dword [edi + 0x128]
jb 0x1007d74d
cmp ecx, dword [edi + 0x12c]
jae 0x1007d74d
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x1007d899
push ecx
call fcn.1002f800
add esp, 4
jmp 0x1007d899
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x34], 0
je 0x1007dad8
cmp byte [edi + 0x49], 0
jne 0x1007dad8
test eax, eax
jne 0x1007d899
mov esi, dword [esi + 8]
test esi, esi
jne 0x1007d79f
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x78], esi
jne 0x1007d798
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x1007d798
mov byte [ecx + 0x17], 1
call fcn.1004f440
mov esi, eax
mov eax, dword [esi + 0x88]
mov edx, dword [ebx + 0x14]
inc eax
add eax, edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
test edx, edx
jle 0x1007d83b
lea edi, [ebx + 0x24]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
inc ecx
mov edx, dword [edi]
add edx, ecx
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1007d7f0
push 0
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.1004f760
add esp, 0xc
jmp 0x1007d826
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
add edi, 8
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebx + 0x14]
jl 0x1007d7c2
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
movzx edx, byte [ebx + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x1007d863
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x93
mov ecx, esi
call fcn.1004f760
add esp, 0xc
jmp 0x1007d895
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0xffffffff
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0xc]
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x1007d500
mov ebx, dword [esp + 0x10]
push 0
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx]
add ecx, 0x38
call fcn.10034500
add esp, 4
mov esi, dword [eax + 8]
mov dword [esp + 0x24], esi
test esi, esi
je 0x1007dad8
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
test eax, eax
je 0x1007d904
push dword [ebp + 0x14]
mov edx, esi
mov ecx, ebx
push eax
call fcn.1007d370
add esp, 8
test eax, eax
je 0x1007dac9
cmp byte [esi + 0x18], 0
jne 0x1007d927
test dword [edi + 0x1c], 0x80000
jne 0x1007d927
mov edx, dword [esp + 0xc]
cmp dword [edx + 0x78], 0
jne 0x1007d927
cmp byte [edx + 0x14], 0
je 0x1007dac9
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
mov edx, ebx
push eax
push esi
call fcn.1007be80
add esp, 0xc
test eax, eax
je 0x1007d95e
cmp dword [esp + 0x34], 0
je 0x1007dad8
cmp byte [edi + 0x49], 0
jne 0x1007dad8
jmp 0x1007dac9
push 0
push 0x50
mov ecx, edi
call fcn.1002fbc0
mov ebx, dword [esp + 0x20]
mov edi, eax
add esp, 8
test edi, edi
je 0x1007da80
push 0x48
lea eax, [edi + 8]
mov dword [edi + 4], 1
push 0
push eax
mov dword [edi], 1
call fcn.100e5e30
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov dword [edi + 0x34], 0xffffffff
cmp byte [ecx + 0x49], 0
je 0x1007d9b6
mov edx, edi
mov edi, ecx
call fcn.10075520
jmp 0x1007da84
mov eax, dword [edi]
xor edx, edx
lea eax, [eax + eax*8]
lea esi, [edi + eax*8]
call fcn.10070e20
mov ecx, dword [esp + 0xc]
mov dword [esi - 0x38], eax
mov dword [esi - 0x3c], 0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
inc dword [eax + 0x20]
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x34], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1007da19
push 0xffffffffffffffff
push eax
push ebx
push esi
push edx
push dword [esp + 0x24]
mov edx, edi
call fcn.1007cb50
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov edx, dword [esp + 0x14]
cmp dword [ebp + 8], 0
je 0x1007da6a
push 1
push dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
push ebx
setne al
push esi
push edx
push dword [esp + 0x24]
movzx eax, byte [eax + esi + 0x19]
mov edx, edi
mov dword [esp + 0x50], eax
call fcn.1007cb50
add esp, 0x18
cmp byte [esi + 0x18], 0
jne 0x1007da6a
mov eax, dword [esp + 0x38]
cmp eax, 0xa
je 0x1007da6a
cmp eax, 8
je 0x1007da6a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [edi + 0x10], 0
mov edx, edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.10075520
jmp 0x1007da84
mov edi, dword [esp + 0x2c]
test ebx, ebx
je 0x1007dac5
cmp dword [edi + 0x1d8], 0
je 0x1007da9c
mov edx, ebx
mov ecx, edi
call fcn.1002f870
jmp 0x1007dac5
cmp ebx, dword [edi + 0x128]
jb 0x1007dabc
cmp ebx, dword [edi + 0x12c]
jae 0x1007dabc
mov eax, dword [edi + 0x124]
mov dword [ebx], eax
mov dword [edi + 0x124], ebx
jmp 0x1007dac5
push ebx
call fcn.1002f800
add esp, 4
mov ebx, dword [esp + 0x10]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x1007d8d5
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ae9aa
mov esp, ebp
pop ebp
ret