Function at 0x4daa94
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 0x4dc037
cmp byte [ebx + 0x813], 0
jne 0x4dc037
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 0x4daaf8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax], 0
jne 0x4daaf8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d15f4
jmp 0x4dbfe0
mov eax, dword [ebp - 4]
test byte [eax + 0x2b], 0x20
setne al
mov byte [ebp - 0xd1], al
cmp byte [ebp - 0xd1], 0
je 0x4dab51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp word [eax + 0x14], 0
jbe 0x4dab41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax + 0xc], 0
je 0x4dab41
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 0x4dab51
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 0x4dab73
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004cf05c
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x4dc037
cmp word [ebx + 0x9ae], 0
je 0x4dab92
test byte [ebx + 0xec], 2
jne 0x4dab92
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004da6c8
cmp byte [ebx + 0x85c], 0
jne 0x4daba8
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 0x40
jne 0x4daba8
xor eax, eax
jmp 0x4dabaa
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 0x4dac27
cmp byte [ebp - 0xcb], 0
je 0x4dacec
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 0x4dacec
cmp byte [ebp - 0xc7], 1
jne 0x4dac68
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x154]
jne 0x4dac68
mov eax, dword [ebp - 0xb8]
add eax, dword [ebx + 0x15c]
mov dword [ebp - 0xa8], eax
cmp byte [ebp - 0xc8], 1
jne 0x4dac8e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x158]
jne 0x4dac8e
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 0x4dacc3
cmp byte [ebp - 0xcb], 1
jne 0x4dacc3
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 0x4dacda
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 0x4dac42
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 0x4dad4b
xor esi, esi
cmp dword [ebp - 0x1c], 0
je 0x4dad42
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x2c], 2
je 0x4dad33
inc dword [ebp - 0xa4]
cmp dword [ebp - 0xa4], 0xa
jg 0x4dad33
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 0x4dad0e
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.004c51c0
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.004d4ab8
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.004d4790
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.004d4c8c
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d47dc
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 0x4dadf9
mov dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 1
je 0x4dae12
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
jmp 0x4dae1a
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.004d484c
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 0x4db9b2
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 0x4db4de
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
jne 0x4daf3e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x4daf34
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 0x4db4de
add dword [ebp - 0x48], 0xa
jmp 0x4db4de
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x4db4de
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 0x4db4de
add dword [ebp - 0x48], 0xa
jmp 0x4db4de
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 0x4daf92
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4daf5f
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x3c]
jg 0x4dafaf
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0xce], 1
jmp 0x4db525
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
mov byte [ebp - 0xd0], al
cmp byte [ebx + 0x57], 0
je 0x4daff1
cmp dword [ebp - 0x24], 0
je 0x4daff1
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
jne 0x4dafdb
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 0x10
je 0x4daff1
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0xd0], 0x41
jmp 0x4db0e8
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4db525
sub al, 8
je 0x4db018
sub al, 0x17
je 0x4db0a1
sub al, 0x80
je 0x4db0a1
jmp 0x4db0c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4db02a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4db053
cmp dword [ebp - 0x24], 0
je 0x4db03f
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4db0e8
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4db0e8
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.004d551c
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 0x4db08e
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x24], 0
je 0x4db0e8
mov eax, dword [ebp - 0x24]
mov dx, word [ebp - 0x74]
mov word [eax + 8], dx
jmp 0x4db0e8
cmp dword [ebp - 0x24], 0
je 0x4db0b3
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4db0e8
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4db0e8
cmp dword [ebp - 0x24], 0
je 0x4db0d6
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4db0e8
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 0x4db147
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xa]
cmp eax, dword [ebp - 0xc4]
jle 0x4db147
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.004d484c
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 0x4db1b4
cmp byte [ebp - 0xcd], 0
jne 0x4db209
mov eax, dword [ebp - 0x74]
sar eax, 1
jns 0x4db167
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 0x4db209
cmp byte [ebp - 0xd0], 0x20
je 0x4db190
cmp byte [ebp - 0xd0], 9
jne 0x4db196
cmp byte [ebx + 0x5b], 0
je 0x4db209
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4db525
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4db525
cmp byte [ebp - 0xcd], 0
jne 0x4db209
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 0x4db209
cmp byte [ebp - 0xd0], 0x20
je 0x4db1e5
cmp byte [ebp - 0xd0], 9
jne 0x4db1eb
cmp byte [ebx + 0x5b], 0
je 0x4db209
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4db525
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4db525
cmp dword [ebp - 0x24], 0
je 0x4db21b
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x24], 0
je 0x4db233
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
and eax, dword [ebx + 0x8a1]
jne 0x4db4a2
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4db525
sub al, 8
je 0x4db25a
sub al, 0x17
je 0x4db3d7
sub al, 0x80
je 0x4db364
jmp 0x4db462
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4db26c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4db2e2
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 0x4db2a7
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db2d4
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 0x4db2d4
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4db2d4
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 0x4db4a2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x24], 0
je 0x4db307
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db33a
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db33a
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.004d551c
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 0x4db33a
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 0x4db4a2
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 0x4db39c
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db3c9
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 0x4db3c9
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4db3c9
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 0x4db4a2
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 0x4db412
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db43f
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 0x4db43f
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4db43f
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 0x4db450
inc dword [ebp - 0x7c]
jmp 0x4db457
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
jmp 0x4db4a2
cmp dword [ebp - 0x24], 0
je 0x4db47e
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db4a2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db4a2
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x11c]
cmp dword [edx + eax*4], 0
jle 0x4db4a2
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 0x4db4af
add dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0xa
jne 0x4db4db
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 0x4db525
inc dword [ebp - 0x30]
cmp byte [ebp - 0xcd], 0
jne 0x4db4f8
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x54]
jge 0x4db509
cmp byte [ebp - 0xcd], 0
je 0x4db525
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jge 0x4db525
cmp dword [ebx + 0x188], 0
je 0x4daf7e
mov eax, dword [ebx + 0x188]
cmp eax, dword [ebp - 0x44]
jg 0x4daf7e
cmp dword [ebp - 0x44], 1
jg 0x4db550
cmp dword [ebp - 0x30], 0
je 0x4db550
cmp dword [ebp - 0x24], 0
je 0x4db549
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
je 0x4db549
mov dword [ebp - 0x44], 2
jmp 0x4db550
mov dword [ebp - 0x44], 1
cmp byte [ebp - 0xce], 0
jne 0x4db5ac
cmp byte [ebx + 0x54a], 0
jne 0x4db5a5
cmp dword [ebp - 0x98], 1
jle 0x4db589
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 0x4db5a5
cmp dword [ebp - 0x8c], 1
jle 0x4db5a5
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 0x4db5be
mov eax, dword [ebp - 4]
test byte [eax + 0x29], 0x10
je 0x4db627
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jle 0x4db627
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 3
jne 0x4db627
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 0x4db5e9
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 0x4db639
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.004c4a70
mov eax, dword [ebx + 0x13c]
cmp byte [eax + 0x47b], 0
je 0x4db691
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004c4a98
jmp 0x4db699
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 0x4db875
jmp 0x4db6da
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 0x4db6ed
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x4db6be
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp esi, eax
jl 0x4db70e
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0xce], 1
jmp 0x4db875
inc esi
mov eax, dword [ebp - 0x18]
test byte [eax + 0x2c], 0x40
je 0x4db71f
mov byte [ebp - 0xc9], 1
cmp dword [ebp - 0x28], 0
je 0x4db79c
mov eax, dword [ebp - 0x28]
test byte [eax + 6], 2
je 0x4db79c
mov eax, dword [ebp - 0x34]
cmp byte [eax], 1
jne 0x4db79c
mov eax, dword [ebp - 0x28]
mov dx, word [eax + 0xe]
mov eax, ebx
call fcn.004c87e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4db79c
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 [0x4cb2a4]
call fcn.00404278
test al, al
je 0x4db790
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x42]
mov edx, dword [eax]
call dword [edx + 0xc0]
test eax, eax
je 0x4db790
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 0x4db875
inc dword [ebp - 0x68]
cmp dword [ebp - 0x2c], 0
je 0x4db863
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 0x4db7e9
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x4db7e9
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 0x4db807
mov eax, dword [ebp - 0x2c]
test byte [eax + 7], 8
je 0x4db807
inc dword [ebp - 0x44]
cmp byte [ebp - 0xd1], 0
je 0x4db85b
mov eax, dword [ebp - 0x2c]
cmp word [eax + 8], 0
jbe 0x4db85b
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 0x4db85b
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 0x4db6da
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0x68]
mov word [eax + 0x14], dx
cmp byte [ebp - 0xce], 0
jne 0x4db9b2
mov eax, ebx
call fcn.004c51c0
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 0x4db910
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.004d484c
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 0x4db9b2
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.004d4790
add edi, eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4ab8
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.004d4c8c
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d47dc
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 0x4db9a8
mov dword [ebp - 0x50], 0x10
cmp dword [ebp - 0x10], 0
jne 0x4dae9a
cmp byte [ebp - 0xc9], 0
je 0x4db9ef
cmp byte [ebp - 0xc7], 0
jne 0x4db9ef
cmp byte [ebp - 0xc8], 0
jne 0x4db9ef
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4db9ef
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 0x4db9d9
cmp byte [ebp - 0xcb], 1
jne 0x4dba01
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x16d], eax
mov al, byte [ebp - 0xc7]
or al, byte [ebp - 0xc8]
jne 0x4dba1c
cmp byte [ebp - 0xcb], 0
je 0x4dbd17
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 0x4dba55
cmp byte [ebp - 0xc8], 0
jne 0x4dba6c
cmp byte [ebp - 0xc7], 1
jne 0x4dba6c
mov byte [ebp - 0xca], 1
jmp 0x4dba6c
mov al, byte [ebp - 0xc7]
xor al, 1
and al, byte [ebp - 0xc8]
je 0x4dba6c
mov byte [ebp - 0xca], 1
cmp dword [ebp - 0x10], 0
je 0x4dbd17
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 0x4dbb64
cmp byte [ebp - 0xc7], 1
jne 0x4dbaec
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbaec
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbac3
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbaec
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 0x4dbafd
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc8], 1
jne 0x4dbc21
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbc21
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbb36
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbc21
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 0x4dbc21
cmp byte [ebp - 0xc8], 1
jne 0x4dbbba
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbbba
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbb91
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbbba
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 0x4dbbcb
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc7], 1
jne 0x4dbc21
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbc21
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbbf8
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbc21
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 0x4dbcf9
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xb8]
jl 0x4dbcf9
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xbc]
jle 0x4dbc5a
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dbcf9
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x171], eax
cmp dword [ebx + 0x171], 0
jge 0x4dbc7d
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jg 0x4dbcb4
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x4dbca9
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebx + 0x16d], eax
jmp 0x4dbcbd
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
jmp 0x4dbcbd
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
mov byte [ebp - 0xcb], 0
cmp dword [ebx + 0x171], 0
jge 0x4dbcd7
xor eax, eax
mov dword [ebx + 0x171], eax
jmp 0x4dbcf9
mov eax, dword [ebx + 0x16d]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jge 0x4dbcf9
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 0x4dba76
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x10], 0
je 0x4dbd69
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.004d15f4
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4dbd5b
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 0x4dbd28
mov eax, dword [ebp + 8]
mov byte [eax], 0
cmp byte [ebp - 5], 0
je 0x4dbf42
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 0x4dbdaf
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4dbda1
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 0x4dbd8d
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 8
je 0x4dbdc4
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 0x4dbdd7
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4dbf42
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 0x4dbf32
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4dbf42
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 0x4dbe28
mov eax, dword [ebp + 8]
mov byte [eax], 2
jmp 0x4dbf42
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x14]
je 0x4dbe4b
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4dbef8
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x1c]
je 0x4dbe6e
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4dbef8
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 0x4dbed2
cmp dword [ebp - 0x28], 0
je 0x4dbeaf
mov eax, dword [ebp - 0x28]
mov ax, word [eax + 8]
mov edx, dword [ebp - 0x2c]
cmp ax, word [edx + 8]
jne 0x4dbede
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x38]
cmp al, byte [edx]
jne 0x4dbede
inc dword [ebp - 0x68]
cmp dword [ebp - 0x28], 0
je 0x4dbecc
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 0x4dbe99
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x68]
je 0x4dbef8
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 0x4dbf42
cmp dword [ebp - 0xc], 0
jne 0x4dbe05
cmp byte [ebx + 0x85c], 0
je 0x4dbfa2
cmp dword [ebp - 0xa4], 0
jle 0x4dbfa2
xor esi, esi
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x4dbf96
mov eax, dword [ebp - 0x50]
cmp esi, dword [ebp + eax*4 - 0x100]
jne 0x4dbf8d
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 2
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0xa
jg 0x4dbfa2
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xa4]
jg 0x4dbfa2
inc esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4dbfa2
cmp dword [ebp - 0x50], 0xa
jle 0x4dbf65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4dbfd7
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c4dac
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 0x4dbfb1
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 0x4dc037
mov eax, esi
mov edx, dword [0x4c17c4]
call fcn.00404278
test al, al
je 0x4dc030
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.004d4ab8
mov dword [esi + 0x10], eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4c8c
mov dword [esi + 0x18], eax
mov esi, dword [esi + 8]
test esi, esi
jne 0x4dbfea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4