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

Disassembly:
push 0xffffffffffffffff
push 0x50cc85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
call fcn.0061e183
mov esi, dword [esp + 0x30c]
mov ebx, dword [eax + 4]
mov dword [edi + 0x1b4], esi
call fcn.0061e183
mov eax, dword [eax + 4]
push esi
lea ecx, [eax + 0x16d8]
mov eax, dword [eax + 0x16d8]
call dword [eax + 0x1c]
mov dword [edi + 0x1c4], eax
mov eax, dword [edi + 0x1b0]
test eax, eax
je 0x570dc0
lea esi, [esi + esi*4 + 5]
lea ecx, [esi + esi*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
mov dword [eax + 0xb8], ecx
push ebp
lea ecx, [esp + 0x64]
call fcn.006065ac
lea ecx, [esp + 0x8c]
mov dword [esp + 0x308], 0
call fcn.006065ac
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
mov byte [esp + 0x30c], 1
call fcn.005286bc
mov ebp, dword [eax]
mov eax, dword [0x559598]
mov byte [esp + 0x308], 2
mov dword [esp + 0x24], eax
mov byte [esp + 0x308], 3
mov dword [esp + 0x20], 0x519448
call fcn.0061e183
mov esi, dword [eax + 4]
mov ecx, dword [esi + 0x121c]
test ecx, ecx
sete cl
test ebp, ebp
mov byte [esp + 0x28], cl
je 0x570e6d
mov eax, dword [esi + 0x1220]
lea ecx, [esp + 0x24]
push eax
call fcn.0060c6d9
mov edx, dword [esp + 0x24]
push ebp
push edx
call fcn.005f12bb
add esp, 8
test eax, eax
je 0x570e5f
push ebp
mov ecx, esi
call fcn.005b858c
jmp 0x570e6d
push 0x55db20
lea ecx, [esp + 0x28]
call fcn.0060c6d9
mov ecx, esi
call fcn.005b88fc
lea ecx, [esp + 0x14]
mov byte [esp + 0x308], 5
call fcn.0060c550
push 0xffffffffffffffff
push 0xb
lea ecx, [esp + 0x6c]
call fcn.0060663f
push 0xffffffffffffffff
push 0xb
lea ecx, [esp + 0x94]
call fcn.0060663f
mov ecx, dword [ebx + 0x1210]
push 1
push 0x553608
push 0x5516f0
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
setne cl
xor ebp, ebp
xor eax, eax
mov byte [edi + 0x1c0], cl
mov dword [esp + 0x14], eax
jmp 0x570ed2
mov eax, dword [esp + 0x14]
mov edx, dword [0x559598]
lea edi, [esp + eax + 0x1a0]
lea esi, [eax + 0x553398]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x308], 6
call fcn.006069b4
push ebp
lea eax, [esp + 0x14]
push 0x5535f8
push eax
mov byte [esp + 0x314], 7
call fcn.00604b90
mov ecx, dword [ebx + 0x1210]
add esp, 0xc
lea eax, [esp + 0x78]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x14]
push eax
push 0x5516f0
call dword [edx + 0x3c]
and eax, 0xff
mov dword [esp + 0x60], eax
je 0x570f7f
mov edx, dword [esp + 0x80]
cmp edx, 1
jl 0x570f7f
mov ecx, dword [esp + 0x7c]
cmp dword [ecx], 0
jne 0x570f67
mov eax, dword [esp + 0x14]
lea eax, [esp + eax + 0x1a0]
mov dword [eax], 0
cmp edx, 1
jle 0x570f7f
mov eax, dword [ecx + 4]
cmp eax, 3
ja 0x570f7f
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx + 0x1a8], eax
lea edx, [esp + 0x10]
push 0x5516f8
lea eax, [esp + 0x34]
push edx
push eax
call fcn.0060c7e5
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x1210]
mov eax, dword [eax]
mov byte [esp + 0x308], 8
mov edx, dword [esp + esi + 0x1bc]
mov edi, dword [ecx]
push edx
push eax
push 0x5516f0
call dword [edi + 0x1c]
mov dword [esp + esi + 0x1bc], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x308], 7
call fcn.0060c550
push 0x551700
lea ecx, [esp + 0x14]
call fcn.0060c92c
mov ecx, dword [esp + 0x10]
push 1
push 0x55db20
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebx
call fcn.0052865c
push eax
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x30c], 9
lea ecx, [eax + ebp*4]
call fcn.0060c689
lea ecx, [esp + 0x2c]
mov byte [esp + 0x308], 7
call fcn.0060c550
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + ebp*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x571033
mov dword [esp + esi + 0x1ac], eax
push 0x5535f4
lea ecx, [esp + 0x14]
call fcn.0060c92c
mov edx, dword [esp + 0x10]
push 1
push 0x55db20
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, ebx
call fcn.0052865c
mov ecx, dword [esp + 0x90]
push eax
mov byte [esp + 0x30c], 0xa
lea ecx, [ecx + ebp*4]
call fcn.0060c689
lea ecx, [esp + 0x34]
mov byte [esp + 0x308], 7
call fcn.0060c550
mov edx, dword [esp + 0x90]
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x57109a
mov dword [esp + esi + 0x1b8], eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x308], 6
call fcn.006069e7
lea ecx, [esp + 0x10]
mov byte [esp + 0x308], 5
call fcn.0060c550
inc ebp
add esi, 0x20
cmp ebp, 0xb
mov dword [esp + 0x14], esi
jb 0x570ece
mov byte [esp + 0x308], 1
mov dword [esp + 0x20], 0x519448
mov byte [esp + 0x308], 0xb
call fcn.0061e183
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x24]
pop ebp
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x571101
push eax
mov ecx, esi
call fcn.005b858c
mov al, byte [esp + 0x24]
test al, al
je 0x571110
mov ecx, esi
call fcn.005b895c
lea ecx, [esp + 0x20]
mov byte [esp + 0x304], 1
call fcn.0060c550
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x57113e
lea eax, [esp + 0x19c]
push eax
push 0xb
call fcn.0055e82c
lea ecx, [esp + 0x34]
call fcn.006065ac
lea ecx, [esp + 0x48]
mov byte [esp + 0x304], 0xc
call fcn.006069b4
mov ecx, dword [esi + 0x1c4]
mov byte [esp + 0x304], 0xd
mov edx, dword [ecx]
call dword [edx + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0060c5be
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x308], 0xe
call fcn.006047e8
test eax, eax
jle 0x5711bf
inc eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0060463b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x308], 0xf
call fcn.0060c689
lea ecx, [esp + 0x18]
mov byte [esp + 0x304], 0xe
call fcn.0060c550
mov cl, byte [0x55db20]
xor eax, eax
mov byte [esp + 0x9c], cl
mov ecx, 0x3f
lea edi, [esp + 0x9d]
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x30c]
push edx
push eax
lea ecx, [esp + 0xa4]
push 0x55171c
push ecx
call fcn.005f17ae
mov eax, dword [esp + 0x4c]
add esp, 0x10
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x34]
push edx
push eax
call fcn.006067e8
push 0
push 0x18
mov ecx, ebx
call fcn.005b99fc
mov ecx, dword [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00606cae
mov ecx, dword [esi + 0x1c4]
lea eax, [esp + 0x9c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14c]
test eax, eax
jne 0x571252
mov byte [esp + 0x9c], al
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x9c]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.006067e8
push 0
push 0x19
mov ecx, ebx
call fcn.005b99fc
push eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x50]
call fcn.00606cae
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x5712a0
lea edx, [esp + 0x48]
lea eax, [esp + 0x34]
push edx
mov edx, dword [esp + 0x40]
push eax
push edx
call fcn.0055e93c
mov al, byte [esi + 0x1c0]
test al, al
je 0x5712ce
mov al, byte [esi + 0x1c1]
mov ecx, dword [esi + 0x1c4]
test al, al
je 0x5712c4
mov eax, dword [ecx]
call dword [eax + 0x1e0]
jmp 0x5712d0
mov edx, dword [ecx]
call dword [edx + 0x1dc]
jmp 0x5712d0
xor eax, eax
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x5712e0
push eax
call fcn.0055ebdc
mov al, byte [esp + 0x9c]
test al, al
je 0x5712f5
lea eax, [esp + 0x9c]
push eax
jmp 0x5712fa
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00570b1c
mov eax, dword [esi + 0x1c4]
mov ecx, esi
mov dword [eax + 0xcc], esi
mov dword [eax + 0x688], esi
call fcn.0057188c
lea ecx, [esp + 0x14]
mov byte [esp + 0x304], 0xd
call fcn.0060c550
lea ecx, [esp + 0x48]
mov byte [esp + 0x304], 0xc
call fcn.006069e7
lea ecx, [esp + 0x34]
mov byte [esp + 0x304], 1
call fcn.006065df
lea ecx, [esp + 0x88]
mov byte [esp + 0x304], 0
call fcn.006065df
lea ecx, [esp + 0x60]
mov dword [esp + 0x304], 0xffffffff
call fcn.006065df
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2fc
ret 4