Function at 0x498b90
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, edx
mov dword [esp + 0x10], ecx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
push esi
movzx eax, word [eax]
mov dword [esp + 0x3c], edx
push edi
cmp ax, 0x40
jle 0x498bd0
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.00447180
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x14], 0x40
je 0x498bdd
mov eax, 1
jmp 0x498bde
cwde
mov ecx, dword [ecx]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x3f
mov dword [esp + 0x28], eax
and esi, 0xfffffff8
mov dword [esp + 0x34], ecx
lea edi, [esi + 0x26c]
mov edx, edi
call fcn.004451f0
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x498c1b
push edi
push 0
push ecx
call fcn.0051df40
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1e], 0
je 0x498c37
push ecx
push eax
call fcn.00444f80
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x40]
call fcn.0045f260
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
push 0x104
push 0
mov dword [ecx + 0x18], eax
lea eax, [ecx + esi]
mov dword [ecx + 0x20], eax
lea esi, [eax + 0x168]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov word [ecx + 4], dx
movsd xmm0, qword [edi + 0x1c0]
mov edi, 0
movsd qword [ecx + 0x28], xmm0
test byte [eax + 0xc], 0x80
push esi
cmove edi, dword [ebp + 0x10]
mov dword [esp + 0x90], esi
mov dword [esp + 0x2c], edi
call fcn.0051df40
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x18]
lea eax, [edx + 0x28]
mov dword [edx + 4], esi
mov esi, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [edx], ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 8
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov word [edx + 0x16], ax
cmp dword [ecx + 0x160], 0
jne 0x498d27
mov eax, dword [ecx]
test byte [eax + 0xc], 0x40
jne 0x498d27
mov dword [esp + 0xa8], ecx
mov edx, esi
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], 0x4724a0
mov dword [esp + 0xa4], 0
call fcn.0046cb60
mov ecx, dword [esp + 0x24]
mov edx, esi
push 0x45
call fcn.00494150
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x498d6f
cmp dword [esp + 0x28], 0
je 0x498d50
mov ecx, eax
call fcn.0046fc20
test eax, eax
je 0x498d6f
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
push 8
push dword [eax + 0x18]
call fcn.00472a50
add esp, 8
mov dword [ebp + 8], 0
mov ecx, dword [esp + 0x2c]
xor eax, eax
xor esi, esi
cmp ax, word [ecx]
jge 0x498dd8
mov edx, dword [esp + 0x84]
lea edi, [ecx + 0x14]
mov ecx, dword [edx]
mov eax, dword [edi + 0x14]
mov dword [edx + ecx*4 + 4], eax
inc dword [edx]
mov eax, dword [edi]
test eax, eax
je 0x498dc5
test byte [eax + 0x22], 0x10
je 0x498dc5
xor ecx, ecx
mov eax, esi
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [esp + 0x24]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
inc esi
add edi, 0x40
movsx eax, word [ecx]
cmp esi, eax
jl 0x498d86
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x18]
sub esi, 1
js 0x498e02
mov edi, eax
push esi
mov edx, edi
call fcn.00494dd0
mov ecx, dword [esp + 0x30]
add esp, 4
sub esi, 1
jns 0x498de6
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x1e], 0
jne 0x49935f
mov dword [esp + 0x88], edi
test edi, edi
je 0x498e4d
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push edi
push eax
mov dword [esp + 0x90], edi
call fcn.00495840
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x498e51
mov dword [esp + 0x88], 0
mov byte [edx + 8], 1
jmp 0x498e51
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
lea eax, [edx + 0x38]
xor esi, esi
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x50], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], eax
test edi, edi
jle 0x499389
movsd xmm0, qword [0x57c990]
lea edx, [edi - 1]
xor ecx, ecx
movsd qword [esp + 0x78], xmm0
or eax, 0xffffffff
mov dword [esp + 0x6c], 0
cmp esi, edx
mov dword [esp + 0x4c], eax
xorps xmm2, xmm2
xorps xmm0, xmm0
setl cl
movlpd qword [esp + 0x90], xmm0
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x94]
movaps xmmword [esp + 0xb0], xmm2
movsd xmm1, qword [esp + 0xb8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x90]
movaps xmmword [esp + 0xa0], xmm2
movaps xmmword [esp + 0xc0], xmm2
movq qword [esp + 0xd0], xmm2
movsd qword [esp + 0x98], xmm1
mov dword [esp + 0x58], ecx
nop dword [eax]
test eax, eax
jns 0x49921c
mov ecx, dword [esp + 0x2c]
mov eax, esi
shl eax, 6
add ecx, 8
add ecx, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], ecx
cmp esi, edi
jge 0x49920d
mov edi, dword [esp + 0x14]
lea eax, [esi + esi*4]
sub edi, 0xffffff80
shl eax, 4
add eax, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x44], eax
nop dword [eax]
mov al, byte [ecx + 0x1c]
mov edx, 0
and al, 0xa
setne dl
mov dword [esp + 0x90], edx
cmp dword [esp + 0x30], esi
je 0x498f72
test al, al
jne 0x49920d
mov edi, dword [esp + 0x84]
xor eax, eax
mov edx, dword [edi]
test edx, edx
jle 0x498f93
mov esi, dword [ecx + 0x20]
lea ecx, [edi + 4]
cmp dword [ecx], esi
je 0x498fd1
inc eax
add ecx, 4
cmp eax, edx
jl 0x498f87
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ecx, esi
mov eax, edi
and ecx, edx
and eax, dword [esp + 0x3c]
or ecx, eax
jne 0x498fe8
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
cmp edx, ecx
lea eax, [ecx + 1]
cmovne eax, ecx
mov esi, eax
mov dword [esp + 0x50], esi
jmp 0x4991e6
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x498fa4
cmp dword [esp + 0x70], 0
je 0x498ffc
mov dword [esp + 0x60], esi
mov dword [esp + 0x8c], edi
jmp 0x49900b
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x74], 0
jne 0x49901d
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49901d
mov ecx, dword [eax]
jmp 0x49901f
xor ecx, ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
inc eax
cmp dword [edx + 0x3c], 0
cmovne eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov eax, edx
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [esp + 0xe0]
je 0x499074
push dword [esp + 0x44]
push eax
push ecx
push dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x58]
push dword [esp + 0xa0]
push edx
push dword [esp + 0x54]
mov edx, dword [esp + 0x44]
call fcn.00496870
jmp 0x4990a6
push eax
xor eax, eax
cmp dword [esp + 0x78], eax
cmove eax, dword [esp + 0x8c]
push eax
push ecx
push dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x58]
push dword [esp + 0xa0]
push edx
push dword [esp + 0x54]
mov edx, dword [esp + 0x44]
call fcn.00496aa0
mov edx, dword [esp + 0x100]
add esp, 0x20
cmp dword [esp + 0x70], 0
je 0x4990c7
test edx, 0x100f3000
jne 0x4990c7
or dword [esp + 0x58], esi
or dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
and ecx, dword [esp + 0x48]
and eax, dword [esp + 0x3c]
or ecx, eax
jne 0x4991c3
mov ecx, dword [esp + 0x4c]
test ecx, ecx
js 0x499112
and esi, dword [esp + 0x58]
and edi, dword [esp + 0x5c]
or esi, edi
jne 0x499112
test dword [esp + 0xb0], 0x100f3000
je 0x499112
test edx, 0x100f3000
je 0x4991c3
cmp dword [esp + 0x6c], 0
je 0x49912f
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x3c], 0
je 0x49912f
test edx, 0x100f3000
je 0x4991c3
test ecx, ecx
js 0x49915e
movsd xmm0, qword [esp + 0xf8]
movsd xmm1, qword [esp + 0x78]
comisd xmm1, xmm0
ja 0x49915e
movsd xmm1, qword [esp + 0x98]
jb 0x4991cc
comisd xmm1, xmmword [esp + 0xe8]
jbe 0x4991cc
movaps xmm0, xmmword [esp + 0xf0]
movaps xmm2, xmmword [esp + 0xe0]
mov edx, dword [esp + 0x30]
movaps xmmword [esp + 0xc0], xmm0
movq xmm0, qword [esp + 0x100]
movaps xmmword [esp + 0xb0], xmm2
movsd xmm1, qword [esp + 0xb8]
movq qword [esp + 0xd0], xmm0
movsd xmm0, qword [esp + 0xc8]
movaps xmmword [esp + 0xa0], xmm2
mov dword [esp + 0x4c], edx
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x98], xmm1
jmp 0x4991d8
movsd xmm1, qword [esp + 0x98]
movaps xmm2, xmmword [esp + 0xa0]
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x90], 0
mov esi, dword [esp + 0x50]
jne 0x499209
mov ecx, dword [esp + 0x38]
inc edx
add dword [esp + 0x44], 0x50
add ecx, 0x40
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
cmp edx, edi
jl 0x498f50
jmp 0x49920d
mov edi, dword [esp + 0x28]
sub dword [esp + 0x70], 1
mov eax, dword [esp + 0x4c]
jns 0x498f10
mov edi, dword [esp + 0xb0]
test edi, 0x1000000
je 0x499238
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x499238
mov dword [eax], 0
test edi, 0x40000000
je 0x499248
mov edx, dword [esp + 0x14]
mov byte [edx + 8], 2
mov edx, dword [esp + 0x20]
and dword [esp + 0x1c], edi
movq xmm0, qword [esp + 0xc0]
movups xmmword [edx], xmm2
movq qword [edx + 0x10], xmm0
test edi, 0x200f0000
je 0x499278
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x44]
mov dword [edx + 0x20], eax
inc dword [ecx + 0x44]
jmp 0x49927f
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edx, dword [eax + 0x168]
test edx, edx
jle 0x4992b7
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
shl eax, 6
mov esi, dword [eax + esi + 0x28]
mov eax, dword [esp + 0x24]
add eax, 0x16c
cmp dword [eax], esi
je 0x499335
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4992a7
xorps xmm0, xmm0
movlpd qword [esp + 0x78], xmm0
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x20]
not eax
and dword [esp + 0x48], eax
not edx
and dword [esp + 0x3c], edx
comisd xmm1, xmmword [0x57c8a8]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x34], al
jb 0x4992fd
mulsd xmm1, qword [ecx + 0x1c0]
movsd qword [ecx + 0x1c0], xmm1
mov edx, dword [esp + 0x2c]
shl eax, 6
mov eax, dword [eax + edx + 0x44]
test eax, eax
je 0x499314
test edi, 0xf0000
je 0x49934f
mov edx, dword [esp + 0x74]
add esi, 0x50
mov edi, dword [esp + 0x28]
inc edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x20], esi
cmp edx, edi
jge 0x499385
mov esi, dword [esp + 0x50]
jmp 0x498e8a
xor eax, eax
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
jmp 0x4992c8
push dword [eax]
push str.cannot_use_index:__s
push ecx
call fcn.00447180
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
movsd xmm0, qword [edx + 0x28]
movsd qword [ecx + 0x1c0], xmm0
mov ecx, dword [esp + 0x34]
call fcn.00498ae0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x40], 0
jne 0x499363
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1e], 0
jne 0x499363
mov eax, dword [esp + 0x1c]
and eax, 0x4000000
mov dword [esp + 0x1c], eax
je 0x4993bd
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4993b9
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
test byte [ebp + 0x14], 4
je 0x4993d2
test eax, eax
je 0x4993d2
mov byte [edx + 6], 1
and dword [edx + 0x38], 0xff7fffff
mov eax, dword [ecx + 0x1ac]
mov esi, ecx
test eax, eax
cmovne esi, eax
cmp dword [esi + 0x160], 0
jne 0x499425
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x49940b
mov ecx, dword [esi]
call fcn.0045ed50
mov edi, eax
mov dword [esi + 0xc], edi
test edi, edi
je 0x499425
mov edx, 0x94
mov ecx, edi
call fcn.0045ef30
push 0
push 0
mov edx, 1
mov ecx, edi
call fcn.0045eff0
add esp, 8
inc eax
mov dword [esi + 0x160], eax
mov edx, dword [esp + 0x14]
movsd xmm0, qword [0x57c8a8]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
movsd qword [edx + 0x30], xmm0
test ecx, ecx
jle 0x4996e3
mov dword [esp + 0x60], ecx
lea edi, [edx + 0x38]
nop dword [eax]
movzx eax, byte [edi + 0x34]
mov ecx, dword [esp + 0x2c]
movsd xmm0, qword [edi + 8]
add ecx, 8
shl eax, 6
add ecx, eax
mov dword [esp + 0x1c], ecx
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x1c], eax
mov edi, 0xfff0bdc0
mulsd xmm0, qword [edx + 0x30]
movsd qword [edx + 0x30], xmm0
mov edx, dword [esi + 0x44]
test edx, edx
je 0x4994c0
mov eax, dword [esp + 0x34]
xor edi, edi
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x4994bc
mov eax, dword [eax + 8]
add eax, 0xc
nop dword [eax + eax]
cmp dword [eax], edx
je 0x4994bc
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x4994b0
mov ecx, dword [esp + 0x1c]
test byte [esi + 0x22], 2
jne 0x4995a9
cmp dword [esi + 0x1c], 0
jne 0x4995a9
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
test eax, 0x8000000
je 0x49951b
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4994fb
mov edx, dword [esp + 0x34]
nop dword [eax]
cmp dword [eax], edx
je 0x4994fb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4994f0
push 0xfffffffffffffff6
push eax
push 0
push 0
push dword [ecx + 0x20]
mov ecx, dword [esp + 0x54]
mov edx, 0x87
call fcn.0045f050
add esp, 0x14
jmp 0x4995a9
test eax, 0x800000
jne 0x499594
test byte [ebp + 0x14], 0x10
jne 0x499594
mov edx, dword [esp + 0x14]
xor eax, eax
cmp byte [edx + 6], al
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x18]
setne al
add eax, 0x27
push eax
push esi
push edi
call fcn.00480de0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp byte [eax + 6], 0
jne 0x4995a9
cmp dword [esi + 8], 0x40
jge 0x4995a9
mov eax, dword [esp + 0x1c]
xor esi, esi
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov eax, edx
or eax, ecx
je 0x49957d
nop dword [eax + eax]
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x499570
mov eax, dword [esp + 0x40]
mov ecx, eax
push 0xfffffffffffffff2
push esi
mov edx, dword [eax + 0x1c]
dec edx
call fcn.0045f650
add esp, 8
jmp 0x4995a9
push dword [esi]
mov ecx, dword [esp + 0x1c]
mov edx, edi
push 0
push dword [esi + 0x14]
call fcn.00476310
add esp, 0xc
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x4995d9
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x28]
push esi
call fcn.00495fc0
add esp, 0x10
jmp 0x499678
test eax, 0xf0000
je 0x499674
mov esi, dword [ecx + 0x10]
mov edx, esi
mov ecx, dword [esp + 0x18]
call fcn.0047add0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x1c]
cmp dword [eax + 0x20], esi
jg 0x49962d
mov ecx, eax
call fcn.0045ee50
test eax, eax
je 0x499629
mov esi, 1
jmp 0x499660
mov eax, dword [esp + 0x40]
inc dword [eax + 0x1c]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
mov edx, esi
push 0xfffffffffffffff0
push dword [esp + 0x5c]
call fcn.0045f650
add esp, 8
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, edi
call fcn.0047a890
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x4996a8
mov esi, dword [esi + 0x20]
add ecx, 4
cmp dword [ecx], esi
je 0x49976d
inc eax
add ecx, 4
cmp eax, edx
jl 0x499698
xorps xmm0, xmm0
movlpd qword [esp + 0x78], xmm0
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x54]
not edx
and dword [esp + 0x44], edx
not ecx
and dword [esp + 0x20], ecx
add edi, 0x50
sub dword [esp + 0x60], 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], edi
jne 0x499460
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1e], 0
jne 0x499787
xor esi, esi
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
test ecx, ecx
jle 0x499765
lea edi, [edx + 0x64]
push dword [ebp + 0x14]
movzx eax, byte [edi + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [edi - 0x2c]
push esi
push eax
call fcn.00497880
push dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov edx, esi
push dword [esp + 0x34]
push dword [esp + 0x78]
push dword [ebp + 0x14]
call fcn.00497ad0
mov ecx, dword [edi]
lea edi, [edi + 0x50]
mov dword [esp + 0x40], edx
inc esi
mov edx, dword [esp + 0x34]
add esp, 0x20
mov dword [esp + 0x60], eax
mov dword [edx + 0x14], ecx
cmp esi, dword [esp + 0x28]
jl 0x499714
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x4996b9
mov ecx, dword [esp + 0x18]
jmp 0x499367