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

Disassembly:
sub esp, 0x170
push ebx
mov ebx, dword [esp + 0x178]
push ebp
push esi
push edi
push ebx
call fcn.004a0b80
add esp, 4
test eax, eax
je 0x4a3ff8
mov edi, dword [esp + 0x188]
push edi
call fcn.004a0b80
add esp, 4
test eax, eax
je 0x4a3ff8
push ebx
call fcn.004a0b30
add esp, 4
test eax, eax
jne 0x4a3ff8
push edi
call fcn.004a0b30
add esp, 4
test eax, eax
jne 0x4a3ff8
mov eax, dword [0xc68e34]
lea ebx, [ebx + ebx*2]
lea edi, [edi + edi*2]
shl ebx, 4
add ebx, eax
shl edi, 4
add edi, eax
mov eax, dword [0xc688cc]
mov esi, eax
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x60], eax
call fcn.004a0b00
fadd st(0), st(0)
push esi
fstp dword [esp + 0x44]
call fcn.004a0ae0
mov ebp, edi
fstp dword [esp + 0x6c]
add esp, 8
xor edx, edx
lea esi, [edi + 0xc]
lea ecx, [ebx + 0x18]
sub ebp, ebx
fld dword [esp + 0x3c]
fadd dword [ecx + ebp]
fcomp dword [ecx - 0xc]
fnstsw ax
test ah, 1
jne 0x4a3ff8
fld dword [esi]
fsub dword [esp + 0x3c]
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
je 0x4a3ff8
inc edx
add ecx, 4
add esi, 4
cmp edx, 2
jl 0x4a366c
fld dword [esp + 0x64]
fadd dword [ebx + 0x20]
fcomp dword [edi + 0x14]
fnstsw ax
test ah, 1
jne 0x4a3ff8
mov eax, dword [ebx + 4]
test eax, eax
mov dword [esp + 0x4c], 0x497423f0
mov dword [esp + 0x6c], 0
jle 0x4a388c
mov ecx, dword [esp + 0x6c]
mov ebp, dword [ebx + 8]
mov edx, dword [0xc68e2c]
add ecx, ebp
mov eax, dword [edx + ecx*4]
mov ecx, dword [0xc68e24]
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
test byte [ecx + 4], 4
mov dword [esp + 0x60], ecx
je 0x4a3878
mov eax, dword [edi + 4]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x64], ebp
jle 0x4a3878
mov eax, dword [edi + 8]
mov edx, ebp
add edx, eax
mov eax, dword [0xc68e2c]
mov eax, dword [eax + edx*4]
cdq
xor eax, edx
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [0xc68e24]
lea esi, [eax + edx*8]
test byte [esi + 4], 4
je 0x4a3868
mov eax, dword [ecx + 8]
test eax, eax
mov dword [esp + 0x68], 0
jle 0x4a3868
jmp 0x4a3754
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0xc]
mov edx, dword [esp + 0x68]
mov eax, dword [0xc68e1c]
mov ecx, dword [0xc68e14]
add edx, ebx
mov eax, dword [eax + edx*4]
cdq
xor eax, edx
sub eax, edx
lea ebp, [ecx + eax*8]
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x4a3841
mov edx, dword [esi + 0xc]
mov eax, dword [0xc68e1c]
mov ecx, dword [0xc68e14]
add edx, edi
mov eax, dword [eax + edx*4]
cdq
xor eax, edx
sub eax, edx
lea ecx, [ecx + eax*8]
mov eax, dword [ebp]
lea edx, [eax + eax*2]
mov eax, dword [0xc68e04]
lea ebx, [eax + edx*4]
mov edx, dword [ebp + 4]
lea edx, [edx + edx*2]
lea edx, [eax + edx*4]
mov dword [esp + 0x7c], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
lea ecx, [ecx + ecx*2]
lea edx, [edx + edx*2]
lea edx, [eax + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
mov ecx, dword [0xc68e0c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x80], eax
mov eax, dword [esi]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x98]
push eax
push ecx
push edx
mov edx, dword [esp + 0xa0]
push edx
push ebx
call fcn.004a2a90
mov eax, dword [esi + 8]
fstp dword [esp + 0x78]
add esp, 0x2c
inc edi
cmp edi, eax
jl 0x4a3780
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
mov dword [esp + 0x68], eax
jl 0x4a3750
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x38]
mov eax, dword [edi + 4]
inc ebp
cmp ebp, eax
mov dword [esp + 0x64], ebp
jl 0x4a3712
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jl 0x4a36d0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004a2a40
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004a2a40
fld dword [esp + 0x64]
fcomp dword [0x4bc398]
add esp, 0x18
fnstsw ax
test ah, 0x41
jne 0x4a3ff8
fld dword [esp + 0x4c]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 1
je 0x4a3ff8
fld dword [esp + 0x4c]
fcomp dword [0x4bd1b4]
fnstsw ax
test ah, 0x41
je 0x4a3923
fld dword [esp + 0x34]
fsub dword [esp + 0x24]
fabs
fcomp qword [0x4bce68]
fnstsw ax
test ah, 1
je 0x4a3923
mov ebx, 7
mov dword [esp + 0x28], 0x43c80000
mov dword [esp + 0x3c], ebx
jmp 0x4a39cd
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
call fcn.0049d3b0
add esp, 0x10
test eax, eax
je 0x4a3959
fld dword [esp + 0x28]
mov ebx, 7
fmul dword [0x4bd28c]
mov dword [esp + 0x3c], ebx
fstp dword [esp + 0x28]
jmp 0x4a39cd
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.0049d3b0
add esp, 0x10
test eax, eax
je 0x4a3ff8
fld dword [esp + 0x28]
mov ebx, 5
fmul dword [0x4bd288]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], 0
fstp dword [esp + 0x28]
fld dword [esp + 0x1c]
fsub dword [esp + 0x2c]
fld dword [esp + 0x20]
fsub dword [esp + 0x30]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcomp dword [0x4bd1c0]
fnstsw ax
test ah, 1
jne 0x4a3ff8
fld dword [esp + 0x1c]
lea eax, [esp + 0x10]
fsub dword [esp + 0x2c]
push eax
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fsub dword [esp + 0x34]
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fsub dword [esp + 0x38]
fstp dword [esp + 0x1c]
call fcn.0042c7d0
fstp st(0)
push 0xffffffffffffffff
fld dword [esp + 0x18]
push 2
fadd dword [esp + 0x38]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x60]
fst dword [esp + 0x60]
push eax
fld dword [esp + 0x28]
fadd dword [esp + 0x44]
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
fld dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
fadd dword [esp + 0x48]
lea ecx, [esp + 0x148]
push ecx
fstp dword [esp + 0x70]
fstp dword [esp + 0x58]
fld dword [esp + 0x70]
fsub dword [0x4bc40c]
fstp dword [esp + 0x60]
call fcn.004a9720
mov esi, eax
mov ecx, 9
lea edi, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xbc]
add esp, 0x18
test eax, eax
jne 0x4a3ff8
fld dword [esp + 0xa8]
fcomp dword [0x4bc318]
fnstsw ax
test ah, 1
je 0x4a3adf
mov eax, dword [esp + 0xc4]
lea edx, [eax + eax*4]
mov eax, dword [0xc68e0c]
fld dword [eax + edx*4 + 8]
lea eax, [eax + edx*4]
fcomp qword [str.ffffff]
fnstsw ax
test ah, 1
jne 0x4a3adf
lea ecx, [esp + 0xac]
push ecx
call fcn.004a8a60
add esp, 4
test al, 0x18
jne 0x4a3adf
fld dword [esp + 0x58]
fsub dword [esp + 0xb4]
fcomp dword [0xc688c8]
fnstsw ax
test ah, 0x41
jne 0x4a3ff8
fld dword [esp + 0x1c]
push 0xffffffffffffffff
fsub dword [esp + 0x14]
push 2
lea eax, [esp + 0x48]
push eax
fst dword [esp + 0x5c]
lea ecx, [esp + 0x5c]
fld dword [esp + 0x2c]
push ecx
fsub dword [esp + 0x24]
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
fld dword [esp + 0x34]
mov dword [esp + 0x54], edx
fsub dword [esp + 0x28]
lea edx, [esp + 0x144]
push edx
fstp dword [esp + 0x6c]
fstp dword [esp + 0x54]
fld dword [esp + 0x6c]
fsub dword [0x4bc40c]
fstp dword [esp + 0x5c]
call fcn.004a9720
mov esi, eax
mov ecx, 9
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb8]
add esp, 0x14
test eax, eax
jne 0x4a3ff8
fld dword [esp + 0xa8]
fcomp dword [0x4bc318]
fnstsw ax
test ah, 1
je 0x4a3bc2
mov eax, dword [esp + 0xc4]
mov ecx, dword [0xc68e0c]
lea eax, [eax + eax*4]
fld dword [ecx + eax*4 + 8]
lea eax, [ecx + eax*4]
fcomp qword [str.ffffff]
fnstsw ax
test ah, 1
jne 0x4a3bc2
lea edx, [esp + 0xac]
push edx
call fcn.004a8a60
add esp, 4
test al, 0x18
jne 0x4a3bc2
fld dword [esp + 0x58]
fsub dword [esp + 0xb4]
fcomp dword [0xc688c8]
fnstsw ax
test ah, 0x41
jne 0x4a3ff8
mov eax, ebx
and eax, 0xffffff
cmp eax, 5
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x38], eax
jne 0x4a3bf6
mov eax, dword [0xc688cc]
mov dword [esp + 0x94], eax
jmp 0x4a3c01
mov dword [esp + 0x94], 0
fld dword [esp + 0x1c]
lea ecx, [esp + 0x10]
fsub dword [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], 0
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fsub dword [esp + 0x34]
fstp dword [esp + 0x18]
call fcn.0042c7d0
mov edx, dword [esp + 0x188]
fstp st(0)
fld dword [0x4bc2d8]
push edx
fld dword [esp + 0x1c]
mov dword [esp + 0x80], 0
fsub st(1)
mov edi, 0x3d
fstp dword [esp + 0x78]
fsub dword [esp + 0x18]
fstp dword [esp + 0x7c]
call fcn.004a0c00
mov ebx, dword [esp + 0x190]
add esp, 8
test eax, eax
jne 0x4a3c82
push ebx
call fcn.004a0c00
add esp, 4
test eax, eax
jne 0x4a3c82
mov edi, 0x103d
xor esi, esi
mov ebp, 0x1e
cmp esi, 1
jne 0x4a3cb4
fld dword [esp + 0x70]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x74]
fadd dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [esp + 0x78]
fadd dword [esp + 0x48]
fstp dword [esp + 0x48]
jmp 0x4a3cf7
cmp esi, 2
jne 0x4a3cdf
fld dword [esp + 0x1c]
fsub dword [esp + 0x70]
fstp dword [esp + 0x40]
fld dword [esp + 0x20]
fsub dword [esp + 0x74]
fstp dword [esp + 0x44]
fld dword [esp + 0x24]
fsub dword [esp + 0x78]
fstp dword [esp + 0x48]
jmp 0x4a3cf7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
fld dword [esp + 0x40]
lea eax, [esp + 0x10]
fsub dword [esp + 0x2c]
push eax
mov dword [esp + 0x1c], 0
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fsub dword [esp + 0x34]
fstp dword [esp + 0x18]
call fcn.0042c7d0
push 0
fstp st(0)
fld dword [esp + 0x18]
push 0
fmul dword [esp + 0x34]
push edi
push 0x3dcccccd
push ebp
push 3
fstp dword [esp + 0xb4]
fld dword [esp + 0x30]
lea ecx, [esp + 0xa8]
fmul dword [esp + 0x44]
push ecx
lea edx, [esp + 0xb8]
push edx
push 1
fstp dword [esp + 0xc4]
fld dword [esp + 0x40]
push 2
fmul dword [esp + 0x54]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x110]
push 0xffffffffffffffff
fstp dword [esp + 0xd4]
push ecx
call fcn.0049d2f0
mov eax, dword [esp + 0x168]
add esp, 0x38
cmp eax, ebp
jge 0x4a3ff8
mov eax, dword [esp + 0x124]
test al, 0x18
jne 0x4a3ff8
test ah, 0x10
jne 0x4a3ff8
fld dword [esp + 0x10]
push 0xa
fmul dword [0x4bc788]
push 0
lea edx, [esp + 0x160]
push edx
fsubr dword [esp + 0xec]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xf0]
fstp dword [esp + 0x60]
push ecx
fld dword [esp + 0x28]
fmul dword [0x4bc788]
fsubr dword [esp + 0xf8]
fstp dword [esp + 0x68]
fld dword [esp + 0x2c]
fmul dword [0x4bc788]
fsubr dword [esp + 0xfc]
fadd dword [0x4bc318]
fstp dword [esp + 0x6c]
call fcn.004a9d90
add esp, 0x14
xor ecx, ecx
test eax, eax
jle 0x4a3e34
lea edx, [esp + 0x158]
cmp dword [edx], ebx
je 0x4a3e30
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4a3e22
jmp 0x4a3e34
cmp ecx, eax
jl 0x4a3e4b
inc esi
cmp esi, 3
jl 0x4a3c89
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x170
ret
cmp esi, 3
jge 0x4a3ff8
call fcn.004a08e0
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x4a3ff8
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
cmp edi, 7
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
fld dword [esp + 0x1c]
fsub dword [esp + 0x2c]
mov dword [esp + 0x18], 0
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fsub dword [esp + 0x30]
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fsub dword [esp + 0x34]
fstp dword [esp + 0x5c]
jne 0x4a3f0a
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fsqrt
fcomp dword [esp + 0x5c]
fnstsw ax
test ah, 1
je 0x4a3f0a
fld dword [esp + 0x5c]
fmul dword [0x4bd1bc]
fdiv dword [0xc68894]
fadd dword [0xc688ec]
jmp 0x4a3f2e
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004a29a0
fmul dword [0x4bd284]
add esp, 8
fdiv dword [0xc688a4]
fadd dword [0xc688f0]
call fcn.004aeed0
push ebx
mov word [esi + 0x28], ax
call fcn.004a0bc0
add esp, 4
test eax, eax
jne 0x4a3fb9
fld dword [esp + 0x34]
push ecx
fsub dword [esp + 0x28]
fstp dword [esp]
call fcn.004a0ab0
fcomp dword [0xc688d0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a3f7b
xor edx, edx
mov dx, word [esi + 0x28]
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
fadd dword [0xc6890c]
jmp 0x4a3fb0
fld dword [esp + 0x34]
push ecx
fsub dword [esp + 0x28]
fstp dword [esp]
call fcn.004a0ab0
fcomp dword [0xc688d4]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4a3fb9
xor eax, eax
mov ax, word [esi + 0x28]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fadd dword [0xc68910]
call fcn.004aeed0
mov word [esi + 0x28], ax
cmp edi, 5
mov ecx, dword [0xc68810]
mov eax, dword [esp + 0x184]
mov edx, dword [ecx + eax*4]
mov dword [esi + 0x2c], edx
mov ecx, dword [0xc68810]
mov dword [ecx + eax*4], esi
jne 0x4a3ff2
mov eax, dword [0xc68828]
pop edi
pop esi
inc eax
pop ebp
mov dword [0xc68828], eax
xor eax, eax
pop ebx
add esp, 0x170
ret
inc dword [0xc68850]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x170
ret