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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0xd4]
xor ebx, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x40], ecx
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], eax
push esi
push edi
test ecx, ecx
jne 0x41e426
lea eax, [ecx + 7]
jmp 0x41f320
movzx edi, word [ebp + 0x10]
movzx ecx, byte [ebp + 1]
lea esi, [ecx + edi]
cmp esi, 2
jge 0x41e43a
xor edx, edx
jmp 0x41e45f
test edx, edx
je 0x41e451
cmp edx, esi
jne 0x41e450
mov eax, dword [esp + 0xe4]
lea edx, [eax - 2]
add edx, esi
jmp 0x41e458
dec edx
mov eax, dword [esp + 0xe4]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov eax, edx
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x41e483
mov edx, dword [ebp + 0x38]
movzx ecx, byte [ebp + 5]
add edx, 8
add edx, ecx
jmp 0x41e49d
mov eax, dword [ebp + 0x40]
movzx edx, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
shl eax, 8
or edx, eax
movzx eax, word [ebp + 0x12]
and edx, eax
add edx, dword [ebp + 0x38]
movzx ecx, byte [edx]
lea edi, [esp + 0xc8]
movzx eax, byte [edx + 1]
lea edi, [edi + esi*4]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x58], edx
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x60], ecx
mov edx, ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x28]
push 0
push edi
call fcn.00419420
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41f0ce
mov eax, dword [edi]
movzx ecx, word [eax + 0x10]
movzx eax, byte [eax + 1]
inc eax
add ebx, eax
mov eax, esi
add ebx, ecx
dec esi
mov dword [esp + 0x38], ebx
test eax, eax
je 0x41e6c3
mov edx, dword [esp + 0x18]
movzx ecx, word [ebp + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jne 0x41e579
cmp byte [ebp + 1], 0
je 0x41e579
mov edx, dword [ebp + 0x20]
lea edi, [esi*4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + edi + 0x80], edx
movzx eax, byte [edx]
movzx ebp, byte [edx + 1]
shl eax, 8
or ebp, eax
movzx eax, byte [edx + 2]
shl ebp, 8
or ebp, eax
movzx eax, byte [edx + 3]
shl ebp, 8
or ebp, eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
call fcn.00418870
movzx eax, ax
mov dword [esp + edi + 0x64], eax
mov eax, dword [esp + 0x2c]
mov byte [eax + 1], 0
jmp 0x41e654
movzx eax, byte [ebp + 1]
lea edi, [esi*4]
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp + 0x40]
add ecx, esi
movzx edx, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
mov ecx, dword [esp + 0x2c]
shl eax, 8
or edx, eax
movzx eax, word [ebp + 0x12]
and edx, eax
add edx, dword [ebp + 0x38]
mov dword [esp + edi + 0x80], edx
movzx eax, byte [edx]
movzx ebp, byte [edx + 1]
shl eax, 8
or ebp, eax
movzx eax, byte [edx + 2]
shl ebp, 8
or ebp, eax
movzx eax, byte [edx + 3]
shl ebp, 8
or ebp, eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
call fcn.00418870
mov edx, dword [esp + 0x28]
movzx ebx, ax
mov dword [esp + edi + 0x64], ebx
test byte [edx + 0x16], 4
je 0x41e632
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + edi + 0x80]
mov ecx, ebp
sub ecx, dword [eax + 0x38]
lea eax, [ebx + ecx]
cmp eax, dword [edx + 0x24]
jg 0x41e689
mov eax, dword [esp + 0x48]
push ebx
add eax, ecx
push ebp
push eax
call fcn.004c9080
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x48]
sub eax, dword [ecx + 0x38]
add eax, ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + edi + 0x80], eax
jmp 0x41e636
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
movzx eax, byte [ecx + 1]
sub edx, eax
push ebx
add edx, esi
call fcn.0041ddc0
mov ebx, dword [esp + 0x40]
add esp, 8
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xc8]
add edi, eax
mov edx, ebp
push 0
push edi
call fcn.00419420
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
test edx, edx
jne 0x41f0ce
mov ebp, dword [esp + 0x2c]
jmp 0x41e4f2
push 0x4fd514
push 0xdbae
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00408a50
lea eax, [esi*4 + 4]
mov ebp, 0xb
push eax
lea eax, [esp + 0xdc]
push 0
push eax
call fcn.004cb700
add esp, 0x1c
jmp 0x41f0ec
mov eax, dword [esp + 0x28]
lea esi, [ebx + 3]
and esi, 0xfffffffc
mov edx, dword [eax + 0x20]
lea eax, [edx + 0x50]
mov ecx, eax
mov dword [esp + 0x3c], eax
imul ecx, dword [esp + 0x20]
lea eax, [esi + esi*2]
add ecx, edx
lea ecx, [ecx + eax*2]
call fcn.00406cc0
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
jne 0x41e6fd
lea ebp, [eax + 7]
jmp 0x41f0ec
mov ecx, dword [esp + 0xc8]
lea ebx, [edi + esi*4]
xor ebp, ebp
mov dword [esp + 0x40], ebx
lea esi, [ebx + esi*2]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x24], esi
movzx eax, byte [ecx + 3]
movzx edi, byte [ecx + 4]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], edi
test eax, eax
jle 0x41e934
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0x20]
add edi, ecx
mov ecx, dword [esp + ebp*4 + 0xc8]
add edi, esi
mov dword [esp + ebp*4 + 0x9c], edi
movdqu xmm0, xmmword [ecx]
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [ecx + 0x10]
movdqu xmmword [edi + 0x10], xmm0
movdqu xmm0, xmmword [ecx + 0x20]
movdqu xmmword [edi + 0x20], xmm0
movdqu xmm0, xmmword [ecx + 0x30]
movdqu xmmword [edi + 0x30], xmm0
movq xmm0, qword [ecx + 0x40]
movq qword [edi + 0x40], xmm0
mov eax, dword [ecx + 0x48]
mov dword [edi + 0x48], eax
lea eax, [edi + 0x4c]
mov dword [edi + 0x38], eax
push dword [edx + 0x20]
push dword [ecx + 0x38]
push eax
call fcn.004c9080
mov cl, byte [edi + 1]
add esp, 0xc
movzx ebp, word [edi + 0x10]
movzx eax, cl
add ebp, eax
mov dword [esp + 0x78], ebp
test cl, cl
je 0x41e830
xor ebx, ebx
test ebp, ebp
jle 0x41e886
movzx eax, byte [edi + 1]
mov ecx, ebx
dec eax
js 0x41e7e2
lea esi, [eax + 0xa]
lea esi, [edi + esi*2]
movzx edx, word [esi]
cmp edx, ecx
jg 0x41e7dc
je 0x41e82a
dec ecx
sub esi, 2
dec eax
jns 0x41e7d2
mov eax, dword [edi + 0x40]
movzx edx, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edx, 8
or edx, eax
movzx eax, word [edi + 0x12]
and edx, eax
add edx, dword [edi + 0x38]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov dword [eax + ecx*4], edx
mov ecx, edi
call fcn.00418870
mov edx, dword [esp + 0x1c]
inc ebx
mov ecx, dword [esp + 0x40]
mov word [ecx + edx*2], ax
inc edx
mov dword [esp + 0x1c], edx
cmp ebx, ebp
jl 0x41e7c3
mov esi, dword [esp + 0x24]
jmp 0x41e88a
mov edx, dword [edi + eax*4 + 0x20]
jmp 0x41e7fc
mov ebx, dword [edi + 0x38]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0xc]
test ebp, ebp
jle 0x41e886
mov ebp, eax
lea esi, [ebx + ecx]
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
mov ecx, dword [esp + 0x1c]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x34]
and edx, ebp
add edx, ebx
mov dword [eax + ecx*4], edx
mov ecx, edi
call fcn.00418870
mov edx, dword [esp + 0x1c]
lea esi, [esi + 2]
mov ecx, dword [esp + 0x40]
mov word [ecx + edx*2], ax
inc edx
dec dword [esp + 0x78]
mov dword [esp + 0x1c], edx
jne 0x41e844
mov esi, dword [esp + 0x24]
jmp 0x41e88a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x54]
dec eax
mov ebx, dword [esp + 0x40]
cmp ebp, eax
jge 0x41e90f
cmp dword [esp + 0x44], 0
jne 0x41e90f
movzx eax, word [esp + ebp*4 + 0x64]
mov ecx, dword [esp + 0x7c]
add esi, ecx
push eax
push dword [esp + ebp*4 + 0x84]
add ecx, eax
mov word [ebx + edx*2], ax
push esi
mov dword [esp + 0x88], ecx
call fcn.004c9080
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
movzx eax, ax
add eax, esi
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x50]
sub word [ebx + edx*2], ax
cmp byte [edi + 3], 0
jne 0x41e8fa
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x41e90a
cmp word [ebx + edx*2], 4
jae 0x41e90a
mov eax, 4
mov word [ebx + edx*2], ax
inc edx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x38]
inc ebp
add ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x38], ecx
cmp ebp, dword [esp + 0x20]
jl 0x41e741
mov edi, dword [esp + 0x44]
jmp 0x41e936
xor edx, edx
mov eax, dword [esp + 0x50]
xor ebp, ebp
movzx esi, ax
xor ecx, ecx
mov eax, dword [esp + 0x28]
add esi, 0xfffffff4
mov eax, dword [eax + 0x24]
add esi, eax
xor eax, eax
test edx, edx
jle 0x41e987
movzx edx, word [ebx + eax*2]
add ecx, 2
add ecx, edx
cmp ecx, esi
jle 0x41e97e
sub ecx, edx
mov dword [esp + ebp*4 + 0x88], eax
mov dword [esp + ebp*4 + 0x64], ecx
test edi, edi
je 0x41e972
dec eax
inc ebp
xor ecx, ecx
cmp ebp, 4
jg 0x41ea1a
mov edx, dword [esp + 0x1c]
inc eax
cmp eax, edx
jl 0x41e953
mov dword [esp + ebp*4 + 0x64], ecx
mov dword [esp + ebp*4 + 0x88], edx
inc ebp
mov dword [esp + 0x3c], ebp
lea ebx, [ebp - 1]
mov ecx, ebx
mov dword [esp + 0x24], ebx
test ecx, ecx
jle 0x41ea61
mov eax, dword [esp + 0x44]
lea esp, [esp]
mov esi, dword [esp + ecx*4 + 0x64]
mov ebx, dword [esp + ecx*4 + 0x60]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + ecx*4 + 0x84]
dec edi
mov edx, edi
sub edx, eax
inc edx
test esi, esi
je 0x41e9f1
cmp dword [esp + 0xe4], 0
jne 0x41ea45
movzx eax, word [ebp + edi*2]
mov ecx, ebx
sub ecx, eax
movzx eax, word [ebp + edx*2]
add eax, 2
sub ecx, 2
add eax, esi
cmp eax, ecx
jg 0x41ea3d
movzx eax, word [ebp + edx*2]
mov ecx, 0xfffffffe
add eax, 2
add esi, eax
movzx eax, word [ebp + edi*2]
sub ecx, eax
mov eax, dword [esp + 0x44]
add ebx, ecx
mov ecx, dword [esp + 0x24]
dec dword [esp + ecx*4 + 0x84]
jmp 0x41e9bc
push 0x4fd514
push 0xdc39
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00408a50
add esp, 0x10
mov ebp, 0xb
jmp 0x41f0ec
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov dword [esp + ecx*4 + 0x64], esi
mov dword [esp + ecx*4 + 0x60], ebx
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jg 0x41e9b0
lea ebx, [ebp - 1]
mov eax, dword [esp + 0xc8]
cmp dword [eax + 0x48], 1
ja 0x41ea91
push 0x4fd514
push 0xdc77
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00408a50
add esp, 0x10
mov ebp, 0xb
jmp 0x41f0ec
mov eax, dword [eax + 0x38]
xor esi, esi
movzx eax, byte [eax]
mov dword [esp + 0x54], eax
test ebp, ebp
jle 0x41eb73
mov edi, dword [esp + 0x60]
lea eax, [esi + 1]
lea esp, [esp]
cmp esi, dword [esp + 0x20]
jge 0x41eaee
mov ecx, dword [esp + esi*4 + 0xc8]
mov dword [esp + esi*4 + 0x64], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + esi*4 + 0xc8], 0
mov ecx, dword [ecx + 0x44]
call fcn.00414300
inc dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41f0e8
jmp 0x41eb65
cmp dword [esp + 0xe4], 0
lea edx, [esp + 0x38]
mov ecx, dword [esp + 0x28]
cmovne edi, eax
lea eax, [esp + 0x5c]
push 0
push edi
push eax
call fcn.0041ccd0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
test edi, edi
jne 0x41f0e8
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + esi*4 + 0x64], edx
cmp byte [ecx + 0x11], al
je 0x41eb61
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 0x48]
push 5
call fcn.004184d0
mov edi, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x10], edi
test edi, edi
jne 0x41f0e8
mov edi, dword [esp + 0x5c]
inc esi
mov eax, 1
cmp esi, ebp
jl 0x41eab0
cmp esi, dword [esp + 0x20]
jge 0x41ec5c
mov eax, dword [esp + 0x10]
mov edi, dword [esp + esi*4 + 0xc8]
test eax, eax
jne 0x41f0e8
push dword [edi + 0x48]
mov ecx, dword [edi + 0x34]
mov edx, edi
call fcn.0041d4f0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41f0e8
test edi, edi
je 0x41ec46
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x41ec46
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x41ebd3
call fcn.00412a70
jmp 0x41ec3b
dec word [ecx + 0x1a]
jne 0x41ec3b
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
test byte [ecx + 0x18], 2
jne 0x41ec0d
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x41ec3b
cmp dword [ecx + 0x14], 1
jne 0x41ebfb
mov dword [eax + 0x2c], 0
push 0
push dword [ecx]
push dword [eax + 0x28]
call dword [0x510fa4]
add esp, 0xc
jmp 0x41ec3b
call fcn.0040e760
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
mov dword [ecx + 0x20], edx
test edx, edx
je 0x41ec21
mov dword [edx + 0x24], ecx
cmp dword [eax + 4], 0
mov dword [eax], ecx
jne 0x41ec2c
mov dword [eax + 4], ecx
cmp dword [eax + 8], 0
jne 0x41ec3b
test byte [ecx + 0x18], 4
jne 0x41ec3b
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.00413b70
mov eax, dword [esp + 0x10]
mov dword [esp + esi*4 + 0xc8], 0
inc esi
cmp esi, dword [esp + 0x20]
jl 0x41eb81
xor edi, edi
test ebx, ebx
jle 0x41ecb1
mov eax, dword [esp + edi*4 + 0x64]
lea ebx, [edi + 1]
mov dword [esp + 0x3c], eax
mov esi, edi
mov ecx, ebx
mov edx, dword [eax + 0x48]
cmp ebx, ebp
jge 0x41eca8
jmp 0x41ec80
mov eax, dword [esp + ecx*4 + 0x64]
mov eax, dword [eax + 0x48]
cmp eax, edx
jae 0x41ec8f
mov esi, ecx
mov edx, eax
inc ecx
cmp ecx, ebp
jl 0x41ec80
cmp esi, edi
jle 0x41eca8
mov eax, dword [esp + esi*4 + 0x64]
mov dword [esp + edi*4 + 0x64], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + esi*4 + 0x64], eax
mov edi, ebx
lea eax, [ebp - 1]
cmp edi, eax
jl 0x41ec62
mov ebx, dword [esp + 0x30]
xor edi, edi
mov esi, dword [esp + 0x58]
xor ebp, ebp
mov edx, dword [esp + ebx*4 + 0x60]
mov dword [esp + 0x3c], edx
mov ecx, dword [edx + 0x48]
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov byte [esi + 3], cl
test ebx, ebx
jle 0x41ee0f
lea ebx, [ebx]
mov ebx, dword [esp + ebp*4 + 0x64]
mov ecx, ebx
mov edx, dword [esp + 0x54]
call fcn.004192a0
mov eax, dword [esp + 0x40]
mov ecx, ebx
mov esi, dword [esp + ebp*4 + 0x88]
mov edx, esi
sub edx, edi
lea eax, [eax + edi*2]
push eax
mov eax, dword [esp + 0x38]
lea eax, [eax + edi*4]
push eax
call fcn.0041e070
mov edi, esi
add esp, 8
cmp edi, dword [esp + 0x1c]
jge 0x41ee00
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
movzx edx, bx
mov ebx, dword [esp + ebp*4 + 0x64]
mov esi, dword [eax + edi*4]
mov eax, dword [esp + 0x40]
movzx ecx, word [eax + edi*2]
mov eax, dword [esp + 0x48]
add edx, ecx
add eax, dword [esp + 0x4c]
cmp byte [ebx + 3], 0
mov dword [esp + 0x24], eax
jne 0x41ed68
mov ecx, dword [ebx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x41edc5
cmp dword [esp + 0x44], 0
je 0x41edaf
lea eax, [esp + 0xa8]
dec edi
push eax
mov eax, dword [esp + 0x38]
mov ecx, ebx
mov edx, dword [eax + edi*4]
call fcn.00418730
mov eax, dword [esp + 0x28]
add esp, 4
mov esi, eax
push dword [esp + 0xac]
lea ecx, [eax + 4]
push dword [esp + 0xac]
call fcn.00409fc0
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x41edc9
sub esi, 4
cmp ecx, 4
jne 0x41edc9
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.00418870
movzx edx, ax
mov eax, dword [esp + 0x24]
add dword [esp + 0x4c], edx
lea ecx, [esp + 0x14]
push ecx
push dword [ebx + 0x48]
mov ecx, dword [esp + 0x34]
push eax
push edx
push esi
mov esi, dword [esp + 0x2c]
mov edx, esi
call fcn.0041dea0
mov ebx, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x41f0e8
inc edi
inc esi
mov dword [esp + 0x18], esi
inc ebp
cmp ebp, dword [esp + 0x30]
jl 0x41ecf0
mov edx, dword [esp + 0x3c]
test byte [esp + 0x54], 8
jne 0x41ee2d
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + 0x38]
mov eax, dword [esp + eax*4 + 0x98]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
cmp dword [esp + 0xe0], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], edx
je 0x41ee8c
mov ecx, dword [esp + 0x2c]
cmp word [ecx + 0x10], 0
jne 0x41ee8c
movzx eax, byte [ecx + 5]
cmp ax, word [edx + 0xe]
ja 0x41ee8c
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x14]
mov edx, ecx
mov ecx, ebx
push eax
call fcn.0041e300
mov ebp, dword [esp + 0x18]
add esp, 4
test ebp, ebp
jne 0x41f0ec
push dword [ebx + 0x48]
mov ecx, dword [ebx + 0x34]
mov edx, ebx
call fcn.0041d4f0
add esp, 4
mov ebp, eax
jmp 0x41f0ec
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11], 0
je 0x41f0e8
mov ebp, dword [esp + 0x9c]
movzx eax, byte [ebp + 1]
movzx esi, word [ebp + 0x10]
add esi, eax
mov dword [esp + 0x4c], eax
test eax, eax
je 0x41eeb9
movzx edi, word [ebp + 0x14]
jmp 0x41eebc
or edi, 0xffffffff
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
test ecx, ecx
jle 0x41f075
mov dword [esp + 0x38], eax
xor ecx, ecx
cmp ebx, esi
jne 0x41ef28
cmp dword [esp + 0x44], ecx
sete cl
jmp 0x41eef0
mov ebp, dword [esp + eax*4 + 0xa0]
inc eax
mov dword [esp + 0x48], eax
mov al, byte [ebp + 1]
movzx esi, word [ebp + 0x10]
add esi, ecx
movzx edx, al
add esi, edx
add esi, ebx
test al, al
je 0x41ef1c
movzx edi, word [ebp + 0x14]
add edi, ecx
mov dword [esp + 0x4c], edx
add edi, ebx
mov eax, dword [esp + 0x48]
cmp ebx, esi
je 0x41eef0
mov edx, dword [esp + 0x18]
cmp ebx, edi
jne 0x41ef3f
mov eax, dword [esp + 0x4c]
mov ecx, 1
dec eax
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x41ef3f
inc edi
mov eax, dword [esp + 0x38]
cmp ebx, dword [esp + eax + 0x88]
jne 0x41ef6f
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
shl eax, 2
cmp dword [esp + 0x44], 0
mov dword [esp + 0x38], eax
mov edx, dword [esp + eax + 0x64]
mov dword [esp + 0x18], edx
je 0x41f066
test ecx, ecx
jne 0x41ef7f
mov eax, dword [ebp + 0x48]
cmp eax, dword [edx + 0x48]
je 0x41f066
cmp word [esp + 0x50], 0
jne 0x41efd0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + ebx*4]
lea eax, [esp + 0x14]
push eax
push dword [edx + 0x48]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x30]
shl edx, 8
push 5
or edx, eax
call fcn.004184d0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
jmp 0x41efd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ax, word [eax + ebx*2]
cmp ax, word [edx + 0xa]
jbe 0x41f066
mov eax, dword [esp + 0x34]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x41f066
lea ecx, [esp + 0xa8]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00418730
mov ax, word [esp + 0xc4]
add esp, 4
test ax, ax
je 0x41f062
movzx ecx, ax
lea eax, [esp + 0x14]
add ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1c]
movzx edx, byte [ecx + 1]
push dword [eax + 0x48]
movzx eax, byte [ecx]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x20]
push 3
mov ecx, dword [eax + 0x34]
call fcn.004184d0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x41eed8
cmp word [esp + 0x50], 0
jne 0x41f0e8
mov ebx, dword [esp + 0x30]
xor esi, esi
test ebx, ebx
jle 0x41f0e8
mov eax, dword [esp + esi*4 + 0x64]
lea edx, [esp + 0x14]
push edx
mov ecx, dword [eax + 0x38]
push dword [eax + 0x48]
push 5
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
mov ecx, dword [esp + 0x34]
shl edx, 8
or edx, eax
call fcn.004184d0
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x41f087
mov ebp, dword [esp + 0x14]
jmp 0x41f0ec
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.004cb700
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
call fcn.00406de0
mov edi, dword [esp + 0x20]
xor esi, esi
test edi, edi
jle 0x41f20e
jmp 0x41f110
mov ecx, dword [esp + esi*4 + 0xc8]
test ecx, ecx
je 0x41f205
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x41f205
test byte [ecx + 0x18], 0x40
mov ebx, dword [ecx + 0x10]
je 0x41f13d
call fcn.00412a70
jmp 0x41f1fe
dec word [ecx + 0x1a]
jne 0x41f1fe
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
test byte [ecx + 0x18], 2
jne 0x41f17f
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x41f1fe
cmp dword [ecx + 0x14], 1
jne 0x41f16d
mov dword [eax + 0x2c], 0
push 0
push dword [ecx]
push dword [eax + 0x28]
call dword [0x510fa4]
add esp, 0xc
jmp 0x41f1fe
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 8], ecx
jne 0x41f1a0
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x41f19d
mov edi, edi
test byte [eax + 0x18], 4
je 0x41f19d
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x41f190
mov dword [edx + 8], eax
mov edi, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
test edi, edi
je 0x41f1af
mov dword [edi + 0x24], eax
jmp 0x41f1b2
mov dword [edx + 4], eax
mov edi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x20]
test edi, edi
je 0x41f1c1
mov dword [edi + 0x20], eax
jmp 0x41f1c3
mov dword [edx], eax
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov edx, dword [eax]
mov dword [ecx + 0x20], edx
test edx, edx
je 0x41f1e0
mov dword [edx + 0x24], ecx
cmp dword [eax + 4], 0
mov dword [eax], ecx
jne 0x41f1eb
mov dword [eax + 4], ecx
cmp dword [eax + 8], 0
mov edi, dword [esp + 0x20]
jne 0x41f1fe
test byte [ecx + 0x18], 4
jne 0x41f1fe
mov dword [eax + 8], ecx
mov ecx, ebx
call fcn.00413b70
inc esi
cmp esi, edi
jl 0x41f110
mov edi, dword [esp + 0x30]
xor esi, esi
test edi, edi
jle 0x41f31e
lea esp, [esp]
mov eax, dword [esp + esi*4 + 0x64]
test eax, eax
je 0x41f315
mov eax, dword [eax + 0x44]
test eax, eax
je 0x41f315
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x41f24c
mov ecx, eax
call fcn.00412a70
jmp 0x41f30e
dec word [eax + 0x1a]
jne 0x41f30e
mov ecx, dword [eax + 0x1c]
dec dword [ecx + 0xc]
test byte [eax + 0x18], 2
jne 0x41f291
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], 0
je 0x41f30e
cmp dword [eax + 0x14], 1
jne 0x41f27c
mov dword [ecx + 0x2c], 0
push 0
push dword [eax]
push dword [ecx + 0x28]
call dword [0x510fa4]
add esp, 0xc
jmp 0x41f30e
mov edx, dword [eax + 0x1c]
cmp dword [edx + 8], eax
jne 0x41f2b0
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x41f2ad
test byte [ecx + 0x18], 4
je 0x41f2ad
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x41f2a0
mov dword [edx + 8], ecx
mov edi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
test edi, edi
je 0x41f2bf
mov dword [edi + 0x24], ecx
jmp 0x41f2c2
mov dword [edx + 4], ecx
mov edi, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
test edi, edi
je 0x41f2d1
mov dword [edi + 0x20], ecx
jmp 0x41f2d3
mov dword [edx], ecx
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov ecx, dword [edx]
mov dword [eax + 0x20], ecx
test ecx, ecx
je 0x41f2f0
mov dword [ecx + 0x24], eax
cmp dword [edx + 4], 0
mov dword [edx], eax
jne 0x41f2fb
mov dword [edx + 4], eax
cmp dword [edx + 8], 0
mov edi, dword [esp + 0x30]
jne 0x41f30e
test byte [eax + 0x18], 4
jne 0x41f30e
mov dword [edx + 8], eax
mov ecx, ebx
call fcn.00413b70
inc esi
cmp esi, edi
jl 0x41f220
mov eax, ebp
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c4eaf
add esp, 0xc8
ret