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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x18], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [edx]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], 0
movlpd qword [esp + 0x54], xmm0
push edi
movzx edi, ax
test esi, esi
je 0x49efbe
xor edx, edx
cmp dword [esi], 0x40
cmovge esi, edx
mov dword [esp + 0x1c], esi
mov dl, byte [ecx + 0x44]
and eax, 0xfeff
movzx ecx, ax
test dl, 0x10
mov eax, edi
mov dword [esp + 0x50], esi
cmove ecx, eax
movzx eax, cx
mov ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x49f012
push 0x40
push str.at_most__d_tables_in_a_join
push dword [esp + 0x2c]
call fcn.00413380
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x30]
shl eax, 4
mov dword [esp + 0x38], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x40], eax
add eax, 0x48
push eax
call fcn.00410430
mov ecx, dword [esp + 0x34]
add esp, 8
mov edi, eax
mov dword [esp + 0x30], edi
cmp byte [ecx + 0x49], 0
je 0x49f147
test edi, edi
je 0x49f4e0
cmp dword [ecx + 0x1d0], 0
je 0x49f08a
mov edx, edi
call fcn.0040ffa0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
cmp edi, dword [ecx + 0x128]
jb 0x49f0be
cmp edi, dword [ecx + 0x12c]
jae 0x49f0be
mov eax, dword [ecx + 0x124]
mov dword [edi], eax
xor eax, eax
mov dword [ecx + 0x124], edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
cmp dword [0x4d9a98], 0
je 0x49f127
mov eax, dword [0x4defd8]
test eax, eax
je 0x49f0da
push eax
call dword [0x4d9af4]
add esp, 4
push edi
call dword [0x4d9ad0]
sub dword [0x4dede0], eax
add esp, 4
dec dword [0x4dee04]
push edi
call dword [0x4d9ac8]
mov eax, dword [0x4defd8]
add esp, 4
test eax, eax
je 0x49f4e0
push eax
call dword [0x4d9afc]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push edi
call dword [0x4d9ac8]
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [esp + 8]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [edi], edx
mov dword [edi + 8], esi
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x18], 0xffffffff
mov byte [edi + 0x2e], al
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov esi, dword [ecx + 0x44]
lea eax, [esi + 1]
mov dword [ecx + 0x44], eax
lea eax, [esi - 1]
add ecx, 0x48
test esi, eax
jne 0x49f1bf
mov edx, dword [ecx]
lea eax, [esi*8 + 4]
push 0
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
call fcn.00410620
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, dword [esp + 0x24]
add ecx, 0x48
mov dword [ecx], eax
mov eax, dword [ecx]
test eax, eax
je 0x49f1cc
mov dword [eax + esi*4], 0xffffffff
mov ecx, dword [esp + 0x28]
not esi
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov word [edi + 0x14], ax
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov word [edi + 0x2c], cx
mov eax, dword [edx + 0x84]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x34]
add eax, 0x48
push eax
movups xmmword [edi + 0x2f], xmm0
lea eax, [edi + 0x2f0]
push 0
movups xmmword [edi + 0x3f], xmm0
push eax
mov byte [edi + 0x4f], 0
call fcn.004ad600
mov ecx, dword [esp + 0x48]
lea eax, [edi + 0x1e8]
add ecx, edi
mov dword [esp + 0x40], eax
lea edx, [edi + 0x50]
mov dword [esp + 0x54], edi
add esp, 0xc
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea eax, [edx + 0x18]
mov dword [edi + 0x1ec], 0
mov dword [edx + 0x14], eax
mov eax, dword [esp + 8]
mov esi, eax
mov dword [edx], edi
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 8
test eax, eax
je 0x49f2a4
mov eax, dword [esi + 4]
test eax, 0x1000
je 0x49f2a0
test eax, 0x40000
je 0x49f299
mov eax, dword [esi + 0x14]
mov esi, dword [eax + 4]
jmp 0x49f29c
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49f280
mov eax, dword [esp + 8]
mov byte [edx + 8], 0x2c
test esi, esi
je 0x49f2dc
cmp byte [esi], 0x2c
lea ecx, [edi + 0x50]
je 0x49f2bf
push 0
mov edx, eax
call fcn.00495f10
jmp 0x49f2d9
mov edx, dword [esi + 0xc]
push 0x2c
call fcn.00498780
mov edx, dword [esi + 0x10]
lea ecx, [edi + 0x50]
add esp, 4
push 0x2c
call fcn.00498780
add esp, 4
cmp dword [esp + 0x38], 0
jne 0x49f304
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49f2f0
mov al, byte [eax]
mov byte [edi + 0x2f], al
test dword [esp + 0x28], 0x100
mov ecx, dword [esp + 0x20]
je 0x49f358
mov byte [edi + 0x33], 1
jmp 0x49f358
mov esi, dword [esp + 0x20]
lea edx, [edi + 0x50]
mov edi, dword [esp + 0x34]
add esi, 8
mov dword [esp + 8], 0
mov dword [esp + 0x3c], edx
nop
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x30]
push edx
mov edx, esi
mov dword [edi + ecx*4 + 8], eax
mov ecx, dword [esp + 0x28]
inc dword [edi + 4]
call fcn.00498c10
mov eax, dword [esp + 0xc]
add esp, 4
mov ecx, dword [esp + 0x20]
inc eax
mov edx, dword [esp + 0x3c]
add esi, 0x50
mov dword [esp + 8], eax
cmp eax, dword [ecx]
jl 0x49f320
mov edi, dword [esp + 0x30]
mov esi, dword [edi + 0x5c]
lea eax, [edi + 0x50]
sub esi, 1
mov dword [esp + 0x34], eax
js 0x49f388
mov edi, eax
nop dword [eax]
push esi
mov edx, edi
call fcn.004974a0
mov ecx, dword [esp + 0x24]
add esp, 4
sub esi, 1
jns 0x49f370
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x49], 0
jne 0x49f4c8
cmp dword [edi + 0x5c], 0
lea esi, [edi + 0x50]
mov dword [esp + 0x10], 0
jle 0x49f437
xor eax, eax
mov dword [esp + 8], eax
mov esi, dword [esi + 0x14]
add esi, eax
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x49f419
cmp dword [esp + 0x38], eax
je 0x49f401
mov edx, dword [esi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], eax
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], 0x49ef20
mov dword [esp + 0x68], 0x44dc40
test edx, edx
je 0x49f401
lea ecx, [esp + 0x60]
call fcn.00448c90
cmp byte [esp + 0x74], 0
je 0x49f419
push 0x10
push dword [edi + 0x24]
push dword [esi]
push dword [esp + 0x30]
call fcn.004543c0
add esp, 0x10
or word [esi + 0xa], 4
mov eax, dword [esp + 0x10]
lea esi, [edi + 0x50]
add dword [esp + 8], 0x30
inc eax
cmp eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
jl 0x49f3b1
test dword [esp + 0x28], 0x100
mov esi, dword [esp + 0x18]
je 0x49f477
mov edx, dword [esp + 0x20]
lea eax, [edi + 0x50]
mov ecx, dword [esp + 0x24]
push esi
push eax
call fcn.00499360
add esp, 8
test eax, eax
je 0x49f464
mov byte [edi + 0x33], 1
jmp 0x49f477
cmp dword [esp + 0x1c], 0
jne 0x49f477
mov eax, 0x80
mov dword [edi + 8], esi
or word [edi + 0x2c], ax
cmp dword [esp + 0x38], 1
jne 0x49f48b
lea ecx, [esp + 0x48]
call fcn.0049ed10
test eax, eax
jne 0x49f4f6
lea ecx, [esp + 0x48]
call fcn.0049d880
test eax, eax
jne 0x49f4c8
xor edx, edx
mov ecx, edi
call fcn.0049e340
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x49], 0
jne 0x49f4c8
cmp dword [edi + 8], 0
je 0x49f500
movzx edx, word [edi + 0x48]
mov ecx, edi
inc dx
call fcn.0049e340
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x49], 0
je 0x49f4fa
mov esi, dword [esp + 0x24]
mov edx, edi
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x84], eax
call fcn.0049aab0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
cmp dword [edi + 8], 0
jne 0x49f517
test dword [eax + 0x1c], 0x1000
je 0x49f517
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0xffffffff
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x24], 0
jne 0x49f4c8
cmp byte [eax + 0x49], 0
jne 0x49f4c8
cmp byte [edi + 0x2e], 2
jb 0x49f703
test esi, esi
je 0x49f703
mov ecx, pe_nt_image_headers32
test word [eax + 0x44], cx
jne 0x49f703
cmp dword [esi], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
jle 0x49f5af
lea ecx, [esi + 4]
mov dword [esp + 0x1c], ecx
lea esi, [edi + 0x1e8]
nop dword [eax + eax]
mov edx, dword [ecx]
mov ecx, esi
call fcn.00498a00
or dword [esp + 0x10], eax
or dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x18
mov dword [esp + 8], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [edx]
jl 0x49f580
jmp 0x49f5b5
lea esi, [edi + 0x1e8]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x49f627
cmp dword [eax], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
jle 0x49f617
add eax, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
xor edi, edi
mov dword [esp + 8], edx
mov edx, dword [eax]
mov ecx, esi
call fcn.00498a00
mov ecx, dword [esp + 0x18]
inc edi
or dword [esp + 8], eax
or ecx, edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
add eax, 0x18
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp edi, dword [edx]
jl 0x49f5e4
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x10]
or esi, edx
or dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
jmp 0x49f62b
mov esi, dword [esp + 0x10]
mov al, byte [edi + 0x2e]
cmp al, 2
jb 0x49f703
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 4]
and edx, 0x100
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
nop dword [eax + eax]
movzx eax, al
lea eax, [eax + eax*4]
add eax, eax
mov ecx, dword [edi + eax*8 + 0x2e0]
mov edi, dword [esp + 0x34]
movzx eax, byte [ecx + 0x10]
lea eax, [eax + eax*4]
add eax, eax
test byte [edi + eax*8 + 0x2c], 8
mov edi, dword [esp + 0x30]
je 0x49f703
test dx, dx
jne 0x49f689
test dword [ecx + 0x24], 0x1000
je 0x49f703
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
mov dword [esp + 0x3c], eax
and ecx, esi
mov eax, edx
mov dword [esp + 8], edx
and eax, dword [esp + 0xc]
or ecx, eax
jne 0x49f703
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea esi, [eax + eax*2]
shl esi, 4
add esi, edx
cmp edx, esi
jae 0x49f6e7
nop dword [eax + eax]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x2c]
and ecx, dword [edx + 0x28]
and eax, dword [esp + 8]
or ecx, eax
je 0x49f6da
mov eax, dword [edx]
test byte [eax + 4], 1
je 0x49f6e3
add edx, 0x30
cmp edx, esi
jb 0x49f6c0
jmp 0x49f6e7
cmp edx, esi
jb 0x49f703
mov al, byte [edi + 0x2e]
dec dword [esp + 0x38]
dec al
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov byte [edi + 0x2e], al
cmp al, 2
jae 0x49f650
mov ecx, dword [edi]
movsx eax, word [edi + 0x48]
mov dword [esp + 0x1c], 0
add dword [ecx + 0x84], eax
mov eax, dword [esp + 0x28]
test al, 4
je 0x49f791
mov edx, dword [edi + 0x330]
mov ecx, dword [edx + 0x24]
test ecx, 0x1000
jne 0x49f74c
mov dword [esp + 0x1c], 0
test al, 8
je 0x49f791
mov dword [esp + 0x1c], 0
test ecx, 0x400
jne 0x49f791
mov esi, dword [esp + 0x20]
mov eax, ecx
and eax, 0x1000
mov dword [esp + 0x1c], 0
neg eax
sbb al, al
add al, 2
mov byte [edi + 0x31], al
mov eax, dword [esi + 0x18]
test byte [eax + 0x24], 0x20
jne 0x49f795
mov dword [esp + 0x1c], 0
test cl, 0x40
je 0x49f795
mov eax, dword [esp + 0x28]
and ecx, 0xffffffbf
and eax, 8
mov dword [edx + 0x24], ecx
mov dword [esp + 0x1c], eax
jmp 0x49f795
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x49fc3c
lea eax, [edi + 0x330]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], eax
nop
movzx eax, byte [eax - 0x14]
lea eax, [eax + eax*4]
shl eax, 4
add eax, esi
mov esi, 0xfff0bdc0
mov dword [esp + 8], eax
mov dword [esp + 0x18], esi
mov ecx, dword [eax + 0x18]
mov dword [esp + 0xc], ecx
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x49f804
mov eax, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x18], esi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x49f800
mov eax, dword [eax + 0x10]
add eax, 0xc
nop
cmp dword [eax], edx
je 0x49f7fc
inc esi
add eax, 0x10
cmp esi, ecx
jl 0x49f7f0
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x24], 2
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
jne 0x49fa42
cmp dword [ecx + 0xc], 0
jne 0x49fa42
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x49f924
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x49f84b
mov eax, dword [esp + 0x2c]
nop dword [eax + eax]
cmp dword [esi], eax
je 0x49f84b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x49f840
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x88]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x30], edx
jg 0x49f882
push 0
push 0
push ecx
mov ecx, dword [esp + 0x20]
mov edx, 0x9c
call fcn.00434530
add esp, 0xc
mov edx, eax
jmp 0x49f8c0
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x9c
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 + 0x14]
mov eax, dword [ecx]
cmp byte [eax + 0x49], 0
jne 0x49fa3a
test edx, edx
jns 0x49f8db
mov edx, dword [ecx + 0x88]
dec edx
mov eax, dword [esp + 0x14]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x49f905
mov ecx, dword [esp + 0x14]
mov edx, eax
push 0xfffffffffffffff4
push esi
call fcn.004351e0
add esp, 8
jmp 0x49fa3a
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test esi, esi
je 0x49fa42
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x49fa42
cmp dword [ecx + 0x38], 0
jne 0x49fa42
test al, 0x40
jne 0x49fa25
test byte [esp + 0x28], 0x20
jne 0x49fa25
cmp byte [edi + 0x31], 0
mov ecx, 0x68
je 0x49f95b
mov eax, dword [esp + 8]
mov ecx, 0x69
mov eax, dword [eax + 0x38]
mov dword [edi + 0x18], eax
push ecx
push dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x38]
call fcn.0046ddd0
mov ecx, dword [esp + 0x18]
add esp, 0xc
cmp byte [edi + 0x31], 0
jne 0x49fa02
cmp word [ecx + 0x2a], 0x40
jge 0x49fa02
test byte [ecx + 0x24], 0x20
jne 0x49fa02
mov edx, dword [esi + 0x48]
mov eax, edx
mov ecx, dword [esi + 0x4c]
xor esi, esi
or eax, ecx
je 0x49f9ad
nop dword [eax]
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x49f9a0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
cmp byte [ecx + 0x49], 0
je 0x49f9c9
push esi
mov edx, 0xfffffffd
call fcn.00434fc0
add esp, 4
jmp 0x49f9fe
mov eax, dword [eax + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x58]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x49f9f7
mov ecx, dword [esp + 0x14]
lea edx, [eax - 0x14]
push 0xfffffffffffffffd
push esi
call fcn.004351e0
add esp, 8
jmp 0x49f9fe
mov dword [eax - 4], esi
mov byte [eax - 0x13], 0xfd
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x88]
test eax, eax
jle 0x49fa3e
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x49fa3a
push dword [ecx]
mov edx, esi
push 0
push dword [ecx + 0x1c]
mov ecx, dword [esp + 0x30]
call fcn.0045a4b0
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
test dword [esi + 0x24], 0x200
je 0x49fbea
test byte [ecx + 0x24], 0x20
mov esi, dword [esi + 0x20]
mov dword [esp + 0xc], 0x68
je 0x49fa80
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x28]
jne 0x49fa84
test al, 0x20
je 0x49fa84
mov eax, dword [edx - 0x3c]
mov dword [edx - 0x38], eax
jmp 0x49fbea
mov eax, dword [esp + 0x28]
cmp byte [edi + 0x31], 0
je 0x49fab9
mov eax, dword [esp + 8]
mov edx, dword [ebp + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x49faac
nop dword [eax + eax]
cmp eax, esi
je 0x49faac
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x49faa0
mov dword [esp + 0xc], 0x69
mov dword [edi + 0x1c], edx
jmp 0x49fadf
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x49fad2
test al, 0x20
je 0x49fad2
mov edx, ecx
mov dword [esp + 0xc], 0x67
mov eax, ecx
jmp 0x49fae1
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x28]
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov eax, edx
mov ecx, dword [esp + 0x10]
mov dword [ecx - 0x38], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x49fb1e
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
call fcn.00434530
add esp, 0xc
jmp 0x49fb65
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x88], eax
mov eax, edi
mov edi, dword [esp + 0x30]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov edx, esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x40], eax
call fcn.00463b80
mov esi, eax
test esi, esi
je 0x49fbae
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
cmp byte [ecx + 0x49], 0
je 0x49fb99
push esi
mov edx, 0xfffffff7
call fcn.00434fc0
add esp, 4
jmp 0x49fbae
mov eax, dword [edx + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], esi
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x24]
test al, 0xf
je 0x49fbea
test eax, 0x8002
jne 0x49fbea
test byte [edi + 0x2c], 1
jne 0x49fbea
cmp byte [edi + 0x33], 2
je 0x49fbea
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x88]
test eax, eax
jle 0x49fbea
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x18]
test ecx, ecx
js 0x49fc1e
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x78]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x5c]
test esi, eax
jne 0x49fc1e
bts esi, ecx
mov dword [edx + 0x5c], esi
cmp ecx, 1
jne 0x49fc1e
mov ecx, edx
call fcn.00462f50
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
add eax, 0x50
sub dword [esp + 0x34], 1
mov dword [esp + 0x10], eax
jne 0x49f7b0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x88]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x49], 0
jne 0x49f4c8
xor edx, edx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], edx
test ecx, ecx
jle 0x49fd32
lea esi, [edi + 0x31c]
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
lea ecx, [esi - 0x2c]
mov dword [esp + 0x40], ecx
test dword [eax + 0x24], 0x4000
je 0x49fcd4
movzx eax, byte [esi]
lea edx, [edi + 0x50]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x20]
lea eax, [eax + eax*4]
add ecx, 8
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.004995e0
mov eax, dword [esp + 0x3c]
add esp, 0x10
cmp byte [eax + 0x49], 0
jne 0x49f4c8
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 8]
push dword [esp + 0x28]
movzx eax, byte [esi]
push eax
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004918b0
mov eax, dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x2c]
mov eax, dword [eax + 0x88]
mov dword [esi - 0xc], eax
call fcn.00492eb0
mov ecx, dword [esi - 0x14]
add esp, 0x18
mov dword [esp + 0x30], edx
add esi, 0x50
mov edx, dword [esp + 8]
inc edx
mov dword [esp + 0x18], eax
mov dword [edi + 0x20], ecx
mov dword [esp + 8], edx
cmp edx, dword [esp + 0x38]
jl 0x49fc80
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret