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

Disassembly:
sub esp, 0xc00
mov eax, dword [0x214f450]
xor eax, esp
mov dword [esp + 0xbfc], eax
mov eax, dword [esp + 0xc04]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x50], eax
xor edi, edi
xor eax, eax
push 0x7f8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0xcc]
push edi
push eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
call fcn.10084130
xor eax, eax
add esp, 0xc
push 0x38
lea ecx, [esp + 0x8c]
push edi
push ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edi
call fcn.10084130
add esp, 0xc
push 0x244
lea edx, [esp + 0x8c4]
push edi
push edx
call fcn.10084130
add esp, 0xc
mov byte [esp + 0x944], 0x10
mov dword [esp + 0x952], edi
mov dword [esp + 0x945], edi
mov dword [esp + 0x949], edi
call fcn.10072f74
mov ebp, dword [esp + 0xc18]
mov ebx, dword [esp + 0xc1c]
mov dword [esp + 0x8c6], eax
or eax, 0xffffffff
mov dword [esp + 0x8c0], 0x2092b70
mov byte [esp + 0x8c4], 0
mov byte [esp + 0x8c5], 0
mov byte [esp + 0x8ca], 0
mov byte [esp + 0x8d3], 0
mov byte [esp + 0x944], 0x20
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
jmp 0x10065512
jbe 0x10065510
mov dword [esp + 0x10], 1
mov edi, edi
xor edi, edi
cmp dword [esp + 0x10], edi
je 0x10065545
mov ecx, dword [esp + 0x3c]
cmp ecx, edi
je 0x1006587e
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], eax
cmp eax, ecx
jae 0x1006587e
mov ebp, dword [esp + eax*8 + 0x40]
mov ebx, dword [esp + eax*8 + 0x44]
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x10065570
ja 0x10065555
cmp ebp, dword [esp + 0x20]
jb 0x10065570
mov eax, dword [esp + 0x28]
cdq
add eax, dword [esp + 0x20]
adc edx, ecx
add eax, 0xfffffff1
adc edx, 0xffffffff
cmp ebx, edx
jb 0x100655dc
ja 0x10065570
cmp ebp, eax
jb 0x100655dc
mov eax, dword [esp + 0xc1c]
mov ecx, dword [esp + 0xc18]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
push ebx
push ebp
push eax
mov eax, dword [esi + 0xc]
push ecx
push edx
call eax
add esp, 0x14
test eax, eax
jne 0x100655a4
mov dword [esp + 0x10], 1
jmp 0x10065512
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
push ecx
push 0x100
lea edx, [esp + 0xb10]
push edx
push ebx
push ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
call eax
add esp, 0x14
cmp eax, edi
mov dword [esp + 0x28], eax
jg 0x100655dc
mov dword [esp + 0x10], 1
jmp 0x10065512
mov ecx, ebp
sub ecx, dword [esp + 0x20]
xor eax, eax
lea esi, [esp + ecx + 0xb08]
jmp 0x100655f0
mov ecx, dword [esp + eax*8 + 0xc0]
mov edx, dword [esp + eax*8 + 0xc4]
cmp ecx, ebp
jne 0x10065606
cmp edx, ebx
je 0x10065597
or ecx, edx
je 0x10065612
inc eax
cmp eax, 0x100
jb 0x100655f0
mov eax, dword [esp + 0x38]
cmp eax, 0x100
jae 0x1006587e
mov edx, dword [esp + 0x20]
sub edx, ebp
add edx, esi
add edx, dword [esp + 0x28]
mov dword [esp + eax*8 + 0xc0], ebp
mov dword [esp + eax*8 + 0xc4], ebx
inc eax
mov dword [esp + 0x8cb], esi
lea esi, [esp + 0x8c0]
mov dword [esp + 0x38], eax
mov dword [esp + 0x945], ebp
mov dword [esp + 0x949], ebx
mov dword [esp + 0x8c0], 0x2092b50
mov dword [esp + 0x8cf], edx
mov byte [esp + 0x8c4], 0
mov byte [esp + 0x8c5], 0
mov byte [esp + 0x8ca], 0
mov byte [esp + 0x8d3], 0
mov byte [esp + 0x8e0], 0
mov byte [esp + 0x900], 0
call fcn.10003680
test eax, eax
jne 0x100656ab
xor edx, edx
jmp 0x100656cb
mov eax, dword [esp + 0x8d4]
cmp eax, edi
je 0x100656c3
lea ecx, [esp + 0x8c0]
push ecx
call eax
add esp, 4
movzx edx, byte [esp + 0x8ca]
xor ecx, ecx
mov eax, edx
or eax, ecx
mov dword [esp + 0x14], edx
je 0x1006587e
mov eax, dword [esp + 0x952]
cmp eax, 0x1a6
jg 0x10065789
je 0x1006579f
cmp eax, edi
je 0x1006579f
cmp eax, 0xd2
jle 0x1006570d
cmp eax, 0xde
jle 0x1006579f
push ecx
push edx
lea edi, [esp + 0x60]
lea eax, [esp + 0x8c8]
call fcn.10064930
add esp, 8
lea esi, [esp + 0x84]
lea eax, [esp + 0x8c0]
call fcn.10064d20
mov eax, dword [esp + 0x952]
cmp eax, 0x1a6
je 0x100658a7
cmp eax, 0xf2
jne 0x100657ac
mov ecx, dword [esp + 0x18]
or ecx, dword [esp + 0x1c]
je 0x100658a7
cmp dword [esp + 0x956], 0x90
jne 0x1006577c
mov al, byte [esp + 0x95a]
cmp al, 8
je 0x100657db
cmp al, 0x10
je 0x100657d1
cmp al, 0x20
je 0x100657c8
mov dword [esp + 0x10], 1
jmp 0x1006585c
cmp eax, 0x1b5
jl 0x1006570d
cmp eax, 0x1b6
jg 0x1006570d
mov dword [esp + 0x10], 1
jmp 0x10065512
cmp eax, 0x1e
je 0x100657f7
cmp eax, 0xf2
je 0x1006575c
add ebp, dword [esp + 0x14]
mov eax, 0
adc ebx, eax
jmp 0x1006585c
mov eax, dword [esp + 0x95b]
jmp 0x100657e3
movsx eax, word [esp + 0x95b]
jmp 0x100657e3
movsx eax, byte [esp + 0x95b]
cdq
mov ecx, eax
add ecx, dword [esp + 0x14]
mov eax, 0
adc edx, eax
add ebp, ecx
adc ebx, edx
jmp 0x1006585c
cmp dword [esp + 0x956], 0x90
mov dword [esp + 0x10], 1
jne 0x1006585c
mov edx, dword [esp + 0x18]
or edx, dword [esp + 0x1c]
jne 0x1006585c
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x95b]
mov edi, edx
add ecx, ebp
cdq
mov esi, edi
adc esi, ebx
add eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
adc edx, edi
add eax, ebp
adc edx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov ebp, ecx
mov ebx, esi
mov dword [esp + 0x3c], 2
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x2c]
inc eax
cmp dword [esp + 0x58], 3
mov dword [esp + 0x2c], eax
jbe 0x10065876
cmp eax, 0x80
jmp 0x10065504
cmp eax, 0x40
jmp 0x10065504
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ecx
or eax, edx
je 0x10065895
mov eax, dword [esp + 0x54]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x84]
lea esi, [esp + 0x58]
call fcn.10065240
jmp 0x100658aa
or eax, 0xffffffff
mov ecx, dword [esp + 0xc0c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10072850
add esp, 0xc00
ret