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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x34], 0xff
cmp edi, 0x204
jae 0x523cbc
or eax, 0xffffffff
jmp 0x524128
push ebp
mov ebp, dword [esp + 0xa4]
xor eax, eax
push esi
mov esi, dword [esp + 0xa4]
push eax
push ebp
push esi
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.0050a28a
add esp, 0x18
cmp eax, 0xffffff88
ja 0x524126
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0xac]
jbe 0x523d01
push 0xffffffffffffffd4
jmp 0x524125
sub ebp, eax
lea edx, [eax + esi]
xor eax, eax
mov dword [esp + 0xa8], ebp
mov ebp, dword [esp + 0x3c]
inc eax
shl eax, cl
xor esi, esi
mov dword [esp + 0x40], eax
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x38], edx
bts ecx, eax
xor edx, edx
cmp eax, 0x20
lea ebp, [ebp*2 + 2]
push 0
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ebp, ecx
mov ecx, dword [esp + 0x44]
adc esi, edx
add ebp, 0xb
adc esi, 0
shrd ebp, esi, 2
lea eax, [ecx + 2]
shr esi, 2
cdq
add ebp, eax
pop eax
adc esi, edx
add ebp, 0x81
adc esi, eax
shld esi, ebp, 2
shl ebp, 2
cmp esi, eax
jb 0x523d77
ja 0x523cfa
cmp ebp, edi
ja 0x523cfa
mov eax, ecx
lea ebp, [ebx + 0x200]
shl eax, 2
add ecx, 0x82
sub edi, eax
sub edi, 0x208
push edi
lea eax, [ebx + ecx*4]
push eax
push dword [esp + 0x64]
push dword [esp + 0x48]
push ebx
push ebp
call fcn.00523913
add esp, 0x18
cmp eax, 0xffffff88
ja 0x524126
mov ecx, dword [esp + 0xa0]
xor eax, eax
push dword [esp + 0xa8]
add ecx, 0xfffffffd
cmp word [ebx + 0x202], ax
mov eax, dword [esp + 0xa0]
mov esi, eax
push dword [esp + 0x3c]
je 0x524150
add eax, ecx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x18]
push eax
call fcn.0050a70e
add esp, 0xc
cmp eax, 0xffffff88
ja 0x524126
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.005244c8
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.005244c8
add esp, 0x18
push 4
pop edi
mov edx, dword [esp + 0x14]
cmp edx, 0x20
jbe 0x523e30
push 3
pop ebp
jmp 0x523eb9
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x523e69
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x14], edx
push edi
push ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x20], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x10], eax
xor eax, eax
mov ebp, eax
jmp 0x523eb9
cmp ecx, dword [esp + 0x1c]
jne 0x523e79
cmp edx, 0x20
sbb ebp, ebp
add ebp, 2
jmp 0x523eb9
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x523e93
mov ebx, ecx
sub ebx, dword [esp + 0x1c]
inc ebp
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x20], ecx
add edx, eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x20], edx
call fcn.005282a0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x10], eax
cmp esi, dword [esp + 0x44]
sbb ecx, ecx
xor eax, eax
neg ecx
test ebp, ebp
sete al
test eax, ecx
je 0x523fbd
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00514083
mov byte [esi], al
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00514083
mov edx, dword [esp + 0x24]
add esp, 0x10
mov byte [esi + 1], al
cmp edx, 0x20
ja 0x523fb8
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x523f3b
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x14], edx
push edi
push ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x20], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x7c]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x523f8b
cmp ecx, dword [esp + 0x1c]
je 0x523fb8
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x523f5b
mov ebx, ecx
sub ebx, dword [esp + 0x1c]
inc ebp
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x20], ecx
add edx, eax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x20], edx
call fcn.005282a0
mov eax, dword [esp + 0x80]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x10], eax
test ebp, ebp
jne 0x523fbb
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00514083
mov byte [ebx], al
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00514083
add esp, 0x10
mov byte [esi + 3], al
add esi, edi
jmp 0x523e1f
lea ebx, [esi + 2]
mov esi, ebx
mov ebp, dword [esp + 0x9c]
jmp 0x52410f
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00514083
mov edx, dword [esp + 0x1c]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x52413c
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x524018
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x14], edx
push edi
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x50]
jmp 0x524058
cmp ecx, dword [esp + 0x1c]
je 0x52405f
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x524033
mov ebx, ecx
sub ebx, dword [esp + 0x1c]
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x20], ecx
add edx, eax
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x20], edx
call fcn.005282a0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, dword [esp + 0xa0]
add eax, 0xfffffffe
add eax, ebp
cmp esi, eax
ja 0x524123
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00514083
mov edx, dword [esp + 0x1c]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x524131
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x5240c8
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x14], edx
push edi
push ecx
lea eax, [esp + 0x84]
mov dword [esp + 0x20], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x88]
jmp 0x524108
cmp ecx, dword [esp + 0x1c]
je 0x52410f
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x5240e3
mov ebx, ecx
sub ebx, dword [esp + 0x1c]
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x20], ecx
add edx, eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x20], edx
call fcn.005282a0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, dword [esp + 0xa0]
add eax, 0xfffffffe
add eax, ebp
cmp esi, eax
jbe 0x523fc9
push 0xffffffffffffffba
pop eax
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x88
ret
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
jmp 0x524145
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00514083
jmp 0x5244ba
add eax, ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x2c]
push eax
call fcn.0050a70e
add esp, 0xc
cmp eax, 0xffffff88
ja 0x524126
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.005244c8
push ebp
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.005244c8
add esp, 0x18
push 4
pop edi
mov edx, dword [esp + 0x28]
cmp edx, 0x20
jbe 0x52419f
push 3
pop ebp
jmp 0x524234
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x5241de
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x28], edx
push edi
push ecx
lea eax, [esp + 0x8c]
mov dword [esp + 0x34], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x90]
add esp, 0xc
mov dword [esp + 0x24], eax
xor eax, eax
mov ebp, eax
jmp 0x524234
cmp ecx, dword [esp + 0x30]
jne 0x5241ee
cmp edx, 0x20
sbb ebp, ebp
add ebp, 2
jmp 0x524234
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x524208
mov ebx, ecx
sub ebx, dword [esp + 0x30]
inc ebp
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x34], ecx
add edx, eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x34], edx
call fcn.005282a0
mov eax, dword [esp + 0x94]
add esp, 0xc
mov dword [esp + 0x24], eax
cmp esi, dword [esp + 0x48]
sbb ecx, ecx
xor eax, eax
neg ecx
test ebp, ebp
sete al
test eax, ecx
je 0x524341
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00523c32
mov byte [esi], al
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00523c32
mov edx, dword [esp + 0x38]
add esp, 0x10
mov byte [esi + 1], al
cmp edx, 0x20
ja 0x52433c
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x5242bc
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x28], edx
push edi
push ecx
lea eax, [esp + 0x94]
mov dword [esp + 0x34], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x98]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x52430f
cmp ecx, dword [esp + 0x30]
je 0x52433c
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x5242dc
mov ebx, ecx
sub ebx, dword [esp + 0x30]
inc ebp
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x34], ecx
add edx, eax
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x34], edx
call fcn.005282a0
mov eax, dword [esp + 0x9c]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x24], eax
test ebp, ebp
jne 0x52433f
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00523c32
mov byte [ebx], al
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00523c32
add esp, 0x10
mov byte [esi + 3], al
add esi, edi
jmp 0x52418e
lea ebx, [esi + 2]
mov esi, ebx
mov ebp, dword [esp + 0x9c]
jmp 0x524487
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00523c32
mov edx, dword [esp + 0x30]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x5244ab
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x52439c
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x28], edx
push edi
push ecx
lea eax, [esp + 0x50]
mov dword [esp + 0x34], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x54]
jmp 0x5243dc
cmp ecx, dword [esp + 0x30]
je 0x5243e3
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x5243b7
mov ebx, ecx
sub ebx, dword [esp + 0x30]
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x34], ecx
add edx, eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x34], edx
call fcn.005282a0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0xa0]
add eax, 0xfffffffe
add eax, ebp
cmp esi, eax
ja 0x524123
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00523c32
mov edx, dword [esp + 0x30]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x5244a0
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x524446
mov eax, edx
and edx, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x28], edx
push edi
push ecx
lea eax, [esp + 0x54]
mov dword [esp + 0x34], ecx
push eax
call fcn.005282a0
mov eax, dword [esp + 0x58]
jmp 0x524480
cmp ecx, dword [esp + 0x30]
je 0x524487
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x524461
mov ebx, ecx
sub ebx, dword [esp + 0x30]
imul eax, ebx, 0xfffffff8
sub ecx, ebx
push edi
push ecx
mov dword [esp + 0x34], ecx
add edx, eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x34], edx
call fcn.005282a0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
add esp, 0xc
mov eax, dword [esp + 0xa0]
add eax, 0xfffffffe
add eax, ebp
cmp esi, eax
jbe 0x52434d
jmp 0x524123
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
jmp 0x5244b4
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00523c32
mov byte [esi], al
sub esi, ebp
pop ecx
pop ecx
lea eax, [esi + 1]
jmp 0x524126