Function at 0x4da6a0
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 0x4dbc43
cmp byte [ebx + 0x813], 0
jne 0x4dbc43
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 0x4da704
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax], 0
jne 0x4da704
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d1200
jmp 0x4dbbec
mov eax, dword [ebp - 4]
test byte [eax + 0x2b], 0x20
setne al
mov byte [ebp - 0xd1], al
cmp byte [ebp - 0xd1], 0
je 0x4da75d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp word [eax + 0x14], 0
jbe 0x4da74d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax + 0xc], 0
je 0x4da74d
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 0x4da75d
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 0x4da77f
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004cec68
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x4dbc43
cmp word [ebx + 0x9ae], 0
je 0x4da79e
test byte [ebx + 0xec], 2
jne 0x4da79e
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004da2d4
cmp byte [ebx + 0x85c], 0
jne 0x4da7b4
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 0x40
jne 0x4da7b4
xor eax, eax
jmp 0x4da7b6
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 0x4da833
cmp byte [ebp - 0xcb], 0
je 0x4da8f8
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 0x4da8f8
cmp byte [ebp - 0xc7], 1
jne 0x4da874
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x154]
jne 0x4da874
mov eax, dword [ebp - 0xb8]
add eax, dword [ebx + 0x15c]
mov dword [ebp - 0xa8], eax
cmp byte [ebp - 0xc8], 1
jne 0x4da89a
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x158]
jne 0x4da89a
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 0x4da8cf
cmp byte [ebp - 0xcb], 1
jne 0x4da8cf
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 0x4da8e6
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 0x4da84e
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 0x4da957
xor esi, esi
cmp dword [ebp - 0x1c], 0
je 0x4da94e
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x2c], 2
je 0x4da93f
inc dword [ebp - 0xa4]
cmp dword [ebp - 0xa4], 0xa
jg 0x4da93f
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 0x4da91a
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.004c4dcc
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.004d46c4
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.004d439c
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.004d4898
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d43e8
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 0x4daa05
mov dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 1
je 0x4daa1e
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
jmp 0x4daa26
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.004d4458
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 0x4db5be
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 0x4db0ea
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
jne 0x4dab4a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x4dab40
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 0x4db0ea
add dword [ebp - 0x48], 0xa
jmp 0x4db0ea
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x4db0ea
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 0x4db0ea
add dword [ebp - 0x48], 0xa
jmp 0x4db0ea
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 0x4dab9e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4dab6b
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x3c]
jg 0x4dabbb
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0xce], 1
jmp 0x4db131
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
mov byte [ebp - 0xd0], al
cmp byte [ebx + 0x57], 0
je 0x4dabfd
cmp dword [ebp - 0x24], 0
je 0x4dabfd
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
jne 0x4dabe7
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 0x10
je 0x4dabfd
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0xd0], 0x41
jmp 0x4dacf4
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4db131
sub al, 8
je 0x4dac24
sub al, 0x17
je 0x4dacad
sub al, 0x80
je 0x4dacad
jmp 0x4dacd0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4dac36
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4dac5f
cmp dword [ebp - 0x24], 0
je 0x4dac4b
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4dacf4
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4dacf4
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.004d5128
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 0x4dac9a
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x24], 0
je 0x4dacf4
mov eax, dword [ebp - 0x24]
mov dx, word [ebp - 0x74]
mov word [eax + 8], dx
jmp 0x4dacf4
cmp dword [ebp - 0x24], 0
je 0x4dacbf
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4dacf4
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4dacf4
cmp dword [ebp - 0x24], 0
je 0x4dace2
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4dacf4
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 0x4dad53
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xa]
cmp eax, dword [ebp - 0xc4]
jle 0x4dad53
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.004d4458
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 0x4dadc0
cmp byte [ebp - 0xcd], 0
jne 0x4dae15
mov eax, dword [ebp - 0x74]
sar eax, 1
jns 0x4dad73
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 0x4dae15
cmp byte [ebp - 0xd0], 0x20
je 0x4dad9c
cmp byte [ebp - 0xd0], 9
jne 0x4dada2
cmp byte [ebx + 0x5b], 0
je 0x4dae15
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4db131
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4db131
cmp byte [ebp - 0xcd], 0
jne 0x4dae15
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 0x4dae15
cmp byte [ebp - 0xd0], 0x20
je 0x4dadf1
cmp byte [ebp - 0xd0], 9
jne 0x4dadf7
cmp byte [ebx + 0x5b], 0
je 0x4dae15
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4db131
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4db131
cmp dword [ebp - 0x24], 0
je 0x4dae27
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x24], 0
je 0x4dae3f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
and eax, dword [ebx + 0x8a1]
jne 0x4db0ae
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4db131
sub al, 8
je 0x4dae66
sub al, 0x17
je 0x4dafe3
sub al, 0x80
je 0x4daf70
jmp 0x4db06e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4dae78
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4daeee
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 0x4daeb3
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4daee0
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 0x4daee0
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4daee0
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 0x4db0ae
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x24], 0
je 0x4daf13
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4daf46
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4daf46
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.004d5128
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 0x4daf46
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 0x4db0ae
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 0x4dafa8
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4dafd5
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 0x4dafd5
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4dafd5
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 0x4db0ae
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 0x4db01e
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db04b
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 0x4db04b
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4db04b
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 0x4db05c
inc dword [ebp - 0x7c]
jmp 0x4db063
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
jmp 0x4db0ae
cmp dword [ebp - 0x24], 0
je 0x4db08a
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4db0ae
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4db0ae
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x11c]
cmp dword [edx + eax*4], 0
jle 0x4db0ae
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 0x4db0bb
add dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0xa
jne 0x4db0e7
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 0x4db131
inc dword [ebp - 0x30]
cmp byte [ebp - 0xcd], 0
jne 0x4db104
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x54]
jge 0x4db115
cmp byte [ebp - 0xcd], 0
je 0x4db131
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jge 0x4db131
cmp dword [ebx + 0x188], 0
je 0x4dab8a
mov eax, dword [ebx + 0x188]
cmp eax, dword [ebp - 0x44]
jg 0x4dab8a
cmp dword [ebp - 0x44], 1
jg 0x4db15c
cmp dword [ebp - 0x30], 0
je 0x4db15c
cmp dword [ebp - 0x24], 0
je 0x4db155
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
je 0x4db155
mov dword [ebp - 0x44], 2
jmp 0x4db15c
mov dword [ebp - 0x44], 1
cmp byte [ebp - 0xce], 0
jne 0x4db1b8
cmp byte [ebx + 0x54a], 0
jne 0x4db1b1
cmp dword [ebp - 0x98], 1
jle 0x4db195
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 0x4db1b1
cmp dword [ebp - 0x8c], 1
jle 0x4db1b1
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 0x4db1ca
mov eax, dword [ebp - 4]
test byte [eax + 0x29], 0x10
je 0x4db233
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jle 0x4db233
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 3
jne 0x4db233
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 0x4db1f5
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 0x4db245
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.004c467c
mov eax, dword [ebx + 0x13c]
cmp byte [eax + 0x47b], 0
je 0x4db29d
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004c46a4
jmp 0x4db2a5
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 0x4db481
jmp 0x4db2e6
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 0x4db2f9
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x4db2ca
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp esi, eax
jl 0x4db31a
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0xce], 1
jmp 0x4db481
inc esi
mov eax, dword [ebp - 0x18]
test byte [eax + 0x2c], 0x40
je 0x4db32b
mov byte [ebp - 0xc9], 1
cmp dword [ebp - 0x28], 0
je 0x4db3a8
mov eax, dword [ebp - 0x28]
test byte [eax + 6], 2
je 0x4db3a8
mov eax, dword [ebp - 0x34]
cmp byte [eax], 1
jne 0x4db3a8
mov eax, dword [ebp - 0x28]
mov dx, word [eax + 0xe]
mov eax, ebx
call fcn.004c83ec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4db3a8
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 [0x4caeb0]
call fcn.00404278
test al, al
je 0x4db39c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x42]
mov edx, dword [eax]
call dword [edx + 0xc0]
test eax, eax
je 0x4db39c
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 0x4db481
inc dword [ebp - 0x68]
cmp dword [ebp - 0x2c], 0
je 0x4db46f
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 0x4db3f5
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x4db3f5
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 0x4db413
mov eax, dword [ebp - 0x2c]
test byte [eax + 7], 8
je 0x4db413
inc dword [ebp - 0x44]
cmp byte [ebp - 0xd1], 0
je 0x4db467
mov eax, dword [ebp - 0x2c]
cmp word [eax + 8], 0
jbe 0x4db467
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 0x4db467
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 0x4db2e6
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0x68]
mov word [eax + 0x14], dx
cmp byte [ebp - 0xce], 0
jne 0x4db5be
mov eax, ebx
call fcn.004c4dcc
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 0x4db51c
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.004d4458
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 0x4db5be
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.004d439c
add edi, eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d46c4
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.004d4898
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d43e8
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 0x4db5b4
mov dword [ebp - 0x50], 0x10
cmp dword [ebp - 0x10], 0
jne 0x4daaa6
cmp byte [ebp - 0xc9], 0
je 0x4db5fb
cmp byte [ebp - 0xc7], 0
jne 0x4db5fb
cmp byte [ebp - 0xc8], 0
jne 0x4db5fb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4db5fb
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 0x4db5e5
cmp byte [ebp - 0xcb], 1
jne 0x4db60d
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x16d], eax
mov al, byte [ebp - 0xc7]
or al, byte [ebp - 0xc8]
jne 0x4db628
cmp byte [ebp - 0xcb], 0
je 0x4db923
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 0x4db661
cmp byte [ebp - 0xc8], 0
jne 0x4db678
cmp byte [ebp - 0xc7], 1
jne 0x4db678
mov byte [ebp - 0xca], 1
jmp 0x4db678
mov al, byte [ebp - 0xc7]
xor al, 1
and al, byte [ebp - 0xc8]
je 0x4db678
mov byte [ebp - 0xca], 1
cmp dword [ebp - 0x10], 0
je 0x4db923
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 0x4db770
cmp byte [ebp - 0xc7], 1
jne 0x4db6f8
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4db6f8
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4db6cf
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4db6f8
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 0x4db709
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc8], 1
jne 0x4db82d
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4db82d
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4db742
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4db82d
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 0x4db82d
cmp byte [ebp - 0xc8], 1
jne 0x4db7c6
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4db7c6
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4db79d
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4db7c6
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 0x4db7d7
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc7], 1
jne 0x4db82d
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4db82d
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4db804
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4db82d
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 0x4db905
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xb8]
jl 0x4db905
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xbc]
jle 0x4db866
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4db905
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x171], eax
cmp dword [ebx + 0x171], 0
jge 0x4db889
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jg 0x4db8c0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x4db8b5
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebx + 0x16d], eax
jmp 0x4db8c9
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
jmp 0x4db8c9
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
mov byte [ebp - 0xcb], 0
cmp dword [ebx + 0x171], 0
jge 0x4db8e3
xor eax, eax
mov dword [ebx + 0x171], eax
jmp 0x4db905
mov eax, dword [ebx + 0x16d]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jge 0x4db905
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 0x4db682
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x10], 0
je 0x4db975
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.004d1200
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4db967
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 0x4db934
mov eax, dword [ebp + 8]
mov byte [eax], 0
cmp byte [ebp - 5], 0
je 0x4dbb4e
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 0x4db9bb
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4db9ad
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 0x4db999
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 8
je 0x4db9d0
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 0x4db9e3
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4dbb4e
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 0x4dbb3e
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4dbb4e
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 0x4dba34
mov eax, dword [ebp + 8]
mov byte [eax], 2
jmp 0x4dbb4e
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x14]
je 0x4dba57
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4dbb04
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x1c]
je 0x4dba7a
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4dbb04
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 0x4dbade
cmp dword [ebp - 0x28], 0
je 0x4dbabb
mov eax, dword [ebp - 0x28]
mov ax, word [eax + 8]
mov edx, dword [ebp - 0x2c]
cmp ax, word [edx + 8]
jne 0x4dbaea
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x38]
cmp al, byte [edx]
jne 0x4dbaea
inc dword [ebp - 0x68]
cmp dword [ebp - 0x28], 0
je 0x4dbad8
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 0x4dbaa5
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x68]
je 0x4dbb04
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 0x4dbb4e
cmp dword [ebp - 0xc], 0
jne 0x4dba11
cmp byte [ebx + 0x85c], 0
je 0x4dbbae
cmp dword [ebp - 0xa4], 0
jle 0x4dbbae
xor esi, esi
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x4dbba2
mov eax, dword [ebp - 0x50]
cmp esi, dword [ebp + eax*4 - 0x100]
jne 0x4dbb99
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 2
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0xa
jg 0x4dbbae
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xa4]
jg 0x4dbbae
inc esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4dbbae
cmp dword [ebp - 0x50], 0xa
jle 0x4dbb71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4dbbe3
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c49b8
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 0x4dbbbd
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 0x4dbc43
mov eax, esi
mov edx, dword [0x4c13d0]
call fcn.00404278
test al, al
je 0x4dbc3c
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.004d46c4
mov dword [esi + 0x10], eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4898
mov dword [esi + 0x18], eax
mov esi, dword [esi + 8]
test esi, esi
jne 0x4dbbf6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4