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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x4f3070]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
push edi
mov eax, dword [esi + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x23], 0
mov dword [esp + 0x28], eax
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
test edi, edi
je 0x49aca3
xor ecx, ecx
cmp dword [edi], 0x40
cmovge edi, ecx
mov dword [esp + 0x2c], edi
mov al, byte [eax + 0x4c]
mov ecx, dword [ebp + 0x14]
and al, 0x10
mov byte [esp + 0x3f], al
mov eax, ecx
and eax, 0xfeff
mov dword [esp + 0x68], edi
cmp byte [esp + 0x3f], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x49ad02
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.0041abf0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
imul eax, ecx, 0x58
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x4c], eax
add eax, 0x48
push eax
call fcn.00417970
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], esi
cmp byte [eax + 0x51], 0
je 0x49ad64
mov edx, esi
mov ecx, eax
call fcn.00417620
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi], ecx
mov dword [esi + 8], edi
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov byte [esi + 0x2c], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x24]
mov word [esi + 0x28], ax
mov eax, dword [ebp + 0x18]
mov word [esi + 0x2a], ax
mov eax, dword [ecx + 0x88]
lea ecx, [esi + 0x2f0]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, 0x48
mov dword [esp + 0x54], ecx
push eax
movups xmmword [esi + 0x2d], xmm0
push 0
movups xmmword [esi + 0x3d], xmm0
mov word [esi + 0x4d], 0
push ecx
mov byte [esi + 0x4f], 0
call fcn.004b6f30
mov ecx, dword [esp + 0x54]
lea eax, [esi + 0x50]
add ecx, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x70], eax
lea edx, [esi + 0x1e8]
add esp, 0xc
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1c], edx
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 ecx, [esi + 0x50]
mov dword [edx + 4], 0
lea eax, [ecx + 0x18]
mov edx, dword [esp + 0x38]
push 0x2c
mov dword [esp + 0x64], esi
mov dword [ecx], esi
mov byte [ecx + 9], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], eax
call fcn.00494ac0
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x49ae9d
test edi, edi
je 0x49ae76
mov al, byte [edi]
mov byte [esi + 0x2d], al
test dword [esp + 0x24], 0x100
je 0x49ae84
mov byte [esi + 0x2f], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x18]
call fcn.00439cd0
mov eax, dword [esp + 0x20]
add esp, 0xc
jmp 0x49aee3
mov esi, dword [esp + 0x14]
xor edi, edi
add esi, 8
nop word [eax + eax]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
push dword [esp + 0x40]
mov ecx, dword [edx + 4]
mov dword [edx + ecx*4 + 8], eax
inc dword [edx + 4]
mov edx, esi
mov ecx, dword [esp + 0x14]
call fcn.00494e60
mov eax, dword [esp + 0x18]
inc edi
add esp, 4
add esi, 0x48
cmp edi, dword [eax]
jl 0x49aeb0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov esi, dword [esi + 0xc]
sub esi, 1
js 0x49af0d
mov edi, dword [esp + 0x40]
push esi
mov edx, edi
mov ecx, eax
call fcn.00493ec0
mov eax, dword [esp + 0x18]
add esp, 4
sub esi, 1
jns 0x49aef3
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x51], 0
jne 0x49b02a
mov esi, dword [esp + 0x40]
cmp dword [esi + 0xc], 0
jle 0x49af89
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], ecx
nop dword [eax]
mov esi, dword [esi + 0x14]
add esi, ecx
test byte [esi + 0xa], 2
jne 0x49af74
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x49af74
cmp dword [esp + 0x30], eax
je 0x49af54
mov ecx, dword [esi]
call fcn.0049abd0
test eax, eax
je 0x49af70
mov eax, dword [esp + 0xc]
push 0x10
push dword [eax + 0x20]
push dword [esi]
push dword [esp + 0x1c]
call fcn.00457c40
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
inc edi
add ecx, 0x30
mov dword [esp + 0x18], ecx
cmp edi, dword [esi + 0xc]
jl 0x49af30
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
and eax, 0x100
mov dword [esp + 0x58], eax
je 0x49afd1
push dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
call fcn.004957a0
mov esi, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x49afbb
mov byte [esi + 0x2f], 1
jmp 0x49afd5
test edi, edi
jne 0x49afd5
mov edi, dword [esp + 8]
mov eax, 0x80
or word [esi + 0x28], ax
mov dword [esi + 8], edi
jmp 0x49afd9
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
cmp dword [esp + 0x30], 1
jne 0x49afed
lea ecx, [esp + 0x60]
call fcn.0049a9e0
test eax, eax
jne 0x49b05c
lea ecx, [esp + 0x60]
call fcn.00499450
test eax, eax
jne 0x49b02a
xor edx, edx
mov ecx, esi
call fcn.0049a000
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x51], 0
jne 0x49b02a
cmp dword [esi + 8], 0
je 0x49b066
movzx edx, word [esi + 0x34]
mov ecx, esi
inc dx
call fcn.0049a000
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x51], 0
je 0x49b060
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x88], eax
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.00496ca0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
cmp dword [esi + 8], 0
jne 0x49b081
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x49b081
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x49b02a
cmp byte [ecx + 0x51], 0
jne 0x49b02a
cmp byte [esi + 0x2c], 2
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
jb 0x49b249
test edi, edi
je 0x49b249
mov eax, 0x100
test word [ecx + 0x4c], ax
jne 0x49b249
mov edx, edi
lea ecx, [esi + 0x1e8]
call fcn.00494dd0
mov dword [esp + 8], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
test edx, edx
je 0x49b0f2
lea ecx, [esi + 0x1e8]
call fcn.00494dd0
or dword [esp + 0x18], eax
or dword [esp + 8], edx
movzx edi, byte [esi + 0x2c]
dec edi
mov dword [esp + 0x48], edi
cmp edi, 1
jl 0x49b249
imul eax, edi, 0x58
add eax, 0x348
add eax, esi
mov dword [esp + 0x38], eax
mov edx, dword [eax - 0x10]
mov dword [esp + 0x50], edx
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*8]
add eax, 8
mov dword [esp + 0x5c], eax
test byte [eax + 0x24], 8
je 0x49b230
cmp word [esp + 0x58], 0
jne 0x49b14c
test dword [edx + 0x24], 0x1000
je 0x49b230
mov eax, dword [edx + 8]
mov ecx, eax
mov edx, dword [edx + 0xc]
and ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, edx
and eax, dword [esp + 8]
or ecx, eax
mov dword [esp + 0x4c], edx
jne 0x49b230
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x14]
mov esi, eax
mov ecx, dword [ecx + 0xc]
lea edi, [ecx + ecx*2]
shl edi, 4
add edi, eax
cmp esi, edi
jae 0x49b1be
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and edx, dword [esp + 0x1c]
and ecx, dword [esp + 0x4c]
or edx, ecx
je 0x49b1ad
mov ecx, dword [esi]
test byte [ecx + 4], 1
je 0x49b1b6
mov edx, dword [esp + 0x5c]
movsx ecx, word [ecx + 0x24]
cmp ecx, dword [edx + 0x2c]
jne 0x49b1b6
add esi, 0x30
cmp esi, edi
jb 0x49b186
jmp 0x49b1ba
cmp esi, edi
jb 0x49b228
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
not edx
and dword [esp + 0x2c], edx
not ecx
and dword [esp + 0x44], ecx
cmp eax, edi
jae 0x49b1f2
mov esi, dword [esp + 0x50]
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
and edx, dword [esi + 8]
and ecx, dword [esi + 0xc]
or edx, ecx
je 0x49b1eb
or word [eax + 0xa], 4
add eax, 0x30
cmp eax, edi
jb 0x49b1d6
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x48]
movzx ecx, byte [esi + 0x2c]
lea eax, [ecx - 1]
cmp edi, eax
je 0x49b21f
sub ecx, edi
imul eax, ecx, 0x58
sub eax, 0x58
push eax
mov eax, dword [esp + 0x3c]
push eax
add eax, 0xffffffa8
push eax
call fcn.004b5240
add esp, 0xc
dec byte [esi + 0x2c]
dec dword [esp + 0x30]
jmp 0x49b230
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
dec edi
sub eax, 0x58
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], eax
cmp edi, 1
jge 0x49b112
mov ecx, dword [esi]
movsx eax, word [esi + 0x34]
add dword [ecx + 0x88], eax
test byte [esp + 0x24], 4
je 0x49b2c5
mov eax, dword [esi + 0x338]
mov ecx, dword [eax + 0x24]
mov edx, ecx
shr edx, 0xc
and edx, 1
jne 0x49b291
test byte [esp + 0x24], 8
je 0x49b2c5
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], edx
jne 0x49b2c5
test ecx, 0x2000
je 0x49b291
test byte [esp + 0x24], 0x10
je 0x49b2c5
test edx, edx
mov edx, dword [esp + 0x14]
sete al
inc al
mov byte [esi + 0x2e], al
mov eax, dword [edx + 0x18]
test byte [eax + 0x24], 0x80
jne 0x49b2c9
test cl, 0x40
je 0x49b2c9
mov eax, dword [esi + 0x338]
and ecx, 0xffffffbf
mov dword [eax + 0x24], ecx
mov al, byte [esp + 0x24]
and al, 8
mov byte [esp + 0x23], al
jmp 0x49b2c9
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x49b53b
mov eax, dword [esp + 0x54]
add eax, 0x48
mov dword [esp + 0x38], ecx
mov dword [esp + 8], eax
movzx eax, byte [eax - 0x14]
mov edi, 0xffff8000
lea eax, [eax + eax*8]
lea edx, [edx + eax*8]
add edx, 8
mov dword [esp + 0x18], edx
mov esi, dword [edx + 0x10]
mov dword [esp + 0x54], esi
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x49b320
mov eax, dword [esp + 0x28]
xor edi, edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x49b320
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x49b318
test byte [esi + 0x24], 2
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
jne 0x49b4a0
cmp dword [esi + 0xc], 0
jne 0x49b4a0
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x49b37e
mov eax, dword [esi + 0x40]
test eax, eax
je 0x49b35e
mov ecx, dword [esp + 0x28]
cmp dword [eax], ecx
je 0x49b35e
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x49b353
mov ecx, dword [esp + 0x34]
push 0xfffffffffffffff4
push eax
push 0
push 0
push dword [edx + 0x2c]
mov edx, 0xa6
call fcn.00439ba0
add esp, 0x14
jmp 0x49b49c
cmp dword [esi + 0x38], 0
jne 0x49b4a0
test al, 0x40
jne 0x49b487
test byte [esp + 0x24], 0x20
jne 0x49b487
mov edx, dword [esp + 0xc]
mov ecx, 0x60
cmp byte [edx + 0x2e], 0
je 0x49b3b9
mov eax, dword [esp + 0x18]
mov ecx, 0x61
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push esi
mov edx, dword [eax + 0x2c]
push edi
call fcn.0046f7c0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp byte [eax + 0x2e], 0
jne 0x49b477
cmp word [esi + 0x2a], 0x40
jge 0x49b477
test byte [esi + 0x24], 0xe0
jne 0x49b477
mov eax, dword [esp + 0x18]
xor esi, esi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x49b411
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x49b404
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x49b43b
push esi
mov edx, 0xfffffffd
call fcn.0043a4e0
movzx edx, byte [esp + 0x27]
add esp, 4
mov ecx, dword [esp + 0x34]
call fcn.0043a2a0
jmp 0x49b49c
mov eax, dword [edx + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x49b470
mov ecx, dword [esp + 0x34]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.0043a6e0
movzx edx, byte [esp + 0x2b]
add esp, 8
mov ecx, dword [esp + 0x34]
call fcn.0043a2a0
jmp 0x49b49c
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
movzx edx, byte [esp + 0x23]
mov ecx, dword [esp + 0x34]
call fcn.0043a2a0
jmp 0x49b49c
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.0045eb60
add esp, 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x1c]
test dword [edx + 0x24], 0x200
je 0x49b4e5
mov eax, dword [esp + 0x54]
mov esi, dword [edx + 0x20]
mov edx, 0x60
mov dword [esp + 0x50], esi
test byte [eax + 0x24], 0x80
je 0x49b63c
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x49b63c
test byte [esp + 0x24], 0x20
je 0x49b63c
mov eax, dword [ecx - 0x44]
mov dword [ecx - 0x40], eax
mov esi, dword [esp + 0x10]
test edi, edi
js 0x49b519
mov eax, dword [esi + 0x74]
mov edx, esi
test eax, eax
mov ecx, edi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x49b519
bts esi, edi
mov dword [edx + 0x54], esi
cmp edi, 1
jne 0x49b519
mov ecx, edx
call fcn.00466380
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
add eax, 0x58
sub dword [esp + 0x38], 1
mov dword [esp + 8], eax
jne 0x49b2e4
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x51], 0
jne 0x49b02a
mov dword [esp + 0x1c], 0
test ecx, ecx
jle 0x49b61c
lea edi, [esi + 0x324]
nop dword [eax]
mov eax, dword [edi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x49b5b7
mov ecx, dword [esp + 0x14]
lea eax, [edi - 0x34]
mov edx, dword [esp + 0x40]
push eax
movzx eax, byte [edi]
push dword [esp + 0x30]
push dword [esp + 0x4c]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00495a60
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp byte [eax + 0x51], 0
jne 0x49b02a
push dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea esi, [edi - 0x34]
mov ecx, dword [esp + 0x14]
push esi
call fcn.0048eae0
push dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, ecx
push dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x30]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
mov dword [edi - 0x14], eax
call fcn.00490510
mov ecx, dword [edi - 0x1c]
inc esi
mov dword [esp + 0x60], eax
add esp, 0x1c
mov eax, dword [esp + 0xc]
add edi, 0x58
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], esi
mov dword [eax + 0x1c], ecx
cmp esi, dword [esp + 0x30]
jl 0x49b570
mov esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x8c]
pop edi
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x2e], 0
je 0x49b671
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x49b663
cmp eax, esi
je 0x49b663
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x49b657
mov eax, dword [esp + 0xc]
mov edx, 0x61
mov dword [eax + 0x18], ecx
jmp 0x49b69d
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49b688
test byte [esp + 0x24], 0x20
je 0x49b688
mov ecx, eax
mov edx, 0x5f
jmp 0x49b69d
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x28], eax
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 8]
push edi
mov dword [eax - 0x40], ecx
push dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00439730
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0043a890
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x49b4e9
test eax, 0x188002
jne 0x49b4e9
mov eax, dword [esp + 0xc]
test byte [eax + 0x28], 1
jne 0x49b4e9
cmp byte [eax + 0x2f], 2
je 0x49b4e9
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x49b4e9
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x49b4e9