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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x21
push 0
push 0
dec ecx
jne 0x4a3b05
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 0x4a4965
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
call fcn.00404f34
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
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 edx, [ebp - 0x58]
mov eax, ebx
call fcn.00409c00
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004978bc
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.00498490
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0xc]
call fcn.00404fcc
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.00498490
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x10]
call fcn.00404fcc
cmp dword [ebp - 0xc], 0
jne 0x4a3be1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x14]
call fcn.00404fcc
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x18]
call fcn.00404fcc
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.00409860
mov eax, dword [ebp - 0x64]
mov edx, 0x4a4980
call fcn.0040535c
jne 0x4a3c5f
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x48], 0
setne bl
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x21c
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x48]
call fcn.00404f88
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x220
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x4c]
call fcn.00404f88
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x230
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x50]
call fcn.00404f88
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x234
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x54]
call fcn.00404f88
jmp 0x4a3ca1
xor ebx, ebx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x21c
call fcn.00404f34
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x220
call fcn.00404f34
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x230
call fcn.00404f34
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
add eax, 0x234
call fcn.00404f34
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x48], 0
je 0x4a3cae
test bl, bl
je 0x4a3cb2
xor eax, eax
jmp 0x4a3cb4
mov al, 1
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4a3cd0
cmp eax, 0
seta al
jmp 0x4a3cd3
setg al
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + 0x44]
and al, byte [ebp - 0x3a]
je 0x4a3cf4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
mov edx, 0x4a4990
call fcn.0040535c
je 0x4a3cf8
xor eax, eax
jmp 0x4a3cfa
mov al, 1
mov byte [ebp - 0x3b], al
cmp byte [ebp - 0x3b], 0
je 0x4a3d15
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov ecx, 0x4a499c
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x3a], 0
je 0x4a3d7d
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x6c]
call fcn.00409f98
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, 0x4a49bc
call fcn.0040524c
mov ecx, dword [ebp - 0x68]
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 0x4a3d7d
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x70]
mov edx, 0x4a49d8
call fcn.0040524c
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]
cmp dword [eax + 0x60], 0
je 0x4a3da9
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x74]
mov edx, 0x4a49f0
call fcn.0040524c
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]
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x7c], 0
jne 0x4a3dba
cmp dword [eax + 0x78], 0
ja 0x4a3ddd
jmp 0x4a3dbc
jg 0x4a3ddd
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x84], 0
jne 0x4a3dd7
cmp dword [eax + 0x80], 0
jbe 0x4a3e9b
jmp 0x4a3ddd
jle 0x4a3e9b
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x84]
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp - 0x34]
cmp edx, dword [ecx + 0x7c]
jne 0x4a3dfb
cmp eax, dword [ecx + 0x78]
jb 0x4a3e54
jmp 0x4a3dfd
jl 0x4a3e54
push 0x4a4a08
mov eax, dword [ebp - 0x34]
push dword [eax + 0x7c]
push dword [eax + 0x78]
lea eax, [ebp - 0x7c]
call fcn.00409f98
push dword [ebp - 0x7c]
push 0x4a4a20
mov eax, dword [ebp - 0x34]
push dword [eax + 0x84]
push dword [eax + 0x80]
lea eax, [ebp - 0x80]
call fcn.00409f98
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.004052c8
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4a3e9b
push 0x4a4a08
mov eax, dword [ebp - 0x34]
push dword [eax + 0x7c]
push dword [eax + 0x78]
lea eax, [ebp - 0x88]
call fcn.00409f98
push dword [ebp - 0x88]
push 0x4a4a20
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.004052c8
mov ecx, dword [ebp - 0x84]
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]
call fcn.00404f34
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 0x4a3ef0
inc ebx
xor esi, esi
cmp dword [ebp - 0x28], 0
je 0x4a3ecb
lea eax, [ebp - 0x28]
mov edx, 0x4a4a2c
call fcn.00405200
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]
lea eax, [ebp - 0x28]
call fcn.00405200
inc esi
dec ebx
jne 0x4a3eb8
cmp dword [ebp - 0x28], 0
je 0x4a3f1c
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x28]
mov edx, 0x4a4a38
call fcn.0040524c
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 - 0x30]
call fcn.00404f34
cmp byte [ebp - 0x49], 0
je 0x4a3f37
lea eax, [ebp - 0x30]
mov edx, 0x4a4a4c
call fcn.00404fcc
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x3c], 0
je 0x4a3fa2
lea eax, [ebp - 0x94]
mov ecx, 0x4a4a5c
mov edx, dword [ebp - 0x30]
call fcn.0040524c
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x40]
call fcn.00409eac
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x4a4a7c
call fcn.0040524c
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]
jmp 0x4a3fc8
lea eax, [ebp - 0xa0]
mov ecx, 0x4a4a94
mov edx, dword [ebp - 0x30]
call fcn.0040524c
mov ecx, dword [ebp - 0xa0]
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 0x4a4023
push dword [ebp - 0xc]
push 0x4a4ab0
push dword [ebp - 0x10]
lea eax, [ebp - 0xac]
mov edx, 3
call fcn.004052c8
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.00498634
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov edx, 0x4a4abc
call fcn.0040524c
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 byte [ebp - 0x49], 0
je 0x4a408d
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x50], 0
je 0x4a408d
mov eax, dword [ebp - 0x34]
push dword [eax + 0x50]
push 0x4a4ab0
mov eax, dword [ebp - 0x34]
push dword [eax + 0x54]
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.004052c8
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.00498634
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, 0x4a4adc
call fcn.0040524c
mov ecx, dword [ebp - 0xb0]
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.004987ac
test al, al
je 0x4a40b5
push 0x4a4b00
push dword [ebp - 0x14]
push 0x4a4b0c
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004052c8
jmp 0x4a40c0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
call fcn.00404fcc
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x88], 0
je 0x4a4163
mov eax, dword [ebp - 0x18]
mov edx, 0x4a4b18
call fcn.0040535c
je 0x4a40ff
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 8]
call fcn.00409860
mov eax, dword [ebp - 0xbc]
mov edx, 0x4a4b24
call fcn.0040535c
je 0x4a412e
mov eax, dword [ebp - 0x18]
mov edx, 0x4a4b34
call fcn.0040535c
je 0x4a4163
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 8]
call fcn.00409860
mov eax, dword [ebp - 0xc0]
mov edx, 0x4a4980
call fcn.0040535c
jne 0x4a4163
push 0x4a4b40
push dword [ebp - 0x28]
push 0x4a4ab0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc4]
mov edx, 4
call fcn.004052c8
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4a4189
lea eax, [ebp - 0xc8]
mov ecx, dword [ebp - 0x28]
mov edx, 0x4a4b40
call fcn.0040524c
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x49], 0
je 0x4a41b2
push dword [ebp - 8]
push 0x4a4b50
push dword [ebp - 0x28]
push 0x4a4ab0
push dword [ebp - 0x18]
push dword [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004052c8
mov eax, dword [ebp - 0x24]
mov edx, 0x4a4b5c
call fcn.0040535c
jne 0x4a41ce
lea eax, [ebp - 0x24]
mov edx, 0x4a4b68
call fcn.00404fcc
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
mov edx, 0x4a4b74
call fcn.0040535c
jne 0x4a4221
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x38]
call fcn.00409860
push dword [ebp - 0xd0]
push 0x4a4b80
push dword [ebp - 0x24]
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.004052c8
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4a426b
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 0x38]
call fcn.00409860
push dword [ebp - 0xd8]
push 0x4a4b80
push dword [ebp - 0x24]
push 0x4a4b8c
mov eax, dword [ebp - 0x34]
push dword [eax + 0x38]
lea eax, [ebp - 0xd4]
mov edx, 5
call fcn.004052c8
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]
cmp byte [ebp - 0x49], 0
je 0x4a4295
mov eax, dword [ebp - 0x34]
add eax, 4
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x48]
call fcn.00404f88
mov eax, dword [ebp - 0x34]
add eax, 8
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x4c]
call fcn.00404f88
jmp 0x4a42b1
mov eax, dword [ebp - 0x34]
add eax, 4
mov edx, dword [ebp - 0x14]
call fcn.00404f88
mov eax, dword [ebp - 0x34]
add eax, 8
mov edx, dword [ebp - 0x18]
call fcn.00404f88
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 - 0xdc]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xdc], 0
je 0x4a42e4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 8]
call fcn.00409860
mov eax, dword [ebp - 0xe0]
mov edx, 0x4a4980
call fcn.0040535c
sete dl
mov eax, dword [ebp - 0x34]
call fcn.004a3aa0
test al, al
jne 0x4a432c
mov eax, dword [ebp - 0x34]
add eax, 0x24
call fcn.00404f34
mov eax, dword [ebp - 0x34]
add eax, 0x28
call fcn.00404f34
jmp 0x4a493a
push 0
push 0
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
call fcn.00421068
lea eax, [ebp - 4]
call fcn.00404f34
cmp byte [ebp - 0x3b], 0
je 0x4a443a
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x34]
call fcn.004a395c
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c8], 0
jne 0x4a493a
lea ecx, [ebp - 0x28]
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 + 0x5c]
cmp dword [ebp - 0x28], 0
jne 0x4a43aa
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c8], 0
je 0x4a4381
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
call fcn.004a388c
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x28]
call fcn.00404fcc
lea ecx, [ebp - 0x28]
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 + 0x5c]
cmp dword [ebp - 0x28], 0
je 0x4a43e9
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c8], 0
je 0x4a43c0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x58]
cmp eax, 0x64
jl 0x4a453a
cmp eax, 0xc8
jge 0x4a453a
lea eax, [ebp - 4]
call fcn.00404f34
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x4a453a
cmp byte [ebp - 0x3a], 0
je 0x4a451b
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4a445e
cmp eax, 0x10000
jb 0x4a44ae
jmp 0x4a4460
jl 0x4a44ae
lea edx, [ebp - 0xe8]
mov eax, dword [ebp - 0x34]
call fcn.004a395c
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp 0x4a453a
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0x34]
call fcn.004a37ec
lea ecx, [ebp - 0xec]
pop edx
call fcn.004980c8
mov eax, dword [ebp - 0xec]
push eax
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x34]
call fcn.004a395c
mov edx, dword [ebp - 0xf0]
lea eax, [ebp - 0x28]
pop ecx
call fcn.0040524c
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4a44ff
sub ecx, 4
mov ecx, dword [ecx]
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x4a453a
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x34]
call fcn.004a395c
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c8], 0
jne 0x4a493a
mov eax, dword [ebp - 0x34]
call fcn.004a3814
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x20], 0
cmp dword [ebp - 4], 0
jne 0x4a461c
lea ecx, [ebp - 0x28]
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 + 0x5c]
cmp dword [ebp - 0x28], 0
jne 0x4a459d
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c8], 0
je 0x4a4574
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x28]
call fcn.00409860
mov edx, dword [ebp - 0xf8]
mov eax, 0x4a4b9c
call fcn.00405510
dec eax
jne 0x4a45d9
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
call fcn.004a388c
jmp 0x4a45fe
lea eax, [ebp - 0x28]
mov edx, 0x4a4bac
call fcn.00405200
mov eax, dword [ebp - 0x34]
call fcn.004a3800
mov edx, dword [ebp - 0x28]
call fcn.004980f8
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 + 0x1c8], 0
jne 0x4a462a
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0x64
je 0x4a4574
jmp 0x4a462a
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, 0x4a4990
call fcn.0040535c
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 0x4a4846
mov dl, 1
mov eax, dword [0x41c2c4]
call fcn.00403fe4
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x4a483f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x28]
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 + 0x5c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [ebp - 0x28], 0
je 0x4a46a2
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c8], 0
je 0x4a466e
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x4a4818
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x50]
call fcn.0049815c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.00409860
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a4bb8
call fcn.00405510
dec eax
jne 0x4a4738
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x100]
mov edx, 0x4a4ab0
mov eax, dword [ebp - 0x28]
call fcn.00497874
mov eax, dword [ebp - 0x100]
lea edx, [ebp - 0xfc]
call fcn.00409c00
mov eax, dword [ebp - 0xfc]
call fcn.0040a0a0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0xffffffff
jne 0x4a4726
cmp dword [ebp - 0x48], 0xffffffff
je 0x4a4738
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x20], 0
jne 0x4a4738
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x20], 1
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a4bd0
call fcn.00405510
dec eax
jne 0x4a477d
lea ecx, [ebp - 0x108]
mov edx, 0x4a4ab0
mov eax, dword [ebp - 0x28]
call fcn.00497874
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.00409c00
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x34]
add eax, 0x34
call fcn.00404f88
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a4be8
call fcn.00405510
dec eax
jne 0x4a47c6
lea ecx, [ebp - 0x10c]
mov edx, 0x4a4ab0
mov eax, dword [ebp - 0x2c]
call fcn.00497874
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x28]
call fcn.00409c00
mov edx, dword [ebp - 0x28]
mov eax, 0x4a4c04
call fcn.00405510
test eax, eax
jle 0x4a47c6
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x20], 2
cmp byte [ebp - 0x49], 0
je 0x4a47f3
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a4c14
call fcn.00405510
dec eax
jne 0x4a4818
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a4c30
call fcn.00405510
test eax, eax
jle 0x4a4818
mov byte [ebp - 0x3c], 1
jmp 0x4a4818
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a4c40
call fcn.00405510
dec eax
jne 0x4a4818
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a4c30
call fcn.00405510
test eax, eax
jle 0x4a4818
mov byte [ebp - 0x3c], 1
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x54]
jg 0x4a46ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4846
mov eax, dword [ebp - 0x50]
call fcn.00404014
ret
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c8], 0
sete byte [ebp - 0x39]
cmp byte [ebp - 0x39], 0
jne 0x4a487d
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x34]
add eax, 0x24
call fcn.00404f34
mov eax, dword [ebp - 0x34]
add eax, 0x28
call fcn.00404f34
jmp 0x4a493a
mov eax, dword [ebp - 0x38]
mov edx, 0x4a4c54
call fcn.0040535c
setne al
test al, al
je 0x4a489d
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0xcc
jne 0x4a48a1
xor eax, eax
jmp 0x4a48a3
mov al, 1
test al, al
je 0x4a48b3
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x58], 0x130
jne 0x4a48b7
xor eax, eax
jmp 0x4a48b9
mov al, 1
test al, al
je 0x4a48fa
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + 0x20]
sub al, 1
jb 0x4a48d0
je 0x4a48dc
dec al
je 0x4a48ef
jmp 0x4a48fa
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx]
mov byte [ebp - 0x39], al
jmp 0x4a48fa
push dword [ebp - 0x44]
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 4]
mov byte [ebp - 0x39], al
jmp 0x4a48fa
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 8]
mov byte [ebp - 0x39], al
push 0
push 0
mov eax, dword [ebp - 0x34]
call fcn.004a3800
call fcn.00421068
cmp byte [ebp - 0x3c], 0
je 0x4a4932
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x34]
add eax, 0x24
call fcn.00404f34
mov eax, dword [ebp - 0x34]
add eax, 0x28
call fcn.00404f34
mov eax, dword [ebp - 0x34]
call fcn.004a4ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a496c
lea eax, [ebp - 0x10c]
mov edx, 0x2e
call fcn.00404f58
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00404f58
ret