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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x706034]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x58], ecx
xor ecx, ecx
push edi
mov edi, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x4b], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], edi
test edi, edi
jne 0x4cf74d
cmp dword [eax + 0x74], edi
jne 0x4cf73c
test byte [ecx + 0x4c], 8
jne 0x4cf73c
mov byte [eax + 0x17], 1
mov ecx, eax
call fcn.0049b0e0
mov edx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x50], edi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x54], eax
jne 0x4cf76d
mov dword [esp + 0x40], 0
mov dword [esp + 0x64], 1
jmp 0x4cf798
mov ecx, dword [edx + 8]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x4cf790
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4cf788
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4cf778
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x64], ecx
xor edx, edx
mov dword [esp + 0x20], edx
test eax, eax
jle 0x4cf992
xor ecx, ecx
mov dword [esp + 0x30], ecx
nop dword [eax]
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4cf97a
test esi, esi
je 0x4cf7ce
cmp dword [esi + edx*4], 0
jl 0x4cf97a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx esi, byte [eax + ecx + 0xc]
test esi, esi
je 0x4cf976
mov dl, byte [ebp + 0x20]
cmp dl, 0xb
je 0x4cf81e
movzx esi, dl
cmp esi, 5
jne 0x4cf7ff
cmp dword [eax + ecx + 4], 0
mov eax, 2
cmove esi, eax
mov edx, dword [esp + 0x20]
lea eax, [esi - 1]
mov dword [esp + 0x28], 0
cmp eax, 4
ja case.0x4cf817.4
jmp dword [eax*4 + 0x4d1024]
cmp esi, 0xb
jne 0x4cf7ed
mov esi, 2
jmp 0x4cf7ff
mov eax, dword [esp + 0x14]
inc edx
mov esi, dword [ebp + 0x14]
mov ecx, edi
add esi, edx
mov edx, 0x33
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
push eax
push esi
mov dword [esp + 0x30], eax
call fcn.0049b550
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + eax + 4]
call fcn.004b7c60
add esp, 0xc
mov edx, 0x33
mov ecx, edi
push dword [esp + 0x28]
push esi
call fcn.0049b550
add esp, 8
mov esi, 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push dword [eax + ecx]
push dword [edx]
push 0x70aa24
push dword [esp + 0x6c]
call fcn.0047bf10
mov edx, dword [ebp + 0x14]
add esp, 0x10
mov ecx, dword [edi + 0x6c]
inc edx
add edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x70], ecx
jg 0x4cf8de
push edx
push esi
push 0x513
mov edx, 0x44
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4cf90d
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov edx, dword [esp + 0x38]
cmp byte [ecx + 0x51], 0
je 0x4cf929
push edx
mov edx, 0xfffffff9
call fcn.0049c0f0
add esp, 4
jmp 0x4cf93b
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4cf952
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4cf972
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cf9d6
push edx
mov edx, edi
call fcn.0049bbc0
add esp, 4
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
add dword [esp + 0x30], 0x10
inc edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x54]
jl 0x4cf7b0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x28], edx
test edx, edx
je 0x4cfc95
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x4cfc95
mov eax, dword [ebp + 0x14]
not eax
mov dword [esi + 0x34], eax
mov al, byte [ebp + 0x20]
cmp al, 0xb
je 0x4cfa40
movzx eax, al
mov dword [esp + 0x30], eax
jmp 0x4cfa48
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4cf972
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
inc esi
add esi, edx
cmp dword [edi + 0x70], ecx
jg 0x4cfa09
push 0
push dword [ebp + 0x24]
mov edx, 0x32
mov ecx, edi
push esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4cf972
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4cf976
mov dword [esp + 0x30], 2
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edx], ecx
jle 0x4cfc8e
lea eax, [edx + 8]
mov dword [esp + 0x44], eax
nop dword [eax]
cmp dword [esp + 0x34], 0
mov esi, dword [eax - 4]
je 0x4cfadd
mov edi, dword [esp + 0x34]
xorps xmm0, xmm0
xor al, al
mov dword [esp + 0xa8], 0
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 0x50]
mov byte [esp + 0xa4], al
mov dword [esp + 0x94], 0x4cf670
test esi, esi
je 0x4cfacd
mov edx, esi
lea ecx, [esp + 0x90]
call fcn.004ae6e0
mov al, byte [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp byte [ebp + 0x1c], 0
jne 0x4cfad5
and al, 0xfd
test al, al
je 0x4cfc72
mov ecx, dword [esp + 0x14]
push 0x10
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
push eax
push esi
push ecx
mov dword [esp + 0x78], eax
call fcn.004b8190
mov edx, dword [esp + 0x40]
add esp, 0x10
cmp edx, 4
jne 0x4cfb5b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cfb24
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.0049b3e0
add esp, 0xc
jmp 0x4cfc43
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4cfc43
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4cfb73
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp edx, 5
mov eax, 2
cmove edx, eax
mov dword [esp + 0x30], edx
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4cfbad
cmp dword [ecx + 0x74], esi
jne 0x4cfb9e
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4cfb9e
mov byte [ecx + 0x17], 1
call fcn.0049b0e0
mov edx, dword [esp + 0x30]
mov esi, eax
mov ecx, dword [esp + 0x14]
cmp edx, 2
jne 0x4cfbbe
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4cfbe3
push 0
push edx
push 0x113
mov edx, 0x45
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4cfc1a
mov edi, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0x113
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
push 0
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
call fcn.0049c360
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4cfc43
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cfc61
push edx
mov edx, edi
call fcn.0049bbc0
add esp, 4
jmp 0x4cfc6a
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
inc ecx
add eax, 0x18
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], eax
cmp ecx, dword [edx]
jl 0x4cfa60
mov esi, dword [esp + 0x14]
mov dword [esi + 0x34], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4cfd19
cmp dword [eax], 0
jne 0x4cfcb4
mov byte [ebp + 0x20], 4
mov dword [esp + 0x5c], 0
jmp 0x4cfd19
mov eax, dword [eax + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4cfd19
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x70], edx
cmp dword [edi + 0x70], edx
jg 0x4cfce6
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x4cfd19
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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
cmp byte [ebp + 0x1c], 0
je 0x4d0160
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4d0160
mov ecx, dword [esp + 0x18]
dec dword [esi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [esi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x30], edx
je 0x4cfd4d
movzx eax, byte [ebp + 0x20]
jmp 0x4cfd58
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
test esi, esi
je 0x4cfd7f
cmp dword [esi + 0x10], 0
jne 0x4cfd7f
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x28], eax
jmp 0x4cfda2
cmp eax, 5
jne 0x4cfda2
cmp byte [ebp + 0x20], al
je 0x4cfda2
cmp dword [ecx + 8], 0
je 0x4cfda2
lea edx, [eax + 6]
mov ecx, edi
call fcn.0049b490
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cfe0f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cfdcb
push eax
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, edi
call fcn.0049b3e0
mov edx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x4cfdf8
mov esi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4cfe0f
lea ecx, [eax + eax*4]
mov esi, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], si
mov ecx, dword [edi + 0x6c]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x70], ecx
jg 0x4cfe30
push dword [ebp + 0x14]
mov ecx, edi
push edx
push esi
mov edx, 0x1f
call fcn.0049b3e0
add esp, 0xc
jmp 0x4cfe5a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x28]
lea eax, [esi - 1]
cmp eax, 5
ja case.default.0x4cfe6a
jmp dword [eax*4 + 0x4d1038]
mov eax, dword [esp + 0x60]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x4cfe9d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push esi
push 0x7c
call fcn.004e3e60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cfed6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4cff1b
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.0047e740
add esp, 4
cmp dword [eax + 8], 0
jne 0x4cfed6
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x4cff17
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x74]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x34]
push esi
call fcn.004c78b0
add esp, 0x24
mov dword [esp + 0x74], 1
jmp 0x4d00a4
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp dword [esi + 8], 0
je 0x4cff49
mov eax, dword [ecx + 0x74]
mov edx, esi
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x24]
call fcn.004c7cb0
add esp, 0x10
mov dword [esp + 0x74], 1
jmp 0x4d00a4
push dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
call fcn.004e7490
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, edi
call fcn.0049b5c0
jmp 0x4d00a4
mov esi, 2
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x4cffba
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0x18]
push dword [edx]
push 0x70a4fc
push dword [eax]
call fcn.0047bf10
add esp, 0x10
mov dword [esp + 0x28], 0x613
jmp 0x4cffd7
push dword [edx]
mov eax, dword [esp + 0x18]
push str._s.rowid
push dword [eax]
call fcn.0047bf10
add esp, 0xc
mov dword [esp + 0x28], 0xa13
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
test edx, edx
jne 0x4d000a
cmp dword [ecx + 0x74], edx
jne 0x4cfffb
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4cfffb
mov byte [ecx + 0x17], 1
call fcn.0049b0e0
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x44], edx
cmp esi, 2
jne 0x4d001b
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x4c], ecx
cmp dword [edx + 0x70], ecx
jg 0x4d0044
mov edx, dword [esp + 0x28]
push 0
push esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
push edx
mov edx, 0x45
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d007b
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
push 0xfffffffffffffff9
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
call fcn.0049c360
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4d00a4
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d00c2
push edx
mov edx, edi
call fcn.0049bbc0
add esp, 4
jmp 0x4d00cb
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x78], 0
je 0x4d0160
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x80], esi
cmp dword [edi + 0x70], esi
jg 0x4d0103
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x4d0136
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esp + 0x78]
sub ecx, 1
mov edx, dword [edi + 0x6c]
jns 0x4d0145
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d0154
mov eax, 0x718f0c
jmp 0x4d015d
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d0604
mov edx, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [edx + ecx*4], 0
je 0x4d05f0
mov edx, dword [esp + 0x6c]
cmp edx, eax
jne 0x4d0243
mov eax, dword [esp + 0x70]
mov esi, dword [edi + 0x6c]
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x7c], esi
cmp dword [edi + 0x70], esi
jg 0x4d01c7
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
mov dword [esp + 0x7c], eax
jmp 0x4d01fa
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esp + 0x70]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x4d020a
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d0228
mov esi, dword [esp + 0x14]
mov eax, 0x718f0c
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
jmp 0x4d0251
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x6c]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
jmp 0x4d0251
mov esi, dword [esp + 0x14]
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x34], ecx
cmp byte [esp + 0x4b], 0
jne 0x4d0278
test edx, edx
je 0x4d0260
cmp edx, eax
jne 0x4d0278
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x18]
inc eax
push eax
call fcn.004cdda0
add esp, 4
mov byte [esp + 0x4b], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0x24], 0
je 0x4d0351
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d02af
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d02e2
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x49
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 eax, dword [ebp + 0x14]
not eax
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x24]
mov eax, dword [esi]
mov dword [esp + 0x38], eax
test edx, edx
je 0x4d0311
push 0
push 0
mov ecx, eax
call fcn.004b2270
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x38]
jmp 0x4d0313
xor esi, esi
cmp byte [eax + 0x51], 0
jne 0x4d0331
mov eax, dword [esp + 0x14]
push 0x10
push dword [esp + 0x38]
push esi
push eax
call fcn.004b8540
mov eax, dword [esp + 0x48]
add esp, 0x10
test esi, esi
je 0x4d033e
mov edx, esi
mov ecx, eax
call fcn.004b2020
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
xor esi, esi
mov edx, dword [edx + ecx*4]
xor ecx, ecx
inc edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], edx
cmp si, word [eax + 0x34]
jae 0x4d0547
mov esi, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
nop dword [eax]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
cmp edx, 0xfffffffe
jne 0x4d04b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x28]
not eax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
test edx, edx
je 0x4d03c7
push 0
push 0
call fcn.004b2270
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x4d03c9
xor eax, eax
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x38], eax
jne 0x4d0414
test eax, eax
je 0x4d0462
cmp byte [eax], 0xab
jne 0x4d0462
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d0431
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4e
mov ecx, esi
call fcn.0049b3e0
add esp, 0xc
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4d0421
call fcn.004b2020
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], 0
jmp 0x4d0520
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d0410
mov ecx, dword [esp + 0x14]
mov edx, eax
push esi
call fcn.004b6960
mov edx, eax
add esp, 4
cmp edx, esi
je 0x4d0410
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
test esi, esi
je 0x4d040c
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d049b
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4f
jmp 0x4d0402
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x4d0444
cmp edx, 0xffffffff
je 0x4d04c9
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4d04c9
mov esi, dword [ebp + 0x14]
inc esi
add esi, edx
jmp 0x4d04cc
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [edi + 0x70], ecx
jg 0x4d04f4
push 0
push dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.0049b3e0
mov esi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4d0520
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov byte [eax + ecx*4], dl
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 8], esi
mov word [eax + 2], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x1c]
inc esi
mov ecx, dword [esp + 0x54]
add dword [esp + 0x28], 0x18
inc ecx
mov dword [esp + 0x54], ecx
movzx eax, word [eax + 0x34]
cmp ecx, eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x1c]
jl 0x4d0380
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
movzx esi, word [eax + 0x34]
mov edx, dword [edx + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d0575
push edx
push esi
push dword [esp + 0x38]
mov edx, 0x5c
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d05a4
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
je 0x4d0640
cmp edx, ecx
jne 0x4d0640
cmp byte [ebp + 0x1c], 0
jne 0x4d0640
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d0635
push edx
mov edx, edi
call fcn.0049bbc0
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x4d0181
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4d0f72
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d0f13
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d0f46
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4d05e0
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x4d05c4
cmp byte [ebp + 0x20], 0xb
je 0x4d0658
movzx eax, byte [ebp + 0x20]
jmp 0x4d0663
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x6c], ecx
jne 0x4d0684
mov esi, dword [esp + 0x5c]
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x24], 0
jne 0x4d074d
cmp dword [ecx + 0x14], 0
jne 0x4d074d
cmp edx, ecx
jne 0x4d074d
cmp eax, 5
jne 0x4d074d
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x88], eax
mov eax, 0
jne 0x4d06c8
test eax, eax
je 0x4d070e
mov ecx, dword [esp + 0x14]
xor edx, edx
xor esi, esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4d06e9
mov edx, dword [esp + 0x18]
call fcn.004e2de0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4d0703
nop
cmp byte [ecx + 8], 0x7c
jne 0x4d06fc
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4d06f0
xor eax, eax
test esi, esi
cmovne eax, edx
test eax, eax
jne 0x4d074d
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x88], eax
mov eax, 0
jne 0x4d072c
test eax, eax
je 0x4d0788
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x10], eax
jne 0x4d074d
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.0047e740
add esp, 4
cmp dword [eax + 8], 0
je 0x4d078c
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x4c], edx
movzx esi, word [eax + 0x32]
mov dword [esp + 0x68], esi
cmp dword [edi + 0x70], edx
jg 0x4d07bb
push dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, 0x1b
push dword [esp + 0x38]
add eax, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.0049b3e0
add esp, 0xc
mov edx, eax
jmp 0x4d07fd
mov esi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d07ad
push edx
mov edx, edi
call fcn.0049bbc0
add esp, 4
jmp 0x4d05e4
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4d05e4
mov esi, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x24]
add edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4d0814
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x40]
jne 0x4d0828
mov esi, dword [esp + 0x30]
mov dword [esp + 0x20], esi
jmp 0x4d0886
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
cmp eax, 1
jne 0x4d0855
mov al, byte [edx + 0x13]
test al, al
jne 0x4d0844
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
jmp 0x4d087e
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov esi, dword [edx + eax*4 + 0x94]
jmp 0x4d087e
mov ecx, dword [edx + 0x1c]
mov esi, dword [edx + 0x20]
mov dword [esp + 0x20], esi
cmp eax, ecx
jg 0x4d0871
add eax, esi
sub ecx, dword [esp + 0x64]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x4d0882
mov eax, dword [edx + 0x2c]
lea esi, [eax + 1]
add eax, dword [esp + 0x64]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
jne 0x4d0897
cmp dword [esp + 0x28], 5
jne 0x4d0c69
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4d097b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d08c9
mov eax, dword [esp + 0x24]
mov edx, 0x87
add eax, dword [ebp + 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d0903
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x20]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4d0c69
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d092d
push eax
push dword [esp + 0x38]
mov edx, 0x35
mov ecx, edi
push esi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d095b
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4d0c69
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4d0c69
mov esi, dword [esp + 0x40]
cmp edx, esi
je 0x4d0a66
mov ecx, dword [esp + 0x40]
xor esi, esi
xor eax, eax
mov dword [esp + 0x2c], esi
cmp ax, word [ecx + 0x32]
jae 0x4d0a62
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
jle 0x4d09ce
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
movzx esi, word [eax + esi*2]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
cmp si, word [eax]
je 0x4d09ff
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4d09c1
or eax, 0xffffffff
mov ecx, dword [edi + 0x6c]
movsx edx, ax
mov dword [esp + 0x4c], edx
cmp dword [edi + 0x70], ecx
jg 0x4d0a04
mov esi, dword [esp + 0x44]
mov ecx, edi
mov eax, dword [esp + 0x24]
add eax, dword [ebp + 0x10]
push esi
push edx
push eax
mov edx, 0x5a
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d0a3e
movzx eax, cx
jmp 0x4d09d1
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
add esi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
inc esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x44], esi
mov esi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jl 0x4d09a5
mov esi, dword [esp + 0x40]
cmp dword [ebp + 0x18], 0
je 0x4d0c69
movzx ecx, word [esi + 0x32]
mov eax, dword [edi + 0x6c]
add eax, ecx
mov dword [esp + 0x54], 0x34
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x20]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x4d0c69
mov eax, dword [ebp + 0x18]
inc eax
mov dword [esp + 0x68], eax
nop
mov eax, dword [esi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x88], edx
mov esi, dword [eax]
mov ch, byte [esi + 0x4e]
mov cl, byte [esi + 0xa5]
mov byte [esp + 0x5b], ch
mov byte [esp + 0x5a], cl
test edx, edx
je 0x4d0afd
movzx eax, cl
mov ecx, esi
push eax
call fcn.004c6350
mov cl, byte [esp + 0x5e]
add esp, 4
mov edx, dword [esp + 0x88]
mov esi, eax
mov ch, byte [esp + 0x5b]
mov dword [esp + 0x44], eax
jmp 0x4d0b04
mov esi, dword [esi + 8]
mov dword [esp + 0x44], esi
test esi, esi
je 0x4d0b18
movzx eax, ch
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
add esi, 0xffffffec
mov dword [esp + 0x44], esi
test cl, cl
jne 0x4d0b3c
test esi, esi
je 0x4d0b26
cmp dword [esi + 0xc], 0
jne 0x4d0b3c
push edx
mov dl, ch
mov ecx, dword [esp + 0x18]
push esi
call fcn.004c6270
mov esi, eax
add esp, 8
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edx*2]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x88], eax
movzx ecx, word [ecx + 0x32]
dec ecx
cmp edx, ecx
jne 0x4d0b6f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], 0x35
mov ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x6c]
add ecx, eax
cmp dword [edi + 0x70], edx
jg 0x4d0b9d
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
push eax
push dword [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
mov edx, eax
jmp 0x4d0bed
mov esi, dword [esp + 0x44]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4d0c05
push esi
mov edx, 0xfffffffe
call fcn.0049c0f0
add esp, 4
jmp 0x4d0c39
test edx, edx
jns 0x4d0c0d
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4d0c2e
push 0xfffffffffffffffe
push esi
mov edx, eax
mov ecx, edi
call fcn.0049c280
add esp, 8
jmp 0x4d0c39
test esi, esi
je 0x4d0c39
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfe
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4d0c50
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x4d0ab0
mov esi, dword [esp + 0x28]
lea eax, [esi - 1]
cmp eax, 5
ja case.0x4d0c79.5
jmp dword [eax*4 + 0x4d1050]
push dword [esp + 0x1c]
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004c5580
add esp, 4
jmp 0x4d0e03
mov eax, dword [esp + 0x24]
add eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x5c]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004e7490
add esp, 0xc
jmp 0x4d0cc1
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d0ce4
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d0e03
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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
jmp 0x4d0e03
mov eax, dword [esp + 0x60]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x4d0d76
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4d0d4c
mov edx, dword [esp + 0x18]
call fcn.004e2de0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4d0d65
cmp byte [ecx + 8], 0x7c
jne 0x4d0d5e
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4d0d52
xor ecx, ecx
test esi, esi
cmovne ecx, edx
mov dword [esp + 0x4c], ecx
mov esi, ecx
test ecx, ecx
jne 0x4d0daf
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4d0dbf
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.0047e740
add esp, 4
cmp dword [eax + 8], 0
jne 0x4d0daf
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x4d0dbf
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
add eax, edx
push eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x20], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x74]
push dword [esp + 0x34]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.004c78b0
add esp, 0x24
mov dword [esp + 0x74], 1
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x1c]
jne 0x4d0e98
mov edx, dword [esp + 0x70]
mov ecx, dword [edi + 0x6c]
inc edx
cmp dword [edi + 0x70], ecx
jg 0x4d0e34
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d0e67
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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 eax, dword [esp + 0x7c]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x4d0e77
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d0e89
mov eax, 0x718f0c
mov dword [eax + 8], edx
jmp 0x4d0ebf
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4d0ebf
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d0eb6
push edx
mov edx, edi
call fcn.0049bbc0
add esp, 4
jmp 0x4d0ebf
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x30]
je 0x4d05e0
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x4d0eff
test ecx, ecx
je 0x4d05e0
mov al, byte [esi + 0x13]
mov edx, dword [esp + 0x3c]
cmp al, 8
jae 0x4d0ef6
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov esi, dword [esp + 0x18]
jmp 0x4d05e8
cmp eax, dword [esi + 0x1c]
jle 0x4d05e0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
jmp 0x4d05e0
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [esp + 0x80]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4d0f57
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d0f66
mov eax, 0x718f0c
jmp 0x4d0f6f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test byte [esi + 0x24], 0x20
jne 0x4d1003
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x88], esi
movsx edx, word [eax + 0x2a]
mov eax, dword [ebp + 0x14]
inc eax
cmp dword [edi + 0x70], ecx
jg 0x4d0fb6
push esi
push edx
push eax
mov edx, 0x5c
mov ecx, edi
call fcn.0049b3e0
add esp, 0xc
jmp 0x4d0fec
mov esi, dword [esp + 0x88]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp + 0x14]
inc edi
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x4b], 0
jne 0x4d1003
mov edx, dword [esp + 0x18]
mov ecx, edi
push 0
call fcn.004cdda0
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret