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

Disassembly:
mov eax, 0x140
call fcn.1005d950
push esi
mov esi, dword [esp + 0x148]
push edi
test esi, esi
je 0x101be94d
mov edi, dword [esi + 0x1bc]
test edi, edi
jne 0x101be5b1
cmp dword [esi + 0x1c0], edi
je 0x101be94d
push 0x78
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10078730
mov eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
test edi, edi
jne 0x101be5dc
mov ecx, dword [esi + 0x1c0]
jmp 0x101be5df
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov byte [esp + 0xd], cl
sar eax, 8
cmp dword [esi + 0x1b8], 0
mov byte [esp + 0xc], al
lea eax, [esp + 0xc]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 2
mov dword [esp + 0x94], 0
mov dword [esp + 0x18], eax
je 0x101be657
mov al, byte [esi + 0x1b8]
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x98], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x48]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 4]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x14c]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x148]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x170]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0x16c]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x1b4]
cdq
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1b0]
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1a8]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x1d0]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x19c]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0x40], eax
test edx, edx
je 0x101be751
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101be722
sub ecx, edi
mov dword [esp + 0xe0], edx
lea eax, [esp + 0xd8]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe4], 0
mov dword [esp + 0x4c], eax
jmp 0x101be759
mov dword [esp + 0x4c], 0
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x101be78d
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x1d8]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0xf4], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x101be7a3
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov edx, dword [esi + 0x190]
mov eax, dword [esi + 0x1e0]
mov dword [esp + 0x58], eax
test edx, edx
je 0x101be7ef
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101be7c0
sub ecx, edi
mov dword [esp + 0x100], edx
lea eax, [esp + 0xf8]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x104], 0
mov dword [esp + 0x60], eax
jmp 0x101be7f7
mov dword [esp + 0x60], 0
mov edx, dword [esi + 0x194]
test edx, edx
je 0x101be835
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101be806
sub ecx, edi
mov dword [esp + 0x110], edx
lea eax, [esp + 0x108]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x114], 0
mov dword [esp + 0x64], eax
jmp 0x101be83d
mov dword [esp + 0x64], 0
mov edx, dword [esi + 0x1f4]
test edx, edx
je 0x101be87f
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101be850
sub ecx, edi
mov dword [esp + 0x120], edx
lea eax, [esp + 0x118]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x124], 0
mov dword [esp + 0x68], eax
jmp 0x101be887
mov dword [esp + 0x68], 0
mov eax, dword [esi + 0x200]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1e4]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x1e8]
mov dword [esp + 0x74], 0
test eax, eax
jne 0x101be8b3
mov dword [esp + 0x7c], eax
jmp 0x101be8dd
mov dword [esp + 0x130], eax
mov eax, dword [esi + 0x1ec]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x134], 0
mov dword [esp + 0x7c], eax
movzx eax, byte [esi + 0x1f0]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x1f8]
test eax, eax
jne 0x101be8fe
mov dword [esp + 0x84], eax
jmp 0x101be92b
mov dword [esp + 0x140], eax
mov eax, dword [esi + 0x1fc]
mov dword [esp + 0x138], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x144], 0
mov dword [esp + 0x84], eax
push 0x102653b8
push dword [esp + 0x154]
lea eax, [esp + 0x18]
push eax
call fcn.100f5670
add esp, 0xc
pop edi
pop esi
add esp, 0x140
ret
pop edi
xor eax, eax
pop esi
add esp, 0x140
ret