Function at 0x1004a3a0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x2610
call fcn.1003ac60
mov dword [esp + 0x50], ecx
mov eax, dword [0x1008e00c]
xor eax, ebp
mov dword [esp + 0x2608], eax
call dword [0x1008be4c]
mov esi, eax
push 0x1008f4b8
call dword [0x1008bdf8]
mov dword [0x1008f4d0], esi
mov eax, dword [0x1008f4dc]
mov byte [esp + 0x1f], 1
test eax, eax
je 0x1004a3f5
test byte [eax + 0x39], 8
sete byte [esp + 0x1f]
mov dword [0x1008f4d0], 0
push 0x1008f4b8
call dword [0x1008bee0]
lea esi, [esp + 0x2f4]
mov dword [esi - 4], 0x1007d7d0
push 0x20000
push esi
call fcn.10058cd0
add esp, 8
mov dword [esi + 4], 0
mov ecx, dword [esi]
xor ebx, ebx
mov eax, 0
test ecx, ecx
je 0x1004a43d
mov eax, dword [ecx + 0x38]
lea edi, [esp + 0x2f0]
mov dword [edi + 0xc], eax
mov dword [edi + 0x34], ebx
lea esi, [esp + 0x270]
push esi
call dword [0x1008bea0]
mov byte [esi + 0x38], bl
xorpd xmm1, xmm1
movupd xmmword [esi + 0x3c], xmm1
movaps xmm0, xmmword [0x1007d350]
movups xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
xor eax, eax
inc eax
mov dword [esi + 0x60], eax
movupd xmmword [esi + 0x68], xmm1
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov ecx, esi
push edi
call fcn.10056000
mov dword [esp + 0x158], esi
mov byte [esp + 0x198], bl
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1b8], ebx
xorps xmm0, xmm0
movups xmmword [esp + 0x1a0], xmm0
mov dword [esp + 0x1b0], ebx
movapd xmm0, xmmword [0x1007d360]
movupd xmmword [esp + 0x1c0], xmm0
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x1d8], ebx
movupd xmmword [esp + 0x1e0], xmm0
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1fc], ebx
mov dword [esp + 0x1f8], ebx
movupd xmmword [esp + 0x200], xmm0
mov dword [esp + 0x210], ebx
mov dword [esp + 0x21c], ebx
mov dword [esp + 0x218], ebx
movupd xmmword [esp + 0x220], xmm0
mov dword [esp + 0x230], ebx
mov dword [esp + 0x23c], ebx
mov dword [esp + 0x238], ebx
movupd xmmword [esp + 0x240], xmm0
mov dword [esp + 0x250], ebx
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x258], ebx
movupd xmmword [esp + 0x260], xmm0
lea edx, [esp + 0xf8]
mov ecx, esi
call fcn.10045c10
lea eax, [esp + 0xe0]
xor edi, edi
inc edi
push edi
push eax
call fcn.100246d0
add esp, 8
call dword [0x1008be4c]
mov esi, eax
push 0x1008f4b8
call dword [0x1008bdf8]
mov dword [0x1008f4d0], esi
lea eax, [esp + 0xc8]
push edi
push eax
call fcn.100246d0
add esp, 8
mov eax, dword [0x1008f4dc]
test eax, eax
jne 0x1004a66c
mov dword [0x1008f4d0], 0
push 0x1008f4b8
call dword [0x1008bee0]
lea ecx, [esp + 0x160]
call fcn.10056850
lea ecx, [esp + 0x270]
call fcn.1003e4e0
mov esi, dword [esp + 0x324]
test esi, esi
je 0x1004a622
lea eax, [esp + 0x300]
xor ebx, ebx
cmp esi, eax
setne bl
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push ebx
call edi
lea eax, [esp + 0x300]
mov dword [eax + 0x24], 0
mov esi, dword [esp + 0x2f8]
mov dword [esp + 0x2f8], 0
test esi, esi
jne 0x1004b53f
mov esi, dword [esp + 0x2f4]
mov dword [esp + 0x2f4], 0
test esi, esi
jne 0x1004b554
mov ecx, dword [esp + 0x2608]
xor ecx, ebp
call fcn.10039ea0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x600]
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x50]
cmp ecx, dword [edx + 4]
jne 0x1004a5bc
mov ecx, dword [eax + 0x58]
mov edx, edi
call fcn.10045c10
mov edx, dword [esp + 0x600]
mov ecx, dword [0x1008f4dc]
mov eax, 0x19c
add ecx, eax
push dword [esp + 0x604]
call fcn.10059080
add esp, 4
push 1
lea eax, [esp + 0xb4]
push eax
call fcn.100246d0
add esp, 8
mov eax, dword [0x1008f4b4]
test eax, eax
jg 0x1004abd3
mov eax, dword [0x1008f4dc]
cmp byte [eax + 0x198], 0
jne 0x1004abd3
cmp byte [eax + 0x199], 0
jne 0x1004abd3
mov esi, dword [0x1008f4d8]
lea ecx, [esp + 0xe0]
push esi
call fcn.100247d0
mov ebx, eax
mov edi, edx
lea ecx, [esp + 0xe0]
push esi
call fcn.100247d0
xor ecx, ecx
dec ecx
cmp ebx, ecx
mov ecx, edi
mov esi, 0x7fffffff
sbb ecx, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov ecx, 0xffffffff
mov eax, ecx
cmovb eax, ebx
mov dword [esp + 0x20], eax
mov edx, 0x7fffffff
cmovb edx, edi
add ecx, 1
mov eax, 0x7fffffff
mov esi, 0
adc eax, esi
mov esi, ebx
neg esi
mov esi, 0
sbb esi, edi
cmovge eax, edi
lea edi, [esp + 0x600]
cmovge ecx, ebx
neg dword [esp + 0xc]
mov esi, 0
sbb esi, dword [esp + 0x14]
cmovl eax, edx
mov dword [esp + 0x3c], eax
cmovl ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov esi, dword [0x1008f4dc]
add esi, 0x58
mov eax, dword [0x1008f4d8]
mov ecx, dword [eax + 0x34]
test ecx, ecx
mov dword [esp + 0x14], esi
je 0x1004a960
mov ebx, dword [eax + 0x30]
lea eax, [ebx + ecx*4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov byte [esp + 0x600], 0x15
mov dword [esp + 0x601], eax
mov edx, dword [esi]
lea ecx, [esp + 0x328]
push edi
call fcn.10043a70
add esp, 4
mov esi, dword [esp + 0x5c]
mov eax, esi
not eax
mov edx, dword [esp + 0x3c]
mov ecx, edx
xor ecx, 0x7fffffff
or ecx, eax
movsd xmm0, qword [0x1007d300]
je 0x1004a82d
mov eax, edx
xor eax, 0x80000000
or eax, esi
jne 0x1004a811
movsd xmm0, qword [0x1007d308]
jmp 0x1004a82d
push edx
push esi
call fcn.10038d20
add esp, 8
fstp qword [esp + 0x78]
movsd xmm0, qword [esp + 0x78]
mulsd xmm0, qword [0x1007d310]
mov byte [esp + 0x600], 0x12
movsd qword [esp + 0x601], xmm0
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x328]
push edi
call fcn.10043a70
add esp, 4
mov dword [esp + 0xc], ebx
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x20]
mov edi, dword [esi]
mov ecx, dword [esi + 4]
mov eax, edi
mov edx, ecx
mov ebx, edi
lock cmpxchg8b qword [esi]
xor edx, ecx
xor eax, edi
or eax, edx
jne 0x1004a865
mov esi, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
xor ebx, ebx
test eax, eax
je 0x1004a8b8
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], eax
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, ebx
mov edx, ecx
mov edi, dword [esp + 0x20]
lock cmpxchg8b qword [edi]
xor edx, ecx
xor eax, ebx
or eax, edx
mov eax, dword [esp + 0x20]
jne 0x1004a897
mov edi, dword [esp + 0x10]
mov byte [esp + 0x600], 0x16
xor eax, eax
mov dword [esp + 0x605], eax
mov dword [esp + 0x601], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea ecx, [esp + 0x328]
lea eax, [esp + 0x600]
push eax
call fcn.10043a70
add esp, 4
mov byte [esp + 0x600], 0x18
mov dword [esp + 0x605], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x601], edi
lea edi, [esp + 0x600]
mov edx, dword [esi]
lea ecx, [esp + 0x328]
push edi
call fcn.10043a70
add esp, 4
test ebx, ebx
je 0x1004a94f
mov byte [esp + 0x600], 0x17
mov dword [esp + 0x601], ebx
sar ebx, 0x1f
mov dword [esp + 0x605], ebx
mov edx, dword [esi]
lea ecx, [esp + 0x328]
push edi
call fcn.10043a70
add esp, 4
mov ebx, dword [esp + 0xc]
add ebx, 4
cmp ebx, dword [esp + 0x18]
jne 0x1004a7b9
push 1
lea eax, [esp + 0x9c]
push eax
call fcn.100246d0
add esp, 8
cmp byte [esp + 0x1f], 0
je 0x1004a98c
mov eax, dword [0x1008f4dc]
mov ecx, dword [eax + 0x174]
test ecx, ecx
jne 0x1004af94
push 1
push edi
call fcn.100246d0
add esp, 8
mov eax, dword [0x1008f4dc]
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x1004a9a8
call fcn.10059710
mov ecx, edi
lea eax, [esp + 0x98]
push eax
call fcn.100247d0
mov ebx, eax
mov esi, edx
mov ecx, edi
lea eax, [esp + 0x98]
push eax
call fcn.100247d0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
xor edi, edi
dec edi
cmp ebx, edi
mov ecx, esi
mov edx, 0x7fffffff
sbb ecx, edx
mov edx, 0x7fffffff
cmovb edx, esi
mov ecx, esi
mov esi, edi
cmovb esi, ebx
add edi, 1
mov dword [esp + 0xc], edi
mov eax, 0x7fffffff
mov edi, 0
adc eax, edi
mov dword [esp + 0x20], eax
mov edi, ebx
neg edi
mov edi, 0
sbb edi, ecx
cmovl ecx, eax
cmovl ebx, dword [esp + 0xc]
neg dword [esp + 0x18]
mov eax, 0
sbb eax, dword [esp + 0x10]
cmovl ebx, esi
mov dword [esp + 0x10], ebx
cmovl ecx, edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x98]
lea edi, [esp + 0xb0]
push edi
call fcn.100247d0
mov ebx, eax
mov esi, edx
lea ecx, [esp + 0x98]
push edi
call fcn.100247d0
mov dword [esp + 0x38], eax
xor edi, edi
dec edi
cmp ebx, edi
mov eax, esi
mov ecx, esi
mov esi, 0x7fffffff
sbb ecx, esi
mov ecx, 0x7fffffff
cmovb ecx, eax
mov esi, edi
cmovb esi, ebx
mov edi, ebx
neg edi
mov edi, 0
sbb edi, eax
cmovl eax, dword [esp + 0x20]
mov edi, eax
cmovl ebx, dword [esp + 0xc]
neg dword [esp + 0x38]
mov eax, 0
sbb eax, edx
cmovl ebx, esi
mov dword [esp + 0x38], ebx
cmovl edi, ecx
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0xb0]
lea edi, [esp + 0xc8]
push edi
call fcn.100247d0
mov ebx, eax
mov esi, edx
lea ecx, [esp + 0xb0]
push edi
call fcn.100247d0
mov dword [esp + 0x34], eax
xor edi, edi
dec edi
cmp ebx, edi
mov eax, esi
mov ecx, esi
mov esi, 0x7fffffff
sbb ecx, esi
mov ecx, 0x7fffffff
cmovb ecx, eax
mov esi, edi
cmovb esi, ebx
mov edi, ebx
neg edi
mov edi, 0
sbb edi, eax
cmovl eax, dword [esp + 0x20]
mov edi, eax
cmovl ebx, dword [esp + 0xc]
neg dword [esp + 0x34]
mov eax, 0
sbb eax, edx
cmovl ebx, esi
mov dword [esp + 0x34], ebx
cmovl edi, ecx
mov dword [esp + 0x48], edi
lea ecx, [esp + 0xc8]
lea esi, [esp + 0xe0]
push esi
call fcn.100247d0
mov ebx, eax
mov edi, edx
lea ecx, [esp + 0xc8]
push esi
call fcn.100247d0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
xor esi, esi
dec esi
cmp ebx, esi
mov eax, edi
mov ecx, 0x7fffffff
sbb eax, ecx
mov edx, 0x7fffffff
cmovb edx, edi
mov ecx, esi
cmovb ecx, ebx
mov esi, ebx
neg esi
mov esi, 0
sbb esi, edi
mov eax, dword [esp + 0x20]
cmovge eax, edi
mov dword [esp + 0x20], eax
lea edi, [esp + 0x600]
mov eax, dword [esp + 0xc]
cmovge eax, ebx
neg dword [esp + 0x40]
mov esi, 0
sbb esi, dword [esp + 0x44]
mov esi, eax
cmovl esi, ecx
mov eax, dword [esp + 0x20]
cmovl eax, edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [esp + 0x54]
push dword [esp + 0x44]
push dword [esp + 0x58]
push dword [esp + 0x48]
push eax
push esi
push dword [esp + 0x5c]
call fcn.10043d10
add esp, 0x24
mov dword [0x1008f4d0], 0
push 0x1008f4b8
call dword [0x1008bee0]
mov eax, dword [esp + 0x50]
cvtsi2sd xmm0, dword [eax + 8]
divsd xmm0, qword [0x1007d310]
ucomisd xmm0, qword [0x1007d300]
jb 0x1004ad19
xor ebx, ebx
dec ebx
mov dword [esp + 0x328], ebx
mov eax, 0x7fffffff
mov dword [esp + 0x32c], eax
movsd xmm0, qword [esp + 0xf0]
movsd qword [esp + 0x610], xmm0
movupd xmm0, xmmword [esp + 0xe0]
movapd xmmword [esp + 0x600], xmm0
mov ecx, edi
lea esi, [esp + 0x328]
mov edx, esi
call fcn.10038a10
push 1
push esi
call fcn.100246d0
add esp, 8
mov ecx, edi
push esi
call fcn.100247d0
mov ebx, eax
mov dword [esp + 0x20], eax
mov esi, edx
mov dword [esp + 0x3c], edx
mov ecx, edi
lea eax, [esp + 0x328]
push eax
call fcn.100247d0
xor edi, edi
dec edi
cmp ebx, edi
mov ecx, esi
mov esi, 0x7fffffff
sbb ecx, esi
mov ecx, edi
cmovb ecx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov edx, 0x7fffffff
mov eax, dword [esp + 0x3c]
cmovb edx, eax
mov ecx, edi
add ecx, 1
mov ebx, 0x7fffffff
mov esi, 0
adc ebx, esi
mov esi, dword [esp + 0x20]
neg esi
mov esi, 0
sbb esi, eax
cmovge ebx, eax
cmovge ecx, dword [esp + 0x20]
neg dword [esp + 0xc]
mov esi, 0
sbb esi, dword [esp + 0x10]
cmovl ebx, edx
cmovl ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x58]
sbb ebx, dword [esp + 0x54]
mov eax, ebx
xor eax, 0x7fffffff
mov edx, ecx
not edx
or edx, eax
movsd xmm1, qword [0x1007d300]
je 0x1004ad74
mov eax, ebx
xor eax, 0x80000000
or eax, ecx
jne 0x1004ad50
movsd xmm1, qword [0x1007d308]
jmp 0x1004ad74
movsd xmm1, qword [0x1007d308]
ucomisd xmm1, xmm0
mov ebx, 0xffffffff
jb 0x1004af4e
mov eax, ebx
add eax, 1
mov ecx, 0x7fffffff
adc ecx, 0
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], ecx
jmp 0x1004ac1d
push ebx
push ecx
call fcn.10038d20
add esp, 8
fstp qword [esp + 0x68]
movsd xmm1, qword [esp + 0x68]
movsd xmm0, qword [0x1007d310]
mulsd xmm1, xmm0
mulsd xmm1, xmm0
maxsd xmm1, qword [0x1007d378]
movapd xmmword [esp + 0x20], xmm1
cvttsd2si eax, xmm1
mov ecx, eax
sar ecx, 0x1f
movapd xmm0, xmm1
subsd xmm0, qword [0x1007d370]
cvttsd2si edx, xmm0
and edx, ecx
or edx, eax
mov ecx, dword [esp + 0x50]
call fcn.1004b5a0
push 1
lea eax, [esp + 0x134]
push eax
call fcn.100246d0
movapd xmm1, xmmword [esp + 0x28]
add esp, 8
movsd xmm0, qword [esp + 0x140]
movsd qword [esp + 0xf0], xmm0
movupd xmm0, xmmword [esp + 0x130]
movapd xmmword [esp + 0xe0], xmm0
divsd xmm1, qword [0x1007d310]
ucomisd xmm1, qword [0x1007d300]
jb 0x1004af1d
xor eax, eax
dec eax
mov dword [esp + 0xc8], eax
mov eax, 0x7fffffff
mov dword [esp + 0xcc], eax
movsd xmm0, qword [esp + 0x338]
movsd qword [esp + 0x140], xmm0
movupd xmm0, xmmword [esp + 0x328]
movapd xmmword [esp + 0x130], xmm0
lea edi, [esp + 0x130]
mov ecx, edi
lea edx, [esp + 0xc8]
call fcn.10038a10
lea esi, [esp + 0xe0]
mov ecx, esi
push edi
call fcn.100247d0
mov ebx, eax
mov dword [esp + 0x10], eax
mov edi, edx
mov ecx, esi
lea eax, [esp + 0x130]
push eax
call fcn.100247d0
xor esi, esi
dec esi
cmp ebx, esi
mov ecx, edi
mov ebx, 0x7fffffff
sbb ecx, ebx
mov ecx, esi
mov ebx, dword [esp + 0x10]
cmovb ecx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov edx, 0x7fffffff
cmovb edx, edi
mov ecx, esi
add ecx, 1
mov eax, 0x7fffffff
mov esi, 0
adc eax, esi
mov esi, ebx
neg esi
mov esi, 0
sbb esi, edi
cmovge eax, edi
cmovge ecx, ebx
neg dword [esp + 0xc]
mov esi, 0
sbb esi, dword [esp + 0x14]
cmovl eax, edx
mov dword [esp + 0x54], eax
cmovl ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ecx
call dword [0x1008be4c]
mov esi, eax
push 0x1008f4b8
call dword [0x1008bdf8]
mov dword [0x1008f4d0], esi
push 1
lea eax, [esp + 0xcc]
push eax
call fcn.100246d0
add esp, 8
mov eax, dword [0x1008f4dc]
test eax, eax
lea edi, [esp + 0x600]
jne 0x1004a683
jmp 0x1004a5bc
movsd xmm0, qword [0x1007d308]
ucomisd xmm0, xmm1
mov eax, 0xffffffff
jb 0x1004af71
add eax, 1
mov ecx, 0x7fffffff
adc ecx, 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
jmp 0x1004ae10
sub esp, 8
movsd qword [esp], xmm0
call fcn.10024640
add esp, 8
mov dword [esp + 0x32c], edx
mov dword [esp + 0x328], eax
jmp 0x1004ac1d
sub esp, 8
movsd qword [esp], xmm1
call fcn.10024640
add esp, 8
mov dword [esp + 0xcc], edx
mov dword [esp + 0xc8], eax
jmp 0x1004ae10
mov eax, dword [eax + 0x170]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x48], ecx
mov ebx, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1004afb9
lock inc dword [edx + 0x38]
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [esp + 0x20], edx
je 0x1004b005
xor eax, eax
inc eax
mov ecx, 2
lock cmpxchg dword [ebx + 0x10], ecx
je 0x1004b005
mov ecx, dword [0x1008f4dc]
add ecx, 0x58
mov eax, dword [esp + 0xc]
add eax, 8
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x30]
push eax
push dword [0x1008f4d8]
call fcn.10045870
mov edx, dword [esp + 0x28]
add esp, 8
test al, al
jne 0x1004b38b
push 1
lea eax, [esp + 0x84]
push eax
call fcn.100246d0
add esp, 8
mov ecx, dword [esi]
mov edx, edi
call fcn.10045c10
mov eax, dword [esp + 0x600]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x604]
mov dword [esp + 0x40], eax
mov ecx, esi
mov dword [esp + 0x18], ebx
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x1004b047
lock inc dword [esi + 0x38]
mov eax, dword [esi + 0x30]
mov edx, dword [ecx]
mov byte [esp + 0x600], 0x11
mov dword [esp + 0x601], eax
lea ecx, [esp + 0x328]
push edi
call fcn.10043a70
add esp, 4
mov edi, dword [esp + 0x328]
mov ebx, dword [esp + 0x32c]
lock dec dword [esi + 0x38]
jne 0x1004b08f
mov ecx, esi
call fcn.100249b0
push esi
call fcn.10024a10
add esp, 4
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0xc]
mov dword [eax + 8], edi
mov dword [esp + 0x60], ebx
mov dword [eax + 0xc], ebx
mov byte [eax + 0x10], 1
mov edi, dword [0x1008f4d8]
lea esi, [esp + 0x80]
mov ecx, esi
push edi
call fcn.100247d0
mov dword [esp + 0x34], eax
mov ebx, edx
mov ecx, esi
push edi
call fcn.100247d0
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], edx
xor esi, esi
dec esi
mov edi, dword [esp + 0x34]
cmp edi, esi
mov eax, ebx
mov ecx, 0x7fffffff
sbb eax, ecx
mov eax, 0x7fffffff
cmovb eax, ebx
mov dword [esp + 0x4c], eax
mov edx, esi
cmovb edx, edi
mov eax, edi
mov ecx, esi
add ecx, 1
mov edi, 0x7fffffff
mov esi, 0
adc edi, esi
mov esi, eax
neg esi
mov esi, 0
sbb esi, ebx
cmovge edi, ebx
cmovge ecx, eax
neg dword [esp + 0x38]
mov esi, 0
sbb esi, dword [esp + 0xc]
cmovl ecx, edx
cmovl edi, dword [esp + 0x4c]
mov eax, edi
xor eax, 0x7fffffff
mov edx, ecx
not edx
or edx, eax
movsd xmm0, qword [0x1007d300]
mov esi, dword [esp + 0x14]
je 0x1004b178
mov eax, edi
xor eax, 0x80000000
or eax, ecx
jne 0x1004b15c
movsd xmm0, qword [0x1007d308]
jmp 0x1004b178
push edi
push ecx
call fcn.10038d20
add esp, 8
fstp qword [esp + 0x70]
movsd xmm0, qword [esp + 0x70]
mulsd xmm0, qword [0x1007d310]
mov byte [esp + 0x600], 0x12
movsd qword [esp + 0x601], xmm0
mov edx, dword [esi]
lea ecx, [esp + 0x328]
lea edi, [esp + 0x600]
push edi
call fcn.10043a70
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
mov esi, dword [eax]
test esi, esi
je 0x1004b1fb
push 0x2cc
push 0
lea eax, [esp + 0x330]
push eax
call fcn.1007ae52
add esp, 0xc
push esi
call dword [0x1008bf0c]
cmp eax, 0xffffffff
je 0x1004b1fb
mov dword [esp + 0x328], 0x10001
lea eax, [esp + 0x328]
push eax
push esi
call dword [0x1008be7c]
test eax, eax
jne 0x1004b402
push esi
call dword [str.memcpy]
lea ecx, [esp + 0x270]
mov edx, edi
call fcn.10045c10
mov eax, dword [esp + 0x61c]
xor eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x618]
xor ecx, dword [esp + 0x110]
or ecx, eax
jne 0x1004b326
mov eax, dword [esp + 0x608]
sub eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x60c]
sbb edi, dword [esp + 0x104]
call fcn.100480b0
mov ecx, 0x1008f430
call fcn.1003e600
mov esi, dword [0x1008f46c]
xor eax, eax
mov ebx, 0
test esi, esi
je 0x1004b286
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
mov ebx, eax
and ebx, 0xffffff00
mov dword [esp + 0xc], eax
cmp byte [0x1008f468], 0
je 0x1004b2a8
mov dword [0x1008f460], 0
push 0x1008f448
call dword [0x1008bee0]
test esi, esi
mov eax, dword [esp + 0xc]
je 0x1004b569
movzx eax, al
or ebx, eax
cmp dword [esp + 0x18], ebx
sbb edi, 0
jae 0x1004b3bd
call fcn.100480b0
xor eax, eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x130], eax
mov byte [esp + 0x120], 0
lea eax, [esp + 0x120]
mov dword [esp + 0x328], eax
mov dword [esp + 0x32c], 0x1008f430
lea eax, [esp + 0x130]
mov dword [esp + 0x330], eax
lea ecx, [esp + 0x270]
lea edx, [esp + 0x328]
call fcn.10059190
lea edi, [esp + 0x600]
jmp 0x1004b367
mov ecx, 3
call fcn.10047fa0
test al, al
je 0x1004b367
mov edi, dword [esp + 0x608]
sub edi, dword [esp + 0x100]
call dword [0x1008be4c]
mov esi, eax
call dword [0x1008bf9c]
push edi
lea edi, [esp + 0x604]
push esi
push eax
push str.combase.dll
call fcn.10048050
add esp, 0x10
lea esi, [esp + 0x270]
mov ecx, esi
call fcn.10047640
mov ecx, esi
lea edx, [esp + 0xf8]
call fcn.10045c10
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1004b3a7
lock dec dword [edx + 0x38]
jne 0x1004b3a7
mov ecx, edx
mov ebx, edx
call fcn.100249b0
push ebx
call fcn.10024a10
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 8
cmp eax, dword [esp + 0x48]
jne 0x1004afa1
jmp 0x1004a98c
mov ecx, 3
call fcn.10047fa0
test al, al
lea edi, [esp + 0x600]
je 0x1004b367
mov edi, dword [esp + 0x608]
sub edi, dword [esp + 0x100]
call dword [0x1008be4c]
mov esi, eax
call dword [0x1008bf9c]
push edi
lea edi, [esp + 0x604]
push esi
push eax
push 0x100839cc
jmp 0x1004b35f
mov eax, dword [esp + 0x3dc]
mov ebx, dword [esp + 0x3e0]
mov dword [esp + 0x120], ebx
mov ecx, dword [esp + 0x3ec]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], 0
mov edi, dword [0x1008f4dc]
test edi, edi
je 0x1004b57e
mov dword [esp + 0x130], 0x1007d8d0
lea eax, [esp + 0x158]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x144], eax
push 0x2004
push 0
lea eax, [esp + 0x608]
push eax
call fcn.1007ae52
add esp, 0xc
test byte [edi + 0x39], 2
jne 0x1004b506
xor ecx, ecx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x130]
push eax
lea edi, [esp + 0x604]
push edi
call fcn.1005cf50
add esp, 8
mov eax, dword [0x1008f4dc]
test byte [eax + 0x38], 4
je 0x1004b1f4
mov byte [esp + 0x5f4], 0xb
mov dword [esp + 0x5f5], ebx
mov edx, dword [esp + 0x158]
lea ecx, [esp + 0x150]
lea eax, [esp + 0x5f4]
push eax
call fcn.10043a70
add esp, 4
jmp 0x1004b1f4
mov edi, dword [esp + 0x18]
mov ecx, edi
lea edx, [esp + 0x120]
lea ebx, [esp + 0x600]
push ebx
call fcn.1005d140
add esp, 4
xor ecx, ecx
mov edx, edi
lea eax, [esp + 0x130]
push eax
push ebx
call fcn.1005cf50
add esp, 8
mov edi, ebx
jmp 0x1004b1f4
mov ecx, esi
call fcn.10050cc0
push esi
call fcn.10024a10
add esp, 4
jmp 0x1004a63c
mov ecx, esi
call fcn.10050cc0
push esi
call fcn.10024a10
add esp, 4
jmp 0x1004a656
mov dword [0x1008f8f4], 0x1008371f
int3
mov dword [0x1008f8f4], 0x10082e72
int3