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

Disassembly:
push 0xffffffffffffffff
push 0x4ed01f
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x2fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417270]
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 0x4babe0
call fcn.004caf0d
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, 0x63e7063f
imul ecx
sar edx, 6
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.00460bb0
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x31c], esi
sar eax, 2
test eax, eax
jle 0x4bac60
cmp esi, eax
jb 0x4bac44
call fcn.004caf0d
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 0x4bac3d
nop
push 0
push ebx
mov ecx, ebp
call fcn.004b6c50
mov dword [esp + 0x20], 0
test edi, edi
jle 0x4badb3
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 0x4bacad
call fcn.004caf0d
mov esi, dword [ebp + 0x26c]
add esi, dword [esp + 0x3c]
mov eax, 0x63e7063f
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x20], ecx
jb 0x4bacd9
call fcn.004caf0d
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x18]
mov edx, dword [esi + 8]
and edx, 7
cmp dl, 5
jne 0x4bae58
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.004b68a0
cmp dword [edi + 4], 0
jne 0x4bad35
test eax, eax
je 0x4bad35
mov dword [esi + 0xa0], eax
xor al, al
test ebx, ebx
jne 0x4bad87
mov dword [esi + 8], 2
mov ebx, 1
jmp 0x4bad00
mov byte [esp + 0x17], 1
test ebx, ebx
jle 0x4bad83
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
je 0x4bad83
mov eax, dword [esi + 4]
and eax, 0x700
cmp eax, 0x100
je 0x4bad74
cmp eax, 0x200
je 0x4bad68
cmp eax, 0x400
jne 0x4bad7e
mov dword [esi + 0xa0], 0xc8
jmp 0x4bad7e
mov dword [esi + 0xa0], 0x11
mov byte [esp + 0x17], 0
mov al, byte [esp + 0x17]
mov dword [esi + 8], 5
test al, al
jne 0x4bbb99
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0xa4
inc eax
cmp eax, edi
mov dword [esp + 0x20], eax
jl 0x4bac82
push 1
push 2
lea ecx, [esp + 0x94]
mov byte [esp + 0x26], 0
call fcn.00430f60
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0x70]
mov byte [esp + 0x324], 1
mov dword [esp + 0x48], ebx
call fcn.004b9190
cmp edi, ebx
mov byte [esp + 0x31c], 2
jle 0x4baeb6
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 0x4bae1c
call fcn.004caf0d
mov esi, dword [ebp + 0x26c]
add esi, dword [esp + 0x3c]
mov eax, 0x63e7063f
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4bae46
call fcn.004caf0d
mov eax, ebx
imul eax, eax, 0xa4
add eax, dword [esi + 0xc]
je 0x4bae90
lea esi, [eax + 4]
jmp 0x4bae92
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.004b68a0
cmp dword [ebx + 4], 0
jne 0x4bbb99
test eax, eax
je 0x4bbb99
mov dword [esi + 0xa0], eax
jmp 0x4bad9a
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 0x4badf1
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 0x4bbb1a
cmp eax, 8
je 0x4bbcd9
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 0x4baf5c
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 0x4baf5c
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 0x4211d8
push eax
mov byte [esp + 0x1f], 1
call fcn.004452d0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0047d5f0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x4baff7
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4baff7
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebx
je 0x4bb016
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebx
jne 0x4bb00f
or eax, 4
push ebx
push eax
call fcn.0042de10
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov edi, 0x10
jle 0x4bb5d1
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 0x4bb05b
call fcn.004caf0d
mov esi, dword [ebp + 0x26c]
add esi, dword [esp + 0x3c]
mov eax, 0x63e7063f
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x20], ecx
jb 0x4bb087
call fcn.004caf0d
mov esi, dword [esi + 0xc]
add esi, dword [esp + 0x18]
cmp dword [ebp + 0x400], 0x4e4
jne 0x4bb0a9
push 0x4211d4
lea edx, [esp + 0x90]
push edx
jmp 0x4bb0b6
push 0x420bfc
lea eax, [esp + 0x90]
push eax
call fcn.004452d0
mov ecx, dword [esi + 4]
or dword [esp + 0x48], ecx
add esp, 8
lea edx, [esp + 0x140]
push edx
mov ecx, esi
call fcn.004457b0
mov byte [esp + 0x31c], 3
cmp eax, ebx
je 0x4bb0e5
add eax, 4
jmp 0x4bb0e7
xor eax, eax
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00471dc0
add esp, 8
mov byte [esp + 0x31c], 2
mov dword [esp + 0x140], 0x41c480
cmp dword [esp + 0x15c], edi
jb 0x4bb124
mov ecx, dword [esp + 0x148]
push ecx
call fcn.004cada5
add esp, 4
cmp byte [esp + 0x1f], 0
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], 0
je 0x4bb544
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x50]
mov edi, dword [esi + 0xa0]
sar edx, 2
cmp dword [esp + 0x20], edx
jb 0x4bb165
call fcn.004caf0d
cmp edi, ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov dword [eax + ecx*4], edi
jge 0x4bb18f
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 0x4bb4e6
mov dword [esp + 0x2b4], 0xf
mov dword [esp + 0x2b0], ebx
mov byte [esp + 0x2a0], 0
mov dword [esp + 0x298], 0x41c480
cmp edi, ebx
mov byte [esp + 0x31c], 4
jl 0x4bb1e1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x29c]
push ecx
push edi
push esi
mov ecx, ebp
call fcn.004b6e30
push 0xa
lea ecx, [esp + 0x90]
call fcn.0047d5f0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
xor esi, esi
test byte [esp + eax + 0x94], 6
jne 0x4bb21f
mov eax, dword [esp + eax + 0xb4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4bb21f
mov esi, 4
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x8c]
cmp esi, ebx
je 0x4bb248
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], ebx
jne 0x4bb241
or eax, 4
push ebx
push eax
call fcn.0042de10
lea edx, [esp + 0x8c]
push 0x4211c0
push edx
call fcn.004452d0
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 0x4bb42e
cmp edi, ebx
jl 0x4bb41a
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0x90]
call fcn.0042e240
mov esi, eax
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x320], 5
call fcn.0042e240
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.00468e20
mov esi, eax
test byte [esp + 0xd0], 1
mov byte [esp + 0x31c], 7
je 0x4bb310
mov eax, dword [esp + 0xa0]
mov eax, dword [eax]
push eax
call fcn.004cada5
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 0x4bb367
mov esi, dword [esi + 4]
jmp 0x4bb36a
add esi, 4
mov ecx, dword [esp + 0xd0]
push ecx
push eax
push esi
lea ecx, [esp + 0x9c]
call fcn.0042a600
cmp dword [esp + 0x23c], edi
jb 0x4bb399
mov edx, dword [esp + 0x228]
push edx
call fcn.004cada5
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 0x4bb3cd
mov eax, dword [esp + 0x164]
push eax
call fcn.004cada5
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 0x4bb404
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.004cada5
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.004452d0
jmp 0x4bb443
lea ecx, [esp + 0x29c]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.00471dc0
add esp, 8
test byte [esp + 0x28], 1
mov dword [esp + 0x31c], 4
je 0x4bb491
and dword [esp + 0x28], 0xfffffffe
cmp dword [esp + 0x258], 0x10
jb 0x4bb477
mov eax, dword [esp + 0x244]
push eax
call fcn.004cada5
add esp, 4
mov dword [esp + 0x258], 0xf
mov dword [esp + 0x254], ebx
mov byte [esp + 0x244], 0
cmp byte [esp + 0x37], 0
jne 0x4bb49d
mov byte [esp + 0x17], 0
cmp dword [esp + 0x2b4], 0x10
mov byte [esp + 0x31c], 2
mov dword [esp + 0x298], 0x41c480
jb 0x4bb4ca
mov ecx, dword [esp + 0x2a0]
push ecx
call fcn.004cada5
add esp, 4
mov dword [esp + 0x2b4], 0xf
mov dword [esp + 0x2b0], ebx
mov byte [esp + 0x2a0], 0
jmp 0x4bb53f
mov esi, dword [esi + 4]
cmp esi, 0x200
jne 0x4bb4f8
mov eax, 0x41c524
jmp 0x4bb50a
mov eax, 0x42114c
cmp esi, 0x400
je 0x4bb50a
mov eax, 0x421148
push 0x41cca0
push edi
push eax
lea edx, [esp + 0x98]
push 0x4211b4
push edx
call fcn.004452d0
add esp, 8
push eax
call fcn.004452d0
add esp, 8
mov ecx, eax
call fcn.00431370
push eax
call fcn.004452d0
add esp, 8
mov edi, 0x10
push 0xa
lea ecx, [esp + 0x90]
call fcn.0047d5f0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
xor esi, esi
test byte [esp + eax + 0x94], 6
jne 0x4bb582
mov eax, dword [esp + eax + 0xb4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4bb582
mov esi, 4
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x8c]
cmp esi, ebx
je 0x4bb5ab
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], ebx
jne 0x4bb5a4
or eax, 4
push ebx
push eax
call fcn.0042de10
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0xa4
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x4bb030
cmp byte [esp + 0x17], 0
je 0x4bb7de
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 0x4bb7de
lea eax, [esp + 0x1d0]
push eax
lea ecx, [esp + 0x90]
call fcn.0042e240
mov esi, eax
lea ecx, [esp + 0x208]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x320], 9
call fcn.0042e240
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.00468e20
mov esi, eax
test byte [esp + 0xd0], 1
mov byte [esp + 0x31c], 0xb
je 0x4bb67c
mov eax, dword [esp + 0xa0]
mov eax, dword [eax]
push eax
call fcn.004cada5
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 0x4bb6ce
mov esi, dword [esi + 4]
jmp 0x4bb6d1
add esi, 4
mov ecx, dword [esp + 0xd0]
push ecx
push eax
push esi
lea ecx, [esp + 0x9c]
call fcn.0042a600
cmp dword [esp + 0x204], edi
jb 0x4bb700
mov edx, dword [esp + 0x1f0]
push edx
call fcn.004cada5
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 0x4bb734
mov eax, dword [esp + 0x20c]
push eax
call fcn.004cada5
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 0x4bb76b
mov ecx, dword [esp + 0x1d4]
push ecx
call fcn.004cada5
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.004452d0
add esp, 8
test byte [esp + 0x28], 2
mov dword [esp + 0x31c], 2
je 0x4bb7e3
and dword [esp + 0x28], 0xfffffffd
cmp dword [esp + 0x274], edi
jb 0x4bb7c6
mov ecx, dword [esp + 0x260]
push ecx
call fcn.004cada5
add esp, 4
mov dword [esp + 0x274], esi
mov dword [esp + 0x270], ebx
mov byte [esp + 0x260], 0
jmp 0x4bb7e3
mov esi, 0xf
lea edx, [esp + 0x17c]
push edx
lea ecx, [esp + 0x90]
call fcn.0042e240
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.0042b580
mov dword [esp + 0x278], 0x41c480
mov byte [esp + 0x31c], 0xf
cmp dword [esp + 0x194], edi
jb 0x4bb851
mov eax, dword [esp + 0x180]
push eax
call fcn.004cada5
add esp, 4
mov dword [esp + 0x194], esi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], 0
cmp dword [esp + 0x294], edi
jb 0x4bb87d
mov ecx, dword [esp + 0x280]
mov dword [esp + 0x18], ecx
jmp 0x4bb888
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 0x4bb8c0
cmp dword [esp + 0x294], edi
jmp 0x4bbafd
cmp eax, 8
je 0x4bbc74
push 0
lea ecx, [esp + 0x68]
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x70], 0x421194
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 0x4bb936
cmp eax, 8
jne 0x4bb938
xor bl, bl
jmp 0x4bb938
mov bl, 1
xor al, al
cmp byte [esp + 0x328], al
je 0x4bb970
test bl, bl
je 0x4bb970
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, 0x41c480
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 0x4bba00
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 0x4bba6e
lea ecx, [esp + 0x8c]
push 0x42116c
push ecx
call fcn.004452d0
add esp, 8
lea edx, [esp + 0x1b4]
push edx
lea ecx, [esp + 0x90]
call fcn.0042e240
mov ecx, 0x10
cmp dword [eax + 0x18], ecx
jb 0x4bba38
mov ebx, dword [eax + 4]
jmp 0x4bba3b
lea ebx, [eax + 4]
cmp dword [esp + 0x1cc], ecx
jb 0x4bba54
mov eax, dword [esp + 0x1b8]
push eax
call fcn.004cada5
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.004b8f00
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.00466fc0
push ebx
lea ecx, [esp + 0x2f0]
call fcn.00466fc0
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 0x4bbc92
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x31c], 0xf
call fcn.0044b530
cmp dword [esp + 0x294], 0x10
mov dword [esp + 0x278], 0x41c480
jb 0x4bbb1a
mov eax, dword [esp + 0x280]
push eax
call fcn.004cada5
add esp, 4
mov eax, 1
add dword [esp + 0x38], eax
cmp byte [esp + 0x78], 0
je 0x4bbb5a
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x4bbb5a
cmp dword [esp + 0x7c], eax
jne 0x4bbb51
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.004caf20
add esp, 0xc
push esi
call fcn.004cb4d6
add esp, 4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x31c], 0
call fcn.0042a0e0
lea edx, [esp + 0xd8]
push edx
mov dword [esp + 0xdc], 0x41c690
call fcn.004ca827
mov ebx, dword [esp + 0x328]
mov edi, dword [esp + 0x28]
add esp, 4
jmp 0x4bac60
mov eax, dword [ebp + 0x2c8]
sub eax, dword [ebp + 0x2c4]
mov edi, dword [esp + 0x324]
sar eax, 2
cmp edi, eax
jb 0x4bbbb8
call fcn.004caf0d
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 0x4bbc59
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 0x4bbc6a
push eax
call fcn.004cada5
add esp, 4
mov eax, dword [esp + 0x44]
push eax
jmp 0x4bbd57
mov dword [esp + 0x278], 0x41c480
cmp dword [esp + 0x294], edi
jb 0x4bbcd9
mov ecx, dword [esp + 0x280]
push ecx
jmp 0x4bbcd1
cmp eax, 0x80
jne 0x4bbca0
or dword [ebp + 0x58], 0x200
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x31c], 0xf
call fcn.0044b530
cmp dword [esp + 0x294], 0x10
mov dword [esp + 0x278], 0x41c480
jb 0x4bbcd9
mov edx, dword [esp + 0x280]
push edx
call fcn.004cada5
add esp, 4
xor edi, edi
cmp byte [esp + 0x78], 0
je 0x4bbd12
mov esi, dword [esp + 0x6c]
cmp esi, edi
je 0x4bbd12
cmp dword [esp + 0x7c], 1
jne 0x4bbd09
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.004caf20
add esp, 0xc
push esi
call fcn.004cb4d6
add esp, 4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x31c], 0
call fcn.0042a0e0
lea ecx, [esp + 0xd8]
push ecx
mov dword [esp + 0xdc], 0x41c690
call fcn.004ca827
mov eax, dword [esp + 0x54]
add esp, 4
cmp eax, edi
je 0x4bbd52
push eax
call fcn.004cada5
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.004cada5
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.004cb3aa
add esp, 0x30c
ret 8