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

Disassembly:
sub esp, 0x48
mov eax, dword [0x4606e0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x54]
mov ecx, dword [edi + 0x130]
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
call fcn.0040c1c0
push edi
mov dword [esp + 0x48], eax
call fcn.0040c1d0
mov dword [esp + 0x44], eax
mov eax, 0xa
sub eax, dword [edi + 0x8c]
add esp, 8
lea eax, [eax + eax*4]
add eax, eax
sub eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
call fcn.0040c740
fild dword [edi + 0xa0]
mov dword [esp + 0x34], eax
mov byte [esp + 0x44], 1
fdiv qword [0x445320]
mov byte [esp + 0x45], 5
mov byte [esp + 0x46], 3
mov byte [esp + 0x47], 2
mov byte [esp + 0x48], 4
mov byte [esp + 0x49], 0
mov byte [esp + 0x4a], 3
fadd qword [0x4459d0]
fld qword [0x44db78]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4117c9
fstp st(1)
jmp 0x4117cb
fstp st(0)
fnstcw word [esp + 0xc]
xor ecx, ecx
movzx eax, word [esp + 0xc]
or eax, 0xc00
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x130]
test byte [eax + 0xcec8], 1
fldcw word [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
fistp dword [esp + 0x10]
movzx edx, byte [esp + 0x10]
mov dword [esp + 0x10], ecx
fldcw word [esp + 0xc]
mov byte [esp + 0xc], dl
movzx edx, byte [eax + 0x7ce0]
mov byte [esp + 8], dl
je 0x41182b
test byte [eax + 0xcec8], 8
mov dword [esp + 0x28], 1
je 0x41182f
mov dword [esp + 0x28], ecx
mov eax, dword [edi + 0x130]
mov ecx, dword [edi + 0x70]
mov dl, byte [edi + 0x70]
push ebx
push ebp
mov ebp, dword [eax + 0x21d28]
mov eax, dword [eax + 0x21d2c]
shr ecx, 1
mov dword [esp + 0x40], ebp
mov ebp, dword [edi + 0x88]
and dl, 1
and cl, 1
mov dword [esp + 0x34], eax
mov al, byte [edi + 0xc8]
xor bl, bl
test ebp, ebp
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], cl
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], al
je 0x411891
cmp ebp, 3
je 0x411889
mov eax, dword [edi + 0x94]
jmp 0x411894
mov eax, dword [edi + 0x90]
jmp 0x411894
mov eax, dword [edi + 0x44]
test ebp, ebp
mov dword [esp + 0x1c], eax
jl 0x4118ab
cmp ebp, 7
jae 0x4118ab
mov al, byte [esp + ebp + 0x4c]
mov byte [esp + 0x13], al
jmp 0x4118b0
mov byte [esp + 0x13], 0
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x21d30]
test al, 2
mov dword [esp + 0x4c], eax
je 0x41190c
mov eax, 0x1fe
cmp dword [ebp + 0x21d38], eax
jle 0x4118d5
mov dword [ebp + 0x21d38], eax
mov eax, 0xfffffe02
cmp dword [ebp + 0x21d38], eax
jge 0x4118e8
mov dword [ebp + 0x21d38], eax
cmp dword [ebp + 0x21d38], 0
mov ax, word [ebp + 0x21d38]
jl 0x4118fe
or ax, 0x2c00
jmp 0x411905
neg ax
or ax, 0x2e00
movzx eax, ax
mov dword [esp + 0x20], eax
test byte [esp + 0x4c], 4
je 0x41194e
fld qword [0x44ae88]
fld qword [0x44db70]
call fcn.00428de0
fld dword [ebp + 0x21d34]
fdiv qword [0x44d908]
fmulp st(1)
fadd qword [0x4459d0]
call fcn.00426db0
mov cl, byte [esp + 0x17]
cdq
xor eax, edx
sub eax, edx
mov dl, byte [esp + 0x16]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x41196d
mov ebp, dword [esp + 0x34]
test ebp, ebp
jle 0x411961
mov bl, 1
add eax, 0xffffffff
cmp ebp, eax
jge 0x41196d
mov byte [esp + 0x12], 1
add bl, bl
add bl, byte [esp + 0x12]
add bl, bl
add bl, cl
add bl, bl
add bl, dl
mov dl, byte [esp + 0x11]
shl bl, 4
add bl, dl
cmp dword [esp + 0x24], 0
mov byte [esp + 0x11], bl
jge 0x411997
mov dword [esp + 0x24], 0
mov eax, dword [edi + 0x2c]
cmp eax, 3
ja case.default.0x41199f
jmp dword [eax*4 + 0x411bec]
xor bl, bl
jmp 0x4119c0
mov bl, 1
jmp 0x4119c0
mov bl, 2
jmp 0x4119c0
cmp dword [edi + 0x34], 0
setne bl
add bl, 3
jmp 0x4119c0
mov bl, 7
mov ebp, dword [edi + 8]
cmp ebp, 0x7d00
jg 0x4119cf
xor cl, cl
jmp 0x4119e2
cmp ebp, 0xbb80
jne 0x4119db
mov cl, 2
jmp 0x4119e2
setg cl
lea ecx, [ecx + ecx + 1]
mov eax, dword [edi + 0xe4]
cmp eax, 3
je 0x411a41
cmp eax, 2
je 0x411a41
or eax, 0xffffffff
cmp dword [edi + 0xa0], eax
jne 0x411a05
cmp dword [edi + 0xa4], eax
je 0x411a41
fld dword [edi + 0x14]
fld dword [edi + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x411a41
cmp dword [edi + 0x60], 0
je 0x411a23
cmp dword [edi + 0x44], 0x140
jl 0x411a41
cmp dword [edi + 0xc4], 0
jne 0x411a41
cmp dword [edi + 0xbc], 0
jne 0x411a41
test dl, dl
je 0x411a41
cmp ebp, 0x7d00
jg 0x411a49
mov dword [esp + 0x28], 1
add cl, cl
add cl, byte [esp + 0x28]
push 2
add cl, cl
add cl, cl
add cl, cl
add cl, bl
mov ebx, dword [esp + 0x3c]
add cl, cl
add cl, cl
add cl, byte [esp + 0x14]
push 0
push ebx
mov byte [esp + 0x1c], cl
call fcn.0042670e
push ebx
call fcn.0042a135
mov ebx, eax
sub ebx, dword [esp + 0x78]
add esp, 0x10
cmp dword [esp + 0x30], 0
je 0x411a8d
sub ebx, 0x80
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
movzx ebp, word [ecx + 0xcee8]
mov edx, eax
sar edx, 0x18
mov ecx, eax
mov byte [esi], dl
sar ecx, 0x10
mov edx, eax
mov byte [esi + 3], al
mov eax, dword [esp + 0x3c]
push 9
mov byte [esi + 1], cl
push eax
lea ecx, [esi + 4]
sar edx, 8
push ecx
mov byte [esi + 2], dl
call fcn.004279e0
movzx eax, byte [esp + 0x20]
mov dl, byte [esp + 0x1f]
mov byte [esi + 0xd], dl
mov byte [esi + 0xe], al
mov eax, dword [esp + 0x24]
mov ecx, eax
mov byte [esi + 0x12], al
sar ecx, 0x18
mov byte [esi + 0xf], cl
mov edx, eax
mov ecx, eax
movzx eax, word [esp + 0x2c]
sar edx, 0x10
mov byte [esi + 0x10], dl
sar ecx, 8
mov byte [esi + 0x11], cl
mov byte [esi + 0x14], al
mov edx, eax
movzx eax, byte [esp + 0x1d]
sar edx, 8
mov byte [esi + 0x13], dl
mov byte [esi + 0x15], 0
mov byte [esi + 0x16], 0
mov byte [esi + 0x17], al
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, 0xff
jl 0x411b28
mov byte [esi + 0x18], 0xff
jmp 0x411b2b
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x48]
mov ecx, eax
sar ecx, 4
mov byte [esi + 0x19], cl
mov ecx, dword [esp + 0x44]
mov byte [esi + 0x1b], cl
mov edx, ecx
shl al, 4
sar edx, 8
add dl, al
mov al, byte [esp + 0x10]
mov byte [esi + 0x1a], dl
mov byte [esi + 0x1c], al
mov byte [esi + 0x1d], 0
mov eax, dword [edi + 0x84]
mov byte [esi + 0x1f], al
mov ecx, eax
sar ecx, 8
mov byte [esi + 0x1e], cl
mov eax, ebx
sar eax, 0x10
mov byte [esi + 0x21], al
movzx eax, bp
mov edx, ebx
sar edx, 0x18
mov byte [esi + 0x20], dl
mov ecx, ebx
sar ecx, 8
mov edx, eax
mov byte [esi + 0x22], cl
mov byte [esi + 0x23], bl
sar edx, 8
pop ebp
mov byte [esi + 0x25], al
mov eax, dword [esp + 0x68]
mov byte [esi + 0x24], dl
xor ecx, ecx
pop ebx
jmp 0x411ba0
movzx edx, byte [esi + ecx]
movzx eax, ax
xor edx, eax
sar eax, 8
and edx, 0xff
xor ax, word [edx*4 + 0x460058]
add ecx, 1
cmp ecx, 0x26
movzx eax, ax
jl 0x411ba0
movzx eax, ax
mov ecx, eax
sar ecx, 8
mov byte [esi + 0x26], cl
mov ecx, dword [esp + 0x4c]
mov byte [esi + 0x27], al
pop edi
pop esi
xor ecx, esp
mov eax, 0x28
call fcn.00426065
add esp, 0x48
ret