Function at 0x526370
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 0x526396
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.006241cc
add esp, 4
cmp byte [esi + 4], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
je 0x526477
cmp byte [esi + 0x23], 0
je 0x526477
add esi, 0x24
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00621441
add esp, 8
test eax, eax
jne 0x5263d7
mov ebp, dword [esp + 0x54]
jmp 0x5263da
or ebp, 0xffffffff
lea ecx, [esp + 0x74]
push esi
push ecx
call fcn.00621441
add esp, 8
test eax, eax
jne 0x5263f2
mov ebx, dword [esp + 0x7c]
jmp 0x5263f5
or ebx, 0xffffffff
mov edi, dword [esp + 0x14]
add edi, 0x2c
lea edx, [esp + 0x98]
push edi
push edx
call fcn.00621441
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.00621441
add esp, 0x10
test eax, eax
jne 0x526432
mov eax, dword [esp + 0x3c]
inc eax
jmp 0x526434
xor eax, eax
push 0xffffffffffffffff
push 0
push ebp
push ebx
push esi
push eax
mov ecx, edi
call fcn.0043ba60
push eax
lea ecx, [esp + 0x30]
call fcn.004b30b0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
jl 0x52646d
jg case.default.0x5266c8
cmp ecx, eax
ja case.default.0x5266c8
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.00621441
add esp, 8
test eax, eax
jne 0x526494
mov eax, dword [esp + 0x44]
inc eax
jmp 0x526496
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x5264a0
jmp dword [eax*4 + 0x526a7c]
mov ecx, esi
test byte [ecx + 0x3c], 0x40
jmp 0x5264dd
mov edx, esi
test byte [edx + 0x3c], 1
jmp 0x5264dd
mov eax, esi
test byte [eax + 0x3c], 2
jmp 0x5264dd
mov ecx, esi
test byte [ecx + 0x3c], 4
jmp 0x5264dd
mov edx, esi
test byte [edx + 0x3c], 8
jmp 0x5264dd
mov eax, esi
test byte [eax + 0x3c], 0x10
jmp 0x5264dd
mov ecx, esi
test byte [ecx + 0x3c], 0x20
je case.default.0x5264a0
add esi, 0x24
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00621441
add esp, 8
test eax, eax
jne 0x5264fe
mov edi, dword [esp + 0x30]
jmp 0x526501
or edi, 0xffffffff
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00621441
add esp, 8
test eax, eax
jne 0x52651f
mov ebp, dword [esp + 0xa0]
jmp 0x526522
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00621441
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.00621441
add esp, 0x10
test eax, eax
jne 0x52655d
mov ebx, dword [esp + 0x60]
inc ebx
jmp 0x52655f
xor ebx, ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.00621441
add esp, 8
test eax, eax
jne 0x526586
mov eax, dword [esp + 0xd0]
add eax, 0x76c
jmp 0x526588
xor eax, eax
push 0xffffffffffffffff
push 0
push edi
push ebp
push esi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004b30b0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
jg 0x5265be
jl 0x5265b2
cmp ebx, esi
jae 0x5265be
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.0x5264a0
cmp byte [edi + 0xc], 0
je case.default.0x5264a0
cmp byte [edi + 0x22], 0
je 0x526631
push 0xffffffffffffffff
lea ebx, [edi + 0x34]
push 0
mov ecx, ebx
call fcn.004532f0
push eax
mov ecx, ebx
call fcn.004532c0
push eax
lea ecx, [esp + 0x2c]
call fcn.0043bac0
push eax
lea ecx, [esp + 0x30]
call fcn.0043ba90
push eax
lea ecx, [esp + 0x34]
call fcn.0043ba60
push eax
lea ecx, [esp + 0x40]
call fcn.004b30b0
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
lea ecx, [esp + 0x2c]
call fcn.00525750
test al, al
jne case.default.0x5264a0
mov eax, dword [edi + 8]
test eax, eax
je case.default.0x5264a0
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.0043bac0
push eax
lea ecx, [esp + 0x30]
call fcn.0043ba90
push eax
lea ecx, [esp + 0x34]
call fcn.0043ba60
push eax
lea ecx, [esp + 0x40]
call fcn.004b30b0
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jge case.default.0x5264a0
lea esp, [esp]
cmp esi, ebx
jg 0x5265b2
mov eax, dword [edi + 8]
mov edx, eax
shl edx, 4
sub edx, eax
lea esi, [esi + edx*4]
cmp esi, ecx
jl 0x526680
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.00621441
add esp, 8
test eax, eax
jne 0x5266bc
mov eax, dword [esp + 0xd4]
inc eax
jmp 0x5266be
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x5266c8
jmp dword [eax*4 + 0x526a98]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 1
jne 0x52697e
test al, 2
je 0x5266ec
mov esi, 2
jmp 0x526983
test al, 4
je 0x5266fa
mov esi, 3
jmp 0x526983
test al, 8
je 0x526708
mov esi, 4
jmp 0x526983
test al, 0x10
je 0x526716
mov esi, 5
jmp 0x526983
test al, 0x20
je 0x526724
mov esi, 6
jmp 0x526983
test al, 0x40
je case.default.0x5266c8
mov esi, 7
jmp 0x526983
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 2
jne 0x52697e
test al, 4
je 0x526753
mov esi, 2
jmp 0x526983
test al, 8
je 0x526761
mov esi, 3
jmp 0x526983
test al, 0x10
je 0x52676f
mov esi, 4
jmp 0x526983
test al, 0x20
je 0x52677d
mov esi, 5
jmp 0x526983
test al, 0x40
je 0x52678b
mov esi, 6
jmp 0x526983
test al, 1
je case.default.0x5266c8
mov esi, 7
jmp 0x526983
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 4
jne 0x52697e
test al, 8
je 0x5267ba
mov esi, 2
jmp 0x526983
test al, 0x10
je 0x5267c8
mov esi, 3
jmp 0x526983
test al, 0x20
je 0x5267d6
mov esi, 4
jmp 0x526983
test al, 0x40
je 0x5267e4
mov esi, 5
jmp 0x526983
test al, 1
je 0x5267f2
mov esi, 6
jmp 0x526983
test al, 2
je case.default.0x5266c8
mov esi, 7
jmp 0x526983
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 8
jne 0x52697e
test al, 0x10
je 0x526821
mov esi, 2
jmp 0x526983
test al, 0x20
je 0x52682f
mov esi, 3
jmp 0x526983
test al, 0x40
je 0x52683d
mov esi, 4
jmp 0x526983
test al, 1
je 0x52684b
mov esi, 5
jmp 0x526983
test al, 2
je 0x526859
mov esi, 6
jmp 0x526983
test al, 4
je case.default.0x5266c8
mov esi, 7
jmp 0x526983
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x10
jne 0x52697e
test al, 0x20
je 0x526888
mov esi, 2
jmp 0x526983
test al, 0x40
je 0x526896
mov esi, 3
jmp 0x526983
test al, 1
je 0x5268a4
mov esi, 4
jmp 0x526983
test al, 2
je 0x5268b2
mov esi, 5
jmp 0x526983
test al, 4
je 0x5268c0
mov esi, 6
jmp 0x526983
test al, 8
je case.default.0x5266c8
mov esi, 7
jmp 0x526983
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x20
jne 0x52697e
test al, 0x40
je 0x5268ef
mov esi, 2
jmp 0x526983
test al, 1
je 0x5268fd
mov esi, 3
jmp 0x526983
test al, 2
je 0x526908
mov esi, 4
jmp 0x526983
test al, 4
je 0x526913
mov esi, 5
jmp 0x526983
test al, 8
je 0x52691e
mov esi, 6
jmp 0x526983
test al, 0x10
je case.default.0x5266c8
mov esi, 7
jmp 0x526983
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x40
jne 0x52697e
test al, 1
je 0x526943
mov esi, 2
jmp 0x526983
test al, 2
je 0x52694e
mov esi, 3
jmp 0x526983
test al, 4
je 0x526959
mov esi, 4
jmp 0x526983
test al, 8
je 0x526964
mov esi, 5
jmp 0x526983
test al, 0x10
je 0x52696f
mov esi, 6
jmp 0x526983
test al, 0x20
je case.default.0x5266c8
mov esi, 7
jmp 0x526983
mov esi, 1
lea edi, [ecx + 0x24]
lea edx, [esp + 0xbc]
push edi
push edx
call fcn.00621441
add esp, 8
test eax, eax
jne 0x5269a8
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x14], eax
jmp 0x5269b0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00621441
add esp, 8
test eax, eax
jne 0x5269c8
mov ebp, dword [esp + 0x34]
jmp 0x5269cb
or ebp, 0xffffffff
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.00621441
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.00621441
add esp, 0x10
test eax, eax
jne 0x526a0f
mov ebx, dword [esp + 0x84]
inc ebx
jmp 0x526a11
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00621441
add esp, 8
test eax, eax
jne 0x526a32
mov eax, dword [esp + 0x64]
add eax, 0x76c
jmp 0x526a34
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.004b30b0
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.005256f0
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