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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1489c98
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x8eec
call fcn.10009fe0
mov eax, dword [0x1490020]
xor eax, esp
mov dword [esp + 0x8ee8], eax
push ebx
push esi
push edi
mov eax, dword [0x1490020]
xor eax, esp
push eax
lea eax, [esp + 0x8f00]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x8f08], ebx
cmp dword [esi + 0x60], ebx
mov dword [esp + 0x20], ebx
jne 0x1000574e
push 0xffffffffffffffff
push 0x148bf78
lea eax, [esp + 0x9c]
push eax
call fcn.10003b25
mov byte [esp + 0x8f08], 1
mov esi, dword [esi + 0x58]
push 0xffffffffffffffff
push esi
lea eax, [esp + 0xe0]
push eax
call fcn.10003b25
push 0xffffffffffffffff
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xe0]
push eax
push 0x80000001
mov byte [esp + 0x8f18], 2
call dword [0x148b060]
add esp, 0x10
lea eax, [esp + 0xd8]
mov byte [esp + 0x8f08], 1
call fcn.10003b92
lea eax, [esp + 0x94]
mov byte [esp + 0x8f08], bl
call fcn.10003b92
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x10005747
mov edi, dword [esp + 0x34]
jmp 0x10005739
call fcn.1000247e
add esi, 4
cmp esi, edi
jne 0x10005731
push dword [esp + 0x30]
call fcn.100095c6
pop ecx
xor eax, eax
jmp 0x10005cd2
lea eax, [esp + 0x20]
push eax
push esi
lea edi, [esp + 0x34]
call fcn.10005d78
cmp dword [esp + 0x30], ebx
jne 0x10005769
mov dword [esp + 0x1c], ebx
jmp 0x10005778
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea eax, [ecx + eax + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100095c1
cmp dword [esp + 0x20], 0
mov edi, eax
pop ecx
mov esi, edi
jbe 0x10005807
cmp dword [esp + 0x30], 0
je 0x100057ba
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
cmp ebx, eax
jb 0x100057c0
call dword [0x148b208]
mov eax, dword [esp + 0x30]
push dword [eax + ebx*4]
push esi
call dword [0x148b214]
cmp dword [esp + 0x38], 0
pop ecx
pop ecx
je 0x100057e6
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
cmp ebx, eax
jb 0x100057ec
call dword [0x148b208]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax - 8]
lea esi, [esi + eax*2]
mov word [esi], 0x3b
inc esi
inc esi
inc ebx
cmp ebx, dword [esp + 0x1c]
jb 0x100057a4
and word [esi], 0
mov eax, dword [0x1490040]
mov dword [esp + 0x20], eax
mov ecx, 0x400
lea ebx, [esp + 0x20]
mov byte [esp + 0x8f08], 3
call fcn.1000223c
push eax
call fcn.100024a6
pop ecx
mov esi, ebx
call fcn.100020b5
mov eax, dword [0x1490040]
mov dword [esp + 0x28], eax
mov byte [esp + 0x8f08], 4
mov esi, dword [0x148b210]
push edi
call esi
pop ecx
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x30]
push 0x148bf9c
push eax
call fcn.100026d7
add esp, 0x10
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.10001e43
push edi
call fcn.1000961c
and dword [esp + 0x50], 0
and dword [esp + 0x58], 0
lea eax, [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x2c]
pop ecx
inc edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], 0x1000
push dword [eax - 8]
call dword [0x148b24c]
pop ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x128]
push eax
push 0x1484a11
push 0x14849b4
call fcn.10009290
mov eax, dword [0x1490040]
mov dword [esp + 0x34], eax
mov byte [esp + 0x8f20], 5
push dword [esp + 0x6c]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x78]
call fcn.100024ea
mov eax, dword [0x1490040]
add esp, 0x24
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 0x18]
push 0x148ba2c
push eax
mov byte [esp + 0x8f14], 6
call fcn.100026d7
add esp, 0xc
push 0x148bfac
push 0x148bfb0
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfb4
push 0x148bfb8
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfbc
push 0x148bfc0
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfc4
push 0x148bfc8
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfcc
push 0x148bfd0
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfd4
push 0x148bfd8
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfdc
push 0x148bfe0
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfe4
push 0x148bfe8
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bfec
push 0x148bff0
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bff4
push 0x148bff8
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148bffc
push 0x148c000
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
push 0x148c004
push 0x148c008
lea eax, [esp + 0x1c]
push eax
call fcn.100022cd
mov eax, dword [esp + 0x14]
mov edi, dword [eax - 8]
push 0x148c030
call esi
mov dword [esp], 0x148c00c
mov dword [esp + 0x40], eax
call esi
mov ebx, eax
mov eax, dword [esp + 0x40]
add eax, edi
add ebx, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 8]
mov dword [esp + 0x1c], eax
cdq
push 0x46
pop ecx
idiv ecx
mov dword [esp], 0x148c038
mov edi, eax
inc edi
call esi
pop ecx
mov ecx, edi
imul ecx, ecx, 3
add ecx, eax
add ecx, dword [esp + 0x18]
push 2
add ecx, ebx
lea eax, [ecx + 1]
xor ecx, ecx
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100095c1
mov dword [esp], 0x148c00c
push eax
mov dword [esp + 0x2c], eax
call dword [0x148b214]
push dword [esp + 0x1c]
mov ebx, dword [0x148b264]
push dword [esp + 0x30]
call ebx
push 0x148c030
push dword [esp + 0x38]
call ebx
mov ecx, dword [esp + 0x30]
add esp, 0x18
lea ebx, [esp + 0x1c]
call fcn.1000223c
mov ebx, dword [esp + 0x24]
push ebx
mov dword [esp + 0x1c], eax
call esi
lea ebx, [ebx + eax*2]
lea eax, [edi - 1]
test eax, eax
pop ecx
jle 0x10005b03
mov dword [esp + 0x3c], eax
mov edi, 0x8c
push 0x46
push dword [esp + 0x1c]
push ebx
call dword [0x148b268]
add dword [esp + 0x24], edi
add ebx, edi
mov word [ebx], 0x3b
add esp, 0xc
inc ebx
inc ebx
mov word [ebx], 0xd
inc ebx
inc ebx
mov word [ebx], 0xa
inc ebx
inc ebx
dec dword [esp + 0x3c]
jne 0x10005ad2
push dword [esp + 0x18]
mov edi, dword [0x148b214]
push ebx
call edi
push dword [esp + 0x20]
call esi
add esp, 0xc
lea ebx, [ebx + eax*2]
push 0x148c058
push ebx
call edi
pop ecx
pop ecx
lea esi, [esp + 0x1c]
call fcn.100020b5
xor edi, edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
lea esi, [esp + 0x5c]
mov byte [esp + 0x8f08], 7
call fcn.10008fa0
cmp eax, edi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], eax
jne 0x10005b78
mov ecx, dword [esi + 0x70]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x64]
push dword [0x1490f3c]
push eax
call fcn.1000904b
push dword [esp + 0x24]
call fcn.1000961c
pop ecx
push 0xffffffffffffffff
push 0x148bf78
lea eax, [esp + 0xe0]
push eax
call fcn.10003b25
mov byte [esp + 0x8f08], 8
mov eax, dword [esi + 0x58]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.10003b25
mov byte [esp + 0x8f08], 9
push dword [esp + 0x18]
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x9c]
push eax
push 0x80000001
call dword [0x148b060]
add esp, 0x10
lea eax, [esp + 0x94]
mov byte [esp + 0x8f08], 8
call fcn.10003b92
lea eax, [esp + 0xd8]
mov byte [esp + 0x8f08], 7
call fcn.10003b92
xor ebx, ebx
cmp dword [esp + 0x18], edi
sete bl
call fcn.10005cf6
push dword [esp + 0x58]
call dword [0x148b224]
mov byte [esp + 0x8f0c], 6
cmp dword [esp + 0x94], edi
pop ecx
je 0x10005c36
lea esi, [esp + 0x5c]
call fcn.10009032
cmp dword [esp + 0x8c], edi
je 0x10005c88
push dword [esp + 0x8c]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
call dword [0x148b0ec]
lea esi, [esp + 0x14]
call fcn.1000247e
lea esi, [esp + 0x1c]
call fcn.1000247e
lea esi, [esp + 0x28]
call fcn.1000247e
lea esi, [esp + 0x20]
call fcn.1000247e
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x10005cd0
mov edi, dword [esp + 0x34]
jmp 0x10005cc2
call fcn.1000247e
add esi, 4
cmp esi, edi
jne 0x10005cba
push dword [esp + 0x30]
call fcn.100095c6
pop ecx
mov eax, ebx
mov ecx, dword [esp + 0x8f00]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8ee8]
xor ecx, esp
call fcn.10009622
mov esp, ebp
pop ebp
ret