Function at 0x4c787e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57124e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2c68
call fcn.0054cd40
mov dword [ebp - 0x2c60], ecx
lea ecx, [ebp - 0x1018]
call fcn.004013e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c48]
push eax
mov ecx, dword [ebp - 0x2c60]
call fcn.004c6138
push 0x1000
push 0
lea ecx, [ebp - 0x2120]
push ecx
call fcn.0054bfb0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4c7934
push str.DoMake3255ABCardModeBuffer_01____r_n
call fcn.00536ebf
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x101c]
push edx
lea eax, [ebp - 0x2b30]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c48]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c60]
call fcn.004c71c6
push str.DoMake3255ABCardModeBuffer_02____r_n
call fcn.00536ebf
add esp, 4
push str.DoMake3255ABCardModeBuffer_03____r_n
call fcn.00536ebf
add esp, 4
lea ecx, [ebp - 0x2c48]
push ecx
push 0
lea edx, [ebp - 0x1120]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c60]
call fcn.004c62af
lea ecx, [ebp - 0x1120]
push ecx
push 0x5ae1e8
lea edx, [ebp - 0x1018]
push edx
call fcn.0055ea77
add esp, 0xc
push str.DoMake3255ABCardModeBuffer_04____r_n
call fcn.00536ebf
add esp, 4
lea eax, [ebp - 0x2120]
push eax
lea ecx, [ebp - 0x2b24]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c50], esp
lea eax, [ebp - 0x1018]
push eax
call fcn.00560c16
mov dword [ebp - 0x2c64], eax
lea ecx, [ebp - 0x2c48]
push ecx
call fcn.0053773e
add esp, 0x14
mov dword [ebp - 0x2c68], eax
cmp dword [ebp - 0x2c68], 0
jne 0x4c79fa
mov dword [ebp - 0x2c54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1018]
call fcn.00560ea1
mov eax, dword [ebp - 0x2c54]
jmp 0x4c8a0f
push 0x10
push 0
lea edx, [ebp - 0x2b40]
push edx
call fcn.0054bfb0
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x2924]
push eax
call fcn.0054bfb0
add esp, 0xc
push str.DoMake3255ABCardModeBuffer_05____r_n
call fcn.00536ebf
add esp, 4
lea ecx, [ebp - 0x2120]
push ecx
call fcn.0054c3e0
add esp, 4
mov dword [ebp - 0x2b2c], eax
mov dword [ebp - 0x2124], 0
jmp 0x4c7a60
mov edx, dword [ebp - 0x2124]
add edx, 1
mov dword [ebp - 0x2124], edx
mov eax, dword [ebp - 0x2b2c]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x2124], eax
jge 0x4c7ac8
mov eax, dword [ebp - 0x2124]
mov cl, byte [ebp + eax*2 - 0x2120]
mov byte [ebp - 0x2b40], cl
mov edx, dword [ebp - 0x2124]
mov al, byte [ebp + edx*2 - 0x211f]
mov byte [ebp - 0x2b3f], al
lea ecx, [ebp - 0x2b40]
push ecx
call fcn.005353c2
add esp, 4
and eax, 0xff
mov dword [ebp - 0x2b28], eax
mov edx, dword [ebp - 0x2124]
mov al, byte [ebp - 0x2b28]
mov byte [ebp + edx - 0x2924], al
jmp 0x4c7a51
push str.DoMake3255ABCardModeBuffer_06____r_n
call fcn.00536ebf
add esp, 4
push 0x1000
push 0
lea ecx, [ebp - 0x1014]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov dl, byte [ebp - 0x1013]
or dl, 1
mov byte [ebp - 0x1013], dl
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x16
jl 0x4c7be4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x1b
jg 0x4c7be4
mov byte [ebp - 0x1013], 0
mov edx, dword [ebp - 0x2b0a]
and edx, 0xff
and edx, 0xc0
sar edx, 5
mov al, byte [ebp - 0x1013]
or al, dl
mov byte [ebp - 0x1013], al
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x19
jl 0x4c7b84
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x1a
jg 0x4c7b84
mov byte [ebp - 0x1013], 0
mov eax, dword [ebp - 0x2b0d]
and eax, 0xff
and eax, 0xc0
sar eax, 5
mov cl, byte [ebp - 0x1013]
or cl, al
mov byte [ebp - 0x1013], cl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x1b
jl 0x4c7bc3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x1b
jg 0x4c7bc3
mov byte [ebp - 0x1013], 0
mov ecx, dword [ebp - 0x2b0d]
and ecx, 0xff
and ecx, 0x30
sar ecx, 3
mov dl, byte [ebp - 0x1013]
or dl, cl
mov byte [ebp - 0x1013], dl
mov eax, dword [ebp - 0x2b0d]
and eax, 0xff
and eax, 1
test eax, eax
je 0x4c7be4
mov cl, byte [ebp - 0x1013]
or cl, 0x20
mov byte [ebp - 0x1013], cl
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x16
jl 0x4c7c1c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x1b
jg 0x4c7c1c
mov ecx, dword [ebp - 0x2b1a]
and ecx, 0xff
cmp ecx, 1
jne 0x4c7c1c
mov dl, byte [ebp - 0xfcf]
or dl, 1
mov byte [ebp - 0xfcf], dl
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x13
jl 0x4c7c73
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x1b
jg 0x4c7c73
mov edx, dword [ebp - 0x2b1b]
and edx, 0xff
and edx, 2
test edx, edx
jne 0x4c7c6c
mov eax, dword [ebp - 0x2b1b]
and eax, 0xff
and eax, 4
test eax, eax
jne 0x4c7c6c
mov ecx, dword [ebp - 0x2b1b]
and ecx, 0xff
and ecx, 8
test ecx, ecx
je 0x4c7c73
mov byte [ebp - 0x2b1c], 0x10
cmp dword [ebp - 0x10], 0
je 0x4c7c88
mov dl, byte [ebp - 0x1012]
or dl, 1
mov byte [ebp - 0x1012], dl
mov eax, dword [ebp - 0x2b1b]
and eax, 0xff
and eax, 1
test eax, eax
je 0x4c7ca9
mov cl, byte [ebp - 0x1012]
or cl, 1
mov byte [ebp - 0x1012], cl
mov edx, dword [ebp - 0x2b1d]
and edx, 0xff
shl edx, 1
mov al, byte [ebp - 0x1012]
or al, dl
mov byte [ebp - 0x1012], al
mov edx, dword [ebp - 0x2b0b]
and edx, 0xff
and edx, 1
test edx, edx
je 0x4c7ce6
mov al, byte [ebp - 0x1012]
or al, 0x10
mov byte [ebp - 0x1012], al
cmp dword [0x5c4d08], 0
je 0x4c7dad
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x16
jl 0x4c7d4f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x1b
jg 0x4c7d4f
mov eax, dword [ebp - 0x2b0b]
and eax, 0xff
and eax, 1
test eax, eax
je 0x4c7d2c
mov cl, byte [ebp - 0x1012]
or cl, 0x10
mov byte [ebp - 0x1012], cl
mov edx, dword [ebp - 0x2b0b]
and edx, 0xff
and edx, 2
test edx, edx
je 0x4c7d4d
mov al, byte [ebp - 0x1012]
or al, 0x80
mov byte [ebp - 0x1012], al
jmp 0x4c7dab
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x10
jl 0x4c7d8a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x15
jg 0x4c7d8a
mov eax, dword [ebp - 0x2b0b]
and eax, 0xff
and eax, 2
test eax, eax
je 0x4c7d88
mov cl, byte [ebp - 0x1012]
or cl, 0x80
mov byte [ebp - 0x1012], cl
jmp 0x4c7dab
mov edx, dword [ebp - 0x2b0b]
and edx, 0xff
and edx, 2
test edx, edx
je 0x4c7dab
mov al, byte [ebp - 0x1012]
or al, 0x10
mov byte [ebp - 0x1012], al
jmp 0x4c7dcf
mov ecx, dword [ebp - 0x2b0b]
and ecx, 0xff
and ecx, 2
test ecx, ecx
je 0x4c7dcf
mov dl, byte [ebp - 0x1012]
or dl, 0x80
mov byte [ebp - 0x1012], dl
mov eax, dword [ebp - 0x2b0b]
and eax, 0xff
and eax, 4
test eax, eax
je 0x4c7df0
mov cl, byte [ebp - 0xfd0]
or cl, 8
mov byte [ebp - 0xfd0], cl
mov edx, dword [ebp - 0x2b0b]
and edx, 0xff
and edx, 8
test edx, edx
je 0x4c7e11
mov al, byte [ebp - 0xfd0]
or al, 0x10
mov byte [ebp - 0xfd0], al
mov ecx, dword [ebp - 0x2b1c]
and ecx, 0xff
cmp ecx, 0x10
jne 0x4c7e31
mov dl, byte [ebp - 0x1012]
or dl, 0x20
mov byte [ebp - 0x1012], dl
mov eax, dword [ebp - 0x2b1c]
and eax, 0xff
cmp eax, 4
jne 0x4c7e50
mov cl, byte [ebp - 0x1012]
or cl, 0x40
mov byte [ebp - 0x1012], cl
mov edx, dword [ebp - 0x2b09]
and edx, 0xff
test edx, edx
jne 0x4c7e70
mov al, byte [ebp - 0x1011]
or al, 1
mov byte [ebp - 0x1011], al
jmp 0x4c7eb1
mov ecx, dword [ebp - 0x2b09]
and ecx, 0xff
cmp ecx, 1
jne 0x4c7e92
mov dl, byte [ebp - 0x1011]
or dl, 2
mov byte [ebp - 0x1011], dl
jmp 0x4c7eb1
mov eax, dword [ebp - 0x2b09]
and eax, 0xff
cmp eax, 2
jne 0x4c7eb1
mov cl, byte [ebp - 0x1011]
or cl, 4
mov byte [ebp - 0x1011], cl
mov edx, dword [ebp - 0x2b1c]
and edx, 0xff
test edx, edx
jne 0x4c7ed1
mov al, byte [ebp - 0x1011]
or al, 8
mov byte [ebp - 0x1011], al
jmp 0x4c7f12
mov ecx, dword [ebp - 0x2b1c]
and ecx, 0xff
cmp ecx, 1
jne 0x4c7ef3
mov dl, byte [ebp - 0x1011]
or dl, 0x10
mov byte [ebp - 0x1011], dl
jmp 0x4c7f12
mov eax, dword [ebp - 0x2b1c]
and eax, 0xff
cmp eax, 2
jne 0x4c7f12
mov cl, byte [ebp - 0x1011]
or cl, 0x20
mov byte [ebp - 0x1011], cl
mov edx, dword [ebp - 0x2b1e]
and edx, 0xff
cmp edx, 1
jne 0x4c7f33
mov al, byte [ebp - 0x1011]
or al, 0x40
mov byte [ebp - 0x1011], al
jmp 0x4c7f53
mov ecx, dword [ebp - 0x2b1e]
and ecx, 0xff
cmp ecx, 2
jne 0x4c7f53
mov dl, byte [ebp - 0x1011]
or dl, 0x80
mov byte [ebp - 0x1011], dl
mov eax, dword [ebp - 0x2b18]
and eax, 0xff
test eax, eax
jne 0x4c7f70
mov cl, byte [ebp - 0x2b19]
mov byte [ebp - 0x1010], cl
jmp 0x4c7f88
mov dl, byte [ebp - 0x2b19]
mov byte [ebp - 0xfd3], dl
mov al, byte [ebp - 0x2b18]
mov byte [ebp - 0xfd2], al
mov byte [ebp - 0x100f], 3
mov byte [ebp - 0x100e], 0xe0
mov ecx, dword [ebp - 0x2b24]
and ecx, 0xff
mov dword [ebp - 0x2c6c], ecx
mov edx, dword [ebp - 0x2c6c]
sub edx, 0x20
mov dword [ebp - 0x2c6c], edx
cmp dword [ebp - 0x2c6c], 0xcc
ja case.0x4c7fd5.7
mov ecx, dword [ebp - 0x2c6c]
xor eax, eax
mov al, byte [ecx + 0x4c8a3f]
jmp dword [eax*4 + 0x4c8a1f]
mov dl, byte [ebp - 0x100d]
or dl, 8
mov byte [ebp - 0x100d], dl
push 0x5ae264
push 0x5ae268
push 0x5c7520
call fcn.0054c45b
add esp, 0xc
jmp case.0x4c7fd5.7
mov al, byte [ebp - 0x100d]
or al, 0x20
mov byte [ebp - 0x100d], al
push str.INTEL
push 0x5ae274
push 0x5c7520
call fcn.0054c45b
add esp, 0xc
jmp case.0x4c7fd5.7
mov cl, byte [ebp - 0x100d]
or cl, 0x10
mov byte [ebp - 0x100d], cl
push str.MICRON
push 0x5ae280
push 0x5c7520
call fcn.0054c45b
add esp, 0xc
jmp case.0x4c7fd5.7
mov dl, byte [ebp - 0x100d]
or dl, 0x40
mov byte [ebp - 0x100d], dl
push str.SANDISK
push 0x5ae28c
push 0x5c7520
call fcn.0054c45b
add esp, 0xc
jmp case.0x4c7fd5.7
mov al, byte [ebp - 0x100d]
or al, 2
mov byte [ebp - 0x100d], al
push str.TOSHIBA
push 0x5ae298
push 0x5c7520
call fcn.0054c45b
add esp, 0xc
jmp case.0x4c7fd5.7
mov cl, byte [ebp - 0x100d]
or cl, 4
mov byte [ebp - 0x100d], cl
push str.HYNIX
push 0x5ae2a4
push 0x5c7520
call fcn.0054c45b
add esp, 0xc
jmp case.0x4c7fd5.7
mov dl, byte [ebp - 0x100d]
or dl, 1
mov byte [ebp - 0x100d], dl
push str.SAMSUNG
push 0x5ae2b0
push 0x5c7520
call fcn.0054c45b
add esp, 0xc
mov eax, dword [ebp - 0x2b0a]
and eax, 0xff
and eax, 2
test eax, eax
je 0x4c811a
mov cl, byte [ebp - 0x1007]
or cl, 1
mov byte [ebp - 0x1007], cl
mov edx, dword [ebp - 0x2b09]
and edx, 0xff
cmp edx, 3
jne 0x4c8139
mov al, byte [ebp - 0x1007]
or al, 2
mov byte [ebp - 0x1007], al
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x16
jge 0x4c8155
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x1b
jg 0x4c82bd
mov eax, dword [ebp - 0x2b0b]
and eax, 0xff
and eax, 0x40
test eax, eax
je 0x4c8176
mov cl, byte [ebp - 0x1007]
or cl, 4
mov byte [ebp - 0x1007], cl
mov edx, dword [ebp - 0x2b0b]
and edx, 0xff
and edx, 0x20
test edx, edx
je 0x4c8197
mov al, byte [ebp - 0x1007]
or al, 8
mov byte [ebp - 0x1007], al
mov ecx, dword [ebp - 0x2b0a]
and ecx, 0xff
and ecx, 8
test ecx, ecx
je 0x4c81b9
mov dl, byte [ebp - 0x1007]
or dl, 0x10
mov byte [ebp - 0x1007], dl
mov eax, dword [ebp - 0x2b1c]
and eax, 0xff
cmp eax, 8
jne 0x4c81d8
mov cl, byte [ebp - 0x1007]
or cl, 0x20
mov byte [ebp - 0x1007], cl
mov edx, dword [ebp - 0x2b0c]
and edx, 0xff
and edx, 0x10
test edx, edx
je 0x4c81f9
mov al, byte [ebp - 0x1007]
or al, 0x40
mov byte [ebp - 0x1007], al
mov ecx, dword [ebp - 0x2b1c]
and ecx, 0xff
cmp ecx, 0x20
jne 0x4c8219
mov dl, byte [ebp - 0x1006]
or dl, 1
mov byte [ebp - 0x1006], dl
mov eax, dword [ebp - 0x2b1c]
and eax, 0xff
cmp eax, 0x30
jne 0x4c8238
mov cl, byte [ebp - 0x1006]
or cl, 2
mov byte [ebp - 0x1006], cl
mov edx, dword [ebp - 0x2b0c]
and edx, 0xff
and edx, 8
test edx, edx
je 0x4c8259
mov al, byte [ebp - 0x1004]
or al, 1
mov byte [ebp - 0x1004], al
mov ecx, dword [ebp - 0x2b0d]
and ecx, 0xff
and ecx, 2
test ecx, ecx
je 0x4c827b
mov dl, byte [ebp - 0x1004]
or dl, 2
mov byte [ebp - 0x1004], dl
mov eax, dword [ebp - 0x2b0d]
and eax, 0xff
and eax, 4
test eax, eax
je 0x4c829c
mov cl, byte [ebp - 0x1004]
or cl, 4
mov byte [ebp - 0x1004], cl
mov edx, dword [ebp - 0x2b0d]
and edx, 0xff
and edx, 8
test edx, edx
je 0x4c82bd
mov al, byte [ebp - 0x1004]
or al, 8
mov byte [ebp - 0x1004], al
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x10
je 0x4c82e1
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x14
je 0x4c82e1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x15
jne 0x4c833f
mov ecx, dword [ebp - 0x2b0a]
and ecx, 0xff
and ecx, 4
test ecx, ecx
je 0x4c830a
mov edx, dword [ebp + 8]
mov dword [edx + 0x4788], 1
mov byte [ebp - 0x1007], 1
jmp 0x4c833f
mov eax, dword [ebp - 0x2b0a]
and eax, 0xff
and eax, 8
test eax, eax
je 0x4c8332
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4788], 2
mov byte [ebp - 0x1007], 2
jmp 0x4c833f
mov edx, dword [ebp + 8]
mov dword [edx + 0x4788], 0
mov al, byte [ebp - 0x2b05]
mov byte [ebp - 0xff4], al
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x16
jl 0x4c8379
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x1b
jg 0x4c8379
mov eax, dword [ebp - 0x2b0a]
and eax, 0xff
and eax, 1
mov byte [ebp - 0xff3], al
jmp 0x4c8385
mov cl, byte [ebp - 0x2b0a]
mov byte [ebp - 0xff3], cl
mov dl, byte [ebp - 0xfd1]
or dl, 0x80
mov byte [ebp - 0xfd1], dl
mov eax, dword [ebp - 0x2b0b]
and eax, 0xff
and eax, 0x10
test eax, eax
je 0x4c83b5
mov cl, byte [ebp - 0xfd1]
or cl, 4
mov byte [ebp - 0xfd1], cl
mov edx, dword [ebp - 0x2b1b]
and edx, 0xff
and edx, 2
test edx, edx
je 0x4c83d6
mov al, byte [ebp - 0xfd1]
or al, 8
mov byte [ebp - 0xfd1], al
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2f778], 0
jne 0x4c8406
mov edx, dword [ebp - 0x2b0b]
and edx, 0xff
and edx, 0x80
test edx, edx
je 0x4c8406
mov al, byte [ebp - 0xfd0]
or al, 0x20
mov byte [ebp - 0xfd0], al
mov cl, byte [ebp - 0xfd1]
or cl, 0x80
mov byte [ebp - 0xfd1], cl
mov dl, byte [ebp - 0xfd0]
or dl, 0x81
mov byte [ebp - 0xfd0], dl
mov eax, dword [ebp - 0x2b0b]
and eax, 0xff
and eax, 8
neg eax
sbb eax, eax
and eax, 0x10
mov cl, byte [ebp - 0xfd0]
or cl, al
mov byte [ebp - 0xfd0], cl
push str.DoMake3255ABCardModeBuffer_07____r_n
call fcn.00536ebf
add esp, 4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x10
je 0x4c8842
mov eax, dword [ebp - 0x2b1e]
and eax, 0xff
test eax, eax
je 0x4c8842
mov ecx, dword [ebp - 0x2b07]
and ecx, 0xff
mov dword [ebp - 0x2c70], ecx
cmp dword [ebp - 0x2c70], 2
jg 0x4c84ba
cmp dword [ebp - 0x2c70], 2
je 0x4c86a8
cmp dword [ebp - 0x2c70], 0
je 0x4c84cf
cmp dword [ebp - 0x2c70], 1
je 0x4c85b4
jmp 0x4c8840
cmp dword [ebp - 0x2c70], 0xff
je 0x4c873d
jmp 0x4c8840
mov byte [ebp - 0xfcd], 1
mov byte [ebp - 0xf14], 0
mov byte [ebp - 0xf13], 1
mov byte [ebp - 0xf12], 2
mov byte [ebp - 0xf11], 3
mov dword [ebp - 0x2b28], 4
mov dword [ebp - 0x2124], 0x104
jmp 0x4c8517
mov edx, dword [ebp - 0x2124]
add edx, 1
mov dword [ebp - 0x2124], edx
cmp dword [ebp - 0x2124], 0x200
jge 0x4c85af
mov eax, dword [ebp - 0x2b28]
and eax, 0x80000003
jns 0x4c8539
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x4c8570
mov ecx, dword [ebp - 0x2b28]
add ecx, 2
mov dword [ebp - 0x2b28], ecx
mov edx, dword [ebp - 0x2124]
mov al, byte [ebp - 0x2b28]
mov byte [ebp + edx - 0x1014], al
mov ecx, dword [ebp - 0x2b28]
add ecx, 1
mov dword [ebp - 0x2b28], ecx
jmp 0x4c85aa
mov edx, dword [ebp - 0x2b28]
and edx, 0x80000003
jns 0x4c8583
dec edx
or edx, 0xfffffffc
inc edx
cmp edx, 3
jne 0x4c85aa
mov eax, dword [ebp - 0x2124]
mov cl, byte [ebp - 0x2b28]
mov byte [ebp + eax - 0x1014], cl
mov edx, dword [ebp - 0x2b28]
add edx, 1
mov dword [ebp - 0x2b28], edx
jmp 0x4c8508
jmp 0x4c8840
mov byte [ebp - 0xfcd], 2
mov byte [ebp - 0xf14], 0
mov byte [ebp - 0xf13], 1
mov byte [ebp - 0xf12], 2
mov byte [ebp - 0xf11], 3
mov byte [ebp - 0xf10], 4
mov byte [ebp - 0xf0f], 5
mov dword [ebp - 0x2b28], 6
mov dword [ebp - 0x2124], 0x106
jmp 0x4c860a
mov eax, dword [ebp - 0x2124]
add eax, 1
mov dword [ebp - 0x2124], eax
cmp dword [ebp - 0x2124], 0x200
jge 0x4c86a3
mov ecx, dword [ebp - 0x2b28]
and ecx, 0x80000003
jns 0x4c862d
dec ecx
or ecx, 0xfffffffc
inc ecx
cmp ecx, 2
jne 0x4c8665
mov edx, dword [ebp - 0x2b28]
add edx, 2
mov dword [ebp - 0x2b28], edx
mov eax, dword [ebp - 0x2124]
mov cl, byte [ebp - 0x2b28]
mov byte [ebp + eax - 0x1014], cl
mov edx, dword [ebp - 0x2b28]
add edx, 1
mov dword [ebp - 0x2b28], edx
jmp 0x4c869e
mov eax, dword [ebp - 0x2b28]
and eax, 0x80000003
jns 0x4c8677
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 1
jne 0x4c869e
mov ecx, dword [ebp - 0x2124]
mov dl, byte [ebp - 0x2b28]
mov byte [ebp + ecx - 0x1014], dl
mov eax, dword [ebp - 0x2b28]
add eax, 1
mov dword [ebp - 0x2b28], eax
jmp 0x4c85fb
jmp 0x4c8840
mov byte [ebp - 0xfcd], 4
mov byte [ebp - 0xf14], 0
mov byte [ebp - 0xf13], 1
mov dword [ebp - 0x2b28], 2
mov dword [ebp - 0x2124], 0x102
jmp 0x4c86e2
mov ecx, dword [ebp - 0x2124]
add ecx, 1
mov dword [ebp - 0x2124], ecx
cmp dword [ebp - 0x2124], 0x200
jge 0x4c8738
mov edx, dword [ebp - 0x2b28]
and edx, 0x80000001
jns 0x4c8701
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x4c8736
mov eax, dword [ebp - 0x2b28]
add eax, 1
mov dword [ebp - 0x2b28], eax
mov ecx, dword [ebp - 0x2124]
mov dl, byte [ebp - 0x2b28]
mov byte [ebp + ecx - 0x1014], dl
mov eax, dword [ebp - 0x2b28]
add eax, 1
mov dword [ebp - 0x2b28], eax
jmp 0x4c86d3
jmp 0x4c8840
mov dword [ebp - 0x2c4c], 0
mov cl, byte [ebp - 0x2b1c]
mov byte [ebp - 0x2c74], cl
cmp byte [ebp - 0x2c74], 4
je 0x4c8767
cmp byte [ebp - 0x2c74], 0x10
je 0x4c8773
jmp 0x4c877d
mov dword [ebp - 0x2c4c], 1
jmp 0x4c877d
mov dword [ebp - 0x2c4c], 1
cmp dword [ebp - 0x2c4c], 0
je 0x4c87e4
mov dword [ebp - 0x2124], 0
mov dword [ebp - 0x2b28], pe_nt_image_headers32
jmp 0x4c87ab
mov edx, dword [ebp - 0x2b28]
add edx, 1
mov dword [ebp - 0x2b28], edx
cmp dword [ebp - 0x2b28], 0x300
jge 0x4c87e2
mov eax, dword [ebp - 0x2b28]
mov ecx, dword [ebp - 0x2124]
mov dl, byte [ebp + ecx - 0x2924]
mov byte [ebp + eax - 0x1014], dl
mov eax, dword [ebp - 0x2124]
add eax, 3
mov dword [ebp - 0x2124], eax
jmp 0x4c879c
jmp 0x4c8840
mov dword [ebp - 0x2124], 0
mov dword [ebp - 0x2b28], pe_nt_image_headers32
jmp 0x4c8809
mov ecx, dword [ebp - 0x2b28]
add ecx, 1
mov dword [ebp - 0x2b28], ecx
cmp dword [ebp - 0x2b28], 0x300
jge 0x4c8840
mov edx, dword [ebp - 0x2b28]
mov eax, dword [ebp - 0x2124]
mov cl, byte [ebp + eax - 0x2924]
mov byte [ebp + edx - 0x1014], cl
mov edx, dword [ebp - 0x2124]
add edx, 2
mov dword [ebp - 0x2124], edx
jmp 0x4c87fa
jmp 0x4c8897
mov dword [ebp - 0x2124], 0
mov dword [ebp - 0x2b28], pe_nt_image_headers32
jmp 0x4c8867
mov eax, dword [ebp - 0x2b28]
add eax, 1
mov dword [ebp - 0x2b28], eax
cmp dword [ebp - 0x2b28], 0x200
jge 0x4c8897
mov ecx, dword [ebp - 0x2b28]
mov dl, byte [ebp - 0x2124]
mov byte [ebp + ecx - 0x1014], dl
mov eax, dword [ebp - 0x2124]
add eax, 1
mov dword [ebp - 0x2124], eax
jmp 0x4c8858
push str.DoMake3255ABCardModeBuffer_08____r_n
call fcn.00536ebf
add esp, 4
cmp dword [ebp + 0x1c], 0
je 0x4c88c5
lea ecx, [ebp - 0x1014]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c60]
call fcn.004c5e85
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push str.DoMake3255ABCardModeBuffer_09____r_n
call fcn.00536ebf
add esp, 4
push 0x800
lea edx, [ebp - 0x2924]
push edx
lea eax, [ebp - 0xe14]
push eax
call fcn.0054c980
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x4c890b
push 0x1000
lea ecx, [ebp - 0x1014]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.0054c980
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x1120]
push eax
call fcn.0054bfb0
add esp, 0xc
lea ecx, [ebp - 0x1120]
push ecx
call fcn.0053534c
add esp, 4
push 0x5ae32c
lea edx, [ebp - 0x1120]
push edx
call fcn.0054bed0
add esp, 8
push 0x5ae338
lea eax, [ebp - 0x1120]
push eax
call fcn.0054d3be
add esp, 8
mov dword [ebp - 0x2b44], eax
cmp dword [ebp - 0x2b44], 0
jne 0x4c898e
mov dword [ebp - 0x2c58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1018]
call fcn.00560ea1
mov eax, dword [ebp - 0x2c58]
jmp 0x4c8a0f
push str.DoMake3255ABCardModeBuffer_0A____r_n
call fcn.00536ebf
add esp, 4
mov ecx, dword [ebp - 0x2b44]
push ecx
push 1
push 0x1000
lea edx, [ebp - 0x1014]
push edx
call fcn.0054d3d1
add esp, 0x10
mov eax, dword [ebp - 0x2b44]
push eax
call fcn.0054e5a9
add esp, 4
mov ecx, dword [ebp - 0x2b44]
push ecx
call fcn.0054d1f9
add esp, 4
mov dword [ebp - 0x2b44], 0
push str.DoMake3255ABCardModeBuffer_finish____r_n
call fcn.00536ebf
add esp, 4
mov dword [ebp - 0x2c5c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1018]
call fcn.00560ea1
mov eax, dword [ebp - 0x2c5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18