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

Disassembly:
push 0xffffffffffffffff
push 0x5dcde9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
push ebx
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov dword [esp + 0x1a0], ebx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x60edb4
call fcn.00558100
or esi, 0xffffffff
mov ecx, 0x619a58
mov dword [esp + 0x1a0], esi
call fcn.00543af0
cmp ax, 4
je 0x522ae5
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov dword [esp + 0x1a0], 1
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60edac
call fcn.00558100
mov ecx, 0x619a58
mov dword [esp + 0x1a0], esi
call fcn.00543af0
push 8
push 0x60eda0
lea ecx, [esp + 0x20]
call fcn.00558100
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x194], 2
call fcn.00558090
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x194], 3
call fcn.00558090
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
mov byte [esp + 0x194], 4
call fcn.00529c50
cmp byte [0x619c14], 1
je 0x522329
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ebx
call fcn.00558090
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x1a4], 5
call fcn.00558070
mov ecx, ebp
mov byte [esp + 0x1a0], 4
call fcn.00529cc0
cmp al, bl
je 0x5222b0
lea ecx, [esp + 0x14]
call fcn.00558520
cmp ax, 0xa
jl 0x5222b0
push 5
lea ecx, [esp + 0x18]
call fcn.00558380
push 6
lea ecx, [esp + 0x18]
mov bh, al
call fcn.00558380
mov bl, al
cmp ebx, 0x101
je 0x522327
xor ebx, ebx
lea ecx, [esp + 0x14]
call fcn.00558520
cmp ax, 7
jne 0x5222f6
push 3
lea ecx, [esp + 0x18]
call fcn.00558380
cmp al, 0x7f
jne 0x5222f6
push 4
lea ecx, [esp + 0x18]
call fcn.00558380
mov dl, al
push 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], dl
call fcn.00558380
mov cl, byte [esp + 0x13]
cmp cl, al
je 0x522ab3
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0x1a0], 6
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60ed98
jmp 0x522480
xor ebx, ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0x1a0], 7
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60ed90
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1a0], 4
call fcn.00543af0
push 8
push 0x60ed84
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.00558090
lea ecx, [esp + 0x18]
call fcn.00558390
push 8
push 0x60ed78
lea ecx, [esp + 0x28]
call fcn.00558600
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.00529c50
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
call fcn.00529c50
cmp byte [0x619c14], 1
je 0x52249c
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00558070
lea eax, [esp + 0x1c]
lea edx, [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x1a4], 8
call fcn.00558070
mov ecx, ebp
mov byte [esp + 0x1a0], 4
call fcn.00529cc0
cmp al, bl
jne 0x52249c
lea ecx, [esp + 0x14]
call fcn.00558520
cmp ax, 7
jne 0x522454
push 3
lea ecx, [esp + 0x18]
call fcn.00558380
cmp al, 0x7f
jne 0x522454
push 4
lea ecx, [esp + 0x18]
call fcn.00558380
mov dl, al
push 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], dl
call fcn.00558380
mov cl, byte [esp + 0x13]
cmp cl, al
je 0x522ab3
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0x1a0], 9
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60ed70
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1a0], 4
call fcn.00543af0
jmp 0x522ab3
push 8
push 0x60ed64
lea ecx, [esp + 0x34]
call fcn.00558100
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x194], 0xa
call fcn.00558090
push ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x194], 0xb
call fcn.00558090
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
mov byte [esp + 0x194], 0xc
call fcn.00529c50
mov byte [esp + 0x13], bl
mov al, byte [esp + 0x13]
mov byte [esp + 0x78], al
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x58], cl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x38], dl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x48], al
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x68], cl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov byte [esp + 0x190], 0x11
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60ec54
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.00548370
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x60ed5c
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 6
push 0x60ed54
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ebx
call fcn.00558090
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x1a4], 0x12
call fcn.00558070
mov ecx, ebp
mov byte [esp + 0x1a0], 0x11
call fcn.00529cc0
cmp al, bl
je 0x52283d
lea ecx, [esp + 0x28]
call fcn.00558520
cmp ax, 0x14
jl 0x52283d
lea ecx, [esp + 0x30]
mov byte [esp + 0x13], bl
call fcn.00558060
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, 0x619c18
xor eax, eax
mov dword [esp + 0x2c], esp
mov byte [edx], cl
mov ecx, esi
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [esp + 0x1a0], 0x13
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x619c18
mov ecx, edx
call fcn.004017b0
push ecx
mov byte [esp + 0x1a4], 0x14
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x60ed4c
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x1a4], 0x13
call fcn.00548570
xor esi, esi
lea edx, [esp + 0x30]
lea eax, [esp + 0x88]
push edx
lea ecx, [esi + esi*2 + 0xa]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00558380
lea edx, [esi + esi*2 + 9]
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00558380
push eax
lea eax, [esi + esi*2 + 8]
push eax
lea ecx, [esp + 0x3c]
call fcn.00558380
push eax
mov ecx, ebp
call fcn.00522b10
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
lea edi, [esp + 0x98]
xor eax, eax
mov dword [esp + 0x2c], esp
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x98]
push ecx
push eax
mov ecx, edx
call fcn.004017b0
push ecx
mov byte [esp + 0x1a4], 0x15
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x60ed44
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x1a4], 0x13
call fcn.00548570
inc esi
cmp esi, 4
jl 0x522685
mov ecx, dword [0x619a64]
call fcn.00548950
movsx eax, ax
cmp eax, 0xffffffff
je 0x522824
cmp eax, ebx
jne 0x52290f
push 8
push 0x60ed38
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.00558090
lea ecx, [esp + 0x18]
call fcn.00558390
push 8
push 0x60ed2c
lea ecx, [esp + 0x28]
call fcn.00558600
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00529c50
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.00529c50
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x1a4], 0x16
call fcn.00558070
mov ecx, ebp
mov byte [esp + 0x1a0], 0x13
call fcn.00529cc0
cmp al, bl
jne 0x522824
lea ecx, [esp + 0x14]
call fcn.00558520
cmp ax, 7
jne 0x522856
push 3
lea ecx, [esp + 0x18]
call fcn.00558380
cmp al, 0x7f
jne 0x522856
push 4
lea ecx, [esp + 0x18]
call fcn.00558380
push 3
lea ecx, [esp + 0x1c]
mov bl, al
call fcn.00558380
cmp bl, al
jne 0x522854
xor ebx, ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x190], 0x11
call fcn.005581a0
or esi, 0xffffffff
jmp 0x52255a
mov al, byte [esp + 0x13]
inc al
cmp al, 5
mov byte [esp + 0x13], al
ja 0x522923
jmp 0x52255a
xor ebx, ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0x1a0], 0x17
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60ed24
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1a0], 0x13
call fcn.00543af0
lea ecx, [esp + 0x30]
mov byte [esp + 0x190], 0x11
call fcn.005581a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x190], 0xb
call fcn.005581a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], 0xa
call fcn.005581a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x190], 4
call fcn.005581a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x190], 3
call fcn.005581a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x190], 2
call fcn.005581a0
mov dword [esp + 0x190], 0xffffffff
jmp 0x522adc
lea ecx, [esp + 0x30]
mov byte [esp + 0x190], 0x11
call fcn.005581a0
or esi, 0xffffffff
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0x1a0], 0x18
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60ed1c
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1a0], 0x11
call fcn.00543af0
push 8
push 0x60ed10
lea ecx, [esp + 0x20]
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebx
call fcn.00558090
lea ecx, [esp + 0x18]
call fcn.00558390
push 9
push 0x60ed04
lea ecx, [esp + 0x28]
call fcn.00558600
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00529c50
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00529c50
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00558070
lea eax, [esp + 0x1c]
lea edx, [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x1a4], 0x19
call fcn.00558070
mov ecx, ebp
mov byte [esp + 0x1a0], 0x11
call fcn.00529cc0
cmp al, bl
jne 0x522a80
lea ecx, [esp + 0x14]
call fcn.00558520
cmp ax, 7
jne 0x522a3d
push 3
lea ecx, [esp + 0x18]
call fcn.00558380
cmp al, 0x7f
jne 0x522a3d
push 4
lea ecx, [esp + 0x18]
call fcn.00558380
mov dl, al
push 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], dl
call fcn.00558380
mov cl, byte [esp + 0x13]
cmp cl, al
je 0x522a80
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x609448
call fcn.00558100
push ecx
mov byte [esp + 0x1a0], 0x1a
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x60ecfc
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x1a0], 0x11
call fcn.00543af0
lea ecx, [esp + 0x34]
mov byte [esp + 0x190], 0xb
call fcn.005581a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], 0xa
call fcn.005581a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x190], 4
call fcn.005581a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x190], 3
call fcn.005581a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x190], 2
call fcn.005581a0
mov dword [esp + 0x190], esi
lea ecx, [esp + 0x18]
call fcn.005581a0
mov ecx, dword [esp + 0x188]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x184
ret