Function at 0x4dddc0
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 0x4df363
cmp byte [ebx + 0x813], 0
jne 0x4df363
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 0x4dde24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax], 0
jne 0x4dde24
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d4920
jmp 0x4df30c
mov eax, dword [ebp - 4]
test byte [eax + 0x2b], 0x20
setne al
mov byte [ebp - 0xd1], al
cmp byte [ebp - 0xd1], 0
je 0x4dde7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp word [eax + 0x14], 0
jbe 0x4dde6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
cmp dword [eax + 0xc], 0
je 0x4dde6d
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 0x4dde7d
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 0x4dde9f
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d2388
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x4df363
cmp word [ebx + 0x9ae], 0
je 0x4ddebe
test byte [ebx + 0xec], 2
jne 0x4ddebe
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004dd9f4
cmp byte [ebx + 0x85c], 0
jne 0x4dded4
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 0x40
jne 0x4dded4
xor eax, eax
jmp 0x4dded6
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 0x4ddf53
cmp byte [ebp - 0xcb], 0
je 0x4de018
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 0x4de018
cmp byte [ebp - 0xc7], 1
jne 0x4ddf94
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x154]
jne 0x4ddf94
mov eax, dword [ebp - 0xb8]
add eax, dword [ebx + 0x15c]
mov dword [ebp - 0xa8], eax
cmp byte [ebp - 0xc8], 1
jne 0x4ddfba
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x158]
jne 0x4ddfba
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 0x4ddfef
cmp byte [ebp - 0xcb], 1
jne 0x4ddfef
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 0x4de006
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 0x4ddf6e
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 0x4de077
xor esi, esi
cmp dword [ebp - 0x1c], 0
je 0x4de06e
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x2c], 2
je 0x4de05f
inc dword [ebp - 0xa4]
cmp dword [ebp - 0xa4], 0xa
jg 0x4de05f
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 0x4de03a
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.004c84ec
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.004d7de4
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.004d7abc
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.004d7fb8
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d7b08
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 0x4de125
mov dword [ebp - 0x50], 0x10
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 1
je 0x4de13e
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
jmp 0x4de146
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.004d7b78
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 0x4decde
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 0x4de80a
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
jne 0x4de26a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x4de260
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 0x4de80a
add dword [ebp - 0x48], 0xa
jmp 0x4de80a
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x4de80a
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 0x4de80a
add dword [ebp - 0x48], 0xa
jmp 0x4de80a
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 0x4de2be
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4de28b
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x3c]
jg 0x4de2db
xor eax, eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0xce], 1
jmp 0x4de851
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
mov byte [ebp - 0xd0], al
cmp byte [ebx + 0x57], 0
je 0x4de31d
cmp dword [ebp - 0x24], 0
je 0x4de31d
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
jne 0x4de307
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 0x10
je 0x4de31d
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0xd0], 0x41
jmp 0x4de414
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4de851
sub al, 8
je 0x4de344
sub al, 0x17
je 0x4de3cd
sub al, 0x80
je 0x4de3cd
jmp 0x4de3f0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4de356
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4de37f
cmp dword [ebp - 0x24], 0
je 0x4de36b
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4de414
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4de414
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.004d8848
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 0x4de3ba
xor eax, eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x24], 0
je 0x4de414
mov eax, dword [ebp - 0x24]
mov dx, word [ebp - 0x74]
mov word [eax + 8], dx
jmp 0x4de414
cmp dword [ebp - 0x24], 0
je 0x4de3df
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4de414
mov eax, dword [ebx + 0x11c]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x74], eax
jmp 0x4de414
cmp dword [ebp - 0x24], 0
je 0x4de402
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
mov dword [ebp - 0x74], eax
jmp 0x4de414
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 0x4de473
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xa]
cmp eax, dword [ebp - 0xc4]
jle 0x4de473
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.004d7b78
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 0x4de4e0
cmp byte [ebp - 0xcd], 0
jne 0x4de535
mov eax, dword [ebp - 0x74]
sar eax, 1
jns 0x4de493
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 0x4de535
cmp byte [ebp - 0xd0], 0x20
je 0x4de4bc
cmp byte [ebp - 0xd0], 9
jne 0x4de4c2
cmp byte [ebx + 0x5b], 0
je 0x4de535
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4de851
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4de851
cmp byte [ebp - 0xcd], 0
jne 0x4de535
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 0x4de535
cmp byte [ebp - 0xd0], 0x20
je 0x4de511
cmp byte [ebp - 0xd0], 9
jne 0x4de517
cmp byte [ebx + 0x5b], 0
je 0x4de535
mov byte [ebp - 0xcc], 1
cmp byte [ebx + 0x5b], 0
je 0x4de851
xor eax, eax
mov dword [ebp - 0x98], eax
jmp 0x4de851
cmp dword [ebp - 0x24], 0
je 0x4de547
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x24], 0
je 0x4de55f
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
and eax, dword [ebx + 0x8a1]
jne 0x4de7ce
mov al, byte [ebp - 0xd0]
sub al, 1
jb 0x4de851
sub al, 8
je 0x4de586
sub al, 0x17
je 0x4de703
sub al, 0x80
je 0x4de690
jmp 0x4de78e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 1
je 0x4de598
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 2
jne 0x4de60e
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 0x4de5d3
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4de600
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 0x4de600
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4de600
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 0x4de7ce
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x24], 0
je 0x4de633
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4de666
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4de666
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.004d8848
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 0x4de666
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 0x4de7ce
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 0x4de6c8
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4de6f5
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 0x4de6f5
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4de6f5
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 0x4de7ce
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 0x4de73e
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4de76b
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 0x4de76b
mov eax, dword [ebx + 0x11c]
cmp dword [eax + 0x80], 0
jle 0x4de76b
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 0x4de77c
inc dword [ebp - 0x7c]
jmp 0x4de783
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
jmp 0x4de7ce
cmp dword [ebp - 0x24], 0
je 0x4de7aa
mov eax, dword [ebp - 0x24]
cmp word [eax + 8], 0
jbe 0x4de7ce
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 8]
add dword [ebp - 0x54], eax
jmp 0x4de7ce
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x11c]
cmp dword [edx + eax*4], 0
jle 0x4de7ce
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 0x4de7db
add dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0xa
jne 0x4de807
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 0x4de851
inc dword [ebp - 0x30]
cmp byte [ebp - 0xcd], 0
jne 0x4de824
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x54]
jge 0x4de835
cmp byte [ebp - 0xcd], 0
je 0x4de851
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jge 0x4de851
cmp dword [ebx + 0x188], 0
je 0x4de2aa
mov eax, dword [ebx + 0x188]
cmp eax, dword [ebp - 0x44]
jg 0x4de2aa
cmp dword [ebp - 0x44], 1
jg 0x4de87c
cmp dword [ebp - 0x30], 0
je 0x4de87c
cmp dword [ebp - 0x24], 0
je 0x4de875
mov eax, dword [ebp - 0x24]
test byte [eax + 7], 8
je 0x4de875
mov dword [ebp - 0x44], 2
jmp 0x4de87c
mov dword [ebp - 0x44], 1
cmp byte [ebp - 0xce], 0
jne 0x4de8d8
cmp byte [ebx + 0x54a], 0
jne 0x4de8d1
cmp dword [ebp - 0x98], 1
jle 0x4de8b5
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 0x4de8d1
cmp dword [ebp - 0x8c], 1
jle 0x4de8d1
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 0x4de8ea
mov eax, dword [ebp - 4]
test byte [eax + 0x29], 0x10
je 0x4de953
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jle 0x4de953
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10], 3
jne 0x4de953
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 0x4de915
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 0x4de965
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.004c7d9c
mov eax, dword [ebx + 0x13c]
cmp byte [eax + 0x47b], 0
je 0x4de9bd
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004c7dc4
jmp 0x4de9c5
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 0x4deba1
jmp 0x4dea06
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 0x4dea19
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x4de9ea
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp esi, eax
jl 0x4dea3a
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0xce], 1
jmp 0x4deba1
inc esi
mov eax, dword [ebp - 0x18]
test byte [eax + 0x2c], 0x40
je 0x4dea4b
mov byte [ebp - 0xc9], 1
cmp dword [ebp - 0x28], 0
je 0x4deac8
mov eax, dword [ebp - 0x28]
test byte [eax + 6], 2
je 0x4deac8
mov eax, dword [ebp - 0x34]
cmp byte [eax], 1
jne 0x4deac8
mov eax, dword [ebp - 0x28]
mov dx, word [eax + 0xe]
mov eax, ebx
call fcn.004cbb0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4deac8
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 [0x4ce5d0]
call fcn.004042b4
test al, al
je 0x4deabc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x42]
mov edx, dword [eax]
call dword [edx + 0xc0]
test eax, eax
je 0x4deabc
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 0x4deba1
inc dword [ebp - 0x68]
cmp dword [ebp - 0x2c], 0
je 0x4deb8f
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 0x4deb15
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x50]
jle 0x4deb15
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 0x4deb33
mov eax, dword [ebp - 0x2c]
test byte [eax + 7], 8
je 0x4deb33
inc dword [ebp - 0x44]
cmp byte [ebp - 0xd1], 0
je 0x4deb87
mov eax, dword [ebp - 0x2c]
cmp word [eax + 8], 0
jbe 0x4deb87
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 0x4deb87
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 0x4dea06
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0x68]
mov word [eax + 0x14], dx
cmp byte [ebp - 0xce], 0
jne 0x4decde
mov eax, ebx
call fcn.004c84ec
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 0x4dec3c
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.004d7b78
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 0x4decde
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.004d7abc
add edi, eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d7de4
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.004d7fb8
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d7b08
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 0x4decd4
mov dword [ebp - 0x50], 0x10
cmp dword [ebp - 0x10], 0
jne 0x4de1c6
cmp byte [ebp - 0xc9], 0
je 0x4ded1b
cmp byte [ebp - 0xc7], 0
jne 0x4ded1b
cmp byte [ebp - 0xc8], 0
jne 0x4ded1b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ded1b
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 0x4ded05
cmp byte [ebp - 0xcb], 1
jne 0x4ded2d
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x16d], eax
mov al, byte [ebp - 0xc7]
or al, byte [ebp - 0xc8]
jne 0x4ded48
cmp byte [ebp - 0xcb], 0
je 0x4df043
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 0x4ded81
cmp byte [ebp - 0xc8], 0
jne 0x4ded98
cmp byte [ebp - 0xc7], 1
jne 0x4ded98
mov byte [ebp - 0xca], 1
jmp 0x4ded98
mov al, byte [ebp - 0xc7]
xor al, 1
and al, byte [ebp - 0xc8]
je 0x4ded98
mov byte [ebp - 0xca], 1
cmp dword [ebp - 0x10], 0
je 0x4df043
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 0x4dee90
cmp byte [ebp - 0xc7], 1
jne 0x4dee18
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4dee18
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4dedef
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4dee18
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 0x4dee29
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc8], 1
jne 0x4def4d
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4def4d
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4dee62
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4def4d
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 0x4def4d
cmp byte [ebp - 0xc8], 1
jne 0x4deee6
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb8]
jl 0x4deee6
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xbc]
jle 0x4deebd
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4deee6
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 0x4deef7
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 0x40
cmp byte [ebp - 0xc7], 1
jne 0x4def4d
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb8]
jl 0x4def4d
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xbc]
jle 0x4def24
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4def4d
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 0x4df025
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xb8]
jl 0x4df025
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xbc]
jle 0x4def86
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4df025
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xb8]
mov dword [ebx + 0x171], eax
cmp dword [ebx + 0x171], 0
jge 0x4defa9
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jg 0x4defe0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x4defd5
xor eax, eax
mov dword [ebx + 0x171], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebx + 0x16d], eax
jmp 0x4defe9
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
jmp 0x4defe9
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x16d], eax
mov byte [ebp - 0xcb], 0
cmp dword [ebx + 0x171], 0
jge 0x4df003
xor eax, eax
mov dword [ebx + 0x171], eax
jmp 0x4df025
mov eax, dword [ebx + 0x16d]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebx + 0x171]
jge 0x4df025
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 0x4deda2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x10], 0
je 0x4df095
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.004d4920
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4df087
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 0x4df054
mov eax, dword [ebp + 8]
mov byte [eax], 0
cmp byte [ebp - 5], 0
je 0x4df26e
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 0x4df0db
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x16], 0
jbe 0x4df0cd
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 0x4df0b9
mov eax, dword [ebp - 4]
test byte [eax + 0x2a], 8
je 0x4df0f0
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 0x4df103
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4df26e
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 0x4df25e
mov eax, dword [ebp + 8]
mov byte [eax], 3
jmp 0x4df26e
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 0x4df154
mov eax, dword [ebp + 8]
mov byte [eax], 2
jmp 0x4df26e
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x14]
je 0x4df177
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4df224
mov eax, dword [ebp - 0xc]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 0x10]
cmp ax, word [edx + 0x1c]
je 0x4df19a
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 1
jmp 0x4df224
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 0x4df1fe
cmp dword [ebp - 0x28], 0
je 0x4df1db
mov eax, dword [ebp - 0x28]
mov ax, word [eax + 8]
mov edx, dword [ebp - 0x2c]
cmp ax, word [edx + 8]
jne 0x4df20a
mov eax, dword [ebp - 0x34]
mov al, byte [eax]
mov edx, dword [ebp - 0x38]
cmp al, byte [edx]
jne 0x4df20a
inc dword [ebp - 0x68]
cmp dword [ebp - 0x28], 0
je 0x4df1f8
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 0x4df1c5
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
cmp eax, dword [ebp - 0x68]
je 0x4df224
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 0x4df26e
cmp dword [ebp - 0xc], 0
jne 0x4df131
cmp byte [ebx + 0x85c], 0
je 0x4df2ce
cmp dword [ebp - 0xa4], 0
jle 0x4df2ce
xor esi, esi
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x4df2c2
mov eax, dword [ebp - 0x50]
cmp esi, dword [ebp + eax*4 - 0x100]
jne 0x4df2b9
mov eax, dword [ebp - 0x10]
or word [eax + 0x2c], 2
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 0xa
jg 0x4df2ce
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xa4]
jg 0x4df2ce
inc esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4df2ce
cmp dword [ebp - 0x50], 0xa
jle 0x4df291
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4df303
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c80d8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00402cd8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4df2dd
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 0x4df363
mov eax, esi
mov edx, dword [0x4c4af0]
call fcn.004042b4
test al, al
je 0x4df35c
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.004d7de4
mov dword [esi + 0x10], eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d7fb8
mov dword [esi + 0x18], eax
mov esi, dword [esi + 8]
test esi, esi
jne 0x4df316
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4