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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100bcce8
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esi + 0x80], 0
call fcn.100063f0
xor ebp, ebp
cmp eax, ebp
jne 0x100068fc
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x64], ebp
mov byte [esp + 0x13], 0
xor bl, bl
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10006613
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
xor ecx, ecx
add eax, edi
mov edi, dword [esp + 0x28]
adc ecx, edx
mov edx, dword [esp + 0x20]
sub edx, edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
sbb edi, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], edi
jne 0x100065d5
cmp edx, 0x10000
jae 0x100065d5
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub eax, edi
sbb ecx, edx
mov dword [esp + 0x4c], ecx
jne 0x100065d5
cmp eax, 0x10000
jb 0x10006613
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x10006874
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x1000662b
test bl, bl
jne 0x10006894
test ebp, ebp
jne 0x10006894
mov al, byte [esp + 0x13]
test al, al
jne 0x1000671f
test bl, bl
jne 0x1000671f
cmp dword [esi + 0x180], 1
jne 0x1000671f
mov ecx, esi
call fcn.10006410
mov ebx, dword [esi + 0x138]
mov ecx, dword [esi + 0x7228]
mov edi, dword [esi + 0x140]
mov ebp, eax
mov eax, dword [esi + 0x158]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x144]
sub eax, ebx
cdq
add eax, edi
mov bl, 1
adc edx, ecx
mov dword [esp + 0x20], eax
test ebp, ebp
mov dword [esp + 0x24], edx
jne 0x1000656f
cmp dword [esi + 0x180], 0xb
jne 0x100066e4
mov al, byte [esi + 0x7234]
test al, al
jne 0x100066a8
jmp 0x1000656f
mov ecx, esi
call fcn.100063f0
mov ebp, eax
mov al, byte [esi + 0x7233]
test al, al
je 0x100066d5
mov eax, dword [esi + 0x184]
test eax, eax
jne 0x100066cc
mov byte [esi + 0x7233], 0
mov bl, 1
xor ebp, ebp
jmp 0x1000656f
test ebp, ebp
jne 0x1000656f
xor bl, bl
jmp 0x1000656f
mov al, byte [esi + 0xa9]
xor bl, bl
test al, al
je 0x1000671f
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1000672b
cmp eax, 0x1000
jbe 0x1000671f
mov eax, dword [esi + 0xac]
test eax, eax
jne 0x1000671a
mov ecx, esi
call fcn.10006c10
mov edi, eax
test edi, edi
jne 0x10006874
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x100067c0
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
test al, al
mov dword [esp + 0x18], edx
je 0x10006831
mov ecx, dword [esi + 0xb0]
call fcn.1003af7f
mov edi, eax
test edi, edi
jne 0x10006874
mov byte [esi + 0xa8], al
lea eax, [esi + 0x98]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x88]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], ecx
mov cl, byte [esi + 0x82]
test cl, cl
je 0x10006794
mov ecx, dword [esi + 0x84]
mov dword [esp + 0x18], ecx
mov edi, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
mov bl, byte [esi + 0x81]
test edi, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jne 0x10006874
test eax, eax
je 0x100067cc
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0x78]
call fcn.10006950
mov al, byte [esp + 0x13]
test al, al
je 0x100067f4
test bl, bl
jne 0x100067f4
lea ecx, [esi + 0xb4]
call fcn.1003afbe
mov edi, eax
test edi, edi
jne 0x10006874
mov byte [esi + 0xa8], 1
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1000656f
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.10005db0
mov edi, eax
test edi, edi
jne 0x10006874
mov al, byte [esi + 0x40]
test al, al
je 0x10006894
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
mov dword [esp + 0x50], edi
jne 0x100068d7
jmp 0x1000656f
cmp dword [esi + 0x180], 2
jne 0x100068b4
mov ecx, esi
mov dword [esi + 0x1a4], 1
call fcn.100064a0
mov edi, eax
test edi, edi
jne 0x10006874
lea edx, [esi + 0x19c]
mov eax, dword [esi + 0x19c]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x58], edx
jmp 0x1000656f
mov al, byte [esi + 0xa8]
test al, al
je 0x10006890
mov ecx, dword [esi + 0xb0]
call fcn.1003af7f
mov byte [esi + 0xa8], 0
mov eax, edi
jmp 0x100068fc
mov al, byte [esi + 0xa8]
test al, al
je 0x100068b0
mov ecx, dword [esi + 0xb0]
call fcn.1003af7f
mov byte [esi + 0xa8], 0
mov eax, ebp
jmp 0x100068fc
mov al, byte [esi + 0xa8]
test al, al
je 0x100068d0
mov ecx, dword [esi + 0xb0]
call fcn.1003af7f
mov byte [esi + 0xa8], 0
mov eax, 0x80004005
jmp 0x100068fc
mov byte [esi + 0x41], 1
mov al, byte [esi + 0xa8]
test al, al
je 0x100068f7
mov ecx, dword [esi + 0xb0]
call fcn.1003af7f
mov byte [esi + 0xa8], 0
mov eax, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4