Function at 0x5c3180
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6117ce
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1d0], edi
mov eax, dword [esp + 0x354]
xorps xmm0, xmm0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c4], 0
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2c4]
shl ecx, 2
add eax, ecx
mov dword [esp + 0x1b4], ecx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
and dword [edi + 0x70], 0xfffffbff
imul ecx
movq qword [esp + 0x1a4], xmm0
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x1ac], 0
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
push esi
mov dword [esp + 0x1dc], esi
call fcn.004fcea0
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1a4]
sub ecx, edx
sar ecx, 2
mov dword [esp + 0x34c], 0
test ecx, ecx
jle 0x5c3272
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1d0]
push 0
push dword [esp + 0x1c0]
mov ecx, edi
call fcn.005c6280
xor ecx, ecx
mov dword [esp + 0x1c8], ecx
test esi, esi
jle 0x5c3483
xor eax, eax
mov dword [esp + 0x1d4], eax
lea esp, [esp]
mov esi, dword [edi + 0x2c4]
mov ecx, dword [esp + 0x1b4]
mov esi, dword [ecx + esi]
add esi, eax
mov eax, dword [esi + 8]
lea edi, [esi + 0x90]
and eax, 0x17
cmp al, 5
jne 0x5c3426
mov dword [esi + 8], 1
mov dword [esp + 0x1cc], 0
push dword [esi + 0x1c]
mov ecx, dword [edi]
push dword [esi + 0x18]
push edi
push esi
call fcn.005c52b0
cmp dword [edi + 4], 0
jne 0x5c3317
test eax, eax
je 0x5c3317
mov dword [esi + 0xa8], eax
xor al, al
cmp dword [esp + 0x1cc], 0
jne 0x5c3377
mov dword [esi + 8], 2
mov dword [esp + 0x1cc], 1
jmp 0x5c32d8
cmp dword [esp + 0x1cc], 0
mov al, 1
mov byte [esp + 0x1e3], al
jle 0x5c3377
push 0
call dword [0x6291ac]
cmp eax, 4
je 0x5c3370
mov eax, dword [esi + 4]
and eax, 0xf00
cmp eax, 0x100
je 0x5c3362
cmp eax, 0x200
je 0x5c3354
cmp eax, 0x400
jne 0x5c336c
mov dword [esi + 0xa8], 0xc8
xor al, al
jmp 0x5c3377
mov dword [esi + 0xa8], 0x11
xor al, al
jmp 0x5c3377
mov al, byte [esp + 0x1e3]
mov dword [esi + 8], 5
test al, al
je 0x5c344d
mov edi, dword [esp + 0x1d0]
mov edx, dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1c8]
push 0
mov eax, dword [edi + 0x2ec]
push esi
push ecx
mov dword [eax + edx*4], ecx
mov eax, esp
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
mov dword [eax], 0x24
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
cmp dword [eax], 0
jne 0x5c44cb
push 0
lea eax, [edi + 0x300]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0xe0]
push ecx
mov ecx, edi
mov dword [eax], 6
mov eax, dword [edi]
call dword [eax + 8]
push 0
lea eax, [edi + 0x304]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x198]
push ecx
mov ecx, edi
mov dword [eax], 7
mov eax, dword [edi]
call dword [eax + 8]
push 0
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
mov dword [eax], 0x25
mov eax, dword [edi]
call dword [eax + 8]
jmp 0x5c44cb
push dword [esi + 0x1c]
mov ecx, dword [edi]
push dword [esi + 0x18]
push edi
push esi
call fcn.005c52b0
cmp dword [edi + 4], 0
jne 0x5c3386
test eax, eax
je 0x5c3386
mov dword [esi + 0xa8], eax
mov ecx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x1d4]
inc ecx
mov edi, dword [esp + 0x1d0]
add eax, 0xc0
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1d4], eax
cmp ecx, dword [esp + 0x1d8]
jl 0x5c32a0
push 0x98
lea eax, [esp + 0x268]
mov byte [esp + 0x1bc], 0
push 0
push eax
call fcn.005e0f30
add esp, 0xc
mov dword [esp + 0x264], 0x4ca5c0
or dword [esp + 0x1b0], 1
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 1
mov dword [esp + 0x2b4], 0x4ca320
mov dword [esp + 0x2b0], 0x48
call fcn.004ec370
lea eax, [esp + 0x268]
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x2ec], eax
lea ecx, [esp + 0x2b4]
lea eax, [esp + 0x198]
push eax
call fcn.004eefb0
push eax
mov dword [esp + 0x350], 3
call fcn.004e55d0
mov ecx, dword [esp + 0x19c]
add esp, 4
mov byte [esp + 0x34c], 2
mov esi, eax
test ecx, ecx
je 0x5c3548
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x5c3548
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi]
mov ecx, esi
push 0x20
mov eax, dword [eax + 0x20]
call eax
cmp dword [esp + 0x2ec], 0
mov byte [esp + 0x2f4], al
jne 0x5c3587
mov eax, dword [esp + 0x2c0]
mov ecx, dword [esp + 0x2c4]
or eax, 4
and eax, 0x17
mov dword [esp + 0x2c0], eax
test eax, ecx
jne 0x5c4238
mov eax, dword [esp + 0x264]
mov dword [esp + 0x34c], 7
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x264], 0x4ca5bc
mov eax, dword [esp + 0x264]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x260], eax
lea ecx, [esp + 0x268]
call fcn.004e5d10
mov dword [esp + 0x268], 0x4ca57c
mov dword [esp + 0x2a0], 0
mov dword [esp + 0x2a4], 4
mov esi, dword [esp + 0x1d8]
lea ecx, [esp + 0x240]
xorps xmm0, xmm0
mov byte [esp + 0x34c], 9
push 0
push esi
mov dword [esp + 0x1d0], 0
movdqu xmmword [esp + 0x248], xmm0
mov dword [esp + 0x268], 0
movdqu xmmword [esp + 0x258], xmm0
call fcn.005c0650
xor edx, edx
mov byte [esp + 0x34c], 0xa
test esi, esi
jle 0x5c369f
nop
mov eax, dword [edi + 0x2c4]
lea ecx, [edx + edx*2]
mov esi, dword [esp + 0x1b4]
shl ecx, 6
add ecx, dword [esi + eax]
je 0x5c365d
lea esi, [ecx + 4]
jmp 0x5c365f
xor esi, esi
cmp edx, dword [esp + 0x248]
movdqu xmm0, xmmword [esi]
sbb eax, eax
and eax, edx
inc edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x244]
movdqu xmmword [eax + ecx*8], xmm0
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
mov esi, dword [esp + 0x1d8]
movq qword [eax + ecx*8 + 0x20], xmm0
cmp edx, esi
jl 0x5c3640
xor eax, eax
cmp dword [esp + 0x248], eax
push esi
cmovne eax, dword [esp + 0x248]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
mov dword [eax], 0x20
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
cmp dword [esp + 0x1c4], 0
seta byte [esp + 0x1e3]
mov eax, dword [eax]
cmp eax, 4
je 0x5c41e9
cmp eax, 8
je 0x5c4488
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
mov dword [eax], 9
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
cmp dword [eax], 4
jne 0x5c3752
push 0
push 0
push ecx
mov eax, esp
mov byte [esp + 0x1ef], 1
lea ecx, [esp + 0x130]
push ecx
mov ecx, edi
mov dword [eax], 8
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0x1b8]
movzx ecx, cl
cmp dword [eax], 4
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x1b8], ecx
push 0
lea eax, [edi + 0x300]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x114]
push ecx
mov ecx, edi
mov dword [eax], 6
mov eax, dword [edi]
call dword [eax + 8]
push 0
lea eax, [edi + 0x304]
push eax
push ecx
mov dword [esp + 0x19c], eax
lea ecx, [esp + 0x8c]
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 7
mov eax, dword [edi]
call dword [eax + 8]
lea eax, [esp + 0x264]
mov byte [esp + 0x1c0], 1
xorps xmm0, xmm0
push 0x4d68d0
push eax
movq qword [esp + 0x340], xmm0
call fcn.004efe00
mov esi, eax
add esp, 8
lea eax, [esp + 0x1a0]
mov ecx, dword [esi]
push eax
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.004eefb0
push eax
mov byte [esp + 0x350], 0xb
call fcn.004e55d0
mov ecx, dword [esp + 0x1a4]
add esp, 4
mov dword [esp + 0x1d4], eax
mov byte [esp + 0x34c], 0xa
test ecx, ecx
je 0x5c3818
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x5c3818
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [esp + 0x1d4]
push 0xa
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
movzx eax, al
mov ecx, esi
push eax
call fcn.0054be80
mov ecx, esi
call fcn.004eeeb0
cmp dword [esp + 0x1d8], 0
mov dword [esp + 0x1cc], 0
jle 0x5c3d80
xor edx, edx
mov dword [esp + 0x1d4], edx
lea esp, [esp]
mov eax, dword [edi + 0x2c4]
mov ecx, dword [esp + 0x1b4]
mov edi, dword [ecx + eax]
mov eax, dword [esp + 0x190]
add edi, edx
cmp dword [eax], 0x4e4
lea eax, [esp + 0x264]
jne 0x5c388f
push 0x4d68fc
jmp 0x5c3894
push 0x4d487c
push eax
call fcn.004efe00
mov eax, dword [esp + 0x1d0]
add esp, 8
or eax, dword [edi + 4]
mov ecx, edi
mov dword [esp + 0x1c8], eax
lea eax, [esp + 0x5c]
push eax
call fcn.0052e880
mov byte [esp + 0x34c], 0xc
test eax, eax
je 0x5c38cb
add eax, 4
jmp 0x5c38cd
xor eax, eax
push eax
lea eax, [esp + 0x268]
push eax
call fcn.00545d60
add esp, 8
mov byte [esp + 0x34c], 0xa
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x5c], 0x4ca328
jb 0x5c3901
push dword [esp + 0x60]
call fcn.005df995
add esp, 4
cmp byte [esp + 0x1e3], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
je 0x5c3d2b
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1a4]
mov esi, dword [edi + 0xa8]
mov dword [ecx + eax*4], esi
test esi, esi
jns 0x5c3966
mov eax, dword [esp + 0x1c0]
mov word [esp + 0x33c], 0
mov byte [esp + 0x33e], 0
mov byte [esp + 0x33f], al
mov dword [esp + 0x338], esi
cmp byte [esp + 0x1b8], 0
je 0x5c3cef
mov dword [esp + 0x314], 0xf
mov dword [esp + 0x310], 0
mov byte [esp + 0x300], 0
mov dword [esp + 0x2fc], 0x4ca328
mov byte [esp + 0x34c], 0xd
test esi, esi
js 0x5c39cb
lea eax, [esp + 0x338]
push eax
lea eax, [esp + 0x300]
push eax
push esi
push edi
mov edi, dword [esp + 0x1e0]
mov ecx, edi
call fcn.005c63a0
jmp 0x5c39d2
mov edi, dword [esp + 0x1d0]
mov eax, dword [esp + 0x264]
lea ecx, [esp + 0x264]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x19c]
push eax
call fcn.004eefb0
push eax
mov byte [esp + 0x350], 0xe
call fcn.004e55d0
mov ecx, dword [esp + 0x1a0]
add esp, 4
mov dword [esp + 0x1dc], eax
mov byte [esp + 0x34c], 0xd
test ecx, ecx
je 0x5c3a30
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x5c3a30
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [esp + 0x1dc]
push 0xa
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
movzx eax, al
lea ecx, [esp + 0x264]
push eax
call fcn.0054be80
lea ecx, [esp + 0x264]
call fcn.004eeeb0
lea eax, [esp + 0x264]
push 0x4d6900
push eax
call fcn.004efe00
add esp, 8
mov dword [esp + 0x1e8], 0
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0x33c]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
mov dword [eax], 0xa
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
cmp dword [eax], 4
jne 0x5c3c6e
test esi, esi
js 0x5c3c58
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x268]
call fcn.004efa00
mov esi, eax
lea eax, [esp + 0x128]
mov byte [esp + 0x34c], 0xf
push eax
lea ecx, [esp + 0x268]
call fcn.004efa00
push 0xffffffffffffffff
push dword [esi + 0x10]
lea ecx, [esp + 0x90]
mov byte [esp + 0x354], 0x10
push ecx
mov ecx, eax
call fcn.00545bf0
mov esi, eax
test byte [esp + 0x2a4], 1
mov byte [esp + 0x34c], 0x11
je 0x5c3b27
mov ecx, dword [esp + 0x274]
push dword [ecx]
call fcn.005df995
add esp, 4
mov eax, dword [esp + 0x274]
mov dword [eax], 0
mov eax, dword [esp + 0x284]
mov dword [eax], 0
mov eax, dword [esp + 0x294]
mov dword [eax], 0
mov eax, dword [esp + 0x278]
mov dword [eax], 0
mov eax, dword [esp + 0x288]
mov dword [eax], 0
mov eax, dword [esp + 0x298]
mov dword [eax], 0
mov eax, dword [esp + 0x2a4]
and eax, 0xfffffffe
mov dword [esp + 0x2a0], 0
mov dword [esp + 0x2a4], eax
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x5c3b9c
mov esi, dword [esi]
push eax
push ecx
push esi
lea ecx, [esp + 0x274]
call fcn.004ec150
cmp dword [esp + 0x9c], 0x10
jb 0x5c3bc4
push dword [esp + 0x88]
call fcn.005df995
add esp, 4
cmp dword [esp + 0x13c], 0x10
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
jb 0x5c3bfb
push dword [esp + 0x128]
call fcn.005df995
add esp, 4
cmp dword [esp + 0x120], 0x10
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], 0
mov byte [esp + 0x128], 0
mov byte [esp + 0x34c], 0xd
jb 0x5c3c3a
push dword [esp + 0x10c]
call fcn.005df995
add esp, 4
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
push dword [esp + 0x1e8]
lea eax, [esp + 0x268]
push eax
call fcn.004efe00
jmp 0x5c3c83
lea eax, [esp + 0x300]
push eax
lea eax, [esp + 0x268]
push eax
call fcn.00545d60
mov eax, dword [esp + 0x1c8]
xor ecx, ecx
add esp, 8
movzx eax, al
cmp byte [esp + 0x33f], cl
mov byte [esp + 0x34c], 0xa
cmove eax, ecx
mov dword [esp + 0x2fc], 0x4ca328
cmp dword [esp + 0x314], 0x10
mov dword [esp + 0x1c0], eax
jb 0x5c3ccf
push dword [esp + 0x300]
call fcn.005df995
add esp, 4
mov dword [esp + 0x314], 0xf
mov dword [esp + 0x310], 0
mov byte [esp + 0x300], 0
jmp 0x5c3d32
mov ecx, edi
call fcn.0052e7b0
push 0x4cbe78
push esi
push eax
lea eax, [esp + 0x270]
push 0x4d6914
push eax
call fcn.004efe00
add esp, 8
push eax
call fcn.004efe00
add esp, 8
mov ecx, eax
call fcn.004e8bd0
push eax
call fcn.004efe00
add esp, 8
mov edi, dword [esp + 0x1d0]
lea eax, [esp + 0x264]
push eax
call fcn.0054bb60
mov ecx, dword [esp + 0x1d0]
add esp, 4
mov edx, dword [esp + 0x1d4]
inc ecx
add edx, 0xc0
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1d4], edx
cmp ecx, dword [esp + 0x1d8]
jl 0x5c3860
cmp byte [esp + 0x1c0], 0
je 0x5c3f06
lea eax, [esp + 0x1e4]
mov dword [esp + 0x1e4], 0
push eax
lea eax, [esp + 0x33c]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0xc4]
push ecx
mov ecx, edi
mov dword [eax], 0xb
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
cmp dword [eax], 4
jne 0x5c3f06
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x268]
call fcn.004efa00
mov esi, eax
lea eax, [esp + 0xd8]
mov byte [esp + 0x34c], 0x12
push eax
lea ecx, [esp + 0x268]
call fcn.004efa00
push 0xffffffffffffffff
push dword [esi + 0x10]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x354], 0x13
push ecx
mov ecx, eax
call fcn.00545bf0
mov esi, eax
lea ecx, [esp + 0x268]
mov byte [esp + 0x34c], 0x14
call fcn.004ecd20
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x5c3e2d
mov esi, dword [esi]
push dword [esp + 0x2a4]
lea ecx, [esp + 0x26c]
push eax
push esi
call fcn.004ec150
cmp dword [esp + 0x104], 0x10
jb 0x5c3e5b
push dword [esp + 0xf0]
call fcn.005df995
add esp, 4
cmp dword [esp + 0xec], 0x10
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], 0
mov byte [esp + 0xf0], 0
jb 0x5c3e92
push dword [esp + 0xd8]
call fcn.005df995
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov byte [esp + 0x34c], 0xa
jb 0x5c3ed1
push dword [esp + 0xbc]
call fcn.005df995
add esp, 4
push dword [esp + 0x1e4]
lea eax, [esp + 0x268]
mov dword [esp + 0xd4], 0xf
push eax
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
call fcn.004efe00
add esp, 8
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x268]
call fcn.004efa00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x32c]
mov byte [esp + 0x358], 0x15
mov dword [esp + 0x340], 0xf
mov dword [esp + 0x33c], 0
mov byte [esp + 0x32c], 0
call fcn.004ed0d0
mov dword [esp + 0x31c], 0x4ca328
cmp dword [esp + 0xb4], 0x10
mov byte [esp + 0x34c], 0x17
jb 0x5c3f7d
push dword [esp + 0xa0]
call fcn.005df995
add esp, 4
cmp dword [esp + 0x334], 0x10
lea esi, [esp + 0x320]
push 0
cmovae esi, dword [esp + 0x324]
push esi
push ecx
mov eax, esp
mov dword [esp + 0xc0], 0xf
lea ecx, [esp + 0x14c]
mov dword [esp + 0xbc], 0
push ecx
mov ecx, edi
mov byte [esp + 0xb0], 0
mov dword [eax], 0x21
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov eax, dword [eax]
cmp eax, 4
je 0x5c41be
cmp eax, 8
je 0x5c4464
push 0
lea eax, [esp + 0x1f0]
mov dword [esp + 0x1f0], 0x4d6920
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
mov dword [eax], 4
mov eax, dword [edi]
call dword [eax + 8]
push dword [esp + 0x1c4]
lea eax, [esp + 0x33c]
push eax
push ecx
mov eax, esp
lea ecx, [esp + 0x88]
push ecx
mov ecx, edi
mov dword [eax], 2
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c4]
cmp eax, dword [edi + 0x308]
setb al
mov byte [esp + 0x1e3], al
cmp ecx, 4
je 0x5c4060
cmp ecx, 8
jne 0x5c4069
xor al, al
jmp 0x5c4062
mov al, 1
mov byte [esp + 0x1e3], al
xor cl, cl
cmp byte [esp + 0x358], cl
je 0x5c409c
test al, al
je 0x5c409c
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x1a0]
push ecx
mov ecx, edi
mov dword [eax], 3
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
cmp dword [eax], 4
sete cl
mov dword [esp + 0x21c], 0xf
mov dword [esp + 0x218], 0
mov byte [esp + 0x208], 0
mov dword [esp + 0x204], 0x4ca328
mov dword [esp + 0x238], 0xf
mov dword [esp + 0x234], 0
mov byte [esp + 0x224], 0
mov dword [esp + 0x220], 0x4ca328
cmp byte [esp + 0x1e3], 0
mov edx, dword [esp + 0x1bc]
mov byte [esp + 0x34c], 0x18
mov dword [esp + 0x1f0], edx
mov dword [esp + 0x1f4], 1
mov dword [esp + 0x1f8], 4
je 0x5c413a
test cl, cl
mov eax, 0x22
mov ecx, 0xb0
cmovne eax, ecx
mov dword [esp + 0x1f4], eax
lea eax, [esp + 0x1a4]
mov ecx, edi
push eax
push edx
call fcn.005c0be0
push dword [esp + 0x1ec]
mov dword [esp + 0x200], eax
lea ecx, [esp + 0x208]
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x204], eax
call fcn.005429a0
push esi
lea ecx, [esp + 0x224]
call fcn.005429a0
mov eax, dword [edi]
lea ecx, [esp + 0x1f0]
push 0
push ecx
push 0
lea ecx, [esp + 0x324]
mov byte [esp + 0x248], 1
push ecx
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esp + 0x318]
cmp eax, 0x20
jne 0x5c444a
lea ecx, [esp + 0x1f0]
call fcn.004f6200
cmp dword [esp + 0x334], 0x10
mov dword [esp + 0x31c], 0x4ca328
jb 0x5c41e2
push dword [esp + 0x320]
call fcn.005df995
add esp, 4
mov esi, dword [esp + 0x1d8]
inc dword [esp + 0x1c4]
lea ecx, [esp + 0x240]
mov byte [esp + 0x34c], 9
call fcn.005c0730
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 0
call fcn.004e76b0
lea eax, [esp + 0x2b4]
mov dword [esp + 0x2b4], 0x4ca288
push eax
call fcn.005dc189
add esp, 4
jmp 0x5c3272
and ecx, eax
test cl, 4
je 0x5c42ed
push 0x14
push 0x4ca28c
lea ecx, [esp + 0x14c]
mov dword [esp + 0x160], 0xf
mov dword [esp + 0x15c], 0
mov byte [esp + 0x14c], 0
call fcn.004ed2b0
lea eax, [esp + 0x144]
mov dword [esp + 0x34c], 4
push eax
push 0x62b004
push 1
lea ecx, [esp + 0x44]
call fcn.004e70d0
cmp dword [esp + 0x158], 0x10
mov byte [esp + 0x34c], 2
jb 0x5c42b8
push dword [esp + 0x144]
call fcn.005df995
add esp, 4
push 0x613da4
lea eax, [esp + 0x3c]
mov dword [esp + 0x15c], 0xf
push eax
mov dword [esp + 0x15c], 0
mov byte [esp + 0x14c], 0
mov dword [esp + 0x40], 0x4ca27c
call fcn.005e0491
test cl, 2
je 0x5c43a0
push 0x15
push 0x4ca2a4
lea ecx, [esp + 0x164]
mov dword [esp + 0x178], 0xf
mov dword [esp + 0x174], 0
mov byte [esp + 0x164], 0
call fcn.004ed2b0
lea eax, [esp + 0x15c]
mov dword [esp + 0x34c], 5
push eax
push 0x62b004
push 1
lea ecx, [esp + 0x30]
call fcn.004e70d0
cmp dword [esp + 0x170], 0x10
mov byte [esp + 0x34c], 2
jb 0x5c436b
push dword [esp + 0x15c]
call fcn.005df995
add esp, 4
push 0x613da4
lea eax, [esp + 0x28]
mov dword [esp + 0x174], 0xf
push eax
mov dword [esp + 0x174], 0
mov byte [esp + 0x164], 0
mov dword [esp + 0x2c], 0x4ca27c
call fcn.005e0491
push 0x14
push 0x4ca2bc
lea ecx, [esp + 0x17c]
mov dword [esp + 0x190], 0xf
mov dword [esp + 0x18c], 0
mov byte [esp + 0x17c], 0
call fcn.004ed2b0
lea eax, [esp + 0x174]
mov dword [esp + 0x34c], 6
push eax
push 0x62b004
push 1
lea ecx, [esp + 0x1c]
call fcn.004e70d0
cmp dword [esp + 0x188], 0x10
mov byte [esp + 0x34c], 2
jb 0x5c4415
push dword [esp + 0x174]
call fcn.005df995
add esp, 4
push 0x613da4
lea eax, [esp + 0x14]
mov dword [esp + 0x18c], 0xf
push eax
mov dword [esp + 0x18c], 0
mov byte [esp + 0x17c], 0
mov dword [esp + 0x18], 0x4ca27c
call fcn.005e0491
cmp eax, 0x80
jne 0x5c4458
or dword [edi + 0x70], 0x200
lea ecx, [esp + 0x1f0]
call fcn.004f6200
cmp dword [esp + 0x334], 0x10
mov dword [esp + 0x31c], 0x4ca328
jb 0x5c4488
push dword [esp + 0x320]
call fcn.005df995
add esp, 4
lea ecx, [esp + 0x240]
mov byte [esp + 0x34c], 9
call fcn.005c0730
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 0
call fcn.004e76b0
lea eax, [esp + 0x2b4]
mov dword [esp + 0x2b4], 0x4ca288
push eax
call fcn.005dc189
add esp, 4
mov eax, dword [esp + 0x1a4]
test eax, eax
je 0x5c44df
push eax
call fcn.005df995
add esp, 4
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x334]
xor ecx, esp
call fcn.005e0482
add esp, 0x344
ret 8