Function at 0x4f0470
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2f
push 0
push 0
dec ecx
jne 0x4f0479
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4f155b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x39], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x58], 0x1f4
mov eax, dword [ebp - 0x34]
add eax, 0x5c
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x6c], edx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004e3df4
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0xc]
mov ecx, 0
call fcn.004073b4
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.004e3288
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.0040738c
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x10]
mov ecx, 0
call fcn.004073b4
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.004e3288
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x10]
call fcn.0040738c
cmp dword [ebp - 0xc], 0
jne 0x4f055a
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x14]
call fcn.004071b4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x18]
call fcn.004071b4
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.004132c4
mov eax, dword [ebp - 0x60]
mov edx, 0x4f157c
call fcn.004078e8
jne 0x4f05d8
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x48], 0
setne bl
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x20c
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x48]
call fcn.00407160
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x210
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x4c]
call fcn.00407160
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x220
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x50]
call fcn.00407160
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x224
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x54]
call fcn.00407160
jmp 0x4f0622
xor ebx, ebx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x20c
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x210
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x220
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x224
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x48], 0
je 0x4f062f
test bl, bl
je 0x4f0633
xor eax, eax
jmp 0x4f0635
mov al, 1
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4f064f
cmp eax, 0
seta al
jmp 0x4f0652
setg al
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + 0x44]
and al, byte [ebp - 0x3a]
je 0x4f0673
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
mov edx, 0x4f1594
call fcn.004078e8
je 0x4f0677
xor eax, eax
jmp 0x4f0679
mov al, 1
mov byte [ebp - 0x3b], al
cmp byte [ebp - 0x3b], 0
je 0x4f0694
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov ecx, 0x4f15a8
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x3a], 0
je 0x4f06fa
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.00414210
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x4f15e0
call fcn.00407644
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x34], 0
je 0x4f06fa
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x6c]
mov edx, 0x4f1610
call fcn.00407644
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x60], 0
je 0x4f0726
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x70]
mov edx, 0x4f163c
call fcn.00407644
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x70]
test ebx, ebx
jg 0x4f073d
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x74], 0
jle 0x4f07c6
mov eax, dword [ebp - 0x34]
cmp ebx, dword [eax + 0x74]
jg 0x4f078c
push 0x4f1664
lea edx, [ebp - 0x78]
mov eax, ebx
call fcn.00413fcc
push dword [ebp - 0x78]
push 0x4f168c
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x74]
call fcn.00413fcc
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
mov edx, 4
call fcn.00407728
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4f07c6
push 0x4f1664
lea edx, [ebp - 0x84]
mov eax, ebx
call fcn.00413fcc
push dword [ebp - 0x84]
push 0x4f168c
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00407728
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x2c]
call fcn.0040630c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4f0841
inc ebx
xor esi, esi
cmp dword [ebp - 0x2c], 0
je 0x4f07f6
lea eax, [ebp - 0x2c]
mov edx, 0x4f169c
call fcn.00406704
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x64]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x8c]
pop eax
call fcn.00407584
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004073b4
inc esi
dec ebx
jne 0x4f07e3
cmp dword [ebp - 0x2c], 0
je 0x4f087e
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x4f16ac
call fcn.004067cc
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
call fcn.0040738c
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.004071b4
cmp byte [ebp - 0x41], 0
je 0x4f089b
lea eax, [ebp - 0x28]
mov edx, 0x4f16c4
call fcn.004071b4
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x3c], 0
je 0x4f0906
lea eax, [ebp - 0x98]
mov ecx, 0x4f16e0
mov edx, dword [ebp - 0x28]
call fcn.00407644
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x40]
call fcn.00413fcc
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x4f171c
call fcn.00407644
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4f092c
lea eax, [ebp - 0xa4]
mov ecx, 0x4f1744
mov edx, dword [ebp - 0x28]
call fcn.00407644
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [ebp - 0xc], 0
je 0x4f09ae
push dword [ebp - 0xc]
push 0x4f1774
push dword [ebp - 0x10]
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.00407728
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov ecx, 0
call fcn.004073b4
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.004e3520
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov edx, 0x4f1784
call fcn.004067cc
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
call fcn.0040738c
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x41], 0
je 0x4f0a47
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x50], 0
je 0x4f0a47
mov eax, dword [ebp - 0x34]
push dword [eax + 0x50]
push 0x4f1774
mov eax, dword [ebp - 0x34]
push dword [eax + 0x54]
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.00407728
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov ecx, 0
call fcn.004073b4
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.004e3520
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, 0x4f17a8
call fcn.004067cc
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
call fcn.0040738c
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x14]
call fcn.004e4bac
test al, al
je 0x4f0a85
push 0x4f17d0
push dword [ebp - 0x14]
push 0x4f17e0
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.00407728
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004073b4
jmp 0x4f0a95
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call fcn.004073b4
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x78], 0
je 0x4f0afe
mov eax, dword [ebp - 0x18]
mov edx, 0x4f17f0
call fcn.004078e8
je 0x4f0afe
push 0x4f1804
push dword [ebp - 0x2c]
push 0x4f1818
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.004068bc
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
call fcn.0040738c
lea eax, [ebp - 0xd4]
mov edx, dword [ebp - 0x18]
call fcn.00407584
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4f0b35
lea eax, [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
mov edx, 0x4f1804
call fcn.004067cc
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
call fcn.0040738c
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x41], 0
je 0x4f0b6f
push dword [ebp - 8]
push 0x4f1828
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
push dword [ebp - 0xe4]
push 0x4f1774
push dword [ebp - 0x18]
push dword [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00407728
mov eax, dword [ebp - 0x24]
mov edx, 0x4f183c
call fcn.004078e8
jne 0x4f0b8b
lea eax, [ebp - 0x24]
mov edx, 0x4f1850
call fcn.004071b4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
mov edx, 0x4f1860
call fcn.004078e8
jne 0x4f0bde
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0x38]
call fcn.004132c4
push dword [ebp - 0xec]
push 0x4f1874
push dword [ebp - 0x24]
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.00407728
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4f0c28
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x38]
call fcn.004132c4
push dword [ebp - 0xf4]
push 0x4f1874
push dword [ebp - 0x24]
push 0x4f1884
mov eax, dword [ebp - 0x34]
push dword [eax + 0x38]
lea eax, [ebp - 0xf0]
mov edx, 5
call fcn.00407728
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x41], 0
je 0x4f0c52
mov eax, dword [ebp - 0x34]
add eax, 4
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x48]
call fcn.00407160
mov eax, dword [ebp - 0x34]
add eax, 8
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x4c]
call fcn.00407160
jmp 0x4f0c6e
mov eax, dword [ebp - 0x34]
add eax, 4
mov edx, dword [ebp - 0x14]
call fcn.00407160
mov eax, dword [ebp - 0x34]
add eax, 8
mov edx, dword [ebp - 0x18]
call fcn.00407160
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xf8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xf8], 0
je 0x4f0ca1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 8]
call fcn.004132c4
mov eax, dword [ebp - 0xfc]
mov edx, 0x4f157c
call fcn.004078e8
sete dl
mov eax, dword [ebp - 0x34]
call fcn.004f0414
test al, al
jne 0x4f0ced
mov eax, dword [ebp - 0x34]
add eax, 0x24
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
add eax, 0x28
xor edx, edx
call fcn.00407160
jmp 0x4f1454
push 0
push 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
call fcn.00438c8c
lea eax, [ebp - 4]
xor edx, edx
call fcn.004071b4
cmp byte [ebp - 0x3b], 0
je 0x4f0e10
lea edx, [ebp - 0x100]
mov eax, dword [ebp - 0x34]
call fcn.004f0298
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x4f1454
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
cmp dword [ebp - 0x2c], 0
jne 0x4f0d6b
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4f0d42
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x34]
call fcn.004f01c0
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
cmp dword [ebp - 0x2c], 0
je 0x4f0dbb
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4f0d92
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x58]
cmp eax, 0x64
jl 0x4f0f20
cmp eax, 0xc8
jge 0x4f0f20
lea eax, [ebp - 4]
xor edx, edx
call fcn.004071b4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
jmp 0x4f0f20
cmp byte [ebp - 0x3a], 0
je 0x4f0f01
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4f0e32
cmp eax, 0x10000
jb 0x4f0e84
jmp 0x4f0e34
jl 0x4f0e84
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x34]
call fcn.004f0298
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
jmp 0x4f0f20
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0x10c]
mov eax, ebx
call fcn.004e4788
mov eax, dword [ebp - 0x10c]
push eax
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 0x34]
call fcn.004f0298
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x2c]
pop ecx
call fcn.004067cc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4f0ee2
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x4f0ee2
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
call fcn.00406528
test eax, eax
je 0x4f0eeb
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4f0f20
lea edx, [ebp - 0x114]
mov eax, dword [ebp - 0x34]
call fcn.004f0298
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x4f1454
mov eax, dword [ebp - 0x34]
call fcn.004f0174
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x20], 0
cmp dword [ebp - 4], 0
jne 0x4f102c
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
cmp dword [ebp - 0x2c], 0
jne 0x4f0f7c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4f0f53
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.004132c4
mov edx, dword [ebp - 0x118]
mov eax, 0x4f18a0
call fcn.00407c68
dec eax
jne 0x4f0feb
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x34]
call fcn.004f01c0
jmp 0x4f100e
lea eax, [ebp - 0x2c]
mov edx, 0x4f18b8
call fcn.00406704
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.004e47bc
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x4f103a
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0x64
je 0x4f0f53
jmp 0x4f103a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
mov edx, 0x4f1594
call fcn.004078e8
setne byte [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4f137c
mov dl, 1
mov eax, dword [0x42cb98]
call fcn.00438bc8
mov dword [ebp - 0x48], eax
xor eax, eax
push ebp
push 0x4f1375
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x58]
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [ebp - 0x2c], 0
je 0x4f10c3
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4f107e
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x4f134e
lea ecx, [ebp - 0x12c]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
call fcn.004e483c
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004073b4
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004132c4
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x30]
mov ecx, 0
call fcn.004073b4
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov edx, dword [ebp - 0x13c]
mov eax, 0x4f18c8
call fcn.00407c68
dec eax
jne 0x4f11bf
lea eax, [ebp - 0x148]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x144]
mov edx, 0x4f1874
call fcn.004e3d24
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00413944
mov eax, dword [ebp - 0x140]
or edx, 0xffffffff
call fcn.0041429c
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x4f11bf
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x20], 0
jne 0x4f11bf
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x20], 1
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov edx, dword [ebp - 0x14c]
mov eax, 0x4f18f4
call fcn.00407c68
dec eax
jne 0x4f1226
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov edx, 0x4f1874
call fcn.004e3d24
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00413944
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x34]
add eax, 0x34
call fcn.00407160
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov edx, dword [ebp - 0x15c]
mov eax, 0x4f191c
call fcn.00407c68
dec eax
jne 0x4f12b8
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
mov edx, 0x4f1874
call fcn.004e3d24
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.00413944
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 0x2c]
mov ecx, 0
call fcn.004073b4
lea eax, [ebp - 0x16c]
mov edx, dword [ebp - 0x2c]
call fcn.0040738c
mov edx, dword [ebp - 0x16c]
mov eax, 0x4f1950
call fcn.00407c68
test eax, eax
jle 0x4f12b8
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x20], 2
cmp byte [ebp - 0x41], 0
je 0x4f1307
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov edx, dword [ebp - 0x170]
mov eax, 0x4f196c
call fcn.00407c68
dec eax
jne 0x4f134e
lea eax, [ebp - 0x174]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov edx, dword [ebp - 0x174]
mov eax, 0x4f199c
call fcn.00407c68
test eax, eax
jle 0x4f134e
mov byte [ebp - 0x3c], 1
jmp 0x4f134e
lea eax, [ebp - 0x178]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov edx, dword [ebp - 0x178]
mov eax, 0x4f19b4
call fcn.00407c68
dec eax
jne 0x4f134e
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 0x30]
call fcn.0040738c
mov edx, dword [ebp - 0x17c]
mov eax, 0x4f199c
call fcn.00407c68
test eax, eax
jle 0x4f134e
mov byte [ebp - 0x3c], 1
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x4c]
jg 0x4f10cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f137c
mov eax, dword [ebp - 0x48]
call fcn.0040506c
ret
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
sete byte [ebp - 0x39]
cmp byte [ebp - 0x39], 0
je 0x4f1454
mov eax, dword [ebp - 0x38]
mov edx, 0x4f19d8
call fcn.004078e8
setne al
test al, al
je 0x4f13b7
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0xcc
jne 0x4f13bb
xor eax, eax
jmp 0x4f13bd
mov al, 1
test al, al
je 0x4f13cd
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0x130
jne 0x4f13d1
xor eax, eax
jmp 0x4f13d3
mov al, 1
test al, al
je 0x4f1412
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + 0x20]
sub al, 1
jb 0x4f13ea
je 0x4f13f7
dec al
je 0x4f1407
jmp 0x4f1412
mov eax, dword [ebp - 0x34]
call fcn.004f19e4
mov byte [ebp - 0x39], al
jmp 0x4f1412
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
call fcn.004f1a70
mov byte [ebp - 0x39], al
jmp 0x4f1412
mov eax, dword [ebp - 0x34]
call fcn.004f1ab4
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp byte [ebp - 0x3c], 0
je 0x4f144c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x34]
add eax, 0x24
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
add eax, 0x28
xor edx, edx
call fcn.00407160
mov eax, dword [ebp - 0x34]
call fcn.004f1c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1565
lea eax, [ebp - 0x17c]
mov edx, 0x1a
call fcn.00407158
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.00406330
lea eax, [ebp - 0x104]
call fcn.00407150
lea eax, [ebp - 0x100]
call fcn.0040630c
lea eax, [ebp - 0xfc]
mov edx, 7
call fcn.00407158
lea eax, [ebp - 0xe0]
call fcn.0040630c
lea eax, [ebp - 0xdc]
call fcn.00407150
lea eax, [ebp - 0xd8]
call fcn.0040630c
lea eax, [ebp - 0xd4]
mov edx, 3
call fcn.00407158
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00406330
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.00407158
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00406330
lea eax, [ebp - 0xa8]
mov edx, 5
call fcn.00407158
lea eax, [ebp - 0x94]
call fcn.0040630c
lea eax, [ebp - 0x90]
mov edx, 0xd
call fcn.00407158
lea eax, [ebp - 0x5c]
mov edx, 4
call fcn.00406330
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00406330
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00407158
ret