Function at 0x526240
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 0x526266
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.006240fc
add esp, 4
cmp byte [esi + 4], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
je 0x526347
cmp byte [esi + 0x23], 0
je 0x526347
add esi, 0x24
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00621371
add esp, 8
test eax, eax
jne 0x5262a7
mov ebp, dword [esp + 0x54]
jmp 0x5262aa
or ebp, 0xffffffff
lea ecx, [esp + 0x74]
push esi
push ecx
call fcn.00621371
add esp, 8
test eax, eax
jne 0x5262c2
mov ebx, dword [esp + 0x7c]
jmp 0x5262c5
or ebx, 0xffffffff
mov edi, dword [esp + 0x14]
add edi, 0x2c
lea edx, [esp + 0x98]
push edi
push edx
call fcn.00621371
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.00621371
add esp, 0x10
test eax, eax
jne 0x526302
mov eax, dword [esp + 0x3c]
inc eax
jmp 0x526304
xor eax, eax
push 0xffffffffffffffff
push 0
push ebp
push ebx
push esi
push eax
mov ecx, edi
call fcn.0043c230
push eax
lea ecx, [esp + 0x30]
call fcn.004b3290
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
jl 0x52633d
jg case.default.0x526598
cmp ecx, eax
ja case.default.0x526598
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.00621371
add esp, 8
test eax, eax
jne 0x526364
mov eax, dword [esp + 0x44]
inc eax
jmp 0x526366
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x526370
jmp dword [eax*4 + 0x52694c]
mov ecx, esi
test byte [ecx + 0x3c], 0x40
jmp 0x5263ad
mov edx, esi
test byte [edx + 0x3c], 1
jmp 0x5263ad
mov eax, esi
test byte [eax + 0x3c], 2
jmp 0x5263ad
mov ecx, esi
test byte [ecx + 0x3c], 4
jmp 0x5263ad
mov edx, esi
test byte [edx + 0x3c], 8
jmp 0x5263ad
mov eax, esi
test byte [eax + 0x3c], 0x10
jmp 0x5263ad
mov ecx, esi
test byte [ecx + 0x3c], 0x20
je case.default.0x526370
add esi, 0x24
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.00621371
add esp, 8
test eax, eax
jne 0x5263ce
mov edi, dword [esp + 0x30]
jmp 0x5263d1
or edi, 0xffffffff
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00621371
add esp, 8
test eax, eax
jne 0x5263ef
mov ebp, dword [esp + 0xa0]
jmp 0x5263f2
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00621371
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.00621371
add esp, 0x10
test eax, eax
jne 0x52642d
mov ebx, dword [esp + 0x60]
inc ebx
jmp 0x52642f
xor ebx, ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.00621371
add esp, 8
test eax, eax
jne 0x526456
mov eax, dword [esp + 0xd0]
add eax, 0x76c
jmp 0x526458
xor eax, eax
push 0xffffffffffffffff
push 0
push edi
push ebp
push esi
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.004b3290
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
jg 0x52648e
jl 0x526482
cmp ebx, esi
jae 0x52648e
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.0x526370
cmp byte [edi + 0xc], 0
je case.default.0x526370
cmp byte [edi + 0x22], 0
je 0x526501
push 0xffffffffffffffff
lea ebx, [edi + 0x34]
push 0
mov ecx, ebx
call fcn.00453b20
push eax
mov ecx, ebx
call fcn.00453af0
push eax
lea ecx, [esp + 0x2c]
call fcn.0043c290
push eax
lea ecx, [esp + 0x30]
call fcn.0043c260
push eax
lea ecx, [esp + 0x34]
call fcn.0043c230
push eax
lea ecx, [esp + 0x40]
call fcn.004b3290
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
lea ecx, [esp + 0x2c]
call fcn.00525620
test al, al
jne case.default.0x526370
mov eax, dword [edi + 8]
test eax, eax
je case.default.0x526370
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.0043c290
push eax
lea ecx, [esp + 0x30]
call fcn.0043c260
push eax
lea ecx, [esp + 0x34]
call fcn.0043c230
push eax
lea ecx, [esp + 0x40]
call fcn.004b3290
mov ecx, dword [esp + 0x24]
cmp esi, ecx
jge case.default.0x526370
lea esp, [esp]
cmp esi, ebx
jg 0x526482
mov eax, dword [edi + 8]
mov edx, eax
shl edx, 4
sub edx, eax
lea esi, [esi + edx*4]
cmp esi, ecx
jl 0x526550
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.00621371
add esp, 8
test eax, eax
jne 0x52658c
mov eax, dword [esp + 0xd4]
inc eax
jmp 0x52658e
xor eax, eax
dec eax
cmp eax, 6
ja case.default.0x526598
jmp dword [eax*4 + 0x526968]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 1
jne 0x52684e
test al, 2
je 0x5265bc
mov esi, 2
jmp 0x526853
test al, 4
je 0x5265ca
mov esi, 3
jmp 0x526853
test al, 8
je 0x5265d8
mov esi, 4
jmp 0x526853
test al, 0x10
je 0x5265e6
mov esi, 5
jmp 0x526853
test al, 0x20
je 0x5265f4
mov esi, 6
jmp 0x526853
test al, 0x40
je case.default.0x526598
mov esi, 7
jmp 0x526853
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 2
jne 0x52684e
test al, 4
je 0x526623
mov esi, 2
jmp 0x526853
test al, 8
je 0x526631
mov esi, 3
jmp 0x526853
test al, 0x10
je 0x52663f
mov esi, 4
jmp 0x526853
test al, 0x20
je 0x52664d
mov esi, 5
jmp 0x526853
test al, 0x40
je 0x52665b
mov esi, 6
jmp 0x526853
test al, 1
je case.default.0x526598
mov esi, 7
jmp 0x526853
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 4
jne 0x52684e
test al, 8
je 0x52668a
mov esi, 2
jmp 0x526853
test al, 0x10
je 0x526698
mov esi, 3
jmp 0x526853
test al, 0x20
je 0x5266a6
mov esi, 4
jmp 0x526853
test al, 0x40
je 0x5266b4
mov esi, 5
jmp 0x526853
test al, 1
je 0x5266c2
mov esi, 6
jmp 0x526853
test al, 2
je case.default.0x526598
mov esi, 7
jmp 0x526853
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 8
jne 0x52684e
test al, 0x10
je 0x5266f1
mov esi, 2
jmp 0x526853
test al, 0x20
je 0x5266ff
mov esi, 3
jmp 0x526853
test al, 0x40
je 0x52670d
mov esi, 4
jmp 0x526853
test al, 1
je 0x52671b
mov esi, 5
jmp 0x526853
test al, 2
je 0x526729
mov esi, 6
jmp 0x526853
test al, 4
je case.default.0x526598
mov esi, 7
jmp 0x526853
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x10
jne 0x52684e
test al, 0x20
je 0x526758
mov esi, 2
jmp 0x526853
test al, 0x40
je 0x526766
mov esi, 3
jmp 0x526853
test al, 1
je 0x526774
mov esi, 4
jmp 0x526853
test al, 2
je 0x526782
mov esi, 5
jmp 0x526853
test al, 4
je 0x526790
mov esi, 6
jmp 0x526853
test al, 8
je case.default.0x526598
mov esi, 7
jmp 0x526853
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x20
jne 0x52684e
test al, 0x40
je 0x5267bf
mov esi, 2
jmp 0x526853
test al, 1
je 0x5267cd
mov esi, 3
jmp 0x526853
test al, 2
je 0x5267d8
mov esi, 4
jmp 0x526853
test al, 4
je 0x5267e3
mov esi, 5
jmp 0x526853
test al, 8
je 0x5267ee
mov esi, 6
jmp 0x526853
test al, 0x10
je case.default.0x526598
mov esi, 7
jmp 0x526853
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3c]
test al, 0x40
jne 0x52684e
test al, 1
je 0x526813
mov esi, 2
jmp 0x526853
test al, 2
je 0x52681e
mov esi, 3
jmp 0x526853
test al, 4
je 0x526829
mov esi, 4
jmp 0x526853
test al, 8
je 0x526834
mov esi, 5
jmp 0x526853
test al, 0x10
je 0x52683f
mov esi, 6
jmp 0x526853
test al, 0x20
je case.default.0x526598
mov esi, 7
jmp 0x526853
mov esi, 1
lea edi, [ecx + 0x24]
lea edx, [esp + 0xbc]
push edi
push edx
call fcn.00621371
add esp, 8
test eax, eax
jne 0x526878
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x14], eax
jmp 0x526880
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.00621371
add esp, 8
test eax, eax
jne 0x526898
mov ebp, dword [esp + 0x34]
jmp 0x52689b
or ebp, 0xffffffff
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.00621371
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.00621371
add esp, 0x10
test eax, eax
jne 0x5268df
mov ebx, dword [esp + 0x84]
inc ebx
jmp 0x5268e1
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00621371
add esp, 8
test eax, eax
jne 0x526902
mov eax, dword [esp + 0x64]
add eax, 0x76c
jmp 0x526904
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.004b3290
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x24]
call fcn.005255c0
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