Function at 0x4c48a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4f1a4e
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x502c60]
xor eax, esp
mov dword [esp + 0x334], eax
push esi
push edi
mov eax, dword [0x502c60]
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, 0xd20d20d3
and dword [edi + 0x70], 0xfffffbff
imul ecx
movq qword [esp + 0x1a4], xmm0
mov dword [esp + 0x1ac], 0
add edx, ecx
lea ecx, [esp + 0x1a4]
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
push esi
mov dword [esp + 0x1dc], esi
call fcn.0048f300
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 0x4c4994
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.004c7810
xor ecx, ecx
mov dword [esp + 0x1c8], ecx
test esi, esi
jle 0x4c4ba3
xor eax, eax
mov dword [esp + 0x1d4], eax
mov edi, edi
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 + 0x84]
and eax, 0x17
cmp al, 5
jne 0x4c4b46
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.004c69d0
cmp dword [edi + 4], 0
jne 0x4c4a37
test eax, eax
je 0x4c4a37
mov dword [esi + 0x98], eax
xor al, al
cmp dword [esp + 0x1cc], 0
jne 0x4c4a97
mov dword [esi + 8], 2
mov dword [esp + 0x1cc], 1
jmp 0x4c49f8
cmp dword [esp + 0x1cc], 0
mov al, 1
mov byte [esp + 0x1e3], al
jle 0x4c4a97
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
je 0x4c4a90
mov eax, dword [esi + 4]
and eax, 0xf00
cmp eax, 0x100
je 0x4c4a82
cmp eax, 0x200
je 0x4c4a74
cmp eax, 0x400
jne 0x4c4a8c
mov dword [esi + 0x98], 0xc8
xor al, al
jmp 0x4c4a97
mov dword [esi + 0x98], 0x11
xor al, al
jmp 0x4c4a97
mov al, byte [esp + 0x1e3]
mov dword [esi + 8], 5
test al, al
je 0x4c4b6d
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 0x4c5beb
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 0x4c5beb
push dword [esi + 0x1c]
mov ecx, dword [edi]
push dword [esi + 0x18]
push edi
push esi
call fcn.004c69d0
cmp dword [edi + 4], 0
jne 0x4c4aa6
test eax, eax
je 0x4c4aa6
mov dword [esi + 0x98], eax
mov ecx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x1d4]
inc ecx
mov edi, dword [esp + 0x1d0]
add eax, 0x9c
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1d4], eax
cmp ecx, dword [esp + 0x1d8]
jl 0x4c49c0
push 0x98
lea eax, [esp + 0x268]
mov byte [esp + 0x1bc], 0
push 0
push eax
call fcn.004d26a0
add esp, 0xc
mov dword [esp + 0x264], 0x44f328
or dword [esp + 0x1b0], 1
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 1
mov dword [esp + 0x2b4], 0x44fb40
mov dword [esp + 0x2b0], 0x48
call fcn.00464fe0
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.004673f0
push eax
mov dword [esp + 0x350], 3
call fcn.0045f390
mov ecx, dword [esp + 0x19c]
add esp, 4
mov byte [esp + 0x34c], 2
mov esi, eax
test ecx, ecx
je 0x4c4c68
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x4c4c68
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 0x4c4ca7
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 0x4c5958
mov eax, dword [esp + 0x264]
mov dword [esp + 0x34c], 7
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x264], 0x44fbec
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.0045fa60
mov dword [esp + 0x268], 0x44fbac
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.004c1cb0
xor edx, edx
mov byte [esp + 0x34c], 0xa
test esi, esi
jle 0x4c4dbf
nop
mov eax, dword [edi + 0x2c4]
mov ecx, dword [esp + 0x1b4]
imul esi, edx, 0x9c
add esi, dword [ecx + eax]
je 0x4c4d7d
add esi, 4
jmp 0x4c4d7f
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 0x4c4d60
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 0x4c5909
cmp eax, 8
je 0x4c5ba8
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 0x4c4e72
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 0x453778
push eax
movq qword [esp + 0x340], xmm0
call fcn.00491c70
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.004673f0
push eax
mov byte [esp + 0x350], 0xb
call fcn.0045f390
mov ecx, dword [esp + 0x1a4]
add esp, 4
mov dword [esp + 0x1d4], eax
mov byte [esp + 0x34c], 0xa
test ecx, ecx
je 0x4c4f38
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x4c4f38
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.004a5840
mov ecx, esi
call fcn.00467320
cmp dword [esp + 0x1d8], 0
mov dword [esp + 0x1cc], 0
jle 0x4c54a0
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 0x4c4faf
push 0x4537a4
jmp 0x4c4fb4
push 0x4537a8
push eax
call fcn.00491c70
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.004bf9e0
mov byte [esp + 0x34c], 0xc
test eax, eax
je 0x4c4feb
add eax, 4
jmp 0x4c4fed
xor eax, eax
push eax
lea eax, [esp + 0x268]
push eax
call fcn.004a0970
add esp, 8
mov byte [esp + 0x34c], 0xa
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x5c], 0x44fa2c
jb 0x4c5021
push dword [esp + 0x60]
call fcn.004d105d
add esp, 4
cmp byte [esp + 0x1e3], 0
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
je 0x4c544b
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1a4]
mov esi, dword [edi + 0x98]
mov dword [ecx + eax*4], esi
test esi, esi
jns 0x4c5086
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 0x4c540f
mov dword [esp + 0x314], 0xf
mov dword [esp + 0x310], 0
mov byte [esp + 0x300], 0
mov dword [esp + 0x2fc], 0x44fa2c
mov byte [esp + 0x34c], 0xd
test esi, esi
js 0x4c50eb
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.004c78f0
jmp 0x4c50f2
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.004673f0
push eax
mov byte [esp + 0x350], 0xe
call fcn.0045f390
mov ecx, dword [esp + 0x1a0]
add esp, 4
mov dword [esp + 0x1dc], eax
mov byte [esp + 0x34c], 0xd
test ecx, ecx
je 0x4c5150
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x4c5150
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.004a5840
lea ecx, [esp + 0x264]
call fcn.00467320
lea eax, [esp + 0x264]
push 0x4537ac
push eax
call fcn.00491c70
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 0x4c538e
test esi, esi
js 0x4c5378
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x268]
call fcn.00467c10
mov esi, eax
lea eax, [esp + 0x128]
mov byte [esp + 0x34c], 0xf
push eax
lea ecx, [esp + 0x268]
call fcn.00467c10
push 0xffffffffffffffff
push dword [esi + 0x10]
lea ecx, [esp + 0x90]
mov byte [esp + 0x354], 0x10
push ecx
mov ecx, eax
call fcn.004a0930
mov esi, eax
test byte [esp + 0x2a4], 1
mov byte [esp + 0x34c], 0x11
je 0x4c5247
mov ecx, dword [esp + 0x274]
push dword [ecx]
call fcn.004d105d
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 0x4c52bc
mov esi, dword [esi]
push eax
push ecx
push esi
lea ecx, [esp + 0x274]
call fcn.00464dc0
cmp dword [esp + 0x9c], 0x10
jb 0x4c52e4
push dword [esp + 0x88]
call fcn.004d105d
add esp, 4
cmp dword [esp + 0x13c], 0x10
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
jb 0x4c531b
push dword [esp + 0x128]
call fcn.004d105d
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 0x4c535a
push dword [esp + 0x10c]
call fcn.004d105d
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.00491c70
jmp 0x4c53a3
lea eax, [esp + 0x300]
push eax
lea eax, [esp + 0x268]
push eax
call fcn.004a0970
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], 0x44fa2c
cmp dword [esp + 0x314], 0x10
mov dword [esp + 0x1c0], eax
jb 0x4c53ef
push dword [esp + 0x300]
call fcn.004d105d
add esp, 4
mov dword [esp + 0x314], 0xf
mov dword [esp + 0x310], 0
mov byte [esp + 0x300], 0
jmp 0x4c5452
mov ecx, edi
call fcn.004bf910
push 0x44fd64
push esi
push eax
lea eax, [esp + 0x270]
push 0x4537c0
push eax
call fcn.00491c70
add esp, 8
push eax
call fcn.00491c70
add esp, 8
mov ecx, eax
call fcn.00461de0
push eax
call fcn.00491c70
add esp, 8
mov edi, dword [esp + 0x1d0]
lea eax, [esp + 0x264]
push eax
call fcn.004a5790
mov ecx, dword [esp + 0x1d0]
add esp, 4
mov edx, dword [esp + 0x1d4]
inc ecx
add edx, 0x9c
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1d4], edx
cmp ecx, dword [esp + 0x1d8]
jl 0x4c4f80
cmp byte [esp + 0x1c0], 0
je 0x4c5626
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 0x4c5626
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x268]
call fcn.00467c10
mov esi, eax
lea eax, [esp + 0xd8]
mov byte [esp + 0x34c], 0x12
push eax
lea ecx, [esp + 0x268]
call fcn.00467c10
push 0xffffffffffffffff
push dword [esi + 0x10]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x354], 0x13
push ecx
mov ecx, eax
call fcn.004a0930
mov esi, eax
lea ecx, [esp + 0x268]
mov byte [esp + 0x34c], 0x14
call fcn.00465920
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4c554d
mov esi, dword [esi]
push dword [esp + 0x2a4]
lea ecx, [esp + 0x26c]
push eax
push esi
call fcn.00464dc0
cmp dword [esp + 0x104], 0x10
jb 0x4c557b
push dword [esp + 0xf0]
call fcn.004d105d
add esp, 4
cmp dword [esp + 0xec], 0x10
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], 0
mov byte [esp + 0xf0], 0
jb 0x4c55b2
push dword [esp + 0xd8]
call fcn.004d105d
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 0x4c55f1
push dword [esp + 0xbc]
call fcn.004d105d
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.00491c70
add esp, 8
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x268]
call fcn.00467c10
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.0045c010
mov dword [esp + 0x31c], 0x44fa2c
cmp dword [esp + 0xb4], 0x10
mov byte [esp + 0x34c], 0x17
jb 0x4c569d
push dword [esp + 0xa0]
call fcn.004d105d
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 0x4c58de
cmp eax, 8
je 0x4c5b84
push 0
lea eax, [esp + 0x1f0]
mov dword [esp + 0x1f0], 0x4537cc
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 0x4c5780
cmp ecx, 8
jne 0x4c5789
xor al, al
jmp 0x4c5782
mov al, 1
mov byte [esp + 0x1e3], al
xor cl, cl
cmp byte [esp + 0x358], cl
je 0x4c57bc
test al, al
je 0x4c57bc
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], 0x44fa2c
mov dword [esp + 0x238], 0xf
mov dword [esp + 0x234], 0
mov byte [esp + 0x224], 0
mov dword [esp + 0x220], 0x44fa2c
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 0x4c585a
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.004c22b0
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.0049e970
push esi
lea ecx, [esp + 0x224]
call fcn.0049e970
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 0x4c5b6a
lea ecx, [esp + 0x1f0]
call fcn.0046cc80
cmp dword [esp + 0x334], 0x10
mov dword [esp + 0x31c], 0x44fa2c
jb 0x4c5902
push dword [esp + 0x320]
call fcn.004d105d
add esp, 4
mov esi, dword [esp + 0x1d8]
inc dword [esp + 0x1c4]
lea ecx, [esp + 0x240]
mov byte [esp + 0x34c], 9
call fcn.004c1e50
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 0
call fcn.00460d60
lea eax, [esp + 0x2b4]
mov dword [esp + 0x2b4], 0x44faf0
push eax
call fcn.004d0ea5
add esp, 4
jmp 0x4c4994
and ecx, eax
test cl, 4
je 0x4c5a0d
push 0x14
push 0x44f178
lea ecx, [esp + 0x14c]
mov dword [esp + 0x160], 0xf
mov dword [esp + 0x15c], 0
mov byte [esp + 0x14c], 0
call fcn.0045c120
lea eax, [esp + 0x144]
mov dword [esp + 0x34c], 4
push eax
push 0x4fe004
push 1
lea ecx, [esp + 0x44]
call fcn.004607e0
cmp dword [esp + 0x158], 0x10
mov byte [esp + 0x34c], 2
jb 0x4c59d8
push dword [esp + 0x144]
call fcn.004d105d
add esp, 4
push 0x4f30b8
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], 0x44fae4
call fcn.004d1803
test cl, 2
je 0x4c5ac0
push 0x15
push 0x44f190
lea ecx, [esp + 0x164]
mov dword [esp + 0x178], 0xf
mov dword [esp + 0x174], 0
mov byte [esp + 0x164], 0
call fcn.0045c120
lea eax, [esp + 0x15c]
mov dword [esp + 0x34c], 5
push eax
push 0x4fe004
push 1
lea ecx, [esp + 0x30]
call fcn.004607e0
cmp dword [esp + 0x170], 0x10
mov byte [esp + 0x34c], 2
jb 0x4c5a8b
push dword [esp + 0x15c]
call fcn.004d105d
add esp, 4
push 0x4f30b8
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], 0x44fae4
call fcn.004d1803
push 0x14
push 0x44f1a8
lea ecx, [esp + 0x17c]
mov dword [esp + 0x190], 0xf
mov dword [esp + 0x18c], 0
mov byte [esp + 0x17c], 0
call fcn.0045c120
lea eax, [esp + 0x174]
mov dword [esp + 0x34c], 6
push eax
push 0x4fe004
push 1
lea ecx, [esp + 0x1c]
call fcn.004607e0
cmp dword [esp + 0x188], 0x10
mov byte [esp + 0x34c], 2
jb 0x4c5b35
push dword [esp + 0x174]
call fcn.004d105d
add esp, 4
push 0x4f30b8
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], 0x44fae4
call fcn.004d1803
cmp eax, 0x80
jne 0x4c5b78
or dword [edi + 0x70], 0x200
lea ecx, [esp + 0x1f0]
call fcn.0046cc80
cmp dword [esp + 0x334], 0x10
mov dword [esp + 0x31c], 0x44fa2c
jb 0x4c5ba8
push dword [esp + 0x320]
call fcn.004d105d
add esp, 4
lea ecx, [esp + 0x240]
mov byte [esp + 0x34c], 9
call fcn.004c1e50
lea ecx, [esp + 0x2b4]
mov byte [esp + 0x34c], 0
call fcn.00460d60
lea eax, [esp + 0x2b4]
mov dword [esp + 0x2b4], 0x44faf0
push eax
call fcn.004d0ea5
add esp, 4
mov eax, dword [esp + 0x1a4]
test eax, eax
je 0x4c5bff
push eax
call fcn.004d105d
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.004d17f4
add esp, 0x344
ret 8