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

Disassembly:
push 0xffffffffffffffff
push 0x50d491
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x858
mov eax, dword [esp + 0x868]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [ebp + 0x74]
lea edi, [eax + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], edi
call fcn.0060c2c5
mov ebx, dword [esp + 0x87c]
xor esi, esi
mov dword [esp + 0x870], esi
cmp byte [ebx], 0
je 0x574b56
push 1
push 0x5c
lea ecx, [esp + 0x20]
call fcn.006043be
push ebx
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x87c], 1
call fcn.0060c7e5
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x874], 2
call fcn.0060c968
lea ecx, [esp + 0x2c]
mov byte [esp + 0x870], 1
call fcn.0060c550
lea ecx, [esp + 0x18]
mov byte [esp + 0x870], 0
call fcn.0060c550
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x70]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
push 0x20019
push esi
push ecx
push edx
call dword [fcn.00518008]
cmp eax, esi
jne 0x5752b8
lea eax, [esp + 0x20]
lea ecx, [esp + 0x468]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x38]
push esi
lea ecx, [esp + 0x78]
push eax
push ecx
mov ebx, 0x400
push esi
push edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], esi
call dword [0x518004]
test eax, eax
jne 0x574fc4
cmp dword [esp + 0x18], 1
jne 0x574f7a
mov al, byte [esp + 0x68]
test al, al
je 0x574f63
mov cl, byte [esp + 0x69]
mov dword [esp + 0x24], esi
cmp cl, 0x3a
jne 0x574c2a
movsx eax, al
sub eax, 0x30
mov dword [esp + 0x24], eax
js 0x574bf7
cmp eax, 3
jl 0x574bfb
mov dword [esp + 0x24], esi
lea edi, [esp + 0x6a]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor bl, bl
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x3c]
xor esi, esi
jmp 0x574c2c
mov bl, 1
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x468]
push 0x3a
push edx
mov byte [esp + ecx + 0x470], 0
call fcn.005f240c
mov ecx, dword [0x559598]
add esp, 8
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x870], 3
cmp ecx, 5
jbe 0x574ca9
cmp eax, esi
je 0x574ca9
mov edx, eax
lea ecx, [esp + 0x468]
sub edx, ecx
cmp edx, 2
jle 0x574ca9
mov byte [eax], 0
inc eax
test bl, bl
je 0x574c9f
movsx ecx, byte [eax]
sub ecx, 0x30
mov dword [esp + 0x24], ecx
js 0x574c92
cmp ecx, 3
jl 0x574c96
mov dword [esp + 0x24], esi
cmp byte [eax + 1], 0x2c
jne 0x574ca9
add eax, 2
push eax
lea ecx, [esp + 0x18]
call fcn.0060c6d9
mov edx, dword [0x529878]
mov eax, dword [0x52987c]
mov ecx, dword [0x529880]
mov dword [esp + 0x54], edx
mov edx, dword [0x529884]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
cmp dword [eax - 8], esi
je 0x574d06
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.0059e81c
add esp, 8
test al, al
jne 0x574d06
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x54]
push edx
push eax
call fcn.005f1a3b
add esp, 4
push eax
call fcn.005bcedc
add esp, 8
push 0x3c
call fcn.0060c291
mov ebx, eax
add esp, 4
mov dword [esp + 0x50], ebx
cmp ebx, esi
mov byte [esp + 0x870], 4
je 0x574f31
push 0x4ef4c4
push 0x414010
lea edi, [ebx + 4]
push 2
push 4
push edi
call fcn.005f159b
mov ecx, dword [0x559598]
lea ebp, [ebx + 0xc]
mov byte [esp + 0x870], 5
mov dword [ebp], ecx
lea esi, [ebx + 0x14]
mov byte [esp + 0x870], 6
mov ecx, esi
mov dword [esp + 0x64], esi
call fcn.00606b35
mov byte [esp + 0x870], 7
mov dword [esi], 0x524830
mov dword [esi + 0x14], 0
lea edx, [esp + 0x468]
mov byte [esp + 0x870], 8
push edx
mov ecx, ebp
mov dword [ebx], 0x52482c
call fcn.0060c6d9
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call fcn.0060c6d9
lea ecx, [esp + 0x468]
lea ebp, [ebx + 8]
push ecx
mov ecx, ebp
call fcn.0060c6d9
push 0x5c
mov ecx, ebp
call fcn.006047e8
inc eax
lea edx, [esp + 0x4c]
push eax
push edx
mov ecx, ebp
call fcn.0060463b
push eax
mov ecx, ebp
mov byte [esp + 0x874], 9
call fcn.0060c689
lea ecx, [esp + 0x4c]
mov byte [esp + 0x870], 8
call fcn.0060c550
lea eax, [esp + 0x48]
push 4
push eax
mov ecx, ebp
call fcn.006046f4
mov eax, dword [eax]
push 0x551744
push eax
mov byte [esp + 0x878], 0xa
call fcn.005f12bb
add esp, 8
lea ecx, [esp + 0x48]
test eax, eax
sete byte [esp + 0x13]
mov byte [esp + 0x870], 8
call fcn.0060c550
mov al, byte [esp + 0x13]
test al, al
je 0x574e6c
mov ecx, dword [ebp]
lea edx, [esp + 0x40]
mov eax, dword [ecx - 8]
mov ecx, ebp
add eax, 0xfffffffc
push eax
push edx
call fcn.00604770
push eax
mov ecx, ebp
mov byte [esp + 0x874], 0xb
call fcn.0060c689
lea ecx, [esp + 0x40]
mov byte [esp + 0x870], 8
call fcn.0060c550
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x574e82
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.0060c6d9
lea edx, [esp + 0x54]
lea eax, [esp + 0x54]
test edx, edx
jne 0x574e93
mov eax, 0x529878
mov edx, dword [eax]
lea esi, [ebx + 0x2c]
mov ecx, esi
mov edi, 0x529878
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
xor edx, edx
mov dword [ecx + 0xc], eax
mov ecx, 4
repe cmpsd dword [esi], dword es:[edi]
je 0x574f17
push 0x55369c
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.0060c7e5
lea ecx, [ebx + 4]
mov byte [esp + 0x870], 0xc
push ecx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.0060c77f
push eax
mov ecx, ebp
mov byte [esp + 0x874], 0xd
call fcn.0060c689
lea ecx, [esp + 0x34]
mov byte [esp + 0x870], 0xc
call fcn.0060c550
lea ecx, [esp + 0x38]
mov byte [esp + 0x870], 8
call fcn.0060c550
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x28], ebx
mov byte [esp + 0x870], 4
xor esi, esi
jmp 0x574f33
xor ebx, ebx
cmp ebx, esi
mov byte [esp + 0x870], 3
je 0x574f4b
mov eax, dword [edi + 8]
push ebx
push eax
mov ecx, edi
call fcn.00606cae
lea ecx, [esp + 0x14]
mov byte [esp + 0x870], 0
call fcn.0060c550
mov ebx, 0x400
jmp 0x574f7a
mov ecx, dword [esp + 0x878]
lea eax, [esp + 0x468]
push eax
add ecx, 0xc
call fcn.0060c6d9
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x46c]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x38]
push esi
lea edx, [esp + 0x78]
inc eax
push ecx
push edx
mov dword [esp + 0x40], eax
push eax
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], esi
call dword [0x518004]
test eax, eax
je 0x574bc2
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
push ebx
push ecx
push esi
push edx
mov dword [esp + 0x38], esi
call dword [0x518024]
test eax, eax
jne 0x5752ad
push 0x3c
call fcn.0060c291
mov ebx, eax
add esp, 4
mov dword [esp + 0x64], ebx
cmp ebx, esi
mov byte [esp + 0x870], 0xe
je 0x575200
push 0x4ef4c4
push 0x414010
lea edi, [ebx + 4]
push 2
push 4
push edi
call fcn.005f159b
mov eax, dword [0x559598]
lea ebp, [ebx + 0xc]
mov byte [esp + 0x870], 0xf
mov dword [ebp], eax
lea esi, [ebx + 0x14]
mov byte [esp + 0x870], 0x10
mov ecx, esi
mov dword [esp + 0x50], esi
call fcn.00606b35
mov byte [esp + 0x870], 0x11
mov dword [esi], 0x524830
mov dword [esi + 0x14], 0
mov byte [esp + 0x870], 0x12
push 0x55db20
mov ecx, ebp
mov dword [ebx], 0x52482c
call fcn.0060c6d9
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.0060c6d9
lea ebp, [ebx + 8]
push 0x55db20
mov ecx, ebp
call fcn.0060c6d9
push 0x5c
mov ecx, ebp
call fcn.006047e8
inc eax
lea edx, [esp + 0x38]
push eax
push edx
mov ecx, ebp
call fcn.0060463b
push eax
mov ecx, ebp
mov byte [esp + 0x874], 0x13
call fcn.0060c689
lea ecx, [esp + 0x38]
mov byte [esp + 0x870], 0x12
call fcn.0060c550
lea eax, [esp + 0x34]
push 4
push eax
mov ecx, ebp
call fcn.006046f4
mov eax, dword [eax]
push 0x551744
push eax
mov byte [esp + 0x878], 0x14
call fcn.005f12bb
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete byte [esp + 0x13]
mov byte [esp + 0x870], 0x12
call fcn.0060c550
mov al, byte [esp + 0x13]
test al, al
je 0x575141
mov ecx, dword [ebp]
lea edx, [esp + 0x40]
mov eax, dword [ecx - 8]
mov ecx, ebp
add eax, 0xfffffffc
push eax
push edx
call fcn.00604770
push eax
mov ecx, ebp
mov byte [esp + 0x874], 0x15
call fcn.0060c689
lea ecx, [esp + 0x40]
mov byte [esp + 0x870], 0x12
call fcn.0060c550
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x575157
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.0060c6d9
mov eax, dword [0x529878]
lea esi, [ebx + 0x2c]
mov edx, esi
mov edi, 0x529878
mov dword [edx], eax
mov ecx, dword [0x52987c]
mov dword [edx + 4], ecx
mov eax, dword [0x529880]
mov dword [edx + 8], eax
mov ecx, dword [0x529884]
mov dword [edx + 0xc], ecx
mov ecx, 4
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x5751e6
push 0x55369c
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.0060c7e5
lea ecx, [ebx + 4]
mov byte [esp + 0x870], 0x16
push ecx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.0060c77f
push eax
mov ecx, ebp
mov byte [esp + 0x874], 0x17
call fcn.0060c689
lea ecx, [esp + 0x48]
mov byte [esp + 0x870], 0x16
call fcn.0060c550
lea ecx, [esp + 0x4c]
mov byte [esp + 0x870], 0x12
call fcn.0060c550
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x28], ebx
mov byte [esp + 0x870], 0xe
xor esi, esi
jmp 0x575202
xor ebx, ebx
cmp ebx, esi
mov byte [esp + 0x870], 0
je 0x575282
mov ebp, dword [esp + 0x87c]
lea ecx, [esp + 0x14]
push ebp
call fcn.0060c5be
mov al, byte [ebp]
mov byte [esp + 0x870], 0x18
test al, al
je 0x575239
push 0x5c
lea ecx, [esp + 0x18]
call fcn.0060c953
lea edx, [esp + 0x68]
lea ecx, [esp + 0x14]
push edx
call fcn.0060c92c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
push eax
push ebx
call fcn.00574aac
cmp dword [ebx + 0x1c], esi
je 0x575269
mov eax, dword [edi + 8]
push ebx
push eax
mov ecx, edi
call fcn.00606cae
jmp 0x575271
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
lea ecx, [esp + 0x14]
mov byte [esp + 0x870], 0
call fcn.0060c550
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
inc eax
push 0x400
push ecx
push eax
push edx
mov dword [esp + 0x38], eax
call dword [0x518024]
test eax, eax
je 0x574fe2
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push eax
call dword [fcn.00518000]
cmp dword [edi + 8], esi
je 0x5752e0
mov cl, byte [ebp + 0x89]
push 0x458290
mov byte [0x56ec10], cl
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push 4
push eax
push ecx
call fcn.005f2230
add esp, 0x10
lea ecx, [esp + 0x30]
mov dword [esp + 0x870], 0xffffffff
call fcn.0060c550
mov ecx, dword [esp + 0x868]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x864
ret 8