Function at 0x4a82b0
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4c2020]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], str._Id:_fbopend.cpp_7003_2011_05_16_16:32:53Z_jsturton___WORKNC
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0xc], edx
jmp 0x4a82eb
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x20
jg 0x4a8302
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
jl 0x4a8302
jmp 0x4a82d9
cmp dword [ebp + 0x10], 0x200
jbe 0x4a8323
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xfffffff3
push 0xfffffffffffffff3
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
lea eax, [edx + ecx - 1]
mov dword [ebp - 0xc], eax
jmp 0x4a8344
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x1c]
sub edx, 1
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x4a835b
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
test eax, eax
jl 0x4a835b
jmp 0x4a8332
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x60]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 5
cmp dword [ebp + 0x1c], 0
jle 0x4a85b1
mov byte [ebp - 0x65], 0x58
xor eax, eax
mov word [ebp - 0x64], ax
jmp 0x4a839d
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x1c]
sub edx, 1
mov dword [ebp + 0x1c], edx
cmp dword [ebp + 0x1c], 0
jle 0x4a83c5
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x4a83b8
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
test eax, eax
jge 0x4a83c3
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
cmp edx, 0x2c
jne 0x4a83c5
jmp 0x4a838b
cmp dword [ebp + 0x1c], 0
jne 0x4a83d0
jmp 0x4a857c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x70], eax
jmp 0x4a83ea
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x1c]
sub edx, 1
mov dword [ebp + 0x1c], edx
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x30
jl 0x4a8402
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x39
jg 0x4a8402
jmp 0x4a83d8
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x70]
mov word [ebp - 0x74], cx
movsx edx, word [ebp - 0x74]
cmp edx, 3
jle 0x4a8423
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xffffffe1
jmp 0x4a8f99
movsx ecx, word [ebp - 0x74]
test ecx, ecx
jne 0x4a8436
mov edx, 1
mov word [ebp - 0x6c], dx
jmp 0x4a8466
movsx eax, word [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
movsx eax, word [ebp - 0x74]
mov byte [ebp + eax - 0x78], 0
lea ecx, [ebp - 0x78]
push ecx
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov word [ebp - 0x6c], ax
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 0x66], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x1c]
sub edx, 1
mov dword [ebp + 0x1c], edx
movsx eax, byte [ebp - 0x66]
push eax
push str.LCWIRD
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
jne 0x4a84a5
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 0xffffffe1
jmp 0x4a8f99
movsx edx, byte [ebp - 0x66]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
sub eax, 0x43
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0x14
ja case.0x4a84d4.2
mov ecx, dword [ebp - 0x12c]
movzx edx, byte [ecx + 0x4a8fc0]
jmp dword [edx*4 + 0x4a8fac]
movsx eax, word [ebp - 0x6c]
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp case.0x4a84d4.2
movsx ecx, word [ebp - 0x6c]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
mov dword [ebp - 8], eax
jmp case.0x4a84d4.2
movsx ecx, word [ebp - 0x6c]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*4]
mov dword [ebp - 8], eax
jmp case.0x4a84d4.2
movsx ecx, word [ebp - 0x6c]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*8]
mov dword [ebp - 8], eax
movsx ecx, byte [ebp - 0x66]
movsx edx, byte [ebp - 0x65]
cmp ecx, edx
jne 0x4a852e
movsx eax, word [ebp - 0x6c]
movsx ecx, word [ebp - 0x64]
add ecx, eax
mov word [ebp - 0x64], cx
jmp 0x4a8572
movsx edx, word [ebp - 0x64]
test edx, edx
je 0x4a8564
movsx eax, byte [ebp - 0x65]
push eax
movsx ecx, word [ebp - 0x64]
push ecx
push 0x4b8ccc
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
mov eax, dword [ebp - 0x18]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 5
mov dword [ebp - 0x14], ecx
mov dl, byte [ebp - 0x66]
mov byte [ebp - 0x65], dl
mov ax, word [ebp - 0x6c]
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x14], 0x3f
jl 0x4a8389
cmp dword [ebp - 0x14], 0x3f
jl 0x4a8590
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 0xffffffe1
jmp 0x4a8f99
movsx edx, byte [ebp - 0x65]
push edx
movsx eax, word [ebp - 0x64]
push eax
push str._03d_c
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x4a8375
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x4a85c3
call fcn.00461aa0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jg 0x4a85d9
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xfffffff5
jmp 0x4a8f99
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004617e0
add esp, 4
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
mov edx, dword [ebp + 0x20]
cmp dword [edx], 0
je 0x4a85f9
jmp 0x4a8f99
call fcn.00461780
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x320]
and ecx, 1
je 0x4a8627
mov edx, dword [ebp + 0x20]
mov dword [edx], 0xfffffff2
push 0xfffffffffffffff2
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x10
push edx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [ebp + 0x10]
mov byte [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov al, byte [edx]
mov byte [ecx + 4], al
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 4]
mov byte [ebp - 0x130], dl
cmp byte [ebp - 0x130], 1
je 0x4a8688
cmp byte [ebp - 0x130], 2
je 0x4a884a
cmp byte [ebp - 0x130], 3
je 0x4a885a
jmp 0x4a8b34
push 0x4b8cdc
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
jne 0x4a86c4
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xffffffeb
push 0xffffffffffffffeb
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004a9010
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a8704
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + 0x2aa]
test eax, eax
je 0x4a873e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xfffffff3
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + 0x2ab]
test ecx, ecx
je 0x4a87d4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
push 0x40
push 1
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 0x40
je 0x4a878c
mov edx, dword [ebp + 0x20]
mov dword [edx], 0xffffffe7
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x4a87d4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 0xffffffdf
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
push eax
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x2d0
push edx
call sub.MSVCR100.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x10]
mov cx, word [ebp - 0x14]
mov word [eax + 0x316], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x21c]
add eax, 0x80
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2b0], eax
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2b0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2b4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2b8], 2
jmp 0x4a8b50
mov edx, dword [ebp - 0x10]
add edx, 0x10
push edx
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
push 0x4b8ce0
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4a8a5d
mov eax, dword [ebp - 0x10]
push eax
call fcn.004a9010
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a88c2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
push eax
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx + 0x2aa]
test edx, edx
je 0x4a88fc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov edx, dword [ebp + 0x20]
mov dword [edx], 0xfffffff3
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + 0x2ab]
test eax, eax
je 0x4a89a2
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
push 0x40
push 1
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 0x40
je 0x4a895a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xffffffe7
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x4a89a2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov edx, dword [ebp + 0x20]
mov dword [edx], 0xffffffdf
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x2d0
push eax
call sub.MSVCR100.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 0x14]
mov word [ecx + 0x316], dx
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + 4]
cmp ecx, 2
jne 0x4a89f7
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x21c]
add eax, 0x80
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2b0], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2b4], 0
jmp 0x4a8a2f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x21c]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x220]
imul eax, dword [ebp - 8]
lea ecx, [ecx + eax + 0x80]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2b0], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x220]
mov dword [eax + 0x2b4], edx
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2b0]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2b8], 2
jmp 0x4a8b32
push 0x4b8ce4
mov edx, dword [ebp - 0x10]
add edx, 0x10
push edx
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
jne 0x4a8a9d
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xffffffeb
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2d0
push ecx
call sub.MSVCR100.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x10]
mov ax, word [ebp - 0x14]
mov word [edx + 0x316], ax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004a92d0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a8b01
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x21c]
add eax, 0x80
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2b0], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2b4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2b8], 1
jmp 0x4a8b50
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 0xfffffff3
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
push eax
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
cmp dword [ebp - 8], 0x80
jge 0x4a8b65
mov dword [ebp - 0x134], 0x80
jmp 0x4a8b6e
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2c4], 0
jne 0x4a8bbf
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov edx, dword [ebp + 0x20]
mov dword [edx], 0xffffffd7
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c4]
mov dword [edx + 0x2c8], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x2d0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x310], edx
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp - 8]
mov word [ecx + 0x314], dx
mov eax, dword [ebp - 0x10]
mov cx, word [ebp - 8]
mov word [eax + 0x31c], cx
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x318], 0x58
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x31a], ax
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x320]
and ecx, 0xfffffffb
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x320], ecx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2cc], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2cc], 0
jne 0x4a8c82
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov edx, dword [ebp + 0x20]
mov dword [edx], 0xffffffd7
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004617a0
add esp, 4
jmp 0x4a8f99
mov edx, dword [ebp - 0x10]
add edx, 0x2d0
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCR100.dll_strlen
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x4a8f5d
jmp 0x4a8cbb
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jle 0x4a8ce3
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x4a8cd6
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
test eax, eax
jge 0x4a8ce1
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
cmp edx, 0x2c
jne 0x4a8ce3
jmp 0x4a8ca9
cmp dword [ebp - 0x14], 0
jne 0x4a8cee
jmp 0x4a8f5d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x104], eax
xor ecx, ecx
mov word [ebp - 0x108], cx
jmp 0x4a8d26
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov cx, word [ebp - 0x108]
add cx, 1
mov word [ebp - 0x108], cx
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x30
jl 0x4a8d3e
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
cmp edx, 0x39
jg 0x4a8d3e
jmp 0x4a8d02
movsx eax, word [ebp - 0x108]
test eax, eax
jne 0x4a8d57
mov ecx, 1
mov word [ebp - 0x100], cx
jmp 0x4a8d9c
movsx edx, word [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
movsx edx, word [ebp - 0x108]
mov byte [ebp + edx - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
mov word [ebp - 0x100], ax
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp - 0xf9], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
movsx edx, byte [ebp - 0xf9]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
sub eax, 0x43
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x14
ja case.0x4a8def.2
mov ecx, dword [ebp - 0x138]
movzx edx, byte [ecx + 0x4a8ff4]
jmp dword [edx*4 + 0x4a8fd8]
jmp 0x4a8e0a
mov ax, word [ebp - 0x100]
sub ax, 1
mov word [ebp - 0x100], ax
movsx ecx, word [ebp - 0x100]
test ecx, ecx
jle 0x4a8e2d
mov dword [ebp - 0x110], 1
lea edx, [ebp - 0x110]
push edx
call fcn.004a1480
jmp 0x4a8df8
jmp case.0x4a8def.2
jmp 0x4a8e46
mov ax, word [ebp - 0x100]
sub ax, 1
mov word [ebp - 0x100], ax
movsx ecx, word [ebp - 0x100]
test ecx, ecx
jle 0x4a8e68
mov byte [ebp - 0x111], 0x2a
push 1
lea edx, [ebp - 0x111]
push edx
call fcn.004a1c70
jmp 0x4a8e34
jmp case.0x4a8def.2
jmp 0x4a8e81
mov ax, word [ebp - 0x100]
sub ax, 1
mov word [ebp - 0x100], ax
movsx ecx, word [ebp - 0x100]
test ecx, ecx
jle 0x4a8ea6
mov edx, 0x7fff
mov word [ebp - 0x118], dx
lea eax, [ebp - 0x118]
push eax
call fcn.004a1b70
jmp 0x4a8e6f
jmp case.0x4a8def.2
jmp 0x4a8ebf
mov cx, word [ebp - 0x100]
sub cx, 1
mov word [ebp - 0x100], cx
movsx edx, word [ebp - 0x100]
test edx, edx
jle 0x4a8ee2
mov dword [ebp - 0x11c], Ordinal_7
lea eax, [ebp - 0x11c]
push eax
call fcn.004a1a70
jmp 0x4a8ead
jmp case.0x4a8def.2
jmp 0x4a8ef8
mov cx, word [ebp - 0x100]
sub cx, 1
mov word [ebp - 0x100], cx
movsx edx, word [ebp - 0x100]
test edx, edx
jle 0x4a8f1d
fld dword [0x4b8cf0]
fstp dword [ebp - 0x120]
lea eax, [ebp - 0x120]
push eax
call fcn.004a1800
jmp 0x4a8ee6
jmp case.0x4a8def.2
jmp 0x4a8f33
mov cx, word [ebp - 0x100]
sub cx, 1
mov word [ebp - 0x100], cx
movsx edx, word [ebp - 0x100]
test edx, edx
jle case.0x4a8def.2
fld qword [0x4b8ce8]
fstp qword [ebp - 0x128]
lea eax, [ebp - 0x128]
push eax
call fcn.004a1900
jmp 0x4a8f21
jmp 0x4a8c9d
mov ecx, dword [ebp - 0x10]
movsx edx, word [ecx + 0x31c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2cc]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x320]
or edx, 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x320], edx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047e6b0
mov esp, ebp
pop ebp
ret 0x1c