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

Disassembly:
push 0xffffffffffffffff
push 0x5dd2c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
push 4
push ecx
mov dword [esp + 0x54], esi
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov dword [esp + 0xac], ebp
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60f02c
call fcn.00558100
or ebx, 0xffffffff
mov ecx, 0x619a58
mov dword [esp + 0xac], ebx
call fcn.00543af0
cmp ax, 3
je 0x525ab9
xor ax, ax
jmp 0x526292
push ebp
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov dword [esp + 0xac], 1
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60e420
call fcn.00558100
mov ecx, 0x619a58
mov dword [esp + 0xac], ebx
call fcn.00543af0
mov ecx, esi
call fcn.00521cd0
cmp ax, 1
je 0x525b12
mov ax, bx
jmp 0x526292
push ebp
lea ecx, [esp + 0x14]
call fcn.00558090
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 2
call fcn.00558090
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 3
call fcn.00558090
mov eax, 0x5e5238
mov word [esp + 0x60], bx
mov dword [esp + 0x5c], eax
mov word [esp + 0x62], bp
mov dword [esp + 0x54], eax
mov word [esp + 0x58], bx
mov word [esp + 0x5a], bp
mov cl, byte [esp + 0x53]
xor eax, eax
mov dword [esp + 0x65], eax
mov byte [esp + 0x38], cl
mov dword [esp + 0x69], eax
mov edi, 0x619c18
mov dword [esp + 0x6d], eax
mov ecx, ebx
mov word [esp + 0x71], ax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xa0], 6
mov ebx, ecx
lea ecx, [esp + 0x3c]
push ebx
mov byte [esp + 0x6c], 0
mov byte [esp + 0x7b], al
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.004018c0
test al, al
je 0x525be1
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x619c18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.004018a0
mov esi, dword [esp + 0x48]
push 6
push 0x60f024
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 7
call fcn.00558100
push 9
push 0x60f018
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 8
call fcn.00558600
push 7
push 0x60f010
lea ecx, [esp + 0x20]
call fcn.00558600
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00529c50
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00529c50
mov edx, 0x1010101
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x60ec6c
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.00548370
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60ef80
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60ef78
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60ef70
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
mov bl, 1
lea esi, [esp + 0x64]
mov byte [esp + 0x2c], bl
cmp bl, 9
je 0x525e5d
cmp bl, 0xb
je 0x525e5d
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
push 5
call fcn.005584a0
mov al, byte [esi]
push ecx
cmp al, 1
mov ecx, esp
jne 0x525d89
mov dword [esp + 0x18], esp
push 6
push 0x60f008
call fcn.00558100
lea ecx, [esp + 0x78]
push ecx
call fcn.00560f40
add esp, 8
mov edx, dword [0x5e5150]
lea ecx, [esp + 0x38]
push edx
push ebp
push eax
mov byte [esp + 0xa8], 9
call fcn.004120f0
mov eax, dword [esp + 0x78]
mov byte [esp + 0x9c], 8
cmp eax, ebp
je 0x525d78
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x525d6f
cmp al, 0xff
je 0x525d6f
dec al
mov byte [ecx], al
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
jmp 0x525e08
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
jmp 0x525e08
mov dword [esp + 0x18], esp
push 6
push 0x60f000
call fcn.00558100
lea eax, [esp + 0x88]
push eax
call fcn.00560f40
add esp, 8
mov ecx, dword [0x5e5150]
mov byte [esp + 0x9c], 0xa
push ecx
push ebp
push eax
lea ecx, [esp + 0x44]
call fcn.004120f0
mov eax, dword [esp + 0x88]
mov byte [esp + 0x9c], 8
cmp eax, ebp
je 0x525df3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x525dea
cmp al, 0xff
je 0x525dea
dec al
mov byte [ecx], al
jmp 0x525df3
push ecx
call fcn.005bc500
add esp, 4
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dl, byte [esp + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov eax, dword [0x5e5150]
lea edx, [esp + 0x48]
push eax
push ebp
push edx
call fcn.004120f0
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0xb4], 0xb
call fcn.00558070
mov ecx, dword [0x619a64]
mov byte [esp + 0xb0], 8
call fcn.00548570
inc bl
inc esi
cmp bl, 0x10
mov byte [esp + 0x2c], bl
jbe 0x525cd3
mov ecx, dword [0x619a64]
call fcn.00548950
movsx eax, ax
cmp eax, 0xffffffff
je 0x525c4e
cmp eax, ebp
je 0x525fd8
cmp eax, 1
jne 0x526138
or bl, 0xff
push 9
push 0x60f018
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 0xff
mov byte [esp + 0x3c], bl
call fcn.00558600
push 7
push 0x60f010
lea ecx, [esp + 0x20]
call fcn.00558600
lea esi, [esp + 0x6c]
mov ecx, 7
mov edi, 8
mov al, byte [esi - 8]
test al, al
jne 0x525ee6
mov al, byte [esp + 0x4c]
mov dl, 1
shl dl, cl
not dl
and al, dl
mov byte [esp + 0x4c], al
cmp byte [esi], 0
jne 0x525ef3
mov al, 1
shl al, cl
not al
and bl, al
inc esi
dec ecx
dec edi
jne 0x525ecf
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x34], bl
push ecx
push 6
lea ecx, [esp + 0x18]
call fcn.005584a0
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
push 7
call fcn.005584a0
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00529c50
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00529c50
cmp byte [0x619c14], 1
je 0x525c4e
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00558070
lea eax, [esp + 0x28]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xb0], 0xd
call fcn.00558070
mov ecx, esi
mov byte [esp + 0xac], 8
call fcn.00529cc0
test al, al
jne 0x525c4e
lea ecx, [esp + 0x20]
call fcn.00558520
cmp ax, 7
jne 0x5261c6
push 3
lea ecx, [esp + 0x24]
call fcn.00558380
cmp al, 0x7f
jne 0x5261c6
push 4
lea ecx, [esp + 0x24]
call fcn.00558380
push 3
lea ecx, [esp + 0x14]
mov bl, al
call fcn.00558380
cmp bl, al
jne 0x5261c6
jmp 0x525c4e
push 6
push 0x60eff8
lea ecx, [esp + 0x30]
call fcn.00558100
mov byte [esp + 0x9c], 0xc
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60ec6c
call fcn.00558100
mov ecx, dword [0x619a58]
call fcn.00546340
mov bl, 1
mov byte [esp + 0x2c], bl
cmp bl, 9
je 0x52604a
cmp bl, 0xb
je 0x52604a
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push 5
call fcn.005584a0
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00558070
mov ecx, dword [0x619a58]
call fcn.00546580
inc bl
cmp bl, 0x10
mov byte [esp + 0x2c], bl
jbe 0x526014
mov ecx, dword [0x619a58]
lea eax, [esp + 0x5c]
push eax
call fcn.005466c0
cmp ax, 0xffff
je 0x526122
mov al, byte [esp + 0x60]
cmp al, 9
mov byte [esp + 0x24], al
jb 0x526081
add al, 2
mov byte [esp + 0x24], al
cmp al, 8
jne 0x52608b
mov al, 9
mov byte [esp + 0x24], al
inc al
lea ecx, [esp + 0x28]
push eax
push 5
call fcn.005584a0
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00558070
mov ecx, dword [0x619a58]
call fcn.00546340
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60f000
call fcn.00558100
mov ecx, dword [0x619a58]
call fcn.00546580
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60f008
call fcn.00558100
mov ecx, dword [0x619a58]
call fcn.00546580
mov ecx, dword [0x619a58]
lea eax, [esp + 0x54]
push eax
call fcn.005466c0
cmp ax, 0xffff
je 0x525ff0
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x58]
and ecx, 0xff
mov byte [esp + ecx + 0x64], dl
jmp 0x525ff0
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 8
call fcn.005581a0
jmp 0x525c4e
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 7
call fcn.005581a0
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x52616e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x526165
cmp al, 0xff
je 0x526165
dec al
mov byte [ecx], al
jmp 0x52616e
push ecx
call fcn.005bc500
add esp, 4
mov eax, 0x5e5238
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x9c], 3
call fcn.005581a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 2
call fcn.005581a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0xffffffff
call fcn.005581a0
mov ax, 1
jmp 0x526292
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0xac], 0xe
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0xac], 8
call fcn.00543af0
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 7
call fcn.005581a0
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x52623f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x526236
cmp al, 0xff
je 0x526236
dec al
mov byte [ecx], al
jmp 0x52623f
push ecx
call fcn.005bc500
add esp, 4
mov eax, 0x5e5238
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov byte [esp + 0x9c], 3
call fcn.005581a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 2
call fcn.005581a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0xffffffff
call fcn.005581a0
or ax, 0xffff
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret