Function at 0x10045dd0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1038bd2b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x1049b0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x88], edi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], edi
call fcn.10047170
mov ecx, dword [0x11b92250]
add ecx, 0xc6c19814
xor ecx, 0x26996288
cmp dword [ecx + 0x158], 0
je 0x10046d73
cmp dword [ecx + 0x15c], 0
je 0x10046d73
mov eax, dword [ecx + 0x154]
mov dword [ebp - 0x70], eax
mov eax, dword [eax + 0x25c]
cmp eax, 9
je 0x10046d73
cmp eax, 8
je 0x10046d73
mov eax, dword [0x10520110]
lea eax, [eax + eax*8]
cmp byte [eax*8 + 0x10520114], 0
mov dword [ebp - 0x7c], eax
je 0x10046d73
mov eax, dword [ecx + 0x12c]
mov al, byte [eax + 0x20]
test al, al
jne 0x10046d73
mov eax, dword [0x10544904]
test al, 1
jne 0x1004600e
or eax, 1
mov dword [0x10544904], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1053ebb8]
mov dword [ebp - 0x78], eax
cmp eax, dword [0x1053ebbc]
je 0x10045f1a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x10045f0c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10045ee3
xor edx, edx
test ecx, ecx
je 0x10045f0c
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10045ef0
cmp esi, 0x72e242a1
je 0x10045f33
mov eax, dword [ebp - 0x78]
add eax, 4
mov dword [ebp - 0x78], eax
cmp eax, dword [0x1053ebbc]
jne 0x10045ed0
mov edi, dword [ebp - 0x88]
xor eax, eax
mov dword [0x10541648], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10046013
mov eax, dword [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x64], edi
cmp dword [eax + 4], edi
jle 0x10045fd8
xor ecx, ecx
mov dword [ebp - 0x68], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x84], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10045f87
cmp dword [ecx + 4], 0
jle 0x10045f87
push 0
mov edx, 0xa4a37590
call fcn.10238b60
add esp, 4
test eax, eax
je 0x10045f84
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x74]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
inc ecx
cmp byte [edi + ecx], 0
jne 0x10045f90
xor edx, edx
test ecx, ecx
je 0x10045fbc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10045fa0
cmp esi, 0xa4a37590
je 0x10045fee
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
inc edx
mov edi, dword [ebp - 0x78]
add ecx, 0x3c
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], ecx
cmp edx, dword [eax + 4]
jl 0x10045f50
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x88]
mov dword [0x10541648], eax
jmp 0x10046013
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x78]
mov dword [0x10541648], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10046013
mov eax, dword [0x10541648]
mov ecx, dword [ebp - 0x70]
test byte [ecx + eax], 0x40
jne 0x10046d73
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x154]
cmp dword [eax + 0x9960], 0
je 0x10046d73
mov ecx, dword [0x11b92274]
add ecx, 0x9c19a2ea
xor ecx, 0xea193ba0
call fcn.100ab5b0
mov ecx, dword [0x1055ce44]
add ecx, 0xaffa2ab8
xor ecx, 0xeba28818
call fcn.10243be0
test al, al
je 0x1004608f
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x160]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], eax
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x160]
test byte [ecx + 0x30], 0x20
jne 0x10046d73
mov eax, dword [edi + 0xc]
cmp eax, dword [ecx + 4]
je 0x10046d73
mov eax, dword [ecx + 0x10]
mov esi, dword [ebp - 0x7c]
mov dword [edi + 0x14], eax
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x160]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x18], eax
cmp byte [esi*8 + 0x10520122], 0
mov ch, byte [0x10547960]
jne 0x100460f1
mov ch, byte [edi + 4]
cmp dword [esi*8 + 0x10520128], 3
mov edx, dword [0x10523764]
mov cl, dl
je 0x1004610f
movzx eax, cl
mov dword [edi + 8], eax
mov edx, dword [0x10523764]
mov eax, dword [esi*8 + 0x10520128]
cmp eax, 3
ja case.default.0x1004611b
jmp dword [eax*4 + 0x10047118]
xor eax, eax
test dl, dl
sete al
jmp 0x1004614c
test cl, cl
je case.default.0x1004611b
mov dword [edi + 8], 1
jmp case.default.0x1004611b
test cl, cl
jne case.default.0x1004611b
mov dword [edi + 8], 0xffffffff
jmp case.default.0x1004611b
xor eax, eax
test ch, ch
setne al
lea eax, [eax*2 - 1]
mov dword [edi + 8], eax
cmp byte [0x105200ec], 0
je 0x10046251
cmp byte [0x10523788], 0
jne 0x10046251
cmp byte [0x105237ac], 0
jne 0x10046251
cmp byte [0x105237d0], 0
jne 0x10046251
cmp byte [0x105237f4], 0
jne 0x10046251
push 1
push 0
mov ecx, edi
call fcn.1003f950
mov ecx, eax
test ecx, ecx
je 0x10046251
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x11b92250]
mov esi, eax
add ecx, 0xc6c19814
xor ecx, 0x26996288
mov ecx, dword [ecx + 0x154]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
call edx
movss xmm1, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm1, dword [esi]
subss xmm0, dword [esi + 4]
movss dword [ebp - 0x70], xmm1
divss xmm0, xmm1
call fcn.103885fe
movss xmm1, dword [ebp - 0x70]
comiss xmm1, dword [0x1046ef44]
mulss xmm0, dword [0x1046f2dc]
movss xmm2, dword [0x1046f384]
jb 0x10046216
addss xmm0, xmm2
movss xmm3, dword [0x1046f504]
comiss xmm3, xmm0
movss xmm1, dword [0x1046f3d8]
jbe 0x10046239
nop dword [eax + eax]
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x10046230
comiss xmm0, xmm2
jbe 0x10046249
nop
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x10046240
mov esi, dword [ebp - 0x7c]
movss dword [edi + 0x18], xmm0
mov ecx, edi
call fcn.1003e650
mov ecx, edi
call fcn.1003eb50
mov ecx, edi
call fcn.1003e1d0
cmp byte [0x105237ac], 0
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [0x1046f318]
je 0x10046285
subss xmm0, xmm1
movss dword [edi + 0x18], xmm0
cmp byte [0x105237d0], 0
je 0x10046297
addss xmm0, xmm1
movss dword [edi + 0x18], xmm0
mov ecx, edi
call fcn.1003f400
mov eax, dword [esi*8 + 0x1052011c]
sub eax, 1
je 0x100462fb
sub eax, 1
jne 0x1004630d
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x1046f3d8]
movss dword [ebp - 0x70], xmm0
fld dword [ebp - 0x70]
fld dword [0x1046f384]
call fcn.103885e0
fstp dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x70]
addss xmm0, dword [0x1046f3f0]
addss xmm0, dword [edi + 0x18]
jmp 0x10046308
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [0x1046f384]
movss dword [edi + 0x18], xmm0
cmp byte [esi*8 + 0x10520121], 0
movd xmm0, dword [esi*8 + 0x10520138]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x74], xmm0
je 0x10046333
mov cl, byte [0x10547970]
mov byte [ebp - 0x7d], cl
jmp 0x10046339
mov al, byte [edi + 5]
mov byte [ebp - 0x7d], al
mov eax, dword [esi*8 + 0x10520118]
sub eax, 1
je 0x1004636f
sub eax, 1
jne case.default.0x10046393
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x160]
mov dword [eax + 0xc], 0xc2b20000
jmp case.default.0x10046393
mov eax, dword [ebp - 0x7c]
cmp byte [eax*8 + 0x10520158], 0
je case.0x10046393.1
cmp byte [edi + 1], 0
je case.0x10046393.1
mov eax, dword [eax*8 + 0x10520148]
dec eax
cmp eax, 3
ja case.default.0x10046393
jmp dword [eax*4 + 0x10047128]
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x160]
mov dword [eax + 0xc], 0x42b20000
jmp case.default.0x10046393
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x1054c3f0]
mov dword [ebp - 0x6c], esi
test eax, eax
jne 0x10046504
mov edi, dword [0x1054c3ec]
test edi, edi
jne 0x100464ad
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x84], ecx
cmp ecx, edi
je 0x10046481
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10046481
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x70], ecx
dec edx
mov edi, 0xf867389b
mov dword [ebp - 0x64], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x10046477
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x10046448
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
cmp edi, 0x1bf06bcf
je 0x10046488
mov ecx, dword [ebp - 0x70]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x10046428
mov eax, dword [eax]
jmp 0x100463fd
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x78]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x6c]
mov dword [0x1054c3ec], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x10537b00
push eax
call fcn.1004ed90
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x11b92250]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xc6c19814
xor eax, 0x26996288
push ecx
push dword [eax + 0x17c]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x1054c3f0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10033ed0
mov eax, dword [0x1054c3f0]
mov edi, dword [ebp - 0x88]
push esi
call eax
mov ecx, dword [0x11b92250]
add esp, 4
add ecx, 0xc6c19814
xor ecx, 0x26996288
mov eax, dword [ecx + 0x10c]
mov eax, dword [eax + 0x1c]
and eax, 0x80000001
jns 0x10046531
dec eax
or eax, 0xfffffffe
inc eax
sub eax, 0
je 0x10046557
sub eax, 1
jne case.default.0x100466e0
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [0x1046f2f8]
jmp 0x100466fc
mov eax, dword [ecx + 0x160]
mov dword [eax + 0xc], 0x42b20000
jmp case.default.0x100466e0
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x1054c3f0]
mov dword [ebp - 0x78], esi
test eax, eax
jne 0x100466b2
mov edi, dword [0x1054c3ec]
test edi, edi
jne 0x1004665b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x70], ecx
cmp ecx, edi
je 0x1004662f
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1004662f
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x6c], ecx
dec edx
mov edi, 0xf867389b
mov dword [ebp - 0x64], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x10046625
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x100465f6
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
cmp edi, 0x1bf06bcf
je 0x10046636
mov ecx, dword [ebp - 0x6c]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x100465d6
mov eax, dword [eax]
jmp 0x100465ab
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x78]
mov dword [0x1054c3ec], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x10537b00
push eax
call fcn.1004ed90
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x11b92250]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xc6c19814
xor eax, 0x26996288
push ecx
push dword [eax + 0x17c]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x1054c3f0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10033ed0
mov eax, dword [0x1054c3f0]
mov edi, dword [ebp - 0x88]
push esi
call eax
mov ecx, dword [0x11b92250]
mov esi, 7
add ecx, 0xc6c19814
add esp, 4
xor ecx, 0x26996288
mov eax, dword [ecx + 0x10c]
mov eax, dword [eax + 0x1c]
cdq
idiv esi
cmp edx, 6
ja case.default.0x100466e0
jmp dword [edx*4 + 0x10047138]
mov eax, dword [ebp - 0x7c]
movd xmm0, dword [eax*8 + 0x10520140]
mov eax, dword [ecx + 0x160]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0xc], xmm0
movss xmm0, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx*8 + 0x10520134]
sub eax, 1
je 0x100468fd
sub eax, 1
je 0x100468e9
sub eax, 1
jne 0x10046914
mov ecx, dword [ecx*8 + 0x10520138]
mov eax, ecx
neg eax
movd xmm1, ecx
movd xmm0, eax
mov eax, dword [0x1054c3f4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x78], xmm0
movss dword [ebp - 0x74], xmm1
test eax, eax
jne 0x100468c8
mov edi, dword [0x1054c3e0]
test edi, edi
jne 0x10046845
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x70], ecx
cmp ecx, edi
je 0x100467f9
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x100467f9
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x6c], ecx
dec edx
mov edi, 0x79cbec6e
mov dword [ebp - 0x64], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x100467ef
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x100467c0
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
cmp edi, 0x7d0605de
je 0x10046823
mov ecx, dword [ebp - 0x6c]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x100467a0
mov eax, dword [eax]
jmp 0x10046775
mov eax, dword [ebp - 0x7c]
movd xmm0, dword [eax*8 + 0x10520144]
jmp 0x100466f3
mov eax, dword [ecx + 0x160]
mov dword [eax + 0xc], 0x3f5eb852
jmp case.default.0x100466e0
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov dword [0x1054c3e0], edi
lea eax, [ebp - 0x44]
mov ecx, 0x10537b20
push eax
call fcn.1004ecb0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov eax, dword [0x11b92250]
cmova ecx, dword [ebp - 0x44]
add eax, 0xc6c19814
xor eax, 0x26996288
push ecx
push dword [eax + 0x17c]
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [0x1054c3f4], eax
cmp ecx, 0xf
jbe 0x100468a6
push ecx
push dword [ebp - 0x44]
lea eax, [ebp - 0x44]
push eax
call fcn.10034640
mov eax, dword [0x1054c3f4]
add esp, 0xc
movss xmm0, dword [ebp - 0x78]
movss xmm1, dword [ebp - 0x74]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
sub esp, 8
mov dword [ebp - 0x6c], eax
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x6c]
add esp, 8
jmp 0x1004690a
cmp byte [ebp - 0x7d], 0
jne 0x10046914
movd xmm0, dword [ecx*8 + 0x10520138]
cvtdq2ps xmm0, xmm0
jmp 0x1004690a
cmp byte [ebp - 0x7d], 0
jne 0x1004690a
xorps xmm0, xmmword [0x1046f8e0]
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
mov ecx, dword [0x11b92250]
add ecx, 0xc6c19814
xor ecx, 0x26996288
mov eax, dword [ecx + 0x10]
cmp byte [eax], 0
je 0x10046b32
mov eax, dword [ecx + 0x10c]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x1054c3f0]
mov dword [ebp - 0x78], esi
test eax, eax
jne 0x10046a8e
mov edi, dword [0x1054c3ec]
test edi, edi
jne 0x10046a15
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x70], ecx
cmp ecx, edi
je 0x100469e9
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x100469e9
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x6c], ecx
dec edx
mov edi, 0xf867389b
mov dword [ebp - 0x64], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x100469df
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x100469b0
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
cmp edi, 0x1bf06bcf
je 0x100469f0
mov ecx, dword [ebp - 0x6c]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x10046990
mov eax, dword [eax]
jmp 0x10046965
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x78]
mov dword [0x1054c3ec], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x10537b00
push eax
call fcn.1004ed90
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x11b92250]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xc6c19814
xor eax, 0x26996288
push ecx
push dword [eax + 0x17c]
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [0x1054c3f0], eax
cmp ecx, 0xf
jbe 0x10046a76
push ecx
push dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
push eax
call fcn.10034640
mov eax, dword [0x1054c3f0]
add esp, 0xc
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push esi
call eax
add esp, 4
push 4
push 1
push 0x10544948
push 0x10547960
call fcn.10047560
push 5
push 2
push 0x10547964
push 0x10547970
call fcn.10047560
cmp byte [edi + 4], 0
mov ecx, dword [0x1054795c]
sete al
cmp byte [edi + 5], 0
mov byte [edi + 4], al
sete al
inc ecx
mov byte [edi + 5], al
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
sub ecx, eax
mov eax, 0x2aaaaaab
mov dword [0x1054795c], ecx
mov ecx, dword [0x10547974]
inc ecx
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
add eax, eax
sub ecx, eax
mov eax, 0x66666667
mov dword [0x10547974], ecx
mov ecx, dword [0x10544920]
inc ecx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
sub ecx, eax
mov dword [0x10544920], ecx
cmp byte [0x105237ac], 0
mov eax, dword [ebp - 0x7c]
jne 0x10046b66
cmp byte [0x105237d0], 0
jne 0x10046b66
cmp byte [0x105237f4], 0
jne 0x10046b66
movd xmm0, dword [eax*8 + 0x1052013c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x18], xmm0
cmp byte [eax*8 + 0x10520159], 0
je case.default.0x10046d03
cmp byte [edi + 1], 0
je case.default.0x10046d03
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x1054c3f0]
mov dword [ebp - 0x78], esi
test eax, eax
jne 0x10046cee
mov edi, dword [0x1054c3ec]
test edi, edi
jne 0x10046c75
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x70], ecx
cmp ecx, edi
je 0x10046c49
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10046c49
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
nop dword [eax + eax]
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x6c], ecx
dec edx
mov edi, 0xf867389b
mov dword [ebp - 0x64], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x10046c3f
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x10046c10
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
cmp edi, 0x1bf06bcf
je 0x10046c50
mov ecx, dword [ebp - 0x6c]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x10046bf0
mov eax, dword [eax]
jmp 0x10046bc0
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov edi, dword [ecx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x78]
mov dword [0x1054c3ec], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x10537b00
push eax
call fcn.1004ed90
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x11b92250]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xc6c19814
xor eax, 0x26996288
push ecx
push dword [eax + 0x17c]
call edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [0x1054c3f0], eax
cmp ecx, 0xf
jbe 0x10046cd6
push ecx
push dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
push eax
call fcn.10034640
mov eax, dword [0x1054c3f0]
add esp, 0xc
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push esi
call eax
mov eax, dword [ebp - 0x7c]
add esp, 4
mov eax, dword [eax*8 + 0x1052014c]
cmp eax, 4
ja case.default.0x10046d03
jmp dword [eax*4 + 0x10047154]
mov eax, dword [edi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x88]
movss xmm2, dword [0x1046f384]
movss xmm0, dword [eax + 0x18]
movss xmm3, dword [0x1046f504]
comiss xmm3, xmm0
movss xmm1, dword [0x1046f3d8]
jbe 0x10046d49
nop dword [eax + eax]
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x10046d40
comiss xmm0, xmm2
jbe 0x10046d59
nop
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x10046d50
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x160]
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102fe398
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x1054c3f4]
test eax, eax
jne 0x10046eb9
mov edi, dword [0x1054c3e0]
test edi, edi
jne 0x10046e68
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x70], ecx
cmp ecx, edi
je 0x10046e3c
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10046e3c
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x6c], ecx
dec edx
mov edi, 0x79cbec6e
mov dword [ebp - 0x64], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x10046e32
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x10046e03
mov eax, dword [ebp - 0x68]
cmp edi, 0x7d0605de
je 0x10046e43
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x10046de3
mov eax, dword [eax]
jmp 0x10046db8
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add edx, esi
add eax, esi
movzx eax, word [eax + ecx*2]
mov edi, dword [edx + eax*4]
add edi, esi
mov dword [0x1054c3e0], edi
lea eax, [ebp - 0x2c]
mov ecx, 0x10537b20
push eax
call fcn.1004ecb0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov eax, dword [0x11b92250]
cmova ecx, dword [ebp - 0x2c]
add eax, 0xc6c19814
xor eax, 0x26996288
push ecx
push dword [eax + 0x17c]
call edi
lea ecx, [ebp - 0x2c]
mov dword [0x1054c3f4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10033ed0
mov eax, dword [0x1054c3f4]
sub esp, 8
mov dword [ebp - 0x6c], eax
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0xc2b40000
call dword [ebp - 0x6c]
mov eax, dword [ebp - 0x88]
add esp, 8
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x6c]
addss xmm0, dword [eax + 0x18]
movss dword [eax + 0x18], xmm0
jmp 0x10046d16
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
mov ecx, dword [eax + 0x1c]
shl ecx, 4
sub ecx, dword [eax + 0x1c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm0, dword [0x1046f318]
movss dword [edi + 0x18], xmm0
jmp case.default.0x10046d03
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
movss xmm2, dword [0x1046f384]
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
mov eax, dword [eax + 0x1c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 0x88]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x18]
subss xmm0, xmm2
movss dword [edi + 0x18], xmm0
jmp 0x10046d1e
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
mov esi, dword [eax + 0x1c]
mov eax, dword [0x1054c3f0]
mov dword [ebp - 0x78], esi
test eax, eax
jne 0x100470bc
mov edi, dword [0x1054c3ec]
test edi, edi
jne 0x1004706b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], edi
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x70], ecx
cmp ecx, edi
je 0x1004703c
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1004703c
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, edi
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, edi
mov dword [ebp - 0x6c], ecx
dec edx
mov edi, 0xf867389b
mov dword [ebp - 0x64], edx
mov cl, byte [esi]
inc esi
mov byte [ebp - 0x5d], cl
test cl, cl
je 0x10047032
mov al, cl
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x10047003
mov eax, dword [ebp - 0x68]
cmp edi, 0x1bf06bcf
je 0x10047043
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov edi, dword [eax + 0x18]
test edx, edx
jne 0x10046fe3
mov eax, dword [eax]
jmp 0x10046fb8
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add edx, esi
add eax, esi
movzx eax, word [eax + ecx*2]
mov edi, dword [edx + eax*4]
add edi, esi
mov esi, dword [ebp - 0x78]
mov dword [0x1054c3ec], edi
lea eax, [ebp - 0x5c]
mov ecx, 0x10537b00
push eax
call fcn.1004ed90
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
mov eax, dword [0x11b92250]
cmova ecx, dword [ebp - 0x5c]
add eax, 0xc6c19814
xor eax, 0x26996288
push ecx
push dword [eax + 0x17c]
call edi
lea ecx, [ebp - 0x5c]
mov dword [0x1054c3f0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10033ed0
mov eax, dword [0x1054c3f0]
push esi
call eax
mov eax, dword [0x11b92250]
mov esi, 0x168
add eax, 0xc6c19814
movss xmm2, dword [0x1046f384]
xor eax, 0x26996288
add esp, 4
mov ecx, dword [eax + 0x10c]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax*8 + 0x10520154]
cdq
idiv esi
mov eax, dword [ebp - 0x88]
imul edx, dword [ecx + 0x1c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax + 0x18]
subss xmm0, xmm2
movss dword [eax + 0x18], xmm0
jmp 0x10046d1e