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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5e2c10
push eax
mov eax, 0x27ac
mov dword fs:[0], esp
call fcn.005bd2d0
mov eax, dword [esp + 0x27c0]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov ebp, ecx
je 0x593077
call fcn.005949e0
lea ecx, [esp + 0x49c]
call fcn.005806a0
mov eax, dword [ebp + 0x40]
mov edi, dword [ebp + 0x14]
cmp eax, esi
mov dword [esp + 0x27c4], esi
jne 0x59309a
mov dword [esp + 0x18], esi
jmp 0x5930b4
mov ecx, dword [ebp + 0x44]
sub ecx, eax
mov eax, 0x551c979b
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0x27d8]
cmp ebx, esi
jne 0x5930c8
mov ebx, edi
mov dword [esp + 0x27d8], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x40], esi
mov byte [esp + 0x3c], cl
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dl, byte [esp + 0x13]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], dl
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xe0]
push eax
push ecx
mov ecx, dword [ebp + 0x28]
mov byte [esp + 0x27cc], 2
call fcn.00570a60
mov eax, dword [esp + 0xe0]
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0xe0]
push edx
push eax
call fcn.00570a60
mov eax, dword [esp + 0x114]
mov edi, dword [esp + 0x27d4]
cmp eax, esi
je 0x593344
mov eax, dword [esp + 0xf4]
cmp eax, 0xffffffff
je 0x593344
mov cl, byte [esp + 0x13]
mov dword [esp + 0x68], esi
mov byte [esp + 0x64], cl
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0x74]
push edx
push eax
mov byte [esp + 0x27cc], 3
call fcn.005706b0
cmp dword [esp + 0x74], 1
jne 0x593197
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x84]
push eax
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.005706e0
mov eax, dword [esp + 0x84]
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.00570790
movsx eax, di
lea ecx, [edi + ebx]
mov dword [esp + 0x38], edi
cmp eax, ecx
mov dword [esp + 0x30], ecx
jae 0x59332f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x30]
lea esi, [esp + 0x74]
mov eax, dword [ecx + eax*8 + 4]
push esi
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [edx + eax*4 + 0x10]
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.005706b0
cmp dword [esp + 0x74], 1
jne 0x5934b9
mov eax, dword [esp + 0x80]
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0x84]
push edx
push eax
call fcn.005706e0
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
call fcn.00570790
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x59322e
xor ebx, ebx
jmp 0x593234
mov ebx, dword [esp + 0x6c]
sub ebx, eax
xor esi, esi
test ebx, ebx
jbe 0x593258
lea ecx, [esp + 0x1b4]
sub eax, ecx
lea edi, [esp + esi + 0x1b4]
xor edx, edx
inc esi
mov dl, byte [eax + edi]
cmp esi, ebx
mov dh, dl
mov byte [edi], dl
jb 0x593243
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x593264
xor edx, edx
jmp 0x59327b
mov ecx, dword [esp + 0x44]
mov eax, 0x4325c53f
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov dword [esp + 0x34], edx
test edx, edx
jle 0x5932b2
lea edi, [esi + 4]
mov dword [esp + 0x1c], edi
mov ecx, ebx
lea esi, [esp + 0x1b4]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x59330e
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
inc eax
add edi, 0xf4
cmp eax, ecx
mov dword [esp + 0x1c], edi
jl 0x59328c
mov ecx, ebx
lea esi, [esp + 0x1b4]
mov eax, ecx
lea edi, [esp + 0x2a8]
shr ecx, 2
mov dword [esp + 0x2a4], ebx
mov edx, dword [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2a4]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00596650
xor esi, esi
test ebx, ebx
jbe 0x59330e
mov ecx, dword [esp + 0x54]
lea eax, [esp + esi + 0x1b4]
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00596460
inc esi
cmp esi, ebx
jb 0x5932f3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x38], eax
movsx eax, ax
cmp eax, ecx
jb 0x5931c2
mov ebx, dword [esp + 0x27d8]
xor esi, esi
mov edx, dword [esp + 0x68]
mov byte [esp + 0x27c4], 2
push edx
call fcn.005bc500
add esp, 4
push 2
call fcn.005bcf2f
mov ecx, dword [ebp + 0x18]
add esp, 4
lea eax, [esp + 0xe0]
push eax
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.00570a60
mov ecx, dword [ebp + 0x20]
call fcn.00575730
cmp eax, 0x10
je 0x59339c
mov ecx, dword [ebp + 0x20]
call fcn.00575730
cmp eax, 9
je 0x59339c
mov ecx, dword [ebp + 0x20]
call fcn.00575730
cmp eax, 8
je 0x59339c
mov ecx, dword [ebp + 0x20]
call fcn.00575730
cmp eax, 3
jne 0x593973
xor esi, esi
cmp dword [esp + 0x114], esi
je 0x593973
lea ecx, [esp + 0x84]
call fcn.00559c60
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x27c4], 4
call fcn.00575730
add eax, 0xfffffffd
cmp eax, 0xd
ja case.0x5933d9.7
xor edx, edx
mov dl, byte [eax + 0x594504]
jmp dword [edx*4 + 0x5944f0]
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x174]
push eax
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.00570a60
mov eax, dword [esp + 0x174]
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0x134]
push edx
push eax
call fcn.00570a60
cmp dword [esp + 0x148], 0xffffffff
je 0x593554
lea ecx, [esp + 0x162c]
call fcn.005806a0
push 0xff
mov byte [esp + 0x27c8], 5
call fcn.005bcf2f
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x14c]
add esp, 4
mov ebx, eax
push ecx
push edx
lea ecx, [esp + 0x1634]
call fcn.00580c40
mov edi, eax
xor esi, esi
test edi, edi
jle 0x59346f
push esi
lea ecx, [esp + 0x1630]
call fcn.00580d80
inc esi
cmp esi, edi
jl 0x59345d
mov eax, dword [esp + 0x18]
xor esi, esi
lea ecx, [esp + 0x84]
push esi
push ecx
mov ecx, dword [ebp + 0x20]
push 1
push esi
push esi
push esi
lea edx, [esp + 0x1644]
inc eax
push ebx
push edx
mov dword [esp + 0x1664], eax
call fcn.00579f40
cmp eax, esi
jne 0x5934f9
lea ecx, [esp + 0x162c]
mov byte [esp + 0x27c4], 4
call fcn.005807b0
jmp 0x59373a
mov edx, dword [esp + 0x68]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x54]
xor esi, esi
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
call fcn.005bc500
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], esi
push ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.005bc500
add esp, 0xc
jmp 0x593771
cmp ebx, esi
je 0x593506
push ebx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x162c]
mov byte [esp + 0x27c4], 4
call fcn.005807b0
xor esi, esi
lea ecx, [esp + 0x84]
call fcn.0055a240
movsx eax, ax
cmp eax, esi
jbe 0x5937a9
push esi
lea ecx, [esp + 0x88]
call fcn.0055a180
mov ecx, dword [eax + 4]
cmp ecx, esi
jne 0x59379b
mov dword [esp + 0x34], esi
jmp 0x5937ad
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x84]
push edx
push ebx
push 1
push 5
push 0x611988
call fcn.00579e70
jmp case.0x5933d9.7
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x84]
add ecx, 2
push eax
xor esi, esi
push ecx
mov ecx, dword [ebp + 0x20]
push esi
push 1
push 0x60bb44
mov dword [esp + 0x70], 4
call fcn.00579e70
cmp eax, esi
jne 0x59351c
lea ecx, [esp + 0x84]
mov byte [esp + 0x27c4], 2
call fcn.00559d60
mov edx, dword [esp + 0x50]
push edx
call fcn.005bc500
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
push eax
jmp 0x593769
mov edi, dword [esp + 0x50]
xor esi, esi
cmp edi, esi
je 0x593656
mov ecx, dword [esp + 0x54]
sub ecx, edi
mov dword [esp + 0x14], ecx
je 0x593656
cmp ecx, esi
mov dword [esp + 0x5c], 4
mov dword [esp + 0x30], ecx
jbe 0x593618
xor eax, eax
xor edx, edx
inc esi
mov dl, byte [eax + edi]
lea eax, [esp + eax + 0x1b4]
mov dh, dl
mov byte [eax], dl
movsx eax, si
cmp eax, ecx
jb 0x5935fe
xor esi, esi
mov eax, dword [esp + 0x40]
cmp eax, esi
jne 0x593624
xor edx, edx
jmp 0x59363b
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, 0x4325c53f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
push edx
push esi
push ecx
lea edx, [esp + 0x1c4]
jmp 0x593729
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x84]
inc eax
push edx
push eax
push esi
push 1
push 0x60bb44
call fcn.00579e70
cmp eax, esi
jne 0x59351c
lea ecx, [esp + 0x84]
mov byte [esp + 0x27c4], 2
call fcn.00559d60
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005bc500
mov edx, dword [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
push edx
jmp 0x593769
mov edi, dword [esp + 0x50]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x5c], 4
jne 0x5936c6
xor ecx, ecx
jmp 0x5936cc
mov ecx, dword [esp + 0x54]
sub ecx, edi
cmp ecx, esi
mov dword [esp + 0x30], ecx
jbe 0x5936f0
xor eax, eax
xor edx, edx
inc esi
mov dl, byte [eax + edi]
lea eax, [esp + eax + 0x2a4]
mov dh, dl
mov byte [eax], dl
movsx eax, si
cmp eax, ecx
jb 0x5936d6
xor esi, esi
mov eax, dword [esp + 0x40]
cmp eax, esi
jne 0x5936fc
xor edx, edx
jmp 0x593713
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, 0x4325c53f
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
push edx
push esi
push ecx
lea edx, [esp + 0x2b4]
mov ecx, dword [ebp + 0x20]
push edx
call fcn.00579e70
cmp eax, esi
jne 0x59351c
lea ecx, [esp + 0x84]
mov byte [esp + 0x27c4], 2
call fcn.00559d60
mov eax, dword [esp + 0x50]
push eax
call fcn.005bc500
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
push ecx
call fcn.005bc500
add esp, 8
lea ecx, [esp + 0x49c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x27c4], 0xffffffff
call fcn.005807b0
xor eax, eax
jmp 0x5944d2
mov esi, dword [eax + 8]
sub esi, ecx
sar esi, 2
mov dword [esp + 0x34], esi
jmp 0x5937ad
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.00558060
mov edi, dword [esp + 0x18]
mov byte [esp + 0x27c4], 6
lea edx, [edi*4]
push edx
call fcn.005bcf2f
mov ecx, edi
mov edx, eax
mov ebx, ecx
xor eax, eax
mov edi, edx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov dword [esp + 0x1c], edx
and ecx, 3
mov byte [esp + 0x60], 0
test esi, esi
rep stosb byte es:[edi], al
jle 0x59393a
xor eax, eax
push eax
push 0
lea ecx, [esp + 0x8c]
call fcn.0055a180
mov ecx, eax
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x3c]
call fcn.00558390
lea ecx, [esp + 0x38]
call fcn.00558540
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x30], 0
jle 0x593917
mov ebx, dword [ebp + 0x40]
xor ecx, ecx
lea eax, [ecx + ecx*2]
xor edx, edx
shl eax, 7
add eax, ecx
xor ecx, ecx
shl eax, 2
mov dx, word [eax + ebx + 0xe]
mov cx, word [eax + ebx + 0xc]
lea edi, [eax + ebx + 0x14]
mov eax, dword [esp + 0x14]
lea esi, [edx + eax]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x593890
mov eax, dword [esp + 0x30]
inc eax
movsx ecx, ax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
cmp ecx, eax
jl 0x59384d
jmp 0x593917
movsx ebx, word [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp dword [eax + ebx*4], 1
je 0x593917
lea ecx, [esp + 0x38]
call fcn.00558530
mov edx, dword [esp + 0x14]
mov byte [esp + 0x497], al
mov ecx, dword [esp + 0x497]
mov eax, dword [esp + 0x5c]
and ecx, 0xff
lea edi, [esp + 0x398]
sub ecx, eax
lea esi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + ebx*2]
and ecx, 3
shl eax, 7
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x40]
add eax, ebx
shl eax, 2
lea esi, [esp + 0x398]
lea edi, [eax + ecx + 0x104]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x40]
mov dword [eax + ecx + 0x10], 1
mov ecx, dword [esp + 0x1c]
mov dword [ecx + ebx*4], 1
mov bl, byte [esp + 0x60]
mov ecx, dword [esp + 0x34]
inc bl
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x60]
and eax, 0xff
cmp eax, ecx
jl 0x5937fb
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x593947
push edx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x27c4], 4
call fcn.005581a0
lea ecx, [esp + 0x84]
mov byte [esp + 0x27c4], 2
call fcn.00559d60
mov ebx, dword [esp + 0x27d8]
mov eax, dword [esp + 0x27d4]
mov dword [esp + 0x38], eax
lea ecx, [eax + ebx]
movsx ebx, ax
cmp ebx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ebx
jae 0x594485
mov dl, byte [esp + 0x13]
mov esi, dword [esp + 0x27cc]
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], dl
call fcn.00401850
mov ecx, 0x619a58
mov byte [esp + 0x27c4], 7
call fcn.005448d0
test ax, ax
jne 0x59442b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x30]
mov eax, dword [ecx + ebx*8 + 4]
lea edi, [eax*8]
sub edi, eax
lea eax, [eax + edi*4]
or edi, 0xffffffff
cmp dword [edx + eax*4 + 0x30], edi
je 0x593a3e
mov eax, dword [ecx + ebx*8 + 4]
push 0
lea ecx, [eax*8]
sub ecx, eax
lea eax, [eax + ecx*4]
mov ecx, dword [edx + eax*4 + 0x30]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.005764e0
test eax, eax
jne 0x593a3e
mov edi, 0x609450
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x609450
lea ecx, [esp + 0x28]
call fcn.004017b0
mov eax, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov ecx, esi
call fcn.005681b0
jmp 0x593f75
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x30]
mov eax, dword [eax + ebx*8 + 4]
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
cmp dword [ecx + eax*4 + 0x1c], edi
je 0x593b83
lea ecx, [esp + 0x162c]
call fcn.005806a0
push 0xff
mov byte [esp + 0x27c8], 8
call fcn.005bcf2f
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp + 0x30]
mov eax, dword [eax + ebx*8 + 4]
push edx
lea edx, [eax*8]
sub edx, eax
lea eax, [eax + edx*4]
mov ecx, dword [ecx + eax*4 + 0x1c]
push ecx
lea ecx, [esp + 0x1634]
call fcn.00580c40
mov edi, eax
xor esi, esi
test edi, edi
jle 0x593ac8
push esi
lea ecx, [esp + 0x1630]
call fcn.00580d80
inc esi
cmp esi, edi
jl 0x593ab6
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x20]
push 0
push 0
push 1
push 0
push 0
push 1
lea edx, [esp + 0x1644]
push esi
push edx
call fcn.00579f40
test eax, eax
jne 0x593b5f
mov edi, 0x609450
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x24]
push ebx
call fcn.004018c0
test al, al
je 0x593b2f
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov eax, ecx
mov esi, 0x609450
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.004018a0
mov ecx, dword [esp + 0x27cc]
lea edx, [esp + 0x20]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.005681b0
lea ecx, [esp + 0x162c]
mov byte [esp + 0x27c4], 7
call fcn.005807b0
jmp 0x593f75
test esi, esi
je 0x593b6c
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x162c]
mov byte [esp + 0x27c4], 7
call fcn.005807b0
or edi, 0xffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x30]
mov eax, dword [ecx + ebx*8 + 4]
lea esi, [eax*8]
sub esi, eax
lea eax, [eax + esi*4]
mov eax, dword [edx + eax*4 + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + ebx*8 + 4]
lea esi, [eax*8]
sub esi, eax
lea eax, [eax + esi*4]
mov esi, dword [edx + eax*4 + 0x68]
test esi, esi
je 0x593c35
mov edi, str.Not_supported
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0x28]
call fcn.004018c0
test al, al
je 0x593c03
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, eax
mov esi, str.Not_supported
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.004018a0
mov ecx, dword [0x5e5150]
mov edi, dword [esp + 0x27d4]
mov eax, dword [esp + 0x27cc]
push ecx
mov ecx, ebx
lea edx, [esp + 0x24]
mov eax, dword [eax + 4]
sub ecx, edi
shl ecx, 4
push 0
push edx
add ecx, eax
call fcn.004120f0
jmp 0x593f75
mov ebx, dword [ecx + ebx*8 + 4]
lea eax, [ebx*8]
sub eax, ebx
lea eax, [ebx + eax*4]
cmp dword [edx + eax*4 + 0x24], edi
je 0x593f8d
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + eax*8 + 4]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ecx + eax*4]
lea eax, [esp + 0x74]
mov edx, dword [edx + ecx*4 + 0x24]
mov ecx, dword [ebp + 0x28]
push edx
push eax
call fcn.00597de0
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x40]
mov byte [esp + 0x27c4], 9
lea ebx, [edi + edi*2]
shl ebx, 7
add ebx, edi
shl ebx, 2
mov ecx, dword [ebx + eax + 0x10]
test ecx, ecx
jbe 0x593d50
cmp ecx, 0xffffffff
je 0x593d59
mov cl, byte [esp + 0x74]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00401850
mov edx, dword [0x5e5150]
lea eax, [esp + 0x84]
push edx
push 0
push eax
mov ecx, esi
call fcn.004120f0
push edi
lea ecx, [ebp + 0x3c]
mov byte [esp + 0x27d8], 9
call fcn.00596410
mov ecx, dword [esp + 0x28]
add eax, 0x104
push eax
push ecx
lea ecx, [ebp + 4]
call fcn.00596380
mov edx, dword [eax + 4]
lea ecx, [ebp + 0x2c]
push edx
call fcn.005963c0
mov eax, dword [eax + 4]
lea ecx, [esp + 0xe4]
push eax
push ecx
mov ecx, 0x626e78
call fcn.0056b1c0
mov edx, dword [0x5e5150]
lea ecx, [esp + 0x20]
push edx
push 0
push eax
mov byte [esp + 0x27d0], 0xb
call fcn.004120f0
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x27c8], 9
call fcn.00401850
jmp 0x593f3c
cmp ecx, 0xffffffff
jne 0x593eee
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xb4]
mov dword [esp + 0x18], 0
mov byte [esp + 0xb4], al
call fcn.00401850
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x88]
mov eax, dword [ebx + eax + 4]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x28]
push eax
push ecx
push edx
lea ecx, [esp + 0x4b4]
mov byte [esp + 0x27dc], 0xc
call fcn.005813a0
cmp eax, 1
je 0x593e05
mov edi, 0x60e7b0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ecx
push ecx
lea ecx, [esp + 0x28]
call fcn.004018c0
test al, al
je 0x593ecb
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ecx, eax
mov esi, 0x60e7b0
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.004018a0
jmp 0x593ecb
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0x84]
mov ecx, 0x40
sub esp, 0x10
lea edi, [ebx + eax + 0x104]
mov dword [esp + 0x70], esp
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x84]
mov esi, esp
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00401850
mov ecx, dword [0x5e5150]
lea edx, [esp + 0x84]
push ecx
push 0
push edx
mov ecx, esi
call fcn.004120f0
mov eax, dword [esp + 0x2c]
lea ecx, [ebp + 0x3c]
push eax
mov byte [esp + 0x27d8], 0xc
call fcn.00596410
mov ecx, dword [esp + 0x28]
add eax, 0x104
push eax
push ecx
lea ecx, [ebp + 4]
call fcn.00596380
mov edx, dword [eax + 4]
lea ecx, [ebp + 0x2c]
push edx
call fcn.005963c0
mov eax, dword [eax + 4]
lea ecx, [esp + 0xd4]
push eax
push ecx
mov ecx, 0x626e78
call fcn.0056b1c0
mov edx, dword [0x5e5150]
lea ecx, [esp + 0x20]
push edx
push 0
push eax
mov byte [esp + 0x27d0], 0xe
call fcn.004120f0
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x27c8], 0xc
call fcn.00401850
mov eax, dword [ebp + 0x40]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x27c8], 9
mov dword [ebx + eax + 0x10], 1
call fcn.00401850
jmp 0x593f3c
mov ecx, dword [ebx + eax + 0x10]
test ecx, ecx
jne 0x593f3c
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x24]
push ebx
call fcn.004018c0
test al, al
je 0x593f3c
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov eax, ecx
mov esi, 0x619c18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov byte [ebx + ecx], 0
mov ecx, dword [0x5e5150]
mov edx, dword [esp + 0x27cc]
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea edx, [esp + 0x24]
shl ecx, 4
push 0
push edx
add ecx, eax
call fcn.004120f0
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x27c8], 7
call fcn.00401850
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c8], 2
call fcn.00401850
jmp 0x59440d
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x40]
lea ebx, [esi + esi*2]
shl ebx, 7
add ebx, esi
xor esi, esi
shl ebx, 2
cmp dword [ebx + eax + 8], esi
jne 0x594169
mov edi, dword [ebx + eax + 0x10]
cmp edi, esi
jbe 0x593fe4
cmp edi, 0xffffffff
je 0x593fe4
lea esi, [esp + 0x20]
add ebx, eax
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*8 + 4]
lea esi, [ecx*8]
sub esi, ecx
lea ecx, [ecx + esi*4]
lea edx, [edx + ecx*4]
mov ecx, ebp
push edx
push ebx
call fcn.00594520
jmp 0x59423e
cmp dword [ebx + eax + 0x10], 0xffffffff
jne 0x59412a
mov cl, byte [esp + 0x13]
mov dword [esp + 0x34], esi
mov byte [esp + 0x64], cl
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
lea edx, [esp + 0x34]
push esi
push edx
mov edx, dword [ebx + eax + 4]
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
push eax
push ecx
lea ecx, [esp + 0x4b4]
mov byte [esp + 0x27dc], 0xf
call fcn.005813a0
cmp eax, 1
je 0x594092
mov edi, 0x60e7b0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0x28]
call fcn.004018c0
test al, al
je 0x594089
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, eax
mov esi, 0x60e7b0
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
xor esi, esi
mov byte [eax + ecx], 0
mov eax, dword [ebp + 0x40]
mov dword [ebx + eax + 0x10], esi
jmp 0x594111
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], esi
cmp eax, esi
jbe 0x5940d4
mov edx, ebx
lea eax, [esp + 0x120]
mov ecx, dword [ebp + 0x40]
mov esi, dword [eax]
add eax, 4
lea edi, [edx + ecx + 0x104]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
inc ecx
add edx, 0x100
cmp ecx, esi
mov dword [esp + 0x14], ecx
jb 0x5940a7
mov eax, dword [ebp + 8]
lea esi, [esp + 0x20]
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x40]
mov eax, dword [eax + esi*8 + 4]
add edx, ebx
lea esi, [eax*8]
sub esi, eax
lea eax, [eax + esi*4]
lea ecx, [ecx + eax*4]
push ecx
push edx
mov ecx, ebp
call fcn.00594520
mov eax, dword [ebp + 0x40]
xor esi, esi
mov dword [ebx + eax + 0x10], 1
mov byte [esp + 0x27c4], 7
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
jmp 0x59423e
cmp dword [ebx + eax + 0x10], esi
jne 0x59423e
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x24]
push ebx
call fcn.004018c0
test al, al
je 0x59423e
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov esi, 0x619c18
jmp 0x594224
mov edi, 1
cmp dword [ebx + eax + 8], edi
jne 0x59423e
cmp dword [ebx + eax + 0x10], esi
jbe 0x594189
cmp dword [ebx + eax + 0x10], 0xffffffff
jne 0x593fb8
cmp dword [ebx + eax + 0x10], 0xffffffff
jne 0x594199
mov dword [ebx + eax + 0x10], edi
jmp 0x59423e
cmp dword [ebx + eax + 0x10], esi
jne 0x59423e
mov edi, 0x60e7b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x5941be
call fcn.005bc520
mov edi, dword [esp + 0x24]
cmp edi, esi
je 0x5941e6
mov al, byte [edi - 1]
test al, al
je 0x5941e6
cmp al, 0xff
je 0x5941e6
cmp ebx, esi
jne 0x59420f
dec al
push esi
lea ecx, [esp + 0x24]
mov byte [edi - 1], al
call fcn.00401850
jmp 0x59423e
cmp ebx, esi
jne 0x5941f7
push 1
lea ecx, [esp + 0x24]
call fcn.00401850
jmp 0x59423e
mov eax, dword [esp + 0x2c]
cmp eax, 0x1f
ja 0x594204
cmp eax, ebx
jae 0x59421d
push 1
lea ecx, [esp + 0x24]
call fcn.00401850
push ebx
lea ecx, [esp + 0x24]
call fcn.004019e0
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov esi, 0x60e7b0
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov byte [ebx + ecx], 0
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
mov dword [esp + 0x14], ecx
jae 0x59425b
mov ecx, edx
mov esi, dword [esp + 0x24]
mov edi, 0x619c18
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x59426f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x59428c
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x59428c
xor ecx, ecx
cmp edx, eax
setne cl
mov eax, ecx
test eax, eax
je 0x5943d4
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x27d4]
mov eax, dword [esp + 0x27cc]
mov esi, dword [0x5e5150]
sub ebx, edi
mov edi, edx
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], edi
shl ebx, 4
add ebx, eax
cmp esi, edi
jae 0x5942be
mov dword [esp + 0x1c], esi
mov edi, esi
lea ecx, [esp + 0x20]
cmp ebx, ecx
jne 0x594323
cmp dword [ebx + 8], edi
jae 0x5942d0
call fcn.005bc820
mov ecx, ebx
call fcn.00412310
mov eax, dword [ebx + 8]
sub eax, edi
cmp eax, esi
jae 0x5942e2
mov esi, eax
test esi, esi
jbe 0x594317
mov edx, dword [ebx + 4]
sub eax, esi
push eax
lea ecx, [edx + edi]
lea edx, [esi + ecx]
push edx
push ecx
call fcn.005bcf90
mov edi, dword [ebx + 8]
add esp, 0xc
sub edi, esi
mov ecx, ebx
push 0
push edi
call fcn.004018c0
test al, al
je 0x594317
push edi
mov ecx, ebx
call fcn.004018a0
mov ecx, ebx
call fcn.00412310
jmp 0x5943d4
test edi, edi
jbe 0x594395
cmp edi, edx
jne 0x594395
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x594338
mov eax, 0x5e514c
cmp byte [eax - 1], 0xfe
jae 0x594395
mov eax, dword [ebx + 4]
test eax, eax
je 0x594362
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x594359
cmp al, 0xff
je 0x594359
dec al
mov byte [ecx], al
jmp 0x594362
push ecx
call fcn.005bc500
add esp, 4
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov eax, dword [esp + 0x24]
cmp eax, ecx
jne 0x59437a
mov eax, 0x5e514c
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [ebx + 8], ecx
mov edx, dword [esp + 0x2c]
mov dword [ebx + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x5943d4
push 1
push edi
mov ecx, ebx
call fcn.004018c0
test al, al
je 0x5943d4
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x5943b0
mov esi, 0x5e514c
mov eax, dword [ebx + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
add eax, ecx
mov byte [eax], 0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x27c4], 2
test ecx, ecx
je 0x5943ff
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x5943f6
cmp al, 0xff
je 0x5943f6
dec al
mov byte [ecx], al
jmp 0x5943ff
push ecx
call fcn.005bc500
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
inc eax
movsx ebx, ax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
cmp ebx, eax
mov dword [esp + 0x18], ebx
jb 0x593994
jmp 0x594485
mov ebp, dword [esp + 0x30]
xor esi, esi
test ebp, ebp
jbe 0x594472
mov ebx, dword [esp + 0x27cc]
mov edi, 0x609450
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x609450
lea ecx, [esp + 0x28]
call fcn.004017b0
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, ebx
call fcn.0055f350
inc esi
movsx edx, si
cmp edx, ebp
jb 0x59443c
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c8], 2
call fcn.00401850
mov eax, dword [esp + 0x50]
xor esi, esi
push eax
call fcn.005bc500
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], esi
push ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.005bc500
add esp, 8
lea ecx, [esp + 0x49c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x27c4], 0xffffffff
call fcn.005807b0
mov eax, 1
mov ecx, dword [esp + 0x27bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x27b8
ret 0x10