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

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
mov edx, dword [esp + 0x210]
push ebx
mov ebx, ecx
mov ecx, dword [eax + 8]
mov eax, dword [edx + 8]
push ebp
push esi
mov dword [esp + 0xd0], ecx
mov ecx, dword [0x836b2c]
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], 0
mov byte [esp + 0x13], 0
jmp 0x56d8ae
mov ecx, dword [0x836b2c]
mov ebx, dword [esp + 0x24]
mov al, byte [esp + 0x13]
test al, al
jne 0x56e852
mov edi, ecx
imul edi, ecx
lea ebp, [edi - 1]
mov dword [esp + 0xf0], 0
lea ecx, [ebp + 1]
mov dword [esp + 0xec], ecx
fild qword [esp + 0xec]
fstp qword [esp + 0x28]
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], 0
fild qword [esp + 0xf4]
fmul qword [esp + 0x28]
fmul qword [0x790db8]
call fcn.0076a6b0
mov esi, eax
cmp esi, ebp
ja 0x56d8e2
mov edx, dword [0xa5861c]
mov ecx, dword [ebx + 8]
lea ebp, [esi + esi*4]
shl ebp, 4
mov eax, dword [edx + ebp + 0x38]
cmp eax, ecx
jne 0x56d8bf
push 0
push 0
lea ecx, [esp + 0x21c]
call fcn.0042ad30
mov ecx, dword [0xa5861c]
push eax
add ecx, ebp
call fcn.004fe2d0
test al, al
jne 0x56d8bf
mov eax, dword [0xa5861c]
lea edx, [esi + esi*4]
shl edx, 4
mov ebp, 1
mov edi, 3
mov eax, dword [edx + eax]
mov esi, edi
mov dword [esp + 0x28], eax
push 0
movsx ecx, word [esp + 0x2e]
movsx eax, ax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
lea edx, [eax - 1]
dec ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], edx
mov edx, ebp
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
xor dl, dl
lea ecx, [esp + 0x74]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], esi
mov byte [esp + 0x16], 1
mov byte [esp + 0x15], 1
call fcn.005856e0
test al, al
jne 0x56daa8
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov word [esp + 0x3c], cx
add ecx, 2
mov word [esp + 0x4c], cx
lea ecx, [esp + 0x3c]
dec eax
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x78], eax
mov word [esp + 0x42], ax
mov word [esp + 0x52], ax
call fcn.005453b0
lea edx, [esp + 0x4c]
mov ecx, 0x81a800
push edx
mov esi, eax
call fcn.005453b0
mov ebp, eax
lea eax, [esp + 0x3c]
push 1
push eax
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56dbe9
lea ecx, [esp + 0x4c]
push 1
push ecx
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56dbe9
mov ecx, esi
call fcn.0047b1e0
test al, al
jne 0x56dbe9
mov ecx, ebp
call fcn.0047b1e0
test al, al
jne 0x56dbe9
push 0
xor dl, dl
lea ecx, [esp + 0x74]
call fcn.005856e0
test al, al
je 0x56d9fd
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x114], edx
add eax, 0xfffffffd
push 0
xor dl, dl
lea ecx, [esp + 0x118]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edi
call fcn.005856e0
test al, al
je 0x56dbe9
push 0
xor dl, dl
lea ecx, [esp + 0x84]
call fcn.005856e0
test al, al
jne 0x56dbaa
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov word [esp + 0x54], cx
add ecx, 2
mov word [esp + 0x38], cx
lea ecx, [esp + 0x54]
inc eax
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x88], eax
mov word [esp + 0x5a], ax
mov word [esp + 0x3e], ax
call fcn.005453b0
lea edx, [esp + 0x38]
mov ecx, 0x81a800
push edx
mov esi, eax
call fcn.005453b0
mov ebp, eax
lea eax, [esp + 0x54]
push 1
push eax
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56dbe9
lea ecx, [esp + 0x38]
push 1
push ecx
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56dbe9
mov ecx, esi
call fcn.0047b1e0
test al, al
jne 0x56dbe9
mov ecx, ebp
call fcn.0047b1e0
test al, al
jne 0x56dbe9
push 0
xor dl, dl
lea ecx, [esp + 0x84]
call fcn.005856e0
test al, al
je 0x56daff
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x144], edx
inc eax
push 0
xor dl, dl
lea ecx, [esp + 0x148]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], edi
call fcn.005856e0
test al, al
jne 0x56dbee
mov byte [esp + 0x11], 0
push 0
xor dl, dl
lea ecx, [esp + 0x64]
call fcn.005856e0
test al, al
jne 0x56dcae
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov word [esp + 0x5e], cx
add ecx, 2
mov word [esp + 0x42], cx
lea ecx, [esp + 0x5c]
dec eax
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x64], eax
mov word [esp + 0x60], ax
mov word [esp + 0x44], ax
call fcn.005453b0
lea edx, [esp + 0x40]
mov ecx, 0x81a800
push edx
mov esi, eax
call fcn.005453b0
mov ebp, eax
lea eax, [esp + 0x5c]
push 1
push eax
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56ddef
lea ecx, [esp + 0x40]
push 1
push ecx
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56ddef
mov ecx, esi
call fcn.0047b1e0
test al, al
jne 0x56ddef
mov ecx, ebp
call fcn.0047b1e0
test al, al
jne 0x56ddef
push 0
xor dl, dl
lea ecx, [esp + 0x64]
call fcn.005856e0
test al, al
je 0x56dc03
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add edx, 0xfffffffd
push 0
mov dword [esp + 0x1a8], edx
xor dl, dl
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1b4], edi
call fcn.005856e0
test al, al
je 0x56ddef
push 0
xor dl, dl
lea ecx, [esp + 0x94]
call fcn.005856e0
test al, al
jne 0x56ddb0
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov word [esp + 0x32], cx
add ecx, 2
mov word [esp + 0x4a], cx
lea ecx, [esp + 0x30]
inc eax
push ecx
mov ecx, 0x81a800
mov dword [esp + 0x94], eax
mov word [esp + 0x34], ax
mov word [esp + 0x4c], ax
call fcn.005453b0
lea edx, [esp + 0x48]
mov ecx, 0x81a800
push edx
mov esi, eax
call fcn.005453b0
mov ebp, eax
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56ddef
lea ecx, [esp + 0x48]
push 1
push ecx
mov ecx, 0x81a800
call fcn.00557300
test al, al
je 0x56ddef
mov ecx, esi
call fcn.0047b1e0
test al, al
jne 0x56ddef
mov ecx, ebp
call fcn.0047b1e0
test al, al
jne 0x56ddef
push 0
xor dl, dl
lea ecx, [esp + 0x94]
call fcn.005856e0
test al, al
je 0x56dd05
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
inc edx
push 0
mov dword [esp + 0x168], edx
xor dl, dl
lea ecx, [esp + 0x168]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], edi
mov dword [esp + 0x174], edi
call fcn.005856e0
test al, al
jne 0x56ddf4
mov byte [esp + 0x12], 0
mov esi, dword [esp + 0x74]
mov ecx, dword [0xa5861c]
mov eax, 0x3e7
or ebx, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x11]
mov ebp, ebx
test al, al
mov dword [esp + 0x50], ebx
mov edi, ebx
je 0x56de6d
mov ebp, dword [esp + 0x84]
mov eax, ebp
sub eax, esi
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x56de9e
mov edx, dword [0x836b2c]
movsx eax, si
movsx esi, word [esp + 0x70]
imul eax, edx
add eax, esi
lea eax, [eax + eax*4]
shl eax, 4
mov ebx, dword [eax + ecx + 0x38]
movsx eax, bp
imul eax, edx
movsx edx, word [esp + 0x80]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 4
mov ebp, dword [eax + ecx + 0x38]
mov al, byte [esp + 0x12]
mov esi, dword [esp + 0x90]
test al, al
je 0x56dee1
mov edx, dword [esp + 0x60]
mov eax, esi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
test ecx, ecx
mov dword [esp + 0x34], eax
jne 0x56dea2
mov dword [esp + 0x50], 0xffffffff
or edi, 0xffffffff
jmp 0x56dee1
mov ebp, ebx
jmp 0x56de6d
movsx eax, word [esp + 0x94]
imul eax, dword [0x836b2c]
movsx edx, si
add eax, edx
lea eax, [eax + eax*4]
shl eax, 4
mov edx, dword [eax + ecx + 0x38]
movsx eax, word [esp + 0x64]
imul eax, dword [0x836b2c]
mov dword [esp + 0x50], edx
movsx edx, word [esp + 0x60]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 4
mov edi, dword [eax + ecx + 0x38]
mov al, byte [esp + 0x11]
test al, al
je 0x56df0b
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x58]
cmp ebx, ecx
jne 0x56defc
cmp ebp, eax
je 0x56df16
cmp ebx, eax
jne 0x56df04
cmp ebp, ecx
je 0x56df16
mov byte [esp + 0x11], 0
jmp 0x56df16
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xd4]
mov bl, byte [esp + 0x12]
test bl, bl
je 0x56df5b
mov edx, dword [esp + 0x50]
cmp edx, ecx
jne 0x56df2a
cmp edi, eax
je 0x56df3a
cmp edx, eax
jne 0x56df32
cmp edi, ecx
je 0x56df3a
xor bl, bl
mov byte [esp + 0x12], bl
jmp 0x56df5b
mov al, byte [esp + 0x11]
test al, al
je 0x56df5b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
cmp ecx, eax
jge 0x56df56
xor bl, bl
mov byte [esp + 0x12], bl
jmp 0x56df5b
mov byte [esp + 0x11], 0
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, 0x51eb851f
imul dword [esp + 0x44]
sar edx, 3
mov eax, edx
shr eax, 0x1f
test bl, bl
lea eax, [edx + eax + 8]
je 0x56dfa4
cmp dword [esp + 0x34], eax
jge 0x56dfa4
mov edx, dword [esp + 0x60]
mov ecx, 3
sub esi, edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x64]
inc esi
mov eax, esi
jmp 0x56dfd5
mov cl, byte [esp + 0x11]
test cl, cl
je 0x56e83a
cmp dword [esp + 0x28], eax
jge 0x56e83a
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
sub ecx, edx
mov eax, 3
inc ecx
mov dword [esp + 0x14], esi
test eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jle 0x56e83a
test ecx, ecx
jle 0x56e83a
mov al, byte [esp + 0x12]
test al, al
je 0x56e407
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
call fcn.0056e860
test al, al
je 0x56e83a
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, ebp
mov ebx, ebp
cmp ebp, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
jge 0x56e1e5
lea eax, [edx + ecx]
mov esi, ecx
cmp ecx, eax
jge 0x56e12c
jmp 0x56e046
mov ebx, dword [esp + 0x28]
cmp esi, ecx
jne 0x56e077
lea edx, [esp + 0xc8]
mov edi, ebx
push edx
mov ecx, 0x81a800
mov word [esp + 0xcc], si
mov word [esp + 0xce], di
call fcn.005453b0
mov dword [eax + 0x44], 0x5e
jmp 0x56e0e2
dec eax
cmp esi, eax
jne 0x56e0a9
lea eax, [esp + 0xa4]
mov edi, ebx
push eax
mov ecx, 0x81a800
mov word [esp + 0xa8], si
mov word [esp + 0xaa], di
call fcn.005453b0
mov dword [eax + 0x44], 0x5c
jmp 0x56e0e2
mov ebp, esi
mov edi, ebx
and ebp, reloc.WSOCK32.dll_closesocket
mov word [esp + 0xac], si
mov word [esp + 0xae], di
jns 0x56e0ca
dec ebp
or ebp, 0xfffffffc
inc ebp
lea ecx, [esp + 0xac]
add ebp, 0x4a
push ecx
mov ecx, 0x81a800
call fcn.005453b0
mov dword [eax + 0x44], ebp
mov al, byte [esp + 0x18]
lea edx, [esp + 0xb4]
push edx
mov ecx, 0x81a800
mov word [esp + 0xb8], si
mov word [esp + 0xba], di
sub bl, al
call fcn.005453b0
mov byte [eax + 0x11e], bl
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc esi
lea eax, [edx + ecx]
cmp esi, eax
jl 0x56e042
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
inc ebx
add eax, ebp
mov dword [esp + 0x28], ebx
cmp ebx, eax
jl 0x56e033
mov ebx, dword [esp + 0x24]
mov edi, 6
add edx, ecx
add ebp, 0xfffffffe
mov dword [esp + 0x1f4], edx
xor dl, dl
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x1f8], ebp
mov dword [esp + 0x1fc], edi
mov dword [esp + 0x200], edi
call fcn.005858d0
test al, al
je 0x56e1f3
xor esi, esi
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], esi
fild qword [esp + 0x104]
fmul qword [0x790dd0]
call fcn.0076a6b0
cmp eax, 1
ja 0x56e17d
cmp eax, esi
je 0x56e1f5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ax, word [esp + 0x18]
add edx, ecx
mov ecx, dword [0xa55924]
mov word [esp + 0xbc], dx
push 0xffffffffffffffff
mov word [esp + 0xc2], ax
push 0xffffffffffffffff
lea edx, [esp + 0xc4]
add ecx, 0xa
jmp 0x56e225
mov ebx, dword [esp + 0x24]
mov edi, 6
jmp 0x56e148
xor esi, esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov cx, word [esp + 0x18]
add eax, edx
mov word [esp + 0xaa], cx
mov ecx, dword [0xa55920]
push 0xffffffffffffffff
mov word [esp + 0xac], ax
push 0xffffffffffffffff
lea edx, [esp + 0xb0]
call fcn.005850a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 0xfffffffa
add eax, 0xfffffffe
mov dword [esp + 0x184], edx
xor dl, dl
lea ecx, [esp + 0x184]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], edi
mov dword [esp + 0x190], edi
call fcn.005858d0
test al, al
je 0x56e2ca
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], esi
fild qword [esp + 0xe4]
fmul qword [0x790dd0]
call fcn.0076a6b0
cmp eax, 1
ja 0x56e266
cmp eax, esi
je 0x56e2ca
mov ecx, dword [esp + 0x14]
mov dx, word [esp + 0x18]
mov eax, dword [0xa55924]
add ecx, 0xfffffffc
mov word [esp + 0xd0], cx
mov word [esp + 0xd2], dx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0xd8]
lea ecx, [eax + 9]
jmp 0x56e2f7
mov ecx, dword [esp + 0x14]
mov dx, word [esp + 0x18]
mov eax, dword [0xa55920]
dec ecx
mov word [esp + 0xb0], cx
mov word [esp + 0xb2], dx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0xb8]
lea ecx, [eax + 2]
call fcn.005850a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1d4]
mov dword [esp + 0x1d4], ecx
dec edx
mov esi, 2
mov edi, 5
push eax
mov ecx, ebx
mov dword [esp + 0x1dc], edx
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x1e4], edi
call fcn.0056ea50
test al, al
jne 0x56e37d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
dec ecx
lea eax, [esp + 0x124]
mov dword [esp + 0x124], ecx
add edx, 0xfffffffe
push eax
mov ecx, ebx
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], 3
mov dword [esp + 0x134], 7
call fcn.0056ea50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x13c], esi
mov dword [esp + 0x140], edi
lea eax, [edx + ecx - 2]
mov ecx, dword [esp + 0x18]
dec ecx
lea edx, [esp + 0x134]
mov dword [esp + 0x138], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x138], eax
call fcn.0056ea50
test al, al
jne 0x56e835
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x15c], 3
mov dword [esp + 0x160], 7
lea edx, [ecx + eax - 2]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x154]
add eax, 0xfffffffe
push ecx
mov dword [esp + 0x158], edx
mov dword [esp + 0x15c], eax
mov ecx, ebx
jmp 0x56e830
test ecx, ecx
jle 0x56e83a
mov al, byte [esp + 0x11]
test al, al
je 0x56e83a
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
call fcn.0056e860
test al, al
je 0x56e83a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add eax, ecx
mov ebp, ecx
cmp ecx, eax
mov dword [esp + 0x28], ebp
jge 0x56e613
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea esi, [edx + eax]
mov ebx, eax
cmp eax, esi
jge 0x56e557
cmp ebp, ecx
jne 0x56e491
lea ecx, [esp + 0xd8]
mov esi, ebx
mov edi, ebp
push ecx
mov ecx, 0x81a800
mov word [esp + 0xdc], si
mov word [esp + 0xde], di
call fcn.005453b0
mov dword [eax + 0x44], 0x60
jmp 0x56e507
mov edx, dword [esp + 0x20]
mov esi, ebx
lea eax, [edx + ecx - 1]
cmp ebp, eax
jne 0x56e4cc
lea ecx, [esp + 0xb8]
mov edi, ebp
push ecx
mov ecx, 0x81a800
mov word [esp + 0xbc], si
mov word [esp + 0xbe], di
call fcn.005453b0
mov dword [eax + 0x44], 0x62
jmp 0x56e507
mov edi, ebp
and ebp, reloc.WSOCK32.dll_closesocket
mov word [esp + 0xe0], si
mov word [esp + 0xe2], di
jns 0x56e4eb
dec ebp
or ebp, 0xfffffffc
inc ebp
lea edx, [esp + 0xe0]
mov ecx, 0x81a800
push edx
add ebp, 0x53
call fcn.005453b0
mov dword [eax + 0x44], ebp
mov ebp, dword [esp + 0x28]
mov al, byte [esp + 0x14]
mov dl, bl
sub dl, al
lea eax, [esp + 0xc0]
push eax
mov ecx, 0x81a800
mov word [esp + 0xc4], si
mov word [esp + 0xc6], di
mov byte [esp + 0x17], dl
call fcn.005453b0
mov cl, byte [esp + 0x13]
inc ebx
mov byte [eax + 0x11e], cl
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax]
cmp ebx, ecx
mov ecx, dword [esp + 0x18]
jl 0x56e45e
mov esi, dword [esp + 0x20]
inc ebp
add esi, ecx
mov dword [esp + 0x28], ebp
cmp ebp, esi
jl 0x56e451
mov edi, dword [esp + 0x24]
mov ebx, 7
add ecx, 0xfffffffa
add eax, 0xfffffffe
mov dword [esp + 0x178], ecx
mov ebp, 6
xor dl, dl
lea ecx, [esp + 0x174]
mov dword [esp + 0x174], eax
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebp
call fcn.005858d0
test al, al
je 0x56e625
xor esi, esi
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], esi
fild qword [esp + 0xfc]
fmul qword [0x790dd0]
call fcn.0076a6b0
cmp eax, 1
ja 0x56e5ae
cmp eax, esi
je 0x56e627
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x14]
mov ecx, dword [0xa55924]
add eax, 0xfffffffc
mov word [esp + 0xa0], dx
push 0xffffffffffffffff
mov word [esp + 0xa6], ax
push 0xffffffffffffffff
lea edx, [esp + 0xa8]
add ecx, 0xd
jmp 0x56e653
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebx, 7
jmp 0x56e573
xor esi, esi
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x14]
mov ecx, dword [0xa55920]
dec eax
mov word [esp + 0xc4], dx
push 0xffffffffffffffff
mov word [esp + 0xca], ax
push 0xffffffffffffffff
lea edx, [esp + 0xcc]
inc ecx
call fcn.005850a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add edx, 0xfffffffe
add ecx, eax
mov dword [esp + 0x194], edx
mov dword [esp + 0x198], ecx
xor dl, dl
lea ecx, [esp + 0x194]
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x1a0], ebp
call fcn.005858d0
test al, al
je 0x56e6fe
mov ecx, 0xa581b8
call fcn.0062fc90
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], esi
fild qword [esp + 0x10c]
fmul qword [0x790dd0]
call fcn.0076a6b0
cmp eax, 1
ja 0x56e697
cmp eax, esi
je 0x56e6fe
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dx, word [esp + 0x14]
add eax, ecx
mov word [esp + 0xce], ax
mov eax, dword [0xa55924]
mov word [esp + 0xcc], dx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0xd4]
lea ecx, [eax + 0xc]
jmp 0x56e731
mov cx, word [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov word [esp + 0xdc], cx
mov ecx, dword [0xa55920]
add edx, eax
mov word [esp + 0xde], dx
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0xe4]
add ecx, 3
call fcn.005850a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c4]
dec edx
mov esi, 5
mov ebp, 2
push ecx
mov ecx, edi
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d4], ebp
call fcn.0056ea50
test al, al
jne 0x56e7b3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1e4]
add edx, 0xfffffffe
dec eax
push ecx
mov ecx, edi
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], 3
call fcn.0056ea50
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
dec edx
mov dword [esp + 0x204], edx
mov dword [esp + 0x20c], esi
lea edx, [ecx + eax - 2]
lea eax, [esp + 0x204]
push eax
mov ecx, edi
mov dword [esp + 0x20c], edx
mov dword [esp + 0x214], ebp
call fcn.0056ea50
test al, al
jne 0x56e835
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add ecx, 0xfffffffe
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1bc], ebx
lea ecx, [eax + edx - 2]
lea edx, [esp + 0x1b4]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1c0], 3
push edx
mov ecx, edi
call fcn.0056ea50
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x44]
inc eax
cmp eax, 0xc8
mov dword [esp + 0x44], eax
jl 0x56d8a4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8