Function at 0x745c30
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x77985f
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x69bc80]
xor eax, esp
mov dword [esp + 0x2fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x314]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x324]
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x28], esi
mov ecx, dword [ebp + 0x270]
sub ecx, dword [ebp + 0x26c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x745ca0
call fcn.007564b6
mov eax, dword [ebp + 0x26c]
lea ecx, [ebx + ebx*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
add eax, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
and dword [ebp + 0x58], 0xfffffbff
mov eax, 0x30c30c31
imul ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], esi
call fcn.006e57d0
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x31c], esi
sar eax, 2
test eax, eax
jle 0x745d20
cmp esi, eax
jb 0x745d04
call fcn.007564b6
mov ecx, dword [esp + 0x50]
mov dword [ecx + esi*4], 0
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
inc esi
sar eax, 2
cmp esi, eax
jl 0x745cfd
nop
push 0
push ebx
mov ecx, ebp
call fcn.00741e80
mov dword [esp + 0x20], 0
test edi, edi
jle 0x745e73
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x270]
sub ecx, dword [ebp + 0x26c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x324], eax
jb 0x745d6d
call fcn.007564b6
mov esi, dword [ebp + 0x26c]
add esi, dword [esp + 0x3c]
mov eax, 0x30c30c31
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x20], ecx
jb 0x745d99
call fcn.007564b6
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x18]
mov edx, dword [esi + 8]
and edx, 7
cmp dl, 5
jne 0x745f18
mov dword [esi + 8], 1
xor ebx, ebx
lea edi, [esi + 0x90]
mov edi, edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
push ecx
mov ecx, dword [edi]
push edi
push esi
call fcn.00741ab0
cmp dword [edi + 4], 0
jne 0x745df5
test eax, eax
je 0x745df5
mov dword [esi + 0xa4], eax
xor al, al
test ebx, ebx
jne 0x745e47
mov dword [esi + 8], 2
mov ebx, 1
jmp 0x745dc0
mov byte [esp + 0x17], 1
test ebx, ebx
jle 0x745e43
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
je 0x745e43
mov eax, dword [esi + 4]
and eax, 0x700
cmp eax, 0x100
je 0x745e34
cmp eax, 0x200
je 0x745e28
cmp eax, 0x400
jne 0x745e3e
mov dword [esi + 0xa4], 0xc8
jmp 0x745e3e
mov dword [esi + 0xa4], 0x11
mov byte [esp + 0x17], 0
mov al, byte [esp + 0x17]
mov dword [esi + 8], 5
test al, al
jne 0x746c3c
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0xa8
inc eax
cmp eax, edi
mov dword [esp + 0x20], eax
jl 0x745d42
push 1
push 2
lea ecx, [esp + 0x94]
mov byte [esp + 0x26], 0
call fcn.006b4e40
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0x70]
mov byte [esp + 0x324], 1
mov dword [esp + 0x48], ebx
call fcn.00744350
cmp edi, ebx
mov byte [esp + 0x31c], 2
jle 0x745f76
mov ecx, dword [ebp + 0x270]
sub ecx, dword [ebp + 0x26c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x324], ecx
jb 0x745edc
call fcn.007564b6
mov esi, dword [ebp + 0x26c]
add esi, dword [esp + 0x3c]
mov eax, 0x30c30c31
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x745f06
call fcn.007564b6
mov eax, ebx
imul eax, eax, 0xa8
add eax, dword [esi + 0xc]
je 0x745f50
lea esi, [eax + 4]
jmp 0x745f52
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x90]
push edx
push eax
lea ebx, [esi + 0x90]
push ebx
push esi
call fcn.00741ab0
cmp dword [ebx + 4], 0
jne 0x746c3c
test eax, eax
je 0x746c3c
mov dword [esi + 0xa4], eax
jmp 0x745e5a
xor esi, esi
cmp ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sbb eax, eax
and eax, ebx
lea ecx, [eax + eax*4]
lea edi, [edx + ecx*8]
inc ebx
cmp ebx, dword [esp + 0x24]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
jl 0x745eb1
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0x6c]
push ecx
push eax
push ecx
mov eax, esp
mov dword [eax], 0x20
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x134]
mov dword [esp + 0x24], esp
push eax
mov ecx, ebp
call edx
cmp dword [esp + 0x38], ebx
mov eax, dword [eax]
seta byte [esp + 0x1f]
cmp eax, 4
je 0x746bbd
cmp eax, 8
je 0x746d7c
push ebx
push ebx
push ecx
mov eax, esp
mov dword [eax], 9
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x138]
mov dword [esp + 0x24], esp
push ecx
mov ecx, ebp
call edx
cmp dword [eax], 4
jne 0x74601c
push ebx
push ebx
push ecx
mov eax, esp
mov dword [eax], 8
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x148]
mov dword [esp + 0x24], esp
push ecx
mov ecx, ebp
mov byte [esp + 0x2f], 1
call edx
cmp dword [eax], 4
jne 0x74601c
mov byte [esp + 0x1e], 1
push ebx
lea eax, [ebp + 0x3fc]
push eax
push ecx
mov eax, esp
mov dword [eax], 6
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x11c]
push eax
mov ecx, ebp
call edx
push ebx
lea eax, [ebp + 0x400]
push eax
push ecx
mov eax, esp
mov dword [eax], 7
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, ebp
call edx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x8c]
push 0x6a5ff4
push eax
mov byte [esp + 0x1f], 1
call fcn.006f62d0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00702b40
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x7460b7
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x7460b7
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebx
je 0x7460d6
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebx
jne 0x7460cf
or eax, 4
push ebx
push eax
call fcn.006b1ff0
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov edi, 0x10
jle 0x746674
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
mov ecx, dword [ebp + 0x270]
sub ecx, dword [ebp + 0x26c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x324], eax
jb 0x74611b
call fcn.007564b6
mov esi, dword [ebp + 0x26c]
add esi, dword [esp + 0x3c]
mov eax, 0x30c30c31
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x20], ecx
jb 0x746147
call fcn.007564b6
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x18]
cmp dword [ebp + 0x400], 0x4e4
jne 0x746169
push 0x6a5ff0
lea edx, [esp + 0x90]
push edx
jmp 0x746176
push 0x6a59f4
lea eax, [esp + 0x90]
push eax
call fcn.006f62d0
mov ecx, dword [esi + 4]
or dword [esp + 0x48], ecx
add esp, 8
lea edx, [esp + 0x140]
push edx
mov ecx, esi
call fcn.0073dcd0
mov byte [esp + 0x31c], 3
cmp eax, ebx
je 0x7461a5
add eax, 4
jmp 0x7461a7
xor eax, eax
push eax
lea eax, [esp + 0x90]
push eax
call fcn.006f7210
add esp, 8
mov byte [esp + 0x31c], 2
mov dword [esp + 0x140], 0x6a0f10
cmp dword [esp + 0x15c], edi
jb 0x7461e4
mov ecx, dword [esp + 0x148]
push ecx
call fcn.00755e35
add esp, 4
cmp byte [esp + 0x1f], 0
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], 0
je 0x7465e7
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x50]
mov edi, dword [esi + 0xa4]
sar edx, 2
cmp dword [esp + 0x20], edx
jb 0x746225
call fcn.007564b6
cmp edi, ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov dword [eax + ecx*4], edi
jge 0x74624f
mov dl, byte [esp + 0x17]
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov byte [esp + 0x36], 0
mov byte [esp + 0x37], dl
mov dword [esp + 0x30], edi
cmp byte [esp + 0x1e], 0
je 0x7465a6
mov dword [esp + 0x2b4], 0xf
mov dword [esp + 0x2b0], ebx
mov byte [esp + 0x2a0], 0
mov dword [esp + 0x298], 0x6a0f10
cmp edi, ebx
mov byte [esp + 0x31c], 4
jl 0x7462a1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x29c]
push ecx
push edi
push esi
mov ecx, ebp
call fcn.00742060
push 0xa
lea ecx, [esp + 0x90]
call fcn.00702b40
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
xor esi, esi
test byte [esp + eax + 0x94], 6
jne 0x7462df
mov eax, dword [esp + eax + 0xb4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x7462df
mov esi, 4
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x8c]
cmp esi, ebx
je 0x746308
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], ebx
jne 0x746301
or eax, 4
push ebx
push eax
call fcn.006b1ff0
lea edx, [esp + 0x8c]
push 0x6a5fdc
push edx
call fcn.006f62d0
add esp, 8
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x34]
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x68], ebx
mov dword [eax], 0xa
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x13c]
mov dword [esp + 0x38], esp
push eax
mov ecx, ebp
call edx
cmp dword [eax], 4
jne 0x7464ee
cmp edi, ebx
jl 0x7464da
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0x90]
call fcn.006b2d10
mov esi, eax
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x320], 5
call fcn.006b2d10
mov esi, dword [esi + 0x14]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x22c]
push edx
mov ecx, eax
mov byte [esp + 0x328], 6
call fcn.006f2bb0
mov esi, eax
test byte [esp + 0xd0], 1
mov byte [esp + 0x31c], 7
je 0x7463d0
mov eax, dword [esp + 0xa0]
mov eax, dword [eax]
push eax
call fcn.00755e35
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword [ecx], ebx
mov edx, dword [esp + 0xb0]
mov dword [edx], ebx
mov eax, dword [esp + 0xc0]
mov dword [eax], ebx
mov ecx, dword [esp + 0xa4]
mov dword [ecx], ebx
mov edx, dword [esp + 0xb4]
mov dword [edx], ebx
mov eax, dword [esp + 0xc4]
mov dword [eax], ebx
and dword [esp + 0xd0], 0xfffffffe
mov dword [esp + 0xcc], ebx
mov eax, dword [esi + 0x14]
mov edi, 0x10
cmp dword [esi + 0x18], edi
jb 0x746427
mov esi, dword [esi + 4]
jmp 0x74642a
add esi, 4
mov ecx, dword [esp + 0xd0]
push ecx
push eax
push esi
lea ecx, [esp + 0x9c]
call fcn.006aea30
cmp dword [esp + 0x23c], edi
jb 0x746459
mov edx, dword [esp + 0x228]
push edx
call fcn.00755e35
add esp, 4
mov esi, 0xf
mov dword [esp + 0x23c], esi
mov dword [esp + 0x238], ebx
mov byte [esp + 0x228], 0
cmp dword [esp + 0x178], edi
jb 0x74648d
mov eax, dword [esp + 0x164]
push eax
call fcn.00755e35
add esp, 4
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], 0
mov byte [esp + 0x31c], 4
cmp dword [esp + 0x1b0], edi
jb 0x7464c4
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.00755e35
add esp, 4
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], 0
mov edx, dword [esp + 0x5c]
push edx
lea eax, [esp + 0x90]
push eax
call fcn.006f62d0
jmp 0x746503
lea ecx, [esp + 0x29c]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.006f7210
add esp, 8
test byte [esp + 0x28], 1
mov dword [esp + 0x31c], 4
je 0x746551
and dword [esp + 0x28], 0xfffffffe
cmp dword [esp + 0x258], 0x10
jb 0x746537
mov eax, dword [esp + 0x244]
push eax
call fcn.00755e35
add esp, 4
mov dword [esp + 0x258], 0xf
mov dword [esp + 0x254], ebx
mov byte [esp + 0x244], 0
cmp byte [esp + 0x37], 0
jne 0x74655d
mov byte [esp + 0x17], 0
cmp dword [esp + 0x2b4], 0x10
mov byte [esp + 0x31c], 2
mov dword [esp + 0x298], 0x6a0f10
jb 0x74658a
mov ecx, dword [esp + 0x2a0]
push ecx
call fcn.00755e35
add esp, 4
mov dword [esp + 0x2b4], 0xf
mov dword [esp + 0x2b0], ebx
mov byte [esp + 0x2a0], 0
jmp 0x7465e2
mov ecx, esi
call fcn.0073d7f0
push 0x6a1758
push edi
push eax
lea edx, [esp + 0x98]
push 0x6a5fd0
push edx
call fcn.006f62d0
add esp, 8
push eax
call fcn.006f62d0
add esp, 8
mov ecx, eax
call fcn.006b4cf0
push eax
call fcn.006f62d0
add esp, 8
mov edi, 0x10
push 0xa
lea ecx, [esp + 0x90]
call fcn.00702b40
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
xor esi, esi
test byte [esp + eax + 0x94], 6
jne 0x746625
mov eax, dword [esp + eax + 0xb4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x746625
mov esi, 4
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x8c]
cmp esi, ebx
je 0x74664e
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], ebx
jne 0x746647
or eax, 4
push ebx
push eax
call fcn.006b1ff0
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0xa8
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x7460f0
cmp byte [esp + 0x17], 0
je 0x746881
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x6c], ebx
mov dword [eax], 0xb
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x120]
mov dword [esp + 0x38], esp
push eax
mov ecx, ebp
call edx
cmp dword [eax], 4
jne 0x746881
lea eax, [esp + 0x1d0]
push eax
lea ecx, [esp + 0x90]
call fcn.006b2d10
mov esi, eax
lea ecx, [esp + 0x208]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x320], 9
call fcn.006b2d10
mov esi, dword [esi + 0x14]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x1f4]
push edx
mov ecx, eax
mov byte [esp + 0x328], 0xa
call fcn.006f2bb0
mov esi, eax
test byte [esp + 0xd0], 1
mov byte [esp + 0x31c], 0xb
je 0x74671f
mov eax, dword [esp + 0xa0]
mov eax, dword [eax]
push eax
call fcn.00755e35
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword [ecx], ebx
mov edx, dword [esp + 0xb0]
mov dword [edx], ebx
mov eax, dword [esp + 0xc0]
mov dword [eax], ebx
mov ecx, dword [esp + 0xa4]
mov dword [ecx], ebx
mov edx, dword [esp + 0xb4]
mov dword [edx], ebx
mov eax, dword [esp + 0xc4]
mov dword [eax], ebx
and dword [esp + 0xd0], 0xfffffffe
mov dword [esp + 0xcc], ebx
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x18], edi
jb 0x746771
mov esi, dword [esi + 4]
jmp 0x746774
add esi, 4
mov ecx, dword [esp + 0xd0]
push ecx
push eax
push esi
lea ecx, [esp + 0x9c]
call fcn.006aea30
cmp dword [esp + 0x204], edi
jb 0x7467a3
mov edx, dword [esp + 0x1f0]
push edx
call fcn.00755e35
add esp, 4
mov esi, 0xf
mov dword [esp + 0x204], esi
mov dword [esp + 0x200], ebx
mov byte [esp + 0x1f0], 0
cmp dword [esp + 0x220], edi
jb 0x7467d7
mov eax, dword [esp + 0x20c]
push eax
call fcn.00755e35
add esp, 4
mov dword [esp + 0x220], esi
mov dword [esp + 0x21c], ebx
mov byte [esp + 0x20c], 0
mov byte [esp + 0x31c], 2
cmp dword [esp + 0x1e8], edi
jb 0x74680e
mov ecx, dword [esp + 0x1d4]
push ecx
call fcn.00755e35
add esp, 4
mov edx, dword [esp + 0x60]
push edx
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x1f0], esi
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], 0
call fcn.006f62d0
add esp, 8
test byte [esp + 0x28], 2
mov dword [esp + 0x31c], 2
je 0x746886
and dword [esp + 0x28], 0xfffffffd
cmp dword [esp + 0x274], edi
jb 0x746869
mov ecx, dword [esp + 0x260]
push ecx
call fcn.00755e35
add esp, 4
mov dword [esp + 0x274], esi
mov dword [esp + 0x270], ebx
mov byte [esp + 0x260], 0
jmp 0x746886
mov esi, 0xf
lea edx, [esp + 0x17c]
push edx
lea ecx, [esp + 0x90]
call fcn.006b2d10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x288]
mov byte [esp + 0x328], 0xd
mov dword [esp + 0x2a0], esi
mov dword [esp + 0x29c], ebx
mov byte [esp + 0x28c], 0
call fcn.006aff00
mov dword [esp + 0x278], 0x6a0f10
mov byte [esp + 0x31c], 0xf
cmp dword [esp + 0x194], edi
jb 0x7468f4
mov eax, dword [esp + 0x180]
push eax
call fcn.00755e35
add esp, 4
mov dword [esp + 0x194], esi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], 0
cmp dword [esp + 0x294], edi
jb 0x746920
mov ecx, dword [esp + 0x280]
mov dword [esp + 0x18], ecx
jmp 0x74692b
lea edx, [esp + 0x280]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
push ebx
push eax
push ecx
mov eax, esp
mov dword [eax], 0x21
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x144]
mov dword [esp + 0x38], esp
push eax
mov ecx, ebp
call edx
mov eax, dword [eax]
cmp eax, 4
jne 0x746963
cmp dword [esp + 0x294], edi
jmp 0x746ba0
cmp eax, 8
je 0x746d17
push 0
lea ecx, [esp + 0x68]
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x70], 0x6a5fb0
mov dword [eax], 4
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x118]
mov dword [esp + 0x38], esp
push eax
mov ecx, ebp
call edx
mov esi, dword [esp + 0x38]
push 0
push esi
push ecx
mov eax, esp
mov dword [eax], 2
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x128]
mov dword [esp + 0x38], esp
push ecx
mov ecx, ebp
call edx
cmp esi, dword [ebp + 0x404]
mov eax, dword [eax]
setb bl
cmp eax, 4
je 0x7469d9
cmp eax, 8
jne 0x7469db
xor bl, bl
jmp 0x7469db
mov bl, 1
xor al, al
cmp byte [esp + 0x328], al
je 0x746a13
test bl, bl
je 0x746a13
push 0
push 0
push ecx
mov eax, esp
mov dword [eax], 3
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x94]
mov dword [esp + 0x38], esp
push ecx
mov ecx, ebp
call edx
cmp dword [eax], 4
sete al
xor ecx, ecx
mov edi, 0xf
mov edx, 0x6a0f10
mov dword [esp + 0x2e8], edi
mov dword [esp + 0x2e4], ecx
mov byte [esp + 0x2d4], cl
mov dword [esp + 0x2cc], edx
mov dword [esp + 0x308], edi
mov dword [esp + 0x304], ecx
mov byte [esp + 0x2f4], cl
mov dword [esp + 0x2ec], edx
mov esi, dword [esp + 0x324]
mov byte [esp + 0x31c], 0x11
mov dword [esp + 0x2b8], esi
mov dword [esp + 0x2bc], 1
mov dword [esp + 0x2c0], 4
test bl, bl
je 0x746aa3
mov ebx, dword [esp + 0x18]
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x8e
add eax, 0x22
mov dword [esp + 0x2bc], eax
jmp 0x746b11
lea ecx, [esp + 0x8c]
push 0x6a5f88
push ecx
call fcn.006f62d0
add esp, 8
lea edx, [esp + 0x1b4]
push edx
lea ecx, [esp + 0x90]
call fcn.006b2d10
mov ecx, 0x10
cmp dword [eax + 0x18], ecx
jb 0x746adb
mov ebx, dword [eax + 4]
jmp 0x746ade
lea ebx, [eax + 4]
cmp dword [esp + 0x1cc], ecx
jb 0x746af7
mov eax, dword [esp + 0x1b8]
push eax
call fcn.00755e35
add esp, 4
mov dword [esp + 0x1cc], edi
mov dword [esp + 0x1c8], 0
mov byte [esp + 0x1b8], 0
lea ecx, [esp + 0x44]
push ecx
push esi
mov ecx, ebp
call fcn.00744100
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c4], eax
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x2d0]
mov dword [esp + 0x2cc], edx
call fcn.006ebe80
push ebx
lea ecx, [esp + 0x2f0]
call fcn.006ebe80
mov edx, dword [ebp]
mov edx, dword [edx + 4]
push 0
lea eax, [esp + 0x2bc]
push eax
push 0
lea ecx, [esp + 0x90]
push ecx
mov ecx, ebp
mov byte [esp + 0x31c], 1
call edx
mov eax, dword [esp + 0x84]
cmp eax, 0x20
jne 0x746d35
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x31c], 0xf
call fcn.006cfa90
cmp dword [esp + 0x294], 0x10
mov dword [esp + 0x278], 0x6a0f10
jb 0x746bbd
mov eax, dword [esp + 0x280]
push eax
call fcn.00755e35
add esp, 4
mov eax, 1
add dword [esp + 0x38], eax
cmp byte [esp + 0x78], 0
je 0x746bfd
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x746bfd
cmp dword [esp + 0x7c], eax
jne 0x746bf4
mov eax, dword [esp + 0x70]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push 0
push esi
call fcn.00755e40
add esp, 0xc
push esi
call fcn.00756589
add esp, 4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x31c], 0
call fcn.006af1f0
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xdc], 0x6a1144
call fcn.007558b7
mov ebx, dword [esp + 0x328]
mov edi, dword [esp + 0x28]
add esp, 4
jmp 0x745d20
mov eax, dword [ebp + 0x2c8]
sub eax, dword [ebp + 0x2c4]
mov edi, dword [esp + 0x324]
sar eax, 2
cmp edi, eax
jb 0x746c5b
call fcn.007564b6
mov ecx, dword [ebp + 0x2c4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edi*4], edx
xor edi, edi
push edi
push esi
push ecx
mov eax, esp
mov dword [eax], 0x24
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x130]
mov dword [esp + 0x94], esp
push ecx
mov ecx, ebp
call edx
cmp dword [eax], edi
jne 0x746cfc
push edi
lea eax, [ebp + 0x3fc]
push eax
push ecx
mov eax, esp
mov dword [eax], 6
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x140]
push eax
mov ecx, ebp
call edx
push edi
lea eax, [ebp + 0x400]
push eax
push ecx
mov eax, esp
mov dword [eax], 7
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x8c]
push eax
mov ecx, ebp
call edx
push edi
push esi
push ecx
mov eax, esp
mov dword [eax], 0x25
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x124]
mov dword [esp + 0x8c], esp
push ecx
mov ecx, ebp
call edx
mov eax, dword [esp + 0x50]
cmp eax, edi
je 0x746d0d
push eax
call fcn.00755e35
add esp, 4
mov eax, dword [esp + 0x44]
push eax
jmp 0x746dfa
mov dword [esp + 0x278], 0x6a0f10
cmp dword [esp + 0x294], edi
jb 0x746d7c
mov ecx, dword [esp + 0x280]
push ecx
jmp 0x746d74
cmp eax, 0x80
jne 0x746d43
or dword [ebp + 0x58], 0x200
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x31c], 0xf
call fcn.006cfa90
cmp dword [esp + 0x294], 0x10
mov dword [esp + 0x278], 0x6a0f10
jb 0x746d7c
mov edx, dword [esp + 0x280]
push edx
call fcn.00755e35
add esp, 4
xor edi, edi
cmp byte [esp + 0x78], 0
je 0x746db5
mov esi, dword [esp + 0x6c]
cmp esi, edi
je 0x746db5
cmp dword [esp + 0x7c], 1
jne 0x746dac
mov eax, dword [esp + 0x70]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push edi
push esi
call fcn.00755e40
add esp, 0xc
push esi
call fcn.00756589
add esp, 4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x31c], 0
call fcn.006af1f0
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0xdc], 0x6a1144
call fcn.007558b7
mov eax, dword [esp + 0x54]
add esp, 4
cmp eax, edi
je 0x746df5
push eax
call fcn.00755e35
add esp, 4
mov edx, dword [esp + 0x44]
push edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call fcn.00755e35
add esp, 4
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2fc]
xor ecx, esp
call fcn.007562ca
add esp, 0x30c
ret 8