Function at 0x5633c3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
sub esp, 0x30
push 0x80
mov eax, 0x5a9039
call fcn.0052ca45
mov esi, ecx
mov dword [ebp + 0x20], esi
push dword [ebp + 0x3c]
call fcn.0055aee8
mov eax, dword [ebp + 0x5c]
xor ebx, ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x60]
mov ecx, 0x6618f8
mov dword [ebp - 4], ebx
mov dword [esi], vtable.Ghost::Disk::DiskDriveNormal.1.0
mov dword [esi + 4], vtable.Ghost::Disk::DiskDriveNormal.0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], eax
call fcn.00413639
mov ecx, eax
call fcn.00517de1
lea ecx, [esi + 0x54]
mov byte [esi + 0x50], al
mov byte [esi + 0x53], bl
call fcn.00439405
lea ecx, [esi + 0x74]
mov byte [esi + 0x70], bl
call fcn.00439405
mov eax, dword [ebp + 0x64]
mov dword [esi + 0x98], eax
mov eax, dword [ebp + 0x68]
lea edi, [esi + 0xa0]
mov dword [esi + 0x9c], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea eax, [esi + 0xb0]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push dword [ebp + 0x44]
lea ecx, [esi + 0xcc]
call fcn.00452fcd
push dword [ebp + 0x48]
lea ecx, [esi + 0xd4]
call fcn.00452fcd
push dword [ebp + 0x54]
lea ecx, [esi + 0xdc]
call fcn.00452fcd
push dword [ebp + 0x58]
lea ecx, [esi + 0xe4]
call fcn.00452fcd
mov byte [ebp - 4], 8
call fcn.004d0f70
mov dword [esi + 0xec], eax
or eax, 0xffffffff
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], eax
lea eax, [esi + 0x108]
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push str.constructor
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
push dword [0x64e7bc]
lea ecx, [ebp + 0x1c]
call fcn.005207dc
cmp byte [ebp + 0x6c], bl
mov byte [ebp - 4], 0xa
je 0x563515
xor eax, eax
inc eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], eax
mov ecx, dword [ebp + 0x40]
mov byte [esi + 0x52], bl
mov dword [ebp + 0x6c], ebx
call fcn.004fb103
test eax, eax
jbe 0x563671
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x40]
mov byte [ebp - 4], 0xb
call fcn.004fb129
push eax
lea ecx, [ebp - 0x68]
call fcn.0047fea6
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp al, bl
mov byte [ebp - 0x48], al
je 0x563598
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ecx]
call dword [eax + 0x44]
cmp al, bl
mov byte [ebp - 0x47], al
je 0x563598
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0xb0]
call fcn.0055c073
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x18], bl
call fcn.00562f98
cmp byte [esi + 0x53], bl
jne 0x5635fe
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0x80]
test al, al
je 0x5635fe
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
lea edx, [ebp]
push edx
call dword [eax + 0x84]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xc
call fcn.0040eae4
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0xb
call fcn.0040eb93
mov byte [esi + 0x53], 1
cmp byte [esi + 0x70], bl
jne 0x56363e
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0x78]
test al, al
je 0x56363e
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
lea edx, [ebp]
push edx
call dword [eax + 0x7c]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0xd
call fcn.0040eae4
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0xb
call fcn.0040eb93
mov byte [esi + 0x70], 1
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx]
call dword [eax + 0xa4]
test al, al
je 0x563651
mov byte [esi + 0x52], 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.00561523
mov ecx, dword [ebp + 0x40]
inc dword [ebp + 0x6c]
call fcn.004fb103
cmp dword [ebp + 0x6c], eax
jb 0x56352b
mov byte [ebp + 0x6f], bl
mov dword [ebp + 0x68], ebx
mov ecx, dword [ebp + 0x40]
call fcn.004fb103
cmp dword [ebp + 0x68], eax
jae 0x5637cb
push 2
mov ecx, esi
call fcn.005612ea
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
cmp byte [esi + 0x52], bl
mov byte [ebp - 4], 0xe
jne 0x5636d2
push eax
mov ecx, edi
call fcn.00560d32
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [ebp + 0x2c]
push edx
call dword [eax + 0xa8]
push eax
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0xf
call fcn.0055103d
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xe
call fcn.00415a1e
cmp dword [ebp + 0x5c], ebx
sete byte [ebp + 0x6f]
cmp byte [ebp + 0x6f], bl
je 0x5636fe
mov eax, dword [ebp + 0x64]
push eax
mov ecx, edi
mov dword [esi + 0xc8], eax
call fcn.00560d32
mov dword [eax + 0x30], 1
mov dword [eax + 0x34], ebx
jmp 0x5637b6
lea eax, [ebp + 0x3f]
push eax
push 2
push dword [0x64e7bc]
mov byte [ebp + 0x3f], bl
call fcn.00521949
mov ecx, eax
call fcn.0052129d
cmp eax, ebx
mov dword [ebp + 0x44], eax
je 0x56376a
lea ecx, [ebp + 0x48]
call fcn.00521aae
push 0xa
lea eax, [ebp + 0x5c]
push eax
push str.Disk_error_n
push dword [ebp + 0x44]
mov byte [ebp - 4], 0x10
call fcn.004191ae
pop ecx
pop ecx
push eax
call fcn.00520d81
pop ecx
pop ecx
push eax
call fcn.00419825
cmp byte [ebp + 0x3f], bl
pop ecx
pop ecx
je 0x56375e
mov ecx, dword [ebp + 0x44]
call fcn.00419651
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xe
call fcn.005211ff
push dword [ebp + 0x64]
mov ecx, edi
call fcn.00560d32
lea ecx, [ebp + 0x5c]
add eax, 0x48
push ecx
mov ecx, eax
call fcn.0055103d
push dword [ebp + 0x64]
mov ecx, edi
call fcn.00560d32
push dword [ebp + 0x64]
mov dword [eax + 0x38], 1
mov ecx, edi
mov dword [eax + 0x3c], ebx
call fcn.00560d32
inc dword [ebp + 0x68]
mov byte [eax + 0x50], 1
mov ecx, dword [esi + 0xcc]
cmp ecx, ebx
je 0x5637b6
mov eax, dword [ecx]
call dword [eax + 0x68]
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00415a1e
cmp byte [ebp + 0x6f], bl
je 0x563677
cmp byte [ebp + 0x6f], bl
push ebx
jne 0x56380a
mov ecx, edi
call fcn.00560d32
add eax, 0x48
push eax
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp + 0x5c], str...DiskDriveNormal.cpp
mov dword [ebp + 0x60], 0xee
call fcn.004e6f26
push 0x5ffe1c
lea eax, [ebp - 0x8c]
push eax
call fcn.0052aec5
mov ecx, esi
call fcn.005612ea
push 1
mov ecx, esi
mov dword [esi + 0xc0], eax
call fcn.005612ea
mov dword [esi + 0xc4], eax
push dword [esi + 0xc8]
mov ecx, edi
call fcn.00560d32
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x52], bl
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
jne 0x563933
push eax
mov byte [ebp - 4], 0x11
mov dword [ebp + 0x6c], eax
call fcn.00401009
pop ecx
push eax
lea ecx, [ebp + 0x24]
call fcn.0041efba
push ebx
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.005612ea
push eax
mov ecx, edi
call fcn.00560d32
push eax
lea ecx, [ebp + 0x5c]
call fcn.00452fcd
push dword [ebp + 0x24]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ecx]
push ebx
push 1
push ebx
push ebx
mov byte [ebp - 4], 0x13
call dword [eax + 0x24]
push dword [ebp + 0x24]
mov ecx, esi
call fcn.00560e26
push dword [ebp + 0x6c]
call fcn.00401009
pop ecx
push eax
lea ecx, [ebp + 0x2c]
call fcn.0041efba
push 1
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.005612ea
push eax
mov ecx, edi
call fcn.00560d32
push eax
lea ecx, [ebp + 0x5c]
call fcn.0047fea6
push dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ecx]
push ebx
push 1
push ebx
push ebx
call dword [eax + 0x24]
push dword [ebp + 0x6c]
push dword [ebp + 0x2c]
push dword [ebp + 0x24]
call fcn.0052ce85
add esp, 0xc
test eax, eax
je 0x5638fc
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x118], eax
lea ecx, [ebp + 0x2c]
call fcn.0041f00d
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0x12
call fcn.0054ee54
lea ecx, [ebp + 0x24]
call fcn.0041f00d
mov dword [ebp - 4], 0xa
jmp 0x563933
lea ecx, [esi + 0xa0]
mov byte [esi + 0x51], bl
mov dword [ebp + 0x6c], ebx
call fcn.00560d06
test eax, eax
jbe 0x5639ed
push dword [ebp + 0x6c]
lea ecx, [esi + 0xa0]
call fcn.00560d32
push eax
lea ecx, [ebp + 0x2c]
call fcn.00452fcd
mov edi, dword [ebp + 0x2c]
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 0x16
call dword [eax + 8]
cmp eax, dword [esi + 0x30]
jne 0x5639b8
cmp edx, dword [esi + 0x34]
jne 0x5639b8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp + 0x5c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp + 0x60], edx
call dword [eax + 0xa0]
cmp al, bl
jne 0x5639a8
mov ecx, dword [ebp + 0x60]
cmp ecx, dword [esi + 0x1c]
jl 0x5639b8
jg 0x5639a8
mov ecx, dword [ebp + 0x5c]
cmp ecx, dword [esi + 0x18]
jbe 0x5639b8
cmp al, bl
mov ecx, dword [ebp + 0x5c]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x60]
mov dword [esi + 0x1c], ecx
jne 0x5639dd
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0054ee54
inc dword [ebp + 0x6c]
lea ecx, [esi + 0xa0]
call fcn.00560d06
cmp dword [ebp + 0x6c], eax
jb 0x56394c
jmp 0x5639ed
lea ecx, [ebp + 0x2c]
mov byte [esi + 0x51], 1
mov byte [ebp - 4], 0xa
call fcn.0054ee54
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
cmp ecx, edx
mov eax, dword [esi + 0x18]
jl 0x563a09
jg 0x563a03
mov ecx, dword [esi + 0x20]
cmp ecx, eax
jbe 0x563a09
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov edi, dword [ebp + 0x4c]
mov ecx, dword [edi]
cmp ecx, ebx
je 0x563a39
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
jmp 0x563a67
push edx
push eax
lea ecx, [ebp + 4]
call fcn.00554da6
mov eax, dword [ebp + 4]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x118], 2
jne 0x563a92
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x1c]
sbb ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x24]
cmp edx, ecx
jl 0x563a92
jg 0x563a8c
mov edx, dword [esi + 0x20]
cmp edx, eax
jbe 0x563a92
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov edi, dword [ebp + 0x50]
cmp dword [edi], ebx
setne al
cmp al, bl
mov byte [esi + 0x90], al
je 0x563ac4
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov dword [esi + 0x94], eax
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esi + 0x98], eax
mov ecx, dword [esi + 0xdc]
cmp ecx, ebx
je 0x563ad9
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
cmp byte [esi + 0x52], bl
jne 0x563ae5
mov ecx, esi
call fcn.00561c3a
lea ecx, [ebp + 0x1c]
call fcn.0051f8d9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x34
leave
ret 0x34