Function at 0x4f9cb0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
mov byte [ebp - 0x830], 0
push 0x409
push 0
lea eax, [ebp - 0x82f]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [ebp - 0x420], 0
push 0x409
push 0
lea ecx, [ebp - 0x41f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x4fa1a5
cmp dword [ebp - 0xc], 0
je 0x4fa1a5
mov edx, dword [ebp - 4]
cmp dword [edx + 0x404], 0
je 0x4fa1a5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x404], 0
je 0x4fa1a5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x404]
movsx eax, word [edx + 2]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
movsx ecx, word [edx + 2]
cmp eax, ecx
jge 0x4f9d7c
mov dword [ebp - 8], 1
jmp case.0x4f9df9.2
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x404]
movsx ecx, word [eax + 2]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x404]
movsx edx, word [eax + 2]
cmp ecx, edx
jne case.0x4f9df9.2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x404]
movsx edx, word [ecx + 2]
mov dword [ebp - 0x840], edx
cmp dword [ebp - 0x840], 0x1f7
jg 0x4f9e00
cmp dword [ebp - 0x840], 0x1f5
jge case.0x4f9df9.83
mov eax, dword [ebp - 0x840]
sub eax, 1
mov dword [ebp - 0x840], eax
cmp dword [ebp - 0x840], 0xcc
ja case.0x4f9df9.2
mov ecx, dword [ebp - 0x840]
movzx edx, byte [ecx + 0x4fa1d8]
jmp dword [edx*4 + 0x4fa1b8]
cmp dword [ebp - 0x840], 0x3e8
je case.0x4f9df9.3
jmp case.0x4f9df9.2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x404]
mov edx, dword [ecx + 8]
push edx
call fcn.004fc840
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x404]
mov edx, dword [ecx + 8]
push edx
call fcn.004fc840
add esp, 4
cmp esi, eax
jge 0x4f9e4c
mov dword [ebp - 8], 1
jmp case.0x4f9df9.2
mov dword [ebp - 0x834], 0
jmp 0x4f9e6c
mov eax, dword [ebp - 0x834]
add eax, 1
mov dword [ebp - 0x834], eax
cmp dword [ebp - 0x834], 6
jge 0x4f9edc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
mov eax, dword [ebp - 0x834]
movzx ecx, byte [edx + eax + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x404]
mov edx, dword [ebp - 0x834]
movzx eax, byte [eax + edx + 8]
cmp ecx, eax
jge 0x4f9ea5
jmp 0x4f9edc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
mov eax, dword [ebp - 0x834]
movzx ecx, byte [edx + eax + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x404]
mov edx, dword [ebp - 0x834]
movzx eax, byte [eax + edx + 8]
cmp ecx, eax
jle 0x4f9eda
mov dword [ebp - 8], 1
jmp 0x4f9edc
jmp 0x4f9e5d
jmp case.0x4f9df9.2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
movsx eax, word [edx + 2]
cmp eax, 0x18
jne 0x4f9eff
mov dword [ebp - 0x844], 1
jmp 0x4f9f1d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
movsx eax, word [edx + 2]
xor ecx, ecx
cmp eax, 0x19
setne cl
add ecx, 2
mov dword [ebp - 0x844], ecx
mov edx, dword [ebp - 0x844]
mov dword [ebp - 0x83c], edx
mov dword [ebp - 0x838], 0
jmp 0x4f9f44
mov eax, dword [ebp - 0x838]
add eax, 1
mov dword [ebp - 0x838], eax
mov ecx, dword [ebp - 0x838]
cmp ecx, dword [ebp - 0x83c]
jge 0x4f9fb1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x404]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x404]
mov ecx, dword [ebp - 0x838]
mov esi, dword [ebp - 0x838]
mov eax, dword [eax + ecx*4 + 8]
cmp eax, dword [edx + esi*4 + 8]
jae 0x4f9f7e
jmp 0x4f9fb1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x404]
mov eax, dword [ebp - 0x838]
mov esi, dword [ebp - 0x838]
mov edx, dword [edx + eax*4 + 8]
cmp edx, dword [ecx + esi*4 + 8]
jbe 0x4f9faf
mov dword [ebp - 8], 1
jmp 0x4f9fb1
jmp 0x4f9f35
jmp case.0x4f9df9.2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x10d4]
and edx, 0x4000
jne 0x4fa046
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x404]
add ecx, 8
push ecx
lea edx, [ebp - 0x830]
push edx
call sub.MSVCR90.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x404]
add ecx, 8
push ecx
lea edx, [ebp - 0x420]
push edx
call sub.MSVCR90.dll_strcpy
add esp, 8
lea eax, [ebp - 0x830]
push eax
call fcn.004da6e0
add esp, 4
lea ecx, [ebp - 0x420]
push ecx
call fcn.004da6e0
add esp, 4
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x830]
push eax
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jle 0x4fa044
mov dword [ebp - 8], 1
jmp 0x4fa073
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x404]
add edx, 8
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x404]
add ecx, 8
push ecx
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jle 0x4fa073
mov dword [ebp - 8], 1
jmp case.0x4f9df9.2
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x404]
add eax, 8
push eax
call fcn.004fb3b0
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
add edx, 8
push edx
call fcn.004fb3b0
add esp, 4
cmp esi, eax
jge 0x4fa0af
mov dword [ebp - 8], 1
jmp case.0x4f9df9.2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x404]
push ecx
call fcn.00497de0
add esp, 4
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x404]
push eax
call fcn.00497de0
add esp, 4
push eax
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jle 0x4fa0ed
mov dword [ebp - 8], 1
jmp case.0x4f9df9.2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x404]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004abe50
add esp, 8
push eax
lea ecx, [ebp - 0x830]
push ecx
call sub.MSVCR90.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004abe50
add esp, 8
push eax
lea edx, [ebp - 0x420]
push edx
call sub.MSVCR90.dll_strcpy
add esp, 8
lea eax, [ebp - 0x830]
push eax
call fcn.004da6e0
add esp, 4
lea ecx, [ebp - 0x420]
push ecx
call fcn.004da6e0
add esp, 4
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x830]
push eax
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jle 0x4fa17f
mov dword [ebp - 8], 1
jmp case.0x4f9df9.2
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x4fa1a5
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 8]
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret