Function at 0x523bd9
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 0x523c07
or eax, 0xffffffff
jmp 0x524073
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.0050a27b
add esp, 0x18
cmp eax, 0xffffff88
ja 0x524071
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0xac]
jbe 0x523c4c
push 0xffffffffffffffd4
jmp 0x524070
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 0x523cc2
ja 0x523c45
cmp ebp, edi
ja 0x523c45
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.00523870
add esp, 0x18
cmp eax, 0xffffff88
ja 0x524071
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 0x52409b
add eax, ecx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x18]
push eax
call fcn.0050a6d6
add esp, 0xc
cmp eax, 0xffffff88
ja 0x524071
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00524413
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00524413
add esp, 0x18
push 4
pop edi
mov edx, dword [esp + 0x14]
cmp edx, 0x20
jbe 0x523d7b
push 3
pop ebp
jmp 0x523e04
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x523db4
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.005282e0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x10], eax
xor eax, eax
mov ebp, eax
jmp 0x523e04
cmp ecx, dword [esp + 0x1c]
jne 0x523dc4
cmp edx, 0x20
sbb ebp, ebp
add ebp, 2
jmp 0x523e04
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x523dde
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.005282e0
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 0x523f08
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00513fde
mov byte [esi], al
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00513fde
mov edx, dword [esp + 0x24]
add esp, 0x10
mov byte [esi + 1], al
cmp edx, 0x20
ja 0x523f03
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x523e86
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.005282e0
mov eax, dword [esp + 0x7c]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x523ed6
cmp ecx, dword [esp + 0x1c]
je 0x523f03
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x523ea6
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.005282e0
mov eax, dword [esp + 0x80]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x10], eax
test ebp, ebp
jne 0x523f06
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00513fde
mov byte [ebx], al
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00513fde
add esp, 0x10
mov byte [esi + 3], al
add esi, edi
jmp 0x523d6a
lea ebx, [esi + 2]
mov esi, ebx
mov ebp, dword [esp + 0x9c]
jmp 0x52405a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00513fde
mov edx, dword [esp + 0x1c]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x524087
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x523f63
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.005282e0
mov eax, dword [esp + 0x50]
jmp 0x523fa3
cmp ecx, dword [esp + 0x1c]
je 0x523faa
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x523f7e
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.005282e0
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 0x52406e
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00513fde
mov edx, dword [esp + 0x1c]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x52407c
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
jb 0x524013
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.005282e0
mov eax, dword [esp + 0x88]
jmp 0x524053
cmp ecx, dword [esp + 0x1c]
je 0x52405a
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x1c]
jae 0x52402e
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.005282e0
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 0x523f14
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 0x524090
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00513fde
jmp 0x524405
add eax, ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x2c]
push eax
call fcn.0050a6d6
add esp, 0xc
cmp eax, 0xffffff88
ja 0x524071
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00524413
push ebp
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00524413
add esp, 0x18
push 4
pop edi
mov edx, dword [esp + 0x28]
cmp edx, 0x20
jbe 0x5240ea
push 3
pop ebp
jmp 0x52417f
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x524129
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.005282e0
mov eax, dword [esp + 0x90]
add esp, 0xc
mov dword [esp + 0x24], eax
xor eax, eax
mov ebp, eax
jmp 0x52417f
cmp ecx, dword [esp + 0x30]
jne 0x524139
cmp edx, 0x20
sbb ebp, ebp
add ebp, 2
jmp 0x52417f
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x524153
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.005282e0
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 0x52428c
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00523b7d
mov byte [esi], al
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00523b7d
mov edx, dword [esp + 0x38]
add esp, 0x10
mov byte [esi + 1], al
cmp edx, 0x20
ja 0x524287
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x524207
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.005282e0
mov eax, dword [esp + 0x98]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x52425a
cmp ecx, dword [esp + 0x30]
je 0x524287
xor eax, eax
mov ebx, edx
mov ebp, eax
shr ebx, 3
mov eax, ecx
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x524227
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.005282e0
mov eax, dword [esp + 0x9c]
lea ebx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x24], eax
test ebp, ebp
jne 0x52428a
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00523b7d
mov byte [ebx], al
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00523b7d
add esp, 0x10
mov byte [esi + 3], al
add esi, edi
jmp 0x5240d9
lea ebx, [esi + 2]
mov esi, ebx
mov ebp, dword [esp + 0x9c]
jmp 0x5243d2
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00523b7d
mov edx, dword [esp + 0x30]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x5243f6
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x5242e7
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.005282e0
mov eax, dword [esp + 0x54]
jmp 0x524327
cmp ecx, dword [esp + 0x30]
je 0x52432e
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x524302
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.005282e0
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 0x52406e
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00523b7d
mov edx, dword [esp + 0x30]
mov byte [esi], al
inc esi
pop ecx
pop ecx
cmp edx, 0x20
ja 0x5243eb
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x34]
jb 0x524391
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.005282e0
mov eax, dword [esp + 0x58]
jmp 0x5243cb
cmp ecx, dword [esp + 0x30]
je 0x5243d2
mov ebx, edx
mov eax, ecx
shr ebx, 3
sub eax, ebx
cmp eax, dword [esp + 0x30]
jae 0x5243ac
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.005282e0
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 0x524298
jmp 0x52406e
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x64]
jmp 0x5243ff
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00523b7d
mov byte [esi], al
sub esi, ebp
pop ecx
pop ecx
lea eax, [esi + 1]
jmp 0x524071