Function at 0x40fcd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
mov dword [ebp - 0xcc], eax
mov eax, 0x4cca28
call fcn.004b9cc0
mov byte [ebp - 0xd9], 0
movsx edx, byte [0x4c5664]
cmp edx, 0x30
je 0x40fe08
push 0x4debe8
push dword [0x4dea64]
call sub.kernel32.dll_GetCommTimeouts_1
mov dword [0x4debe8], 0xffffffff
mov dword [0x4debf0], 0x1f4
mov dword [0x4debec], 0x1f4
push 0x4debe8
push dword [0x4dea64]
call sub.kernel32.dll_SetCommTimeouts_1
push 0x4dec18
push dword [0x4dea64]
call sub.kernel32.dll_GetCommState_1
mov dword [0x4dec18], 0x1c
mov dword [0x4dec1c], 0x28a0
mov byte [0x4dec2a], 8
mov byte [0x4dec2b], 0
mov byte [0x4dec2c], 0
or byte [0x4dec20], 1
and byte [0x4dec20], 0xfd
and byte [0x4dec20], 0xfb
and byte [0x4dec20], 0xf7
and byte [0x4dec20], 0xcf
and byte [0x4dec20], 0xbf
or byte [0x4dec20], 0x80
and byte [0x4dec21], 0xfe
and byte [0x4dec21], 0xfd
and byte [0x4dec21], 0xfb
and byte [0x4dec21], 0xf7
and byte [0x4dec21], 0xcf
and byte [0x4dec21], 0xbf
push 0x4dec18
push dword [0x4dea64]
call sub.kernel32.dll_SetCommState_1
mov dl, byte [0x4dea48]
mov eax, dword [ebp - 0xcc]
call fcn.004122e4
push 0xc
push dword [0x4dea64]
call sub.kernel32.dll_PurgeComm_1
jmp 0x40ff33
push 2
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_SetLatencyTimer_1
push 0
push 0x40
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_SetUSBParameters_1
push 0x4debd4
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_GetCommTimeouts_1
mov dword [0x4debd4], 0xffffffff
mov dword [0x4debdc], 0x1f4
mov dword [0x4debd8], 0x1f4
xor ecx, ecx
mov dword [0x4debe0], ecx
xor eax, eax
mov dword [0x4debe4], eax
push 0x4debd4
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_SetCommTimeouts_1
push 0x4debfc
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_GetCommState_1
mov dword [0x4debfc], 0x1c
mov dword [0x4dec00], 0x28a0
mov byte [0x4dec0e], 8
mov byte [0x4dec0f], 0
mov byte [0x4dec10], 0
or byte [0x4dec04], 1
and byte [0x4dec04], 0xfd
and byte [0x4dec04], 0xfb
and byte [0x4dec04], 0xf7
and byte [0x4dec04], 0xcf
and byte [0x4dec04], 0xbf
or byte [0x4dec04], 0x80
and byte [0x4dec05], 0xfe
and byte [0x4dec05], 0xfd
and byte [0x4dec05], 0xfb
and byte [0x4dec05], 0xf7
and byte [0x4dec05], 0xcf
and byte [0x4dec05], 0xbf
push 0x4debfc
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_SetCommState_1
mov dl, byte [0x4dea48]
mov eax, dword [ebp - 0xcc]
call fcn.0041224c
push 0xc
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_PurgeComm_1
mov byte [ebp - 0xe1], 0
movsx edx, byte [0x4c5664]
cmp edx, 0x30
jne 0x40ff63
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xd0]
push ecx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
jmp 0x40ff7e
push 0
push 0x4dec34
push 1
lea eax, [ebp - 0xd0]
push eax
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
jne 0x40ff96
inc byte [ebp - 0xe1]
cmp byte [ebp - 0xe1], 5
jb 0x40ff3a
cmp dword [0x4dec34], 0
jne 0x410023
mov edx, dword [sym.Project1.exe__Form5]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov ecx, dword [sym.Project1.exe__Form5]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2d4]
add edx, 0x208
mov dword [ebp - 0xe8], edx
mov word [ebp - 0xb8], 8
mov edx, 0x4cbeb4
lea eax, [ebp - 4]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0xac]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004c3e54
mov ecx, dword [ebp - 0xc8]
mov dword fs:[0], ecx
jmp 0x4110ee
cmp byte [ebp - 0xd0], 0x55
je 0x410084
cmp byte [ebp - 0xd0], 0xb5
je 0x410042
cmp byte [ebp - 0xd0], 0xa5
jne 0x411059
mov dword [0x4dec1c], 0x2580
mov dword [0x4dec00], 0x2580
movsx eax, byte [0x4c5664]
cmp eax, 0x30
jne 0x410074
push 0x4debfc
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_SetCommState_1
jmp 0x410084
push 0x4dec18
push dword [0x4dea64]
call sub.kernel32.dll_SetCommState_1
mov byte [ebp - 0xe9], 0
movsx edx, byte [0x4c5664]
cmp edx, 0x30
jne 0x4100b4
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xd0]
push ecx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
jmp 0x4100cf
push 0
push 0x4dec34
push 1
lea eax, [ebp - 0xd0]
push eax
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
je 0x4100e1
cmp byte [ebp - 0xd0], 1
je 0x4100f0
inc byte [ebp - 0xe9]
cmp byte [ebp - 0xe9], 3
jb 0x41008b
cmp dword [0x4dec34], 0
je 0x411059
cmp byte [ebp - 0xd0], 1
jne 0x411059
mov byte [ebp - 0xea], 0
movsx edx, byte [0x4c5664]
cmp edx, 0x30
jne 0x41013a
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xd0]
push ecx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
jmp 0x410155
push 0
push 0x4dec34
push 1
lea eax, [ebp - 0xd0]
push eax
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
je 0x410167
cmp byte [ebp - 0xd0], 0x8a
je 0x410176
inc byte [ebp - 0xea]
cmp byte [ebp - 0xea], 2
jb 0x410111
cmp dword [0x4dec34], 0
je 0x411059
cmp byte [ebp - 0xd0], 0x8a
jne 0x411059
mov dl, 0xff
sub dl, byte [ebp - 0xd0]
mov byte [ebp - 0xd0], dl
push 0xf
call sub.kernel32.dll_Sleep_1
movsx ecx, byte [0x4c5664]
cmp ecx, 0x30
jne 0x4101e9
push 0
push 0x4dec34
push 1
lea eax, [ebp - 0xd0]
push eax
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_WriteFile_1
push 0
push 0x4dec34
push 1
lea edx, [ebp - 0xd0]
push edx
push dword [0x4dea64]
call sub.RT_USB.DLL_FT_W32_ReadFile_1
jmp 0x41021f
push 0
push 0x4dec34
push 1
lea ecx, [ebp - 0xd0]
push ecx
push dword [0x4dea64]
call sub.kernel32.dll_WriteFile_1
push 0
push 0x4dec34
push 1
lea eax, [ebp - 0xd0]
push eax
push dword [0x4dea64]
call sub.kernel32.dll_ReadFile_1
cmp dword [0x4dec34], 0
je 0x411059
push 0x64
push 0
lea edx, [ebp - 0x174]
push edx
call fcn.004b98f0
add esp, 0xc
mov byte [ebp - 0xcf], 0
mov eax, dword [ebp - 0xcc]
call fcn.004133b0
test eax, eax
jne 0x411059
mov byte [ebp - 0xeb], 2
jmp 0x41028e
xor edx, edx
mov dl, byte [ebp - 0xeb]
mov cl, byte [edx + 0x4dead5]
and cl, 0x7f
xor eax, eax
mov al, byte [ebp - 0xd9]
mov byte [ebp + eax - 0x174], cl
inc byte [ebp - 0xd9]
inc byte [ebp - 0xeb]
xor edx, edx
mov dl, byte [ebp - 0xeb]
xor ecx, ecx
mov cl, byte [0x4dead6]
add ecx, 2
cmp edx, ecx
jl 0x410262
cmp byte [0x4dead5], 9
je 0x41050e
cmp byte [ebp - 0xcf], 2
jne 0x4103cc
xor eax, eax
mov al, byte [ebp - 0xd9]
mov byte [ebp + eax - 0x174], 0
mov esi, 0x4cb32c
lea edi, [ebp - 0xfc]
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 3
lea eax, [ebp - 0x174]
push eax
lea edx, [ebp - 0xfc]
push edx
call fcn.004b9880
add esp, 0xc
push 3
lea ecx, [ebp - 0x171]
push ecx
lea eax, [ebp - 0xf8]
push eax
call fcn.004b9880
add esp, 0xc
push 3
lea edx, [ebp - 0x16e]
push edx
lea ecx, [ebp - 0xf4]
push ecx
call fcn.004b9880
add esp, 0xc
push 2
lea eax, [ebp - 0x16b]
push eax
lea edx, [ebp - 0xf0]
push edx
call fcn.004b9880
add esp, 0xc
mov word [ebp - 0xb8], 0x14
lea edx, [ebp - 0xfc]
lea eax, [ebp - 8]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2ec]
call fcn.0048e39c
dec dword [ebp - 0xac]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004c3e54
mov word [ebp - 0xb8], 0x20
lea edx, [ebp - 0x168]
lea eax, [ebp - 0xc]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2f4]
call fcn.0048e39c
dec dword [ebp - 0xac]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004c3e54
cmp byte [ebp - 0xcf], 3
jne 0x4104ea
xor ecx, ecx
mov cl, byte [0x4dead8]
mov word [ebp - 0xfe], cx
shl word [ebp - 0xfe], 8
xor eax, eax
mov al, byte [0x4dead9]
or word [ebp - 0xfe], ax
shr word [ebp - 0xfe], 1
movzx edx, word [ebp - 0xfe]
push edx
push 0x4cbec4
lea ecx, [ebp - 0x174]
push ecx
call fcn.004bb6d8
add esp, 0xc
mov word [ebp - 0xb8], 0x2c
lea edx, [ebp - 0x174]
lea eax, [ebp - 0x10]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2fc]
call fcn.0048e39c
dec dword [ebp - 0xac]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004c3e54
xor ecx, ecx
mov cl, byte [0x4deada]
mov word [ebp - 0xfe], cx
shl word [ebp - 0xfe], 8
xor eax, eax
mov al, byte [0x4deadb]
or word [ebp - 0xfe], ax
movzx edx, word [ebp - 0xfe]
push edx
push 0x4cbec9
lea ecx, [ebp - 0x174]
push ecx
call fcn.004bb6d8
add esp, 0xc
mov word [ebp - 0xb8], 0x38
lea edx, [ebp - 0x174]
lea eax, [ebp - 0x14]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x304]
call fcn.0048e39c
dec dword [ebp - 0xac]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004c3e54
push 0
xor ecx, ecx
mov dl, 9
mov eax, dword [ebp - 0xcc]
call fcn.00412b10
test eax, eax
jne 0x411059
inc byte [ebp - 0xcf]
jmp 0x410246
cmp byte [0x4dec5c], 0
je 0x410543
push 0
xor ecx, ecx
mov dl, 5
mov eax, dword [ebp - 0xcc]
call fcn.00412b10
test eax, eax
jne 0x411059
mov eax, dword [ebp - 0xcc]
call fcn.004133b0
test eax, eax
jne 0x411059
mov dl, byte [0x4dea28]
sub dl, 0x30
je 0x410564
dec dl
je 0x41063d
sub dl, 7
je 0x410716
jmp 0x4107ef
mov word [ebp - 0xb8], 0x44
lea eax, [ebp - 0x18]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
mov ecx, dword [0x4dd5c8]
mov eax, dword [ecx]
call fcn.00484708
lea edx, [ebp - 0x18]
push dword [edx]
lea eax, [ebp - 0x1c]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
pop eax
call fcn.004aee08
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
call fcn.0040165c
push eax
inc dword [ebp - 0xac]
mov edx, 0x4cbed2
lea eax, [ebp - 0x20]
call fcn.004c3c68
inc dword [ebp - 0xac]
lea edx, [ebp - 0x20]
pop ecx
pop eax
call fcn.004c3eac
lea ecx, [ebp - 0x24]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x467f48]
call fcn.00468610
mov dword [ebp - 0xe0], eax
dec dword [ebp - 0xac]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004c3e54
jmp 0x4108c3
mov word [ebp - 0xb8], 0x50
lea eax, [ebp - 0x28]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
mov ecx, dword [0x4dd5c8]
mov eax, dword [ecx]
call fcn.00484708
lea edx, [ebp - 0x28]
push dword [edx]
lea eax, [ebp - 0x2c]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
pop eax
call fcn.004aee08
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x34]
call fcn.0040165c
push eax
inc dword [ebp - 0xac]
mov edx, 0x4cbedb
lea eax, [ebp - 0x30]
call fcn.004c3c68
inc dword [ebp - 0xac]
lea edx, [ebp - 0x30]
pop ecx
pop eax
call fcn.004c3eac
lea ecx, [ebp - 0x34]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x467f48]
call fcn.00468610
mov dword [ebp - 0xe0], eax
dec dword [ebp - 0xac]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004c3e54
jmp 0x4108c3
mov word [ebp - 0xb8], 0x5c
lea eax, [ebp - 0x38]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
mov ecx, dword [0x4dd5c8]
mov eax, dword [ecx]
call fcn.00484708
lea edx, [ebp - 0x38]
push dword [edx]
lea eax, [ebp - 0x3c]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
pop eax
call fcn.004aee08
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x44]
call fcn.0040165c
push eax
inc dword [ebp - 0xac]
mov edx, 0x4cbee4
lea eax, [ebp - 0x40]
call fcn.004c3c68
inc dword [ebp - 0xac]
lea edx, [ebp - 0x40]
pop ecx
pop eax
call fcn.004c3eac
lea ecx, [ebp - 0x44]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x467f48]
call fcn.00468610
mov dword [ebp - 0xe0], eax
dec dword [ebp - 0xac]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004c3e54
jmp 0x4108c3
mov word [ebp - 0xb8], 0x68
lea eax, [ebp - 0x48]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
mov ecx, dword [0x4dd5c8]
mov eax, dword [ecx]
call fcn.00484708
lea edx, [ebp - 0x48]
push dword [edx]
lea eax, [ebp - 0x4c]
call fcn.0040165c
mov edx, eax
inc dword [ebp - 0xac]
pop eax
call fcn.004aee08
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x54]
call fcn.0040165c
push eax
inc dword [ebp - 0xac]
mov edx, 0x4cbeed
lea eax, [ebp - 0x50]
call fcn.004c3c68
inc dword [ebp - 0xac]
lea edx, [ebp - 0x50]
pop ecx
pop eax
call fcn.004c3eac
lea ecx, [ebp - 0x54]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x467f48]
call fcn.00468610
mov dword [ebp - 0xe0], eax
dec dword [ebp - 0xac]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004c3e54
push 0
xor ecx, ecx
mov dl, 7
mov eax, dword [ebp - 0xcc]
call fcn.00412b10
test eax, eax
jne 0x411014
mov ecx, dword [sym.Project1.exe__Form5]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov byte [ebp - 0x103], 0
mov eax, dword [ebp - 0xcc]
call fcn.004133b0
test eax, eax
jne 0x411014
cmp byte [0x4dead5], 9
jne 0x410a08
mov dl, byte [0x4dea28]
sub dl, 0x30
je 0x41092f
dec dl
je 0x41094e
sub dl, 7
je 0x41096d
jmp 0x41098c
xor ecx, ecx
mov cl, byte [ebp - 0x103]
push ecx
push 0x4cbef6
lea eax, [ebp - 0x174]
push eax
call fcn.004bb6d8
add esp, 0xc
jmp 0x4109a9
xor edx, edx
mov dl, byte [ebp - 0x103]
push edx
push 0x4cbf0b
lea ecx, [ebp - 0x174]
push ecx
call fcn.004bb6d8
add esp, 0xc
jmp 0x4109a9
xor eax, eax
mov al, byte [ebp - 0x103]
push eax
push 0x4cbf1f
lea edx, [ebp - 0x174]
push edx
call fcn.004bb6d8
add esp, 0xc
jmp 0x4109a9
xor ecx, ecx
mov cl, byte [ebp - 0x103]
push ecx
push 0x4cbf35
lea eax, [ebp - 0x174]
push eax
call fcn.004bb6d8
add esp, 0xc
mov edx, dword [sym.Project1.exe__Form5]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x2d4]
add eax, 0x208
mov dword [ebp - 0x108], eax
mov word [ebp - 0xb8], 0x74
lea edx, [ebp - 0x174]
lea eax, [ebp - 0x58]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x54]
dec dword [ebp - 0xac]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004c3e54
jmp 0x410f8c
cmp byte [0x4dead5], 0xfc
jne 0x410b77
cmp byte [0x4dead9], 0x88
jne 0x410b77
mov cl, byte [0x4dea28]
sub cl, 0x30
je 0x410a3f
dec cl
je 0x410a8d
sub cl, 7
je 0x410adb
jmp 0x410b29
mov word [ebp - 0xb8], 0x80
mov edx, 0x4cbf46
lea eax, [ebp - 0x5c]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.004a63a8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004c3e54
jmp 0x410f8c
mov word [ebp - 0xb8], 0x8c
mov edx, 0x4cbf5e
lea eax, [ebp - 0x60]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.004a63a8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004c3e54
jmp 0x410f8c
mov word [ebp - 0xb8], 0x98
mov edx, 0x4cbf77
lea eax, [ebp - 0x64]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.004a63a8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004c3e54
jmp 0x410f8c
mov word [ebp - 0xb8], 0xa4
mov edx, 0x4cbf9b
lea eax, [ebp - 0x68]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.004a63a8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004c3e54
jmp 0x410f8c
mov byte [ebp - 0x109], 2
jmp 0x410f54
xor ecx, ecx
mov cl, byte [ebp - 0x109]
xor eax, eax
mov al, byte [ecx + 0x4dead5]
mov word [ebp - 0x100], ax
shl word [ebp - 0x100], 8
xor edx, edx
mov dl, byte [ebp - 0x109]
xor ecx, ecx
mov cl, byte [edx + 0x4dead6]
or word [ebp - 0x100], cx
movzx eax, word [ebp - 0x100]
push eax
push 0x4cbfb0
lea edx, [ebp - 0x174]
push edx
call fcn.004bb6d8
add esp, 0xc
mov cl, byte [ebp - 0x174]
mov byte [ebp - 0xd8], cl
mov al, byte [ebp - 0x173]
mov byte [ebp - 0xd7], al
mov dl, byte [ebp - 0x172]
mov byte [ebp - 0xd6], dl
mov cl, byte [ebp - 0x171]
mov byte [ebp - 0xd5], cl
mov al, byte [ebp - 0x170]
mov byte [ebp - 0xd4], al
mov byte [ebp - 0xd3], 0
mov word [ebp - 0xb8], 0xb0
mov edx, 0x4cbfbe
lea eax, [ebp - 0x74]
call fcn.004c3c68
inc dword [ebp - 0xac]
push dword [eax]
lea eax, [ebp - 0x78]
call fcn.0040165c
push eax
inc dword [ebp - 0xac]
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x70]
call fcn.004c3c68
inc dword [ebp - 0xac]
push dword [eax]
mov edx, 0x4cbfb8
lea eax, [ebp - 0x6c]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xe0]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
lea eax, [ebp - 0x78]
call fcn.004042bc
push eax
lea edx, [ebp - 0x174]
push edx
call fcn.004b9994
add esp, 8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004c3e54
mov word [ebp - 0xb8], 0xbc
lea edx, [ebp - 0x174]
lea eax, [ebp - 0x7c]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [sym.Project1.exe__Form5]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2d4]
mov eax, dword [eax + 0x208]
call fcn.004a63a8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004c3e54
xor ecx, ecx
mov cl, byte [ebp - 0x109]
mov al, byte [ecx + 0x4dead7]
and al, 0x7f
mov byte [ebp - 0x101], al
xor edx, edx
mov dl, byte [ebp - 0x109]
test byte [edx + 0x4dead7], 0x80
je 0x410d59
mov byte [ebp - 0x102], 0xa
jmp 0x410d60
mov byte [ebp - 0x102], 0
xor ecx, ecx
mov cl, byte [ebp - 0x102]
push ecx
xor eax, eax
mov al, byte [ebp - 0x101]
push eax
push 0x4cbfd1
lea edx, [ebp - 0x174]
push edx
call fcn.004bb6d8
add esp, 0x10
mov cl, byte [ebp - 0x16c]
mov byte [ebp - 0xd8], cl
mov al, byte [ebp - 0x16b]
mov byte [ebp - 0xd7], al
mov byte [ebp - 0xd6], 0
mov word [ebp - 0xb8], 0xc8
mov edx, 0x4cbfed
lea eax, [ebp - 0x88]
call fcn.004c3c68
inc dword [ebp - 0xac]
push dword [eax]
lea eax, [ebp - 0x8c]
call fcn.0040165c
push eax
inc dword [ebp - 0xac]
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0x84]
call fcn.004c3c68
inc dword [ebp - 0xac]
push dword [eax]
mov edx, 0x4cbfe6
lea eax, [ebp - 0x80]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0xe0]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
lea eax, [ebp - 0x8c]
call fcn.004042bc
push eax
lea edx, [ebp - 0x174]
push edx
call fcn.004b9994
add esp, 8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004c3e54
dec dword [ebp - 0xac]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004c3e54
cmp byte [ebp - 0x102], 0
je 0x410ef6
mov cl, byte [0x4dea28]
sub cl, 0x30
je 0x410ea0
dec cl
je 0x410eb6
sub cl, 7
je 0x410ecc
jmp 0x410ee2
push 0x4cc007
lea eax, [ebp - 0x174]
push eax
call fcn.004b9994
add esp, 8
jmp 0x410ef6
push 0x4cc014
lea edx, [ebp - 0x174]
push edx
call fcn.004b9994
add esp, 8
jmp 0x410ef6
push 0x4cc024
lea ecx, [ebp - 0x174]
push ecx
call fcn.004b9994
add esp, 8
jmp 0x410ef6
push 0x4cc033
lea eax, [ebp - 0x174]
push eax
call fcn.004b9994
add esp, 8
inc byte [ebp - 0x103]
mov word [ebp - 0xb8], 0xd4
lea edx, [ebp - 0x174]
lea eax, [ebp - 0x90]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov ecx, dword [sym.Project1.exe__Form5]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x2d4]
mov eax, dword [ecx + 0x208]
call fcn.004a63a8
dec dword [ebp - 0xac]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004c3e54
add byte [ebp - 0x109], 3
xor ecx, ecx
mov cl, byte [ebp - 0x109]
xor eax, eax
mov al, byte [0x4dead6]
add eax, 2
cmp ecx, eax
jl 0x410b83
push 0
xor ecx, ecx
mov dl, 9
mov eax, dword [ebp - 0xcc]
call fcn.00412b10
test eax, eax
jne 0x411014
jmp 0x4108f9
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0
je 0x410fd1
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx]
mov dword [ebp - 0x94], eax
mov word [ebp - 0xb8], 0xec
mov edx, 3
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xb8], 0xe0
cmp byte [ebp - 0x103], 0
je 0x410fef
mov edx, dword [sym.Project1.exe__Form5]
mov eax, dword [edx]
mov eax, dword [eax + 0x2e0]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [sym.Project1.exe__Form5]
mov edx, dword [eax]
mov eax, dword [edx + 0x2e4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0xc8]
mov dword fs:[0], eax
jmp 0x4110ee
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0
je 0x411059
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx]
mov dword [ebp - 0x9c], eax
mov word [ebp - 0xb8], 0x104
mov edx, 3
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xb8], 0xf8
mov edx, dword [sym.Project1.exe__Form5]
mov eax, dword [edx]
mov eax, dword [eax + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov ecx, dword [sym.Project1.exe__Form5]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2d4]
add edx, 0x208
mov dword [ebp - 0x110], edx
mov word [ebp - 0xb8], 0x110
mov edx, 0x4cc043
lea eax, [ebp - 0xa4]
call fcn.004c3c68
inc dword [ebp - 0xac]
mov edx, dword [eax]
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004c3e54
mov ecx, dword [sym.Project1.exe__Form5]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2e4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0xc8]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret