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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x81337b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x26c
and eax, 0xf0
add eax, 0xfffffff0
push ebx
push ebp
push esi
push edi
cmp eax, 0x30
mov edi, ecx
mov ebx, 3
mov esi, 4
mov ebp, 6
ja case.0x57116d.20
xor ecx, ecx
mov cl, byte [eax + 0x5718d8]
jmp dword [ecx*4 + 0x5718c4]
lea ecx, [esp + 0x148]
call fcn.00572d80
lea ecx, [esp + 0x148]
mov dword [esp + 0x284], 0
mov dword [esp + method.MsgBoxStc.virtual_0], vtable.MsgBoxStc.0
call fcn.00573bc0
mov byte [esp + 0x14d], 0
mov word [esp + 0x190], 0x7f01
lea edx, [esp + 0x148]
lea ecx, [edi + 0xb0]
push edx
mov dword [esp + 0x288], 1
call fcn.00435370
lea ecx, [esp + 0x148]
mov dword [esp + 0x284], 0xffffffff
call fcn.00433ae0
mov dword [edi + 0x18c], 0x10
jmp 0x57137f
lea ecx, [esp + 0x88]
call fcn.00572d80
lea ecx, [esp + 0x88]
mov dword [esp + 0x284], 2
mov dword [esp + 0x88], vtable.MsgBoxStc.0
call fcn.00573bc0
mov byte [esp + 0x8d], 0
mov word [esp + 0xd0], 0x7f02
lea eax, [esp + 0x88]
lea ecx, [edi + 0xb0]
push eax
mov dword [esp + 0x288], ebx
call fcn.00435370
lea ecx, [esp + 0x88]
mov dword [esp + 0x284], 0xffffffff
call fcn.00433ae0
mov dword [edi + 0x18c], 0x20
jmp 0x57137f
lea ecx, [esp + 0xe8]
call fcn.00572d80
lea ecx, [esp + 0xe8]
mov dword [esp + 0x284], esi
mov dword [esp + 0xe8], vtable.MsgBoxStc.0
call fcn.00573bc0
mov byte [esp + 0xed], 0
mov word [esp + 0x130], 0x7f03
lea ecx, [esp + 0xe8]
mov dword [esp + 0x284], 5
push ecx
lea ecx, [edi + 0xb0]
call fcn.00435370
lea ecx, [esp + 0xe8]
mov dword [esp + 0x284], 0xffffffff
call fcn.00433ae0
mov dword [edi + 0x18c], 0x30
jmp 0x57137f
lea ecx, [esp + 0x1a8]
call fcn.00572d80
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x284], ebp
mov dword [esp + method.MsgBoxStc.virtual_0], vtable.MsgBoxStc.0
call fcn.00573bc0
mov byte [esp + 0x1ad], 0
mov word [esp + 0x1f0], 0x7f04
lea edx, [esp + 0x1a8]
lea ecx, [edi + 0xb0]
push edx
mov dword [esp + 0x288], 7
call fcn.00435370
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x284], 0xffffffff
call fcn.00433ae0
mov dword [edi + 0x18c], 0x40
jmp 0x57137f
mov dword [edi + 0x18c], 0
mov al, byte [esp + 0x4b]
lea ecx, [esp + 0x14]
mov byte [esp + 0x10], al
call fcn.00501890
lea ecx, [esp + 0x24]
call fcn.00501890
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28c]
mov dword [esp + 0x284], 8
and eax, 0xf
cmp eax, ebp
ja case.default.0x5713c4
jmp dword [eax*4 + 0x57190c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 2
call fcn.005559a0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x58]
mov ecx, eax
add eax, 2
push edx
push ecx
mov dword [esp + 0x34], eax
call fcn.00577050
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], 1
test eax, eax
je 0x57141c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x571425
lea ecx, [esp + 0x10]
call fcn.00574440
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x6c]
sub eax, 2
push ecx
mov dword [esp + 0x20], eax
push eax
jmp 0x57165b
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 2
call fcn.005559a0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x68]
mov ecx, eax
add eax, 2
push edx
push ecx
mov dword [esp + 0x34], eax
call fcn.00577050
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], 7
test eax, eax
je 0x57148c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jne 0x571495
lea ecx, [esp + 0x10]
call fcn.00574440
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x74]
sub eax, 2
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.00577050
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x3c], eax
je 0x5714c9
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jne 0x5714d2
lea ecx, [esp + 0x10]
call fcn.00574440
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x60]
sub eax, 2
push ecx
mov dword [esp + 0x20], eax
push eax
jmp 0x57165b
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], ebx
call fcn.005559a0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x70]
mov ecx, eax
add eax, 2
push edx
push ecx
mov dword [esp + 0x34], eax
call fcn.00577050
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], eax
je 0x571556
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp ecx, edx
je 0x571556
lea eax, [ecx + 2]
cmp eax, edx
mov dword [esp + 0x2c], eax
jne 0x57154f
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.00577050
add esp, 8
lea ecx, [esp + 0x10]
call fcn.005559a0
jmp 0x57157a
lea edx, [esp + 0x4c]
push edx
jmp 0x571571
lea ecx, [esp + 0x10]
call fcn.005559a0
mov eax, dword [esp + 0x2c]
mov ecx, eax
add eax, 2
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.00577050
add esp, 8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x42], 5
inc eax
mov dword [esp + 0x3c], eax
je 0x5715ce
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp ecx, edx
je 0x5715ce
lea eax, [ecx + 2]
cmp eax, edx
mov dword [esp + 0x2c], eax
jne 0x5715c4
lea edx, [esp + 0x42]
push edx
push ecx
call fcn.00577050
add esp, 8
lea ecx, [esp + 0x10]
call fcn.005559a0
inc dword [esp + 0x3c]
jmp case.default.0x5713c4
lea eax, [esp + 0x42]
push eax
jmp 0x57165a
lea ecx, [esp + 0x10]
call fcn.005559a0
lea edx, [esp + 0x42]
jmp 0x57164c
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], esi
call fcn.005559a0
mov eax, dword [esp + 0x2c]
mov ecx, eax
add eax, 2
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
push eax
push ecx
call fcn.00577050
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x46], 2
mov dword [esp + 0x3c], eax
je 0x57163f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp ecx, edx
je 0x57163f
lea eax, [ecx + 2]
cmp eax, edx
mov dword [esp + 0x2c], eax
jne 0x571638
lea edx, [esp + 0x46]
jmp 0x5715a8
lea eax, [esp + 0x46]
push eax
jmp 0x57165a
lea ecx, [esp + 0x10]
call fcn.005559a0
lea edx, [esp + 0x46]
mov eax, dword [esp + 0x2c]
push edx
mov ecx, eax
add eax, 2
mov dword [esp + 0x30], eax
push ecx
call fcn.00577050
mov eax, dword [esp + 0x44]
add esp, 8
inc eax
mov dword [esp + 0x3c], eax
jmp case.default.0x5713c4
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x60], 2
call fcn.005730d0
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0xa
push ecx
lea ecx, [esp + 0x14]
call fcn.005730d0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x54], 0xb
call fcn.005730d0
mov eax, dword [esp + 0x28c]
and eax, 0x4000
cmp eax, 0x4000
jne 0x5716d9
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 9
push ecx
lea ecx, [esp + 0x14]
call fcn.005730d0
mov ebx, dword [esp + 0x28c]
mov eax, dword [esp + 0x3c]
shr ebx, 8
and ebx, 0xf
cmp ebx, eax
jb 0x5716f0
xor ebx, ebx
xor esi, esi
mov byte [edi + 0x186], 0
test eax, eax
jbe 0x5717d1
lea ebp, [edi + 0x170]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x208]
mov dword [esp + 0x80], ecx
push esi
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x8c], edx
call fcn.005745d0
mov eax, dword [eax + 8]
mov cx, word [eax]
push ecx
lea ecx, [esp + 0x21c]
call fcn.005735a0
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 9
call fcn.00573080
cmp word [eax], 2
jne 0x571774
mov byte [edi + 0x186], 1
cmp esi, ebx
jne 0x57179d
mov ecx, dword [esp + 0x220]
push esi
or ecx, 1
mov dword [esp + 0x224], ecx
lea ecx, [esp + 0x14]
call fcn.00573080
mov ax, word [eax]
mov word [edi + 0x184], ax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x218]
push edx
push eax
mov ecx, ebp
call fcn.00574010
lea ecx, [esp + 0x218]
mov byte [esp + 0x284], 8
call fcn.00433ae0
mov eax, dword [esp + 0x3c]
inc esi
cmp esi, eax
jb 0x571707
cmp eax, 1
jne 0x5717ee
push 0
lea ecx, [esp + 0x14]
call fcn.00573080
cmp word [eax], 1
jne 0x5717ee
mov byte [edi + 0x186], 1
cmp dword [esp + 0x3c], 2
jne 0x57181e
push 0
lea ecx, [esp + 0x14]
call fcn.00573080
cmp word [eax], 1
jne 0x57181e
push 1
lea ecx, [esp + 0x14]
call fcn.00573080
cmp word [eax], 9
jne 0x57181e
mov byte [edi + 0x186], 1
mov ecx, dword [esp + 0x28c]
mov eax, ecx
and eax, 0x40000
cmp eax, 0x40000
jne 0x57183b
mov eax, dword [edi + 0x10]
or al, 8
mov dword [edi + 0x10], eax
mov edx, ecx
and edx, 0x1000
cmp edx, 0x1000
jne 0x571867
mov eax, dword [edi + 0xc]
mov dl, byte [edi + 8]
or al, 2
test dl, dl
je 0x571862
mov dl, byte [edi + 9]
test dl, dl
je 0x571862
or al, 0x40
jmp 0x571864
and al, 0xbf
mov dword [edi + 0xc], eax
and ecx, 0x10000
cmp ecx, 0x10000
jne 0x571892
mov eax, dword [edi + 0xc]
mov cl, byte [edi + 8]
or ah, 2
test cl, cl
je 0x57188d
mov cl, byte [edi + 9]
test cl, cl
je 0x57188d
or al, 0x40
jmp 0x57188f
and al, 0xbf
mov dword [edi + 0xc], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x284], 0xffffffff
call fcn.00572fe0
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x278
ret 4