Function at 0x41eb50
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 0x41eba6
lea eax, [ecx + 7]
jmp 0x41faa0
movzx edi, word [ebp + 0x10]
movzx ecx, byte [ebp + 1]
lea esi, [ecx + edi]
cmp esi, 2
jge 0x41ebba
xor edx, edx
jmp 0x41ebdf
test edx, edx
je 0x41ebd1
cmp edx, esi
jne 0x41ebd0
mov eax, dword [esp + 0xe4]
lea edx, [eax - 2]
add edx, esi
jmp 0x41ebd8
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 0x41ec03
mov edx, dword [ebp + 0x38]
movzx ecx, byte [ebp + 5]
add edx, 8
add edx, ecx
jmp 0x41ec1d
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.00419ba0
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41f84e
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 0x41ee43
mov edx, dword [esp + 0x18]
movzx ecx, word [ebp + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jne 0x41ecf9
cmp byte [ebp + 1], 0
je 0x41ecf9
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.00418ff0
movzx eax, ax
mov dword [esp + edi + 0x64], eax
mov eax, dword [esp + 0x2c]
mov byte [eax + 1], 0
jmp 0x41edd4
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.00418ff0
mov edx, dword [esp + 0x28]
movzx ebx, ax
mov dword [esp + edi + 0x64], ebx
test byte [edx + 0x16], 4
je 0x41edb2
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 0x41ee09
mov eax, dword [esp + 0x48]
push ebx
add eax, ecx
push ebp
push eax
call fcn.004c9320
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 0x41edb6
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.0041e540
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.00419ba0
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
test edx, edx
jne 0x41f84e
mov ebp, dword [esp + 0x2c]
jmp 0x41ec72
push 0x4fd414
push 0xdbae
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004091d0
lea eax, [esi*4 + 4]
mov ebp, 0xb
push eax
lea eax, [esp + 0xdc]
push 0
push eax
call fcn.004cb9a0
add esp, 0x1c
jmp 0x41f86c
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.00407440
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
jne 0x41ee7d
lea ebp, [eax + 7]
jmp 0x41f86c
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 0x41f0b4
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.004c9320
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 0x41efb0
xor ebx, ebx
test ebp, ebp
jle 0x41f006
movzx eax, byte [edi + 1]
mov ecx, ebx
dec eax
js 0x41ef62
lea esi, [eax + 0xa]
lea esi, [edi + esi*2]
movzx edx, word [esi]
cmp edx, ecx
jg 0x41ef5c
je 0x41efaa
dec ecx
sub esi, 2
dec eax
jns 0x41ef52
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.00418ff0
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 0x41ef43
mov esi, dword [esp + 0x24]
jmp 0x41f00a
mov edx, dword [edi + eax*4 + 0x20]
jmp 0x41ef7c
mov ebx, dword [edi + 0x38]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0xc]
test ebp, ebp
jle 0x41f006
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.00418ff0
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 0x41efc4
mov esi, dword [esp + 0x24]
jmp 0x41f00a
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 0x41f08f
cmp dword [esp + 0x44], 0
jne 0x41f08f
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.004c9320
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 0x41f07a
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x41f08a
cmp word [ebx + edx*2], 4
jae 0x41f08a
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 0x41eec1
mov edi, dword [esp + 0x44]
jmp 0x41f0b6
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 0x41f107
movzx edx, word [ebx + eax*2]
add ecx, 2
add ecx, edx
cmp ecx, esi
jle 0x41f0fe
sub ecx, edx
mov dword [esp + ebp*4 + 0x88], eax
mov dword [esp + ebp*4 + 0x64], ecx
test edi, edi
je 0x41f0f2
dec eax
inc ebp
xor ecx, ecx
cmp ebp, 4
jg 0x41f19a
mov edx, dword [esp + 0x1c]
inc eax
cmp eax, edx
jl 0x41f0d3
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 0x41f1e1
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 0x41f171
cmp dword [esp + 0xe4], 0
jne 0x41f1c5
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 0x41f1bd
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 0x41f13c
push 0x4fd414
push 0xdc39
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004091d0
add esp, 0x10
mov ebp, 0xb
jmp 0x41f86c
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 0x41f130
lea ebx, [ebp - 1]
mov eax, dword [esp + 0xc8]
cmp dword [eax + 0x48], 1
ja 0x41f211
push 0x4fd414
push 0xdc77
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004091d0
add esp, 0x10
mov ebp, 0xb
jmp 0x41f86c
mov eax, dword [eax + 0x38]
xor esi, esi
movzx eax, byte [eax]
mov dword [esp + 0x54], eax
test ebp, ebp
jle 0x41f2f3
mov edi, dword [esp + 0x60]
lea eax, [esi + 1]
lea esp, [esp]
cmp esi, dword [esp + 0x20]
jge 0x41f26e
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.00414a80
inc dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41f868
jmp 0x41f2e5
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.0041d450
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
test edi, edi
jne 0x41f868
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 0x41f2e1
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 0x48]
push 5
call fcn.00418c50
mov edi, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x10], edi
test edi, edi
jne 0x41f868
mov edi, dword [esp + 0x5c]
inc esi
mov eax, 1
cmp esi, ebp
jl 0x41f230
cmp esi, dword [esp + 0x20]
jge 0x41f3dc
mov eax, dword [esp + 0x10]
mov edi, dword [esp + esi*4 + 0xc8]
test eax, eax
jne 0x41f868
push dword [edi + 0x48]
mov ecx, dword [edi + 0x34]
mov edx, edi
call fcn.0041dc70
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41f868
test edi, edi
je 0x41f3c6
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x41f3c6
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x41f353
call fcn.004131f0
jmp 0x41f3bb
dec word [ecx + 0x1a]
jne 0x41f3bb
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
test byte [ecx + 0x18], 2
jne 0x41f38d
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x41f3bb
cmp dword [ecx + 0x14], 1
jne 0x41f37b
mov dword [eax + 0x2c], 0
push 0
push dword [ecx]
push dword [eax + 0x28]
call dword [0x510fa4]
add esp, 0xc
jmp 0x41f3bb
call fcn.0040eee0
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
mov dword [ecx + 0x20], edx
test edx, edx
je 0x41f3a1
mov dword [edx + 0x24], ecx
cmp dword [eax + 4], 0
mov dword [eax], ecx
jne 0x41f3ac
mov dword [eax + 4], ecx
cmp dword [eax + 8], 0
jne 0x41f3bb
test byte [ecx + 0x18], 4
jne 0x41f3bb
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.004142f0
mov eax, dword [esp + 0x10]
mov dword [esp + esi*4 + 0xc8], 0
inc esi
cmp esi, dword [esp + 0x20]
jl 0x41f301
xor edi, edi
test ebx, ebx
jle 0x41f431
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 0x41f428
jmp 0x41f400
mov eax, dword [esp + ecx*4 + 0x64]
mov eax, dword [eax + 0x48]
cmp eax, edx
jae 0x41f40f
mov esi, ecx
mov edx, eax
inc ecx
cmp ecx, ebp
jl 0x41f400
cmp esi, edi
jle 0x41f428
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 0x41f3e2
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 0x41f58f
lea ebx, [ebx]
mov ebx, dword [esp + ebp*4 + 0x64]
mov ecx, ebx
mov edx, dword [esp + 0x54]
call fcn.00419a20
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.0041e7f0
mov edi, esi
add esp, 8
cmp edi, dword [esp + 0x1c]
jge 0x41f580
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 0x41f4e8
mov ecx, dword [ebx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x41f545
cmp dword [esp + 0x44], 0
je 0x41f52f
lea eax, [esp + 0xa8]
dec edi
push eax
mov eax, dword [esp + 0x38]
mov ecx, ebx
mov edx, dword [eax + edi*4]
call fcn.00418eb0
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.0040a740
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x41f549
sub esi, 4
cmp ecx, 4
jne 0x41f549
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.00418ff0
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.0041e620
mov ebx, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x41f868
inc edi
inc esi
mov dword [esp + 0x18], esi
inc ebp
cmp ebp, dword [esp + 0x30]
jl 0x41f470
mov edx, dword [esp + 0x3c]
test byte [esp + 0x54], 8
jne 0x41f5ad
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 0x41f60c
mov ecx, dword [esp + 0x2c]
cmp word [ecx + 0x10], 0
jne 0x41f60c
movzx eax, byte [ecx + 5]
cmp ax, word [edx + 0xe]
ja 0x41f60c
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x14]
mov edx, ecx
mov ecx, ebx
push eax
call fcn.0041ea80
mov ebp, dword [esp + 0x18]
add esp, 4
test ebp, ebp
jne 0x41f86c
push dword [ebx + 0x48]
mov ecx, dword [ebx + 0x34]
mov edx, ebx
call fcn.0041dc70
add esp, 4
mov ebp, eax
jmp 0x41f86c
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x11], 0
je 0x41f868
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 0x41f639
movzx edi, word [ebp + 0x14]
jmp 0x41f63c
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 0x41f7f5
mov dword [esp + 0x38], eax
xor ecx, ecx
cmp ebx, esi
jne 0x41f6a8
cmp dword [esp + 0x44], ecx
sete cl
jmp 0x41f670
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 0x41f69c
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 0x41f670
mov edx, dword [esp + 0x18]
cmp ebx, edi
jne 0x41f6bf
mov eax, dword [esp + 0x4c]
mov ecx, 1
dec eax
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x41f6bf
inc edi
mov eax, dword [esp + 0x38]
cmp ebx, dword [esp + eax + 0x88]
jne 0x41f6ef
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 0x41f7e6
test ecx, ecx
jne 0x41f6ff
mov eax, dword [ebp + 0x48]
cmp eax, dword [edx + 0x48]
je 0x41f7e6
cmp word [esp + 0x50], 0
jne 0x41f750
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.00418c50
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
jmp 0x41f754
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ax, word [eax + ebx*2]
cmp ax, word [edx + 0xa]
jbe 0x41f7e6
mov eax, dword [esp + 0x34]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x41f7e6
lea ecx, [esp + 0xa8]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00418eb0
mov ax, word [esp + 0xc4]
add esp, 4
test ax, ax
je 0x41f7e2
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.00418c50
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 0x41f658
cmp word [esp + 0x50], 0
jne 0x41f868
mov ebx, dword [esp + 0x30]
xor esi, esi
test ebx, ebx
jle 0x41f868
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.00418c50
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x41f807
mov ebp, dword [esp + 0x14]
jmp 0x41f86c
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.004cb9a0
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
call fcn.00407560
mov edi, dword [esp + 0x20]
xor esi, esi
test edi, edi
jle 0x41f98e
jmp 0x41f890
mov ecx, dword [esp + esi*4 + 0xc8]
test ecx, ecx
je 0x41f985
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x41f985
test byte [ecx + 0x18], 0x40
mov ebx, dword [ecx + 0x10]
je 0x41f8bd
call fcn.004131f0
jmp 0x41f97e
dec word [ecx + 0x1a]
jne 0x41f97e
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
test byte [ecx + 0x18], 2
jne 0x41f8ff
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x41f97e
cmp dword [ecx + 0x14], 1
jne 0x41f8ed
mov dword [eax + 0x2c], 0
push 0
push dword [ecx]
push dword [eax + 0x28]
call dword [0x510fa4]
add esp, 0xc
jmp 0x41f97e
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 8], ecx
jne 0x41f920
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x41f91d
mov edi, edi
test byte [eax + 0x18], 4
je 0x41f91d
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x41f910
mov dword [edx + 8], eax
mov edi, dword [ecx + 0x20]
mov eax, dword [ecx + 0x24]
test edi, edi
je 0x41f92f
mov dword [edi + 0x24], eax
jmp 0x41f932
mov dword [edx + 4], eax
mov edi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x20]
test edi, edi
je 0x41f941
mov dword [edi + 0x20], eax
jmp 0x41f943
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 0x41f960
mov dword [edx + 0x24], ecx
cmp dword [eax + 4], 0
mov dword [eax], ecx
jne 0x41f96b
mov dword [eax + 4], ecx
cmp dword [eax + 8], 0
mov edi, dword [esp + 0x20]
jne 0x41f97e
test byte [ecx + 0x18], 4
jne 0x41f97e
mov dword [eax + 8], ecx
mov ecx, ebx
call fcn.004142f0
inc esi
cmp esi, edi
jl 0x41f890
mov edi, dword [esp + 0x30]
xor esi, esi
test edi, edi
jle 0x41fa9e
lea esp, [esp]
mov eax, dword [esp + esi*4 + 0x64]
test eax, eax
je 0x41fa95
mov eax, dword [eax + 0x44]
test eax, eax
je 0x41fa95
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x41f9cc
mov ecx, eax
call fcn.004131f0
jmp 0x41fa8e
dec word [eax + 0x1a]
jne 0x41fa8e
mov ecx, dword [eax + 0x1c]
dec dword [ecx + 0xc]
test byte [eax + 0x18], 2
jne 0x41fa11
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], 0
je 0x41fa8e
cmp dword [eax + 0x14], 1
jne 0x41f9fc
mov dword [ecx + 0x2c], 0
push 0
push dword [eax]
push dword [ecx + 0x28]
call dword [0x510fa4]
add esp, 0xc
jmp 0x41fa8e
mov edx, dword [eax + 0x1c]
cmp dword [edx + 8], eax
jne 0x41fa30
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x41fa2d
test byte [ecx + 0x18], 4
je 0x41fa2d
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x41fa20
mov dword [edx + 8], ecx
mov edi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
test edi, edi
je 0x41fa3f
mov dword [edi + 0x24], ecx
jmp 0x41fa42
mov dword [edx + 4], ecx
mov edi, dword [eax + 0x24]
mov ecx, dword [eax + 0x20]
test edi, edi
je 0x41fa51
mov dword [edi + 0x20], ecx
jmp 0x41fa53
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 0x41fa70
mov dword [ecx + 0x24], eax
cmp dword [edx + 4], 0
mov dword [edx], eax
jne 0x41fa7b
mov dword [edx + 4], eax
cmp dword [edx + 8], 0
mov edi, dword [esp + 0x30]
jne 0x41fa8e
test byte [eax + 0x18], 4
jne 0x41fa8e
mov dword [edx + 8], eax
mov ecx, ebx
call fcn.004142f0
inc esi
cmp esi, edi
jl 0x41f9a0
mov eax, ebp
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 0xc8
ret