Function at 0x1003bcbc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007268b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x250
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x1003bee7
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x104], eax
lea eax, [ebp + 0x60]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1cc]
movzx eax, byte [eax]
test eax, eax
je 0x1003bea9
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x1003be1a
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x1003be1a
and dword [ebp - 0xe8], 0
jmp 0x1003be24
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax]
imul eax, dword [ecx]
mov dword [ebp - 0xac], eax
push 0
mov ecx, dword [ebp - 0x1d4]
call fcn.100193bb
mov ecx, dword [ebp - 0xac]
mov dword [eax], ecx
mov eax, dword [ebp - 0xac]
imul eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x28]
cmp eax, dword [ecx]
jle 0x1003be6a
mov dword [ebp - 0x7c], 1
jmp 0x1003be6e
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax]
cmp dword [ebp - 0x7c], eax
jge 0x1003be92
mov dword [ebp - 0xbc], 1
jmp 0x1003be99
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
jmp 0x1003bee2
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
movzx eax, byte [eax]
test eax, eax
je 0x1003bee2
push 0x5adc
push 0
push 0x3b04
call fcn.10041d67
add esp, 0xc
jmp 0x1003c981
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x154], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x138], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1d8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x16c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x14c]
movzx eax, byte [eax]
test eax, eax
je 0x1003c32f
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x94], 0x2e73
mov dword [ebp - 0x164], 0x1000c818
cmp dword [ebp - 0x94], 0x30d6
jle 0x1003c05e
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
and dword [ebp - 0x40], 0
jmp 0x1003bfc8
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7470
jge 0x1003c05e
and dword [ebp - 0x58], 0
jmp 0x1003bfe2
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x5b7
jge 0x1003c059
and dword [ebp - 0x34], 0
jmp 0x1003bff8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x20b2
jge 0x1003c057
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
sar eax, cl
cdq
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], edx
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
lea ecx, [ebp - 0x248]
call fcn.1000e66e
pop ecx
pop ecx
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
call fcn.10019014
push eax
call fcn.10058c43
pop ecx
lea ecx, [ebp - 0x248]
call fcn.1001900a
jmp 0x1003bff1
jmp 0x1003bfdb
jmp 0x1003bfc1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1a8], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x94], 0x2c0c
jge 0x1003c086
push dword [ebp - 0x164]
call fcn.10058c43
pop ecx
jmp 0x1003c0a2
or dword [ebp - 4], 0xffffffff
jmp 0x1003c0ac
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1003c149
mov dword [ebp - 0xd4], 1
jmp 0x1003c150
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0xd4], eax
je 0x1003c169
mov dword [ebp - 0xf8], 1
jmp 0x1003c170
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb5a9
jl 0x1003c18f
mov dword [ebp - 0x70], 1
jmp 0x1003c193
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
cmp dword [ebp - 0x70], 0
jne 0x1003c1b8
mov eax, dword [ebp - 0x9c]
cmp dword [eax], 0
jne 0x1003c1b8
and dword [ebp - 0xc4], 0
jmp 0x1003c1c2
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc4]
jg 0x1003c1db
mov dword [ebp - 0xa4], 1
jmp 0x1003c1e2
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx]
jg 0x1003c200
mov dword [ebp - 0x84], 1
jmp 0x1003c207
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x84], eax
jle 0x1003c228
mov dword [ebp - 0x80], 1
jmp 0x1003c22c
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x80], eax
jge 0x1003c24a
mov dword [ebp - 0x100], 1
jmp 0x1003c251
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x1003c274
mov dword [ebp - 0xe4], 1
jmp 0x1003c27b
and dword [ebp - 0xe4], 0
imul eax, dword [ebp - 0xe4], 0
test eax, eax
je 0x1003c28c
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xba9a
je 0x1003c2a3
mov dword [ebp - 0x88], 1
jmp 0x1003c2aa
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0x670fc244
jle 0x1003c2c7
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x1003c2c7
and dword [ebp - 0xcc], 0
jmp 0x1003c2d1
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
imul eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x108]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1003c2f8
push 6
pop eax
test eax, eax
je 0x1003c309
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0
je 0x1003c309
mov dword [ebp - 0x78], 1
jmp 0x1003c30d
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x118]
call fcn.100193bb
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
jmp 0x1003c981
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x1c], 1
push 1
lea ecx, [ebp - 0x64]
call fcn.1001933d
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x200]
call fcn.1001933d
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0x9f3faa32
mov dword [ebp - 0xb4], 0x1571
mov dword [ebp - 0x150], 0x1000c870
cmp dword [ebp - 0xb4], 0x178f
jle 0x1003c48e
and dword [ebp - 0x48], 0
jmp 0x1003c3c9
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x787f
jge 0x1003c488
and dword [ebp - 0x38], 0
jmp 0x1003c3e3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2da1
jge 0x1003c483
and dword [ebp - 0x3c], 0
jmp 0x1003c3fd
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1935
jge 0x1003c47e
and dword [ebp - 0x44], 0
jmp 0x1003c413
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x56fc
jge 0x1003c479
mov eax, dword [ebp - 0x48]
cdq
idiv dword [ebp - 0x38]
imul edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], edx
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x260]
call fcn.1000e66e
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
call fcn.10019014
push eax
call fcn.10058c43
pop ecx
lea ecx, [ebp - 0x260]
call fcn.1001900a
jmp 0x1003c40c
jmp 0x1003c3f6
jmp 0x1003c3dc
jmp 0x1003c3c2
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push 0x45d9
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x7e8f
call fcn.10040b0f
add esp, 0x14
mov byte [ebp - 4], 4
cmp dword [ebp - 0xb4], 0x12a8
jge 0x1003c4c6
push dword [ebp - 0x150]
call fcn.10058c43
pop ecx
jmp 0x1003c4e2
mov dword [ebp - 4], 3
jmp 0x1003c4f2
mov dword [ebp - 0x2c], 0
jmp 0x1003c502
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1003c51e
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x200]
call fcn.100193bb
mov dword [eax], 0xfffffffa
jmp 0x1003c4fb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x228], eax
xor eax, eax
jne 0x1003c5a5
push 0
lea ecx, [ebp - 0x64]
call fcn.100193bb
mov dword [eax], 4
push 4
pop eax
test eax, eax
je 0x1003c58e
push 0
lea ecx, [ebp - 0x64]
call fcn.100193bb
cmp dword [eax], 0
je 0x1003c56f
push 0
lea ecx, [ebp - 0x64]
call fcn.100193bb
cmp dword [eax], 0x52733582
jg 0x1003c56f
mov dword [ebp - 0xdc], 1
jmp 0x1003c576
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0x58e1
jl 0x1003c58e
mov dword [ebp - 0x8c], 1
jmp 0x1003c595
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
inc eax
inc eax
jne 0x1003c5a5
and dword [ebp - 0x6c], 0
jmp 0x1003c5ac
mov dword [ebp - 0x6c], 1
push 0
lea ecx, [ebp - 0x200]
call fcn.100193bb
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x6c], eax
jl 0x1003c5d2
mov dword [ebp - 0x90], 1
jmp 0x1003c5d9
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 0
jmp 0x1003c5f5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x1003c7c3
mov dword [ebp - 0x4c], 0
jmp 0x1003c60f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1003c625
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x20c], 0x23d37f4a
jmp 0x1003c608
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.100193bb
or dword [eax], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x1003c643
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1003c7be
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x160], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x20c], 0
xor eax, eax
jne 0x1003c682
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.100193bb
cmp dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 0xfffffff6
je 0x1003c694
mov dword [ebp - 0x98], 1
jmp 0x1003c69b
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x98], eax
jl 0x1003c6b2
mov dword [ebp - 0xa0], 1
jmp 0x1003c6b9
and dword [ebp - 0xa0], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.100193bb
mov esi, dword [ebp - 0xa0]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x64]
call fcn.100193bb
cmp esi, dword [eax]
je 0x1003c6e8
xor eax, eax
jne 0x1003c6e8
and dword [ebp - 0xa8], 0
jmp 0x1003c6f2
mov dword [ebp - 0xa8], 1
mov esi, dword [ebp - 0x14]
imul esi, dword [ebp - 0xa8]
push 0
lea ecx, [ebp - 0x64]
call fcn.100193bb
cmp esi, dword [eax]
jne 0x1003c716
mov dword [ebp - 0x158], 1
jmp 0x1003c71d
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x210], eax
xor eax, eax
inc eax
cmp eax, 0xf205
jge 0x1003c73f
mov dword [ebp - 0xb0], 1
jmp 0x1003c746
and dword [ebp - 0xb0], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.100193bb
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
je 0x1003c767
mov dword [ebp - 0xb8], 1
jmp 0x1003c76e
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
push 0
lea ecx, [ebp - 0x200]
call fcn.100193bb
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x74], eax
mov esi, dword [ebp - 0x74]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
call fcn.100193bb
mov edi, dword [eax]
sub edi, dword [ebp - 0xc0]
add edi, esi
push 0
lea ecx, [ebp - 0x64]
call fcn.100193bb
mov dword [eax], edi
jmp 0x1003c63c
jmp 0x1003c5ee
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x200]
call fcn.1001939f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.1001939f
mov eax, dword [ebp - 0x168]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x170]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x1061a290]
mov ecx, dword [ebp - 0x178]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x68]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x188], 0x5132d7af
mov dword [ebp - 0x54], 0
jmp 0x1003c830
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1003c846
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x218], 0
jmp 0x1003c829
cmp dword [ebp - 0x24], 1
je 0x1003c858
mov dword [ebp - 0xd0], 1
jmp 0x1003c85f
and dword [ebp - 0xd0], 0
mov eax, 0xfd9e2a8d
test eax, eax
je 0x1003c8c3
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x24], eax
jg 0x1003c87c
mov dword [ebp - 0x180], 1
jmp 0x1003c883
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x24], eax
jge 0x1003c897
mov dword [ebp - 0xc8], 1
jmp 0x1003c89e
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0x4f23
jge 0x1003c8ae
cmp dword [ebp - 0x30], 0
cmp dword [ebp - 0x188], 0
je 0x1003c8c3
mov dword [ebp - 0x190], 1
jmp 0x1003c8ca
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0xd0], 0x77904128
je 0x1003c8eb
mov dword [ebp - 0x198], 1
jmp 0x1003c8f2
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x30]
add eax, 0x3bf58aae
cmp eax, dword [ebp - 0x30]
jle 0x1003c914
mov dword [ebp - 0xd8], 1
jmp 0x1003c91b
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0
ja 0x1003c930
mov dword [ebp - 0xe0], 1
jmp 0x1003c937
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x218], ecx
push 0x454e
lea eax, [ebp - 0x24]
push eax
push 0
push 0x4c24
call fcn.10047ea2
add esp, 0x10
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1003c981
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret