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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi + 0x21], 0
push edi
mov dword [esp + 0x14], esi
jne 0x525016
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.0062128c
add esp, 4
cmp byte [esi + 4], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
je 0x5250f7
cmp byte [esi + 0x23], 0
je 0x5250f7
add esi, 0x24
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x525057
mov ebp, dword [esp + 0x54]
jmp 0x52505a
or ebp, 0xffffffff
lea ecx, [esp + 0x74]
push esi
push ecx
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x525072
mov ebx, dword [esp + 0x7c]
jmp 0x525075
or ebx, 0xffffffff
mov edi, dword [esp + 0x14]
add edi, 0x2c
lea edx, [esp + 0x98]
push edi
push edx
call fcn.0061e501
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x34]
push edi
not esi
and esi, dword [esp + 0xb0]
push eax
call fcn.0061e501
add esp, 0x10
test eax, eax
jne 0x5250b2
mov eax, dword [esp + 0x3c]
inc eax
jmp 0x5250b4
xor eax, eax
push 0xffffffffffffffff
push 0
push ebp
push ebx
push esi
push eax
mov ecx, edi
call fcn.0043b950
push eax
lea ecx, [esp + 0x30]
call fcn.004b21f0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
jl 0x5250ed
jg case.default.0x525348
cmp ecx, eax
ja case.default.0x525348
sub eax, ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x525114
mov eax, dword [esp + 0x44]
inc eax
jmp 0x525116
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x525120
jmp dword [eax*4 + 0x5256fc]
mov ecx, esi
test byte [ecx + 0x3c], 0x40
jmp 0x52515d
mov edx, esi
test byte [edx + 0x3c], 1
jmp 0x52515d
mov eax, esi
test byte [eax + 0x3c], 2
jmp 0x52515d
mov ecx, esi
test byte [ecx + 0x3c], 4
jmp 0x52515d
mov edx, esi
test byte [edx + 0x3c], 8
jmp 0x52515d
mov eax, esi
test byte [eax + 0x3c], 0x10
jmp 0x52515d
mov ecx, esi
test byte [ecx + 0x3c], 0x20
je case.default.0x525120
add esi, 0x24
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x52517e
mov edi, dword [esp + 0x30]
jmp 0x525181
or edi, 0xffffffff
lea eax, [esp + 0x98]
push esi
push eax
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x52519f
mov ebp, dword [esp + 0xa0]
jmp 0x5251a2
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0061e501
mov esi, eax
neg esi
sbb esi, esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x5c]
not esi
and esi, dword [esp + 0x8c]
push ecx
call fcn.0061e501
add esp, 0x10
test eax, eax
jne 0x5251dd
mov ebx, dword [esp + 0x60]
inc ebx
jmp 0x5251df
xor ebx, ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x525206
mov eax, dword [esp + 0xd0]
add eax, 0x76c
jmp 0x525208
xor eax, eax
push 0xffffffffffffffff
push 0
push edi
push ebp
push esi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004b21f0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
jg 0x52523e
jl 0x525232
cmp ebx, esi
jae 0x52523e
mov eax, esi
sub eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
cmp byte [edi + 4], 0
jne case.default.0x525120
cmp byte [edi + 0xc], 0
je case.default.0x525120
cmp byte [edi + 0x22], 0
je 0x5252b1
push 0xffffffffffffffff
lea ebx, [edi + 0x34]
push 0
mov ecx, ebx
call fcn.00452d70
push eax
mov ecx, ebx
call fcn.00452d40
push eax
lea ecx, [esp + 0x2c]
call fcn.0043b9b0
push eax
lea ecx, [esp + 0x30]
call fcn.0043b980
push eax
lea ecx, [esp + 0x34]
call fcn.0043b950
push eax
lea ecx, [esp + 0x40]
call fcn.004b21f0
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
lea ecx, [esp + 0x2c]
call fcn.005243d0
test al, al
jne case.default.0x525120
mov eax, dword [edi + 8]
test eax, eax
je case.default.0x525120
push 0xffffffffffffffff
mov ecx, eax
shl ecx, 4
push 0x3b
sub ecx, eax
push 0x3b
lea esi, [esi + ecx*4]
push 0x17
lea ecx, [esp + 0x2c]
call fcn.0043b9b0
push eax
lea ecx, [esp + 0x30]
call fcn.0043b980
push eax
lea ecx, [esp + 0x34]
call fcn.0043b950
push eax
lea ecx, [esp + 0x40]
call fcn.004b21f0
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jge case.default.0x525120
lea esp, [esp]
cmp esi, ebx
jg 0x525232
mov eax, dword [edi + 8]
mov edx, eax
shl edx, 4
sub edx, eax
lea esi, [esi + edx*4]
cmp esi, ecx
jl 0x525300
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x52533c
mov eax, dword [esp + 0xd4]
inc eax
jmp 0x52533e
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x525348
jmp dword [eax*4 + 0x525718]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 1
jne 0x5255fe
test al, 2
je 0x52536c
mov esi, 2
jmp 0x525603
test al, 4
je 0x52537a
mov esi, 3
jmp 0x525603
test al, 8
je 0x525388
mov esi, 4
jmp 0x525603
test al, 0x10
je 0x525396
mov esi, 5
jmp 0x525603
test al, 0x20
je 0x5253a4
mov esi, 6
jmp 0x525603
test al, 0x40
je case.default.0x525348
mov esi, 7
jmp 0x525603
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 2
jne 0x5255fe
test al, 4
je 0x5253d3
mov esi, 2
jmp 0x525603
test al, 8
je 0x5253e1
mov esi, 3
jmp 0x525603
test al, 0x10
je 0x5253ef
mov esi, 4
jmp 0x525603
test al, 0x20
je 0x5253fd
mov esi, 5
jmp 0x525603
test al, 0x40
je 0x52540b
mov esi, 6
jmp 0x525603
test al, 1
je case.default.0x525348
mov esi, 7
jmp 0x525603
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 4
jne 0x5255fe
test al, 8
je 0x52543a
mov esi, 2
jmp 0x525603
test al, 0x10
je 0x525448
mov esi, 3
jmp 0x525603
test al, 0x20
je 0x525456
mov esi, 4
jmp 0x525603
test al, 0x40
je 0x525464
mov esi, 5
jmp 0x525603
test al, 1
je 0x525472
mov esi, 6
jmp 0x525603
test al, 2
je case.default.0x525348
mov esi, 7
jmp 0x525603
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 8
jne 0x5255fe
test al, 0x10
je 0x5254a1
mov esi, 2
jmp 0x525603
test al, 0x20
je 0x5254af
mov esi, 3
jmp 0x525603
test al, 0x40
je 0x5254bd
mov esi, 4
jmp 0x525603
test al, 1
je 0x5254cb
mov esi, 5
jmp 0x525603
test al, 2
je 0x5254d9
mov esi, 6
jmp 0x525603
test al, 4
je case.default.0x525348
mov esi, 7
jmp 0x525603
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x10
jne 0x5255fe
test al, 0x20
je 0x525508
mov esi, 2
jmp 0x525603
test al, 0x40
je 0x525516
mov esi, 3
jmp 0x525603
test al, 1
je 0x525524
mov esi, 4
jmp 0x525603
test al, 2
je 0x525532
mov esi, 5
jmp 0x525603
test al, 4
je 0x525540
mov esi, 6
jmp 0x525603
test al, 8
je case.default.0x525348
mov esi, 7
jmp 0x525603
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x20
jne 0x5255fe
test al, 0x40
je 0x52556f
mov esi, 2
jmp 0x525603
test al, 1
je 0x52557d
mov esi, 3
jmp 0x525603
test al, 2
je 0x525588
mov esi, 4
jmp 0x525603
test al, 4
je 0x525593
mov esi, 5
jmp 0x525603
test al, 8
je 0x52559e
mov esi, 6
jmp 0x525603
test al, 0x10
je case.default.0x525348
mov esi, 7
jmp 0x525603
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x40
jne 0x5255fe
test al, 1
je 0x5255c3
mov esi, 2
jmp 0x525603
test al, 2
je 0x5255ce
mov esi, 3
jmp 0x525603
test al, 4
je 0x5255d9
mov esi, 4
jmp 0x525603
test al, 8
je 0x5255e4
mov esi, 5
jmp 0x525603
test al, 0x10
je 0x5255ef
mov esi, 6
jmp 0x525603
test al, 0x20
je case.default.0x525348
mov esi, 7
jmp 0x525603
mov esi, 1
lea edi, [ecx + 0x24]
lea edx, [esp + 0xbc]
push edi
push edx
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x525628
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x14], eax
jmp 0x525630
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x525648
mov ebp, dword [esp + 0x34]
jmp 0x52564b
or ebp, 0xffffffff
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.0061e501
mov edi, eax
neg edi
sbb edi, edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x80]
not edi
and edi, dword [esp + 0xb0]
push edx
call fcn.0061e501
add esp, 0x10
test eax, eax
jne 0x52568f
mov ebx, dword [esp + 0x84]
inc ebx
jmp 0x525691
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0061e501
add esp, 8
test eax, eax
jne 0x5256b2
mov eax, dword [esp + 0x64]
add eax, 0x76c
jmp 0x5256b4
xor eax, eax
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push edx
push ebp
push edi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004b21f0
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.00524370
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 4]
add edx, ecx
mov ecx, dword [esp + 0x28]
adc ecx, eax
mov eax, edx
sub eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret