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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], edx
push esi
push edi
mov dword [esp + 0x34], ebx
mov esi, dword [ebx + 0xc]
mov ecx, esi
mov edi, dword [ebx]
mov dword [esp + 0x54], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
call fcn.0049cb30
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.0049cb30
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov al, byte [ecx + 4]
mov byte [esp + 0x1b], al
cmp byte [esp + 0x1b], 0x70
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], eax
mov edx, dword [eax]
mov dword [esp + 0x48], edx
je 0x4c7f2d
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x1e], 0
jne 0x4c7f2b
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x4c7f25
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4c7e98
mov ebx, dword [esp + 0x48]
lea edx, [eax + 0xe]
movzx eax, word [edx]
cmp eax, edi
je 0x4c7e90
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x4c7e81
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x4c7f05
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x5c]
push 0
push eax
mov edx, 0x81
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.004a8dc0
add esp, 8
test eax, eax
je 0x4c7f19
mov edx, dword [esp + 0x20]
mov ecx, 0x800
or word [eax + 2], cx
mov ecx, ebx
push eax
mov dword [eax + 4], edi
call fcn.004a9fe0
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov dword [esp + 0x24], ecx
inc edx
add esp, 4
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x30]
mov word [eax + ecx + 0xe], di
add ecx, 0x14
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x38]
inc edi
cmp byte [eax + 0x1e], 0
jne 0x4c7f2b
mov ecx, dword [esp + 0x24]
jmp 0x4c7e63
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x38]
jmp 0x4c7f2d
mov edi, eax
lea ecx, [edx*4]
test edi, edi
je 0x4c7fd1
cmp byte [edi + 0x1e], 0
je 0x4c7f8a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, eax
push 0
mov dword [ecx + 0x18], eax
mov ecx, dword [ebx]
call fcn.004a9890
mov ecx, dword [esp + 0x54]
add esp, 4
cmp byte [esp + 0x1b], 0x70
mov dword [ecx + 0x18], eax
jne 0x4c81ae
mov dword [esp + 0x4c], 0
jmp 0x4c83f7
cmp byte [edi + 0xe2], 0
je 0x4c7fd1
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4c7fd1
mov eax, dword [edi + 0xec]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4c7fd1
mov eax, dword [eax]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4c7ff6
mov dword [edi + 0xe8], eax
jmp 0x4c7ff6
push ecx
call fcn.0048bad0
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x4c7ff2
test edi, edi
je 0x4c7fea
mov byte [edi + 0x1e], 1
test eax, eax
je 0x4c7f4a
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4c8027
mov esi, dword [esp + 0x6c]
lea ebx, [eax + 0xe]
nop word [eax + eax]
movzx eax, word [ebx]
lea ebx, [ebx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x4c8010
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + 4]
lea ecx, [edx + ecx*4]
test edi, edi
je 0x4c8084
cmp byte [edi + 0x1e], 0
jne 0x4c7f4a
cmp byte [edi + 0xe2], 0
je 0x4c8084
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4c8084
mov eax, dword [edi + 0xec]
mov dword [esp + 0x64], eax
test eax, eax
je 0x4c8084
mov ecx, eax
mov eax, dword [ecx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4c80ab
mov dword [edi + 0xe8], eax
jmp 0x4c80ab
push ecx
call fcn.0048bad0
mov ecx, eax
add esp, 4
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4c80a7
test edi, edi
je 0x4c809f
mov byte [edi + 0x1e], 1
test ecx, ecx
je 0x4c7f52
mov edx, dword [esp + 0x48]
lea eax, [edx + 3]
mov word [ecx + 6], dx
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x4c7f52
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
add eax, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
nop dword [eax]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov eax, dword [ebx + eax]
mov ebx, 0x100
mov dword [esp + 0x30], eax
test word [eax + 2], bx
mov ebx, dword [esp + 0x34]
je 0x4c8112
mov eax, dword [eax + 0x14]
jmp 0x4c8165
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x4c8139
push ecx
mov ecx, ebx
call fcn.004c5d10
add esp, 4
test eax, eax
jne 0x4c8151
mov ecx, dword [esp + 0x14]
jmp 0x4c813b
xor eax, eax
mov edx, dword [esi]
cmp ecx, dword [edx]
jge 0x4c8151
mov edx, dword [edx + 0xc]
lea eax, [ecx + ecx*4]
mov ecx, ebx
mov edx, dword [edx + eax*4]
call fcn.004a8970
mov ecx, dword [esp + 0x30]
mov edx, 0x100
or word [ecx + 2], dx
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x40], 4
add dword [esp + 0x1c], 0x14
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x64]
mov al, byte [ebx + eax + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov byte [ebx + ecx], al
mov ecx, ebx
mov ebx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, edx
jl 0x4c80f0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4c7f52
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
cmp ecx, eax
jg 0x4c8224
xor edx, edx
lea ecx, [ebx + 0x70]
nop dword [eax + eax]
mov edi, dword [esp + 0x4c]
cmp dword [ecx], edi
mov edi, dword [esp + 0x38]
jl 0x4c81ff
mov esi, dword [esp + 0x4c]
dec esi
add eax, esi
mov esi, dword [esp + 0x3c]
cmp dword [ecx], eax
jle 0x4c8220
mov eax, dword [esp + 0x30]
inc edx
add ecx, 0x18
cmp edx, 0xa
jl 0x4c81e0
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x28]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [ebx + 0x38], eax
jmp 0x4c8233
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x4c], edx
mov dword [ebx + 0x48], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8253
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c828c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x40]
lea edx, [eax + 4]
lea edx, [eax + edx*4]
mov dword [esp + 0x14], edx
test edi, edi
je 0x4c82fc
cmp byte [edi + 0x1e], 0
je 0x4c82b1
mov dword [esp + 0x2c], 0
jmp 0x4c83f3
cmp byte [edi + 0xe2], 0
je 0x4c82fc
movzx eax, word [edi + 0xe0]
cmp edx, eax
jg 0x4c82fc
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4c82fc
mov eax, dword [ecx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4c82f6
mov dword [edi + 0xe8], eax
mov dword [esp + 0x2c], ecx
jmp 0x4c8327
push edx
call fcn.0048bad0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4c8315
test edi, edi
je 0x4c8315
mov byte [edi + 0x1e], 1
mov dword [esp + 0x1c], eax
mov ecx, eax
test eax, eax
je 0x4c83ef
mov edx, dword [esp + 0x14]
push edx
push 0
push ecx
call fcn.004df440
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 3]
mov word [ecx + 6], dx
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
test edx, edx
jle 0x4c83f3
mov eax, dword [esp + 0x2c]
lea edx, [ecx + 0xc]
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
nop dword [eax]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4c83a2
push edi
mov edx, eax
mov ecx, ebx
call fcn.004c5d10
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4c83c9
jmp 0x4c83a4
xor eax, eax
mov ebx, dword [esi]
cmp edi, dword [ebx]
mov ebx, dword [esp + 0x34]
jge 0x4c83c9
mov eax, dword [esi]
mov ecx, ebx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + eax]
call fcn.004a8970
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add dword [esp + 0x10], 0x14
mov dword [edx], eax
add edx, 4
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov byte [edi + eax], 0
inc edi
cmp edi, dword [esp + 0x40]
jl 0x4c8380
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4c83f3
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov edx, eax
push str.ORDER
mov dword [eax + 0x1c], 0
mov dword [ecx + 0x24], 0
mov ecx, ebx
push dword [eax + 0x18]
call fcn.004a8230
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x4c843b
push str.ORDER
push dword [eax + 0x18]
mov edx, eax
mov ecx, ebx
call fcn.004a8230
add esp, 8
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x30], 0
jne 0x4c8805
mov ecx, ebx
call fcn.004abf60
cmp dword [edx + 0x28], 0
je 0x4c8805
mov eax, dword [ebx + 0x48]
inc eax
mov dword [ebx + 0x48], eax
mov dword [edx + 0x30], eax
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
test edi, edi
jne 0x4c848b
mov ecx, dword [ebx]
call fcn.0049c910
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], edi
test edi, edi
je 0x4c87f5
mov edx, dword [edx + 0x28]
mov ecx, ebx
push eax
call fcn.004ae2b0
mov ecx, dword [edi + 0xc]
add esp, 4
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c84bd
mov ecx, edi
call fcn.0049c9d0
test eax, eax
jne 0x4c8609
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x6e]
mov byte [eax], 0
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c8517
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.0049c9d0
test eax, eax
jne 0x4c8555
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x72
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x6e]
mov dword [esp + 0x10], eax
mov byte [eax], 0
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x2c], 0
je 0x4c87ff
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [eax + 0x34], ecx
inc dword [ebx + 0x48]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, ebx
call fcn.004ae2b0
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c85a8
mov ecx, edi
call fcn.0049c9d0
test eax, eax
jne 0x4c85e6
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x6e]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov byte [eax], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x10], edx
jg 0x4c8618
mov ecx, edi
call fcn.0049c9d0
test eax, eax
je 0x4c8611
mov dword [esp + 0x10], 1
jmp 0x4c8651
lea eax, [edi + 0x6e]
jmp 0x4c84f8
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c8671
mov ecx, edi
call fcn.0049c9d0
test eax, eax
jne 0x4c86aa
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
jle 0x4c86bf
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c86df
mov ecx, edi
call fcn.0049c9d0
test eax, eax
jne 0x4c873c
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
inc edx
mov word [eax + ecx*4], 0x56
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esp + 0x30], edx
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x10], edx
jg 0x4c874e
mov ecx, edi
call fcn.0049c9d0
test eax, eax
je 0x4c8747
mov dword [esp + 0x10], 1
jmp 0x4c8787
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x30], eax
jmp 0x4c8719
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c87a7
mov ecx, edi
call fcn.0049c9d0
test eax, eax
jne 0x4c87e0
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0xffffffff
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
jle 0x4c87f5
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
jmp 0x4c8807
mov edi, dword [esp + 0x38]
jmp 0x4c8807
mov eax, edx
cmp dword [eax + 0x30], 0
je 0x4c88ff
cmp byte [esp + 0x1b], 0x70
jne 0x4c88ff
mov eax, dword [ebx + 0x48]
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [ebx + 0x48], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4c8840
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jmp 0x4c8847
mov eax, dword [eax + 0x30]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8867
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c88a0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c88c0
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c88f9
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x24]
jmp 0x4c890f
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4c893c
mov edx, ecx
mov ecx, edi
call fcn.004a9390
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4c8938
push eax
push edi
call fcn.0048bbc0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [eax + 0x28], 0
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c896c
mov edx, eax
mov ecx, edi
call fcn.004a9390
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4c896c
push eax
push edi
call fcn.0048bbc0
add esp, 8
mov edi, dword [esp + 0x24]
mov word [esp + 0x88], 0xa
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [edi + 0x2c], 0
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x8c], ecx
mov word [esp + 0x78], 0xa
mov dword [esp + 0x80], 0
lea eax, [ecx + 1]
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov dword [esp + 0x44], ecx
lea eax, [edx + 1]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], eax
inc eax
inc eax
mov dword [esp + 0x40], edx
mov dword [ebx + 0x48], eax
mov edi, dword [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edi
cmp dword [esi + 0x10], edi
jg 0x4c8a09
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c8a06
mov dword [esp + 0x14], 1
jmp 0x4c8a46
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0xc], eax
lea edx, [esi + 0x14]
mov eax, dword [edx]
lea ecx, [edi + edi*4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x50]
mov edx, ecx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.004cb3f0
mov edi, dword [esi + 0xc]
add esp, 4
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c8a84
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8ac2
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
lea edx, [ebx + 1]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4c8ac6
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c8ade
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8b13
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov edx, eax
mov ebx, dword [eax + 0x30]
mov edi, dword [eax + 0x34]
mov dword [eax + 0x30], ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x34], 0
call fcn.004cb3f0
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], edi
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c8b67
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8ba2
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x58]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4c8ba6
mov ebx, dword [esp + 0x58]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c8bbe
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8bf7
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push dword [esp + 0x68]
mov edi, dword [esp + 0x28]
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x38]
mov edx, edi
push 0xfffffffffffffff0
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x58]
push eax
push dword [ebp + 8]
lea eax, [esp + 0xa0]
push eax
call fcn.004c74d0
mov dword [esp + 0x44], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x70
je 0x4c8c38
cmp al, 0x6f
jne 0x4c8c66
push dword [esp + 0x68]
lea eax, [esp + 0x7c]
mov edx, edi
push 0xffffffffffffffef
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x58]
push dword [esp + 0x40]
push dword [ebp + 8]
push eax
call fcn.004c74d0
mov dword [esp + 0x70], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x71
je 0x4c8e17
cmp al, 0x72
je 0x4c8e17
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x10], edx
jg 0x4c8ca3
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c8c9c
mov dword [esp + 0x2c], 1
lea edi, [esi + 0x14]
jmp 0x4c8cde
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x58]
lea edi, [esi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8cfe
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8d36
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8d56
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8d8e
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8dae
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8de6
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x10], edx
jg 0x4c8e96
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c8e8f
mov dword [esp + 0x1c], 1
lea edi, [esi + 0x14]
jmp 0x4c8ed2
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x10], edi
jg 0x4c8e3e
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c8e3b
mov edi, 1
mov dword [esp + 0x2c], edi
jmp 0x4c8e77
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x68]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
cmp byte [esp + 0x1b], 0x72
jne 0x4c8de6
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
jmp 0x4c8fdf
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
lea ecx, [edx + edx*4]
inc eax
mov edx, dword [esp + 0x44]
lea edi, [esi + 0x14]
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8ef2
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8f2f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8f4f
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8f87
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c8fa7
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c8fdf
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x3c], edx
cmp dword [esi + 0x10], edx
jg 0x4c900c
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c9005
mov dword [esp + 0x3c], 1
lea edi, [esi + 0x14]
jmp 0x4c904c
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x58]
lea edi, [esi + 0x14]
inc eax
inc edx
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c906c
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c90a4
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c90c4
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c9101
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c9121
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c9159
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov al, byte [esp + 0x1b]
cmp al, 0x70
jne 0x4c9179
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
jmp 0x4c92c3
cmp al, 0x72
jne 0x4c9196
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
inc edx
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
jmp 0x4c9314
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [esi + 0x10], edx
jg 0x4c91c0
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c91b9
mov dword [esp + 0x20], 1
jmp 0x4c91f8
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c9218
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c9255
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c9279
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c9683
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
cmp byte [esp + 0x1b], 0x6f
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], ecx
jne 0x4c9314
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4c92dc
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c9314
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c9334
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c936c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c938c
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c93c4
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c93e4
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c941c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x14]
cmp edx, eax
jle 0x4c9430
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c9450
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c948d
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c94ad
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c94e5
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c9505
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c953d
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x70], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c955d
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c9595
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x5c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c95b5
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c95f2
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x5c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4c9612
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c964a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4c9663
mov eax, dword [esp + 0x74]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x10], edx
jg 0x4c969f
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c9698
mov edx, 1
jmp 0x4c96d7
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4c92b1
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff1
push dword [esp + 0x70]
mov ecx, esi
call fcn.0049d030
mov eax, dword [esp + 0x88]
add esp, 8
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x70], eax
mov eax, edx
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x10], edx
jg 0x4c9728
mov ecx, esi
call fcn.0049c9d0
test eax, eax
je 0x4c9721
mov edi, dword [esp + 0x48]
mov edx, 1
jmp 0x4c9760
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x68]
mov ecx, esi
call fcn.0049d030
mov eax, dword [esi + 0xc]
add esp, 8
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x10], eax
jg 0x4c978b
mov ecx, esi
call fcn.0049c9d0
test eax, eax
jne 0x4c97c3
mov eax, dword [esp + 0x5c]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c97d7
inc edi
cmp edi, dword [ebx + 0x38]
jle 0x4c97d7
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4c97f0
mov eax, dword [esp + 0x68]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x4c981c
mov eax, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4c980e
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4c9805
push dword [ecx]
xor edx, edx
mov ecx, ebx
call fcn.004c4c00
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x4c983e
mov ebx, dword [esp + 0x38]
mov edx, edi
mov ecx, ebx
call fcn.004c2cd0
push edi
push ebx
call fcn.0048bbc0
add esp, 8
mov eax, dword [esp + 0x50]
pop edi
mov dword [esi + 0x1c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret