Function at 0x4dacc8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 4], 0
je 0x4dc26b
cmp byte [ebx + 0x813], 0
jne 0x4dc26b
mov eax, dword [ebp - 4]
and dword [eax + 0x29], 0xfffffffb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp word [eax + 0x14], 0
jne 0x4dad2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax], 0
jne 0x4dad2c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d1828
jmp 0x4dc214
mov eax, dword [ebp - 4]
test byte [eax + 0x2b], 0x20
setne al
mov byte [ebp - 0xd1], al
cmp byte [ebp - 0xd1], 0
je 0x4dad85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp word [eax + 0x14], 0
jbe 0x4dad75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax + 0xc], 0
je 0x4dad75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov eax, dword [eax + 0xc]
mov esi, eax
lea edi, [ebp - 0x10c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x4dad85
mov eax, dword [ebp - 4]
lea esi, [eax + 0x40]
lea edi, [ebp - 0x10c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x7db], 1
cmp byte [ebx + 0x7b], 0
je 0x4dada7
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004cf290
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x4dc26b
cmp word [ebx + 0x9ae], 0
je 0x4dadc6
test byte [ebx + 0xec], 2
jne 0x4dadc6
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004da8fc
cmp byte [ebx + 0x85c], 0
jne 0x4daddc
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 0x40
jne 0x4daddc
xor eax, eax
jmp 0x4dadde
mov al, 1
mov byte [ebp - 0xcd], al
mov eax, dword [ebx + 0x14c]
cmp eax, dword [ebp - 4]
sete byte [ebp - 0xc7]
mov eax, dword [ebx + 0x150]
cmp eax, dword [ebp - 4]
sete byte [ebp - 0xc8]
mov eax, dword [ebx + 0x169]
cmp eax, dword [ebp - 4]
sete byte [ebp - 0xcb]
mov byte [ebp - 0xc9], 0
xor eax, eax
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0xb0], eax
xor eax, eax
mov dword [ebp - 0x90], eax
mov al, byte [ebp - 0xc7]
or al, byte [ebp - 0xc8]
jne 0x4dae5b
cmp byte [ebp - 0xcb], 0
je 0x4daf20
xor eax, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4daf20
cmp byte [ebp - 0xc7], 1
jne 0x4dae9c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x154]
jne 0x4dae9c
mov eax, dword [ebp - 0xb8]
add eax, dword [ebx + 0x15c]
mov dword [ebp - 0xa8], eax
cmp byte [ebp - 0xc8], 1
jne 0x4daec2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x158]
jne 0x4daec2
mov eax, dword [ebp - 0xb8]
add eax, dword [ebx + 0x160]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x16d]
jne 0x4daef7
cmp byte [ebp - 0xcb], 1
jne 0x4daef7
mov eax, dword [ebp - 0xb8]
add eax, dword [ebx + 0x171]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 0xcb], 1
xor eax, eax
mov dword [ebx + 0x16d], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x14], 0
jbe 0x4daf0e
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
add dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dae76
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0xa4], eax
cmp byte [ebx + 0x85c], 0
je 0x4daf7f
xor esi, esi
cmp dword [ebp - 0x1c], 0
je 0x4daf76
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x2c], 2
je 0x4daf67
inc dword [ebp - 0xa4]
cmp dword [ebp - 0xa4], 0xa
jg 0x4daf67
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x100], esi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
inc esi
cmp dword [ebp - 0x1c], 0
jne 0x4daf42
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
xor esi, esi
mov eax, ebx
call fcn.004c53f4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebx + 0x7df], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4cec
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x78]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d49c4
add edi, eax
add edi, dword [ebp - 0x88]
mov dword [ebp - 0x58], edi
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4ec0
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4a10
sub edi, eax
mov dword [ebp - 0x70], edi
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x58]
mov edx, dword [ebx + 0x7df]
add edx, edx
sub eax, edx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jg 0x4db02d
mov dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 1
je 0x4db046
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
jmp 0x4db04e
xor eax, eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0xce], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], eax
mov byte [ebx + 0x54a], 0
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
movzx eax, word [eax + 0x16]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4a80
mov byte [ebp - 0xc6], al
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x10], 0
je 0x4dbbe6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], esi
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov byte [ebp - 0xcc], 0
cmp byte [ebp - 0xcd], 0
je 0x4db712
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
jne 0x4db172
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x4db168
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x4db712
add dword [ebp - 0x48], 0xa
jmp 0x4db712
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x4db712
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4db712
add dword [ebp - 0x48], 0xa
jmp 0x4db712
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x3c]
jg 0x4db1c6
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4db193
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x3c]
jg 0x4db1e3
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0xce], 1
jmp 0x4db759
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
mov byte [ebp - 0xd0], al
cmp byte [ebx + 0x57], 0
je 0x4db225
cmp dword [ebp - 0x24], 0
je 0x4db225
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
jne 0x4db20f
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 0x10
je 0x4db225
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0xd0], 0x41
jmp 0x4db31c
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4db759
sub al, 8
je 0x4db24c
sub al, 0x17
je 0x4db2d5
sub al, 0x80
je 0x4db2d5
jmp 0x4db2f8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4db25e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4db287
cmp dword [ebp - 0x24], 0
je 0x4db273
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4db31c
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4db31c
mov eax, dword [ebp - 0x3c]
dec eax
push eax
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d5750
sub eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x88]
sub eax, edx
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jge 0x4db2c2
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x24], 0
je 0x4db31c
mov eax, dword [ebp - 0x24]
mov dx, word [ebp - 0x74]
mov word [eax + 8], dx
jmp 0x4db31c
cmp dword [ebp - 0x24], 0
je 0x4db2e7
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4db31c
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4db31c
cmp dword [ebp - 0x24], 0
je 0x4db30a
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4db31c
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x11c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x74], eax
cmp byte [ebp - 0xc6], 0
je 0x4db37b
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xa]
cmp eax, dword [ebp - 0xc4]
jle 0x4db37b
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xa]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc4]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4a80
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x5c], eax
cmp byte [ebx + 0x54a], 0
je 0x4db3e8
cmp byte [ebp - 0xcd], 0
jne 0x4db43d
mov eax, dword [ebp - 0x74]
sar eax, 1
jns 0x4db39b
adc eax, 0
add eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0x5c]
cmp eax, edx
jl 0x4db43d
cmp byte [ebp - 0xd0], 0x20
je 0x4db3c4
cmp byte [ebp - 0xd0], 9
jne 0x4db3ca
cmp byte [ebx + 0x5b], 0
je 0x4db43d
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4db759
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4db759
cmp byte [ebp - 0xcd], 0
jne 0x4db43d
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0x5c]
cmp eax, edx
jl 0x4db43d
cmp byte [ebp - 0xd0], 0x20
je 0x4db419
cmp byte [ebp - 0xd0], 9
jne 0x4db41f
cmp byte [ebx + 0x5b], 0
je 0x4db43d
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4db759
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4db759
cmp dword [ebp - 0x24], 0
je 0x4db44f
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x24], 0
je 0x4db467
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
and eax, dword [ebx + 0x8a1]
jne 0x4db6d6
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4db759
sub al, 8
je 0x4db48e
sub al, 0x17
je 0x4db60b
sub al, 0x80
je 0x4db598
jmp 0x4db696
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4db4a0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4db516
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x24], 0
je 0x4db4db
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db508
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db508
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4db508
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
add dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
jmp 0x4db6d6
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x24], 0
je 0x4db53b
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db56e
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db56e
mov eax, dword [ebp - 0x3c]
dec eax
push eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d5750
sub eax, dword [ebp - 0x58]
add eax, dword [ebx + 0x81c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x54]
jne 0x4db56e
inc dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x8c], eax
jmp 0x4db6d6
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x24], 0
je 0x4db5d0
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db5fd
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db5fd
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4db5fd
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
add dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
jmp 0x4db6d6
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x24], 0
je 0x4db646
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db673
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db673
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4db673
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
add dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, dword [ebp - 0x98]
jne 0x4db684
inc dword [ebp - 0x7c]
jmp 0x4db68b
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
jmp 0x4db6d6
cmp dword [ebp - 0x24], 0
je 0x4db6b2
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db6d6
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db6d6
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x11c]
cmp dword [edx + eax*4], 0
jle 0x4db6d6
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x11c]
mov eax, dword [edx + eax*4]
add dword [ebp - 0x54], eax
inc dword [ebp - 0x44]
cmp dword [ebp - 0x24], 0
je 0x4db6e3
add dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0xa
jne 0x4db70f
inc dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x78], eax
jmp 0x4db759
inc dword [ebp - 0x30]
cmp byte [ebp - 0xcd], 0
jne 0x4db72c
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x54]
jge 0x4db73d
cmp byte [ebp - 0xcd], 0
je 0x4db759
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jge 0x4db759
cmp dword [ebx + 0x188], 0
je 0x4db1b2
mov eax, dword [ebx + 0x188]
cmp eax, dword [ebp - 0x44]
jg 0x4db1b2
cmp dword [ebp - 0x44], 1
jg 0x4db784
cmp dword [ebp - 0x30], 0
je 0x4db784
cmp dword [ebp - 0x24], 0
je 0x4db77d
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
je 0x4db77d
mov dword [ebp - 0x44], 2
jmp 0x4db784
mov dword [ebp - 0x44], 1
cmp byte [ebp - 0xce], 0
jne 0x4db7e0
cmp byte [ebx + 0x54a], 0
jne 0x4db7d9
cmp dword [ebp - 0x98], 1
jle 0x4db7bd
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
jmp 0x4db7d9
cmp dword [ebp - 0x8c], 1
jle 0x4db7d9
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x54], eax
mov byte [ebx + 0x54a], 0
cmp byte [ebp - 0xce], 0
je 0x4db7f2
mov eax, dword [ebp - 4]
test byte [eax + 0x29], 0x10
je 0x4db85b
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jle 0x4db85b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 3
jne 0x4db85b
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4db81d
xor eax, eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0x8c]
mov word [eax + 0x1a], dx
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x10]
mov word [eax + 0x1e], dx
jmp 0x4db86d
mov eax, dword [ebp - 0x10]
mov word [eax + 0x1a], 0
mov eax, dword [ebp - 0x10]
mov word [eax + 0x1e], 0
xor eax, eax
mov dword [ebp - 0x68], eax
mov ax, word [ebp - 0x44]
add ax, 4
mov edx, dword [ebp - 0x10]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 0x10]
and word [eax + 0x2c], 0xffbf
mov eax, dword [ebp - 0x10]
and word [eax + 0x2c], 0xff7f
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004c4ca4
mov eax, dword [ebx + 0x13c]
cmp byte [eax + 0x47b], 0
je 0x4db8c5
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004c4ccc
jmp 0x4db8cd
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x44]
jge 0x4dbaa9
jmp 0x4db90e
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp esi, eax
jl 0x4db921
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x4db8f2
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp esi, eax
jl 0x4db942
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0xce], 1
jmp 0x4dbaa9
inc esi
mov eax, dword [ebp - 0x18]
test byte [eax + 0x2c], 0x40
je 0x4db953
mov byte [ebp - 0xc9], 1
cmp dword [ebp - 0x28], 0
je 0x4db9d0
mov eax, dword [ebp - 0x28]
test byte [eax + 6], 2
je 0x4db9d0
mov eax, dword [ebp - 0x34]
cmp byte [eax], 1
jne 0x4db9d0
mov eax, dword [ebp - 0x28]
mov dx, word [eax + 0xe]
mov eax, ebx
call fcn.004c8a14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4db9d0
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x42]
mov edx, dword [0x4cb4d8]
call fcn.00404278
test al, al
je 0x4db9c4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x42]
mov edx, dword [eax]
call dword [edx + 0xc0]
test eax, eax
je 0x4db9c4
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x10
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x38]
mov byte [edx], al
mov eax, dword [ebp - 0x38]
cmp byte [eax], 0
je 0x4dbaa9
inc dword [ebp - 0x68]
cmp dword [ebp - 0x2c], 0
je 0x4dba97
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
push esi
mov esi, eax
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 1
je 0x4dba1d
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x4dba1d
mov eax, dword [ebp - 0x2c]
mov word [eax + 8], 0
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 8]
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x44]
jne 0x4dba3b
mov eax, dword [ebp - 0x2c]
test byte [eax + 7], 8
je 0x4dba3b
inc dword [ebp - 0x44]
cmp byte [ebp - 0xd1], 0
je 0x4dba8f
mov eax, dword [ebp - 0x2c]
cmp word [eax + 8], 0
jbe 0x4dba8f
mov eax, dword [ebp - 0x2c]
mov dl, byte [ebp - 0x10c]
mov byte [eax], dl
mov eax, dword [ebp - 0x2c]
mov dl, byte [ebp - 0x10b]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x108]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x2c]
mov dl, byte [ebp - 0x10a]
mov byte [eax + 2], dl
cmp byte [ebx + 0x39], 0
je 0x4dba8f
mov eax, dword [ebp - 0x2c]
mov dl, byte [ebp - 0x109]
mov byte [eax + 3], dl
add dword [ebp - 0x2c], 0x10
add dword [ebp - 0x28], 0x10
inc dword [ebp - 0x38]
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x44]
jl 0x4db90e
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0x68]
mov word [eax + 0x14], dx
cmp byte [ebp - 0xce], 0
jne 0x4dbbe6
mov eax, ebx
call fcn.004c53f4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0xc4]
mov word [eax + 0x16], dx
mov eax, dword [ebp - 0xc4]
add dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
movzx edx, word [edx + 0x16]
add eax, edx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
cmp byte [ebp - 0xc6], 0
je 0x4dbb44
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x16]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4a80
mov byte [ebp - 0xc6], al
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0x18], 0
je 0x4dbbe6
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x78]
mov edi, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d49c4
add edi, eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4cec
add edi, eax
mov dword [ebp - 0x58], edi
xor eax, eax
mov dword [ebx + 0x7df], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4ec0
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4a10
sub edi, eax
sub edi, dword [ebp - 0x58]
mov dword [ebp - 0x50], edi
mov eax, dword [ebx + 0x7df]
add eax, eax
sub dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jg 0x4dbbdc
mov dword [ebp - 0x50], 0x10
cmp dword [ebp - 0x10], 0
jne 0x4db0ce
cmp byte [ebp - 0xc9], 0
je 0x4dbc23
cmp byte [ebp - 0xc7], 0
jne 0x4dbc23
cmp byte [ebp - 0xc8], 0
jne 0x4dbc23
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4dbc23
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dbc0d
cmp byte [ebp - 0xcb], 1
jne 0x4dbc35
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x16d], eax
mov al, byte [ebp - 0xc7]
or al, byte [ebp - 0xc8]
jne 0x4dbc50
cmp byte [ebp - 0xcb], 0
je 0x4dbf4b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xca], 0
cmp byte [ebx + 0x164], 0
je 0x4dbc89
cmp byte [ebp - 0xc8], 0
jne 0x4dbca0
cmp byte [ebp - 0xc7], 1
jne 0x4dbca0
mov byte [ebp - 0xca], 1
jmp 0x4dbca0
mov al, byte [ebp - 0xc7]
xor al, 1
and al, byte [ebp - 0xc8]
je 0x4dbca0
mov byte [ebp - 0xca], 1
cmp dword [ebp - 0x10], 0
je 0x4dbf4b
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
cmp byte [ebx + 0x164], 0
jne 0x4dbd98
cmp byte [ebp - 0xc7], 1
jne 0x4dbd20
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbd20
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbcf7
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbd20
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x154], eax
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x15c], eax
mov byte [ebp - 0xc7], 0
mov byte [ebp - 0xca], 1
cmp byte [ebp - 0xca], 0
je 0x4dbd31
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc8], 1
jne 0x4dbe55
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbe55
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbd6a
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbe55
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x158], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x160], eax
mov byte [ebp - 0xc8], 0
mov byte [ebp - 0xca], 0
jmp 0x4dbe55
cmp byte [ebp - 0xc8], 1
jne 0x4dbdee
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbdee
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbdc5
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbdee
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x158], eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x160], eax
mov byte [ebp - 0xc8], 0
mov byte [ebp - 0xca], 1
cmp byte [ebp - 0xca], 0
je 0x4dbdff
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc7], 1
jne 0x4dbe55
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbe55
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbe2c
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbe55
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x154], eax
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x15c], eax
mov byte [ebp - 0xc7], 0
mov byte [ebp - 0xca], 0
cmp byte [ebp - 0xcb], 1
jne 0x4dbf2d
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbf2d
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbe8e
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbf2d
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x171], eax
cmp dword [ebx + 0x171], 0
jge 0x4dbeb1
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jg 0x4dbee8
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x4dbedd
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebx + 0x16d], eax
jmp 0x4dbef1
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
jmp 0x4dbef1
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
mov byte [ebp - 0xcb], 0
cmp dword [ebx + 0x171], 0
jge 0x4dbf0b
xor eax, eax
mov dword [ebx + 0x171], eax
jmp 0x4dbf2d
mov eax, dword [ebx + 0x16d]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jge 0x4dbf2d
mov eax, dword [ebx + 0x16d]
movzx eax, word [eax + 0x14]
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dbcaa
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x10], 0
je 0x4dbf9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d1828
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4dbf8f
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x16]
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dbf5c
mov eax, dword [ebp + 8]
mov byte [eax], 0
cmp byte [ebp - 5], 0
je 0x4dc176
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x10], 0
je 0x4dbfe3
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4dbfd5
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x16]
add dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dbfc1
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 8
je 0x4dbff8
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x50]
je 0x4dc00b
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4dc176
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x16]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x16]
je 0x4dc166
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4dc176
mov eax, dword [ebp - 0x10]
and word [eax + 0x2c], 0xfffe
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x16]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x16]
je 0x4dc05c
mov eax, dword [ebp + 8]
mov byte [eax], 2
jmp 0x4dc176
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x14]
je 0x4dc07f
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4dc12c
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x1c]
je 0x4dc0a2
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4dc12c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x68], eax
jmp 0x4dc106
cmp dword [ebp - 0x28], 0
je 0x4dc0e3
mov eax, dword [ebp - 0x28]
mov ax, word [eax + 8]
mov edx, dword [ebp - 0x2c]
cmp ax, word [edx + 8]
jne 0x4dc112
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x38]
cmp al, byte [edx]
jne 0x4dc112
inc dword [ebp - 0x68]
cmp dword [ebp - 0x28], 0
je 0x4dc100
add dword [ebp - 0x28], 0x10
add dword [ebp - 0x2c], 0x10
inc dword [ebp - 0x34]
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x68]
jg 0x4dc0cd
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x68]
je 0x4dc12c
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x24]
mov edx, dword [ebp - 0x10]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x26]
mov edx, dword [ebp - 0x10]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x22]
mov edx, dword [ebp - 0x10]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x4dc176
cmp dword [ebp - 0xc], 0
jne 0x4dc039
cmp byte [ebx + 0x85c], 0
je 0x4dc1d6
cmp dword [ebp - 0xa4], 0
jle 0x4dc1d6
xor esi, esi
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x4dc1ca
mov eax, dword [ebp - 0x50]
cmp esi, dword [ebp + eax*4 - 0x100]
jne 0x4dc1c1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 2
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0xa
jg 0x4dc1d6
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xa4]
jg 0x4dc1d6
inc esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4dc1d6
cmp dword [ebp - 0x50], 0xa
jle 0x4dc199
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4dc20b
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c4fe0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00402cac
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4dc1e5
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x2d], edx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x4dc26b
mov eax, esi
mov edx, dword [0x4c19f8]
call fcn.00404278
test al, al
je 0x4dc264
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x24], eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4cec
mov dword [esi + 0x10], eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4ec0
mov dword [esi + 0x18], eax
mov esi, dword [esi + 8]
test esi, esi
jne 0x4dc21e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4