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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x56fcd4]
xor eax, esp
mov dword [esp + 0x194], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x28]
push edi
mov dword [esp + 0x3c], ecx
mov edi, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x64], edx
add edx, ecx
mov dword [esp + 0x2c], eax
mov eax, edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x7c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x30], edi
sub edi, edx
cmp eax, edx
mov dword [esp + 0x1c], esi
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0x54]
cmovbe edi, ecx
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne edi, ecx
mov dword [esp + 0x64], edx
mov ecx, 5
mov dword [esp + 0x50], edi
cmp eax, ecx
mov dword [esp + 0x58], edx
push 0xbb000000
cmovb ecx, eax
mov dword [esp + 0x28], 3
mov eax, dword [esi + 0x50]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x58], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x64], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], edi
push dword [eax + 4]
push dword [eax]
call fcn.004df430
mov edi, dword [esp + 0x5c]
mov ecx, 0x38
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub ecx, dword [edi + 0x24]
call fcn.004df490
mov edi, dword [esp + 0x18]
mov dword [esp + 0x68], eax
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x18], 0x1f
lea ecx, [eax + esi]
lea eax, [edi + eax*4]
mov dword [esp + 0x78], ecx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
cmp dword [edi + 0xdc], 0
jne 0x4737fc
mov esi, dword [edi + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
sub eax, esi
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], ecx
cmp eax, 0x180
jbe 0x4736ec
lea edx, [esi + 0x60]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], edx
cmp esi, edx
jae 0x473637
mov eax, 0x38
sub eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [ecx + 8]
mov dword [esp + 0x50], eax
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 4]
push dword [esi + eax]
call fcn.004df430
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x28]
call fcn.004df490
and esi, 7
mov ecx, eax
mov eax, 0
mov edx, dword [edi + esi*4 + 0x2c]
mov dword [edi + esi*4 + 0x2c], ecx
mov esi, edx
shr esi, 3
and esi, 0x1fffffe0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], esi
cmp esi, dword [esp + 0x48]
jb 0x4735b0
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
add esi, 0xffffffe0
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x28], eax
lea edx, [edi + 1]
mov eax, dword [esp + 0x40]
add eax, esi
mov dword [esp + 0x24], esi
cmp eax, edx
jbe 0x473662
xor edx, edx
jmp 0x473669
sub edx, dword [esp + 0x40]
sub edx, esi
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, esi
mov dword [esp + 0x80], edx
cmp esi, edx
jae 0x4737f3
mov eax, 0x38
mov edi, ecx
sub eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0x40]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 4]
push dword [esi + eax]
call fcn.004df430
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x48]
call fcn.004df490
mov ecx, eax
mov eax, esi
and eax, 7
inc esi
mov dword [edi + eax*4 + 0x2c], ecx
cmp esi, dword [esp + 0x80]
jb 0x4736a0
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x24]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
cmp esi, eax
jae 0x4737ae
mov edi, dword [esp + 0x1c]
mov eax, 0x38
sub eax, edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 0xc]
push dword [esi + eax + 8]
call fcn.004df430
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x80]
call fcn.004df490
and esi, 7
mov ecx, eax
mov eax, 0
mov edx, dword [edi + esi*4 + 0x2c]
mov dword [edi + esi*4 + 0x2c], ecx
mov esi, edx
shr esi, 3
and esi, 0x1fffffe0
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x50]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x48]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], esi
cmp esi, eax
jb 0x473720
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + 0x1c], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004df430
xor eax, dword [esp + 0x74]
mov ecx, 0x38
xor edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x10]
call fcn.004df490
mov ecx, eax
mov eax, dword [esp + 0x30]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x473832
mov edx, dword [esp + 0x28]
jmp 0x4736f4
movq xmm0, qword [esp + 0x50]
mov eax, 0x38
sub eax, dword [esp + 0x10]
movq xmm1, qword [esp + 0x80]
mov esi, dword [esp + 0x1c]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x30]
psrlq xmm1, xmm0
mov dword [edi + 0x1c], eax
mov edi, dword [esp + 0x2c]
movd edx, xmm1
mov ecx, dword [esp + 0x38]
mov eax, edx
add dword [esi + 0x58], edx
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
lea ecx, [ecx + eax*4]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
movzx eax, byte [eax]
mov dword [esp + 0x60], eax
and eax, 0x1f
mov dword [esp + 0x3c], eax
xor ecx, ecx
movsx eax, dl
mov edx, dword [esp + 0x38]
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x4738a0
mov edx, dword [esp + 0x84]
mov cl, byte [esp + 0x3c]
shl edx, 0x10
or edx, dword [esp + 0x80]
ror edx, cl
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edx, edx
je 0x473944
mov edi, dword [esp + 0x44]
xor esi, esi
test edi, edi
je 0x473934
test edx, edx
jne 0x4738f2
bsf eax, ecx
add eax, 0x20
jmp 0x4738f5
bsf eax, edx
add eax, dword [esp + 0x3c]
and eax, 0x1f
je 0x473914
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x4c]
jb 0x473934
mov dword [esp + esi*4 + 0x98], eax
inc esi
dec edi
mov eax, dword [esp + 0x10]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
mov ecx, dword [esp + 0x10]
and ecx, eax
mov dword [esp + 0x10], ecx
ja 0x4738e2
jb 0x473934
test edx, edx
jne 0x4738e2
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
mov edx, 0x1f
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, edx
mov edx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x18]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x14], 0
jbe 0x473a55
mov ecx, 3
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x473a42
mov esi, dword [esp + 0x34]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x4739f4
mov eax, dword [edx]
xor eax, dword [edi]
je 0x4739ce
mov esi, dword [esp + 0x34]
bsf ecx, eax
shr ecx, 3
jmp 0x473a1c
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x4739f4
nop dword [eax + eax]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x473b03
add eax, 4
add edx, 4
cmp eax, esi
jb 0x4739e0
mov esi, dword [esp + 0x34]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x473a0d
mov cx, word [edx]
cmp cx, word [eax]
jne 0x473a0d
add eax, 2
add edx, 2
cmp eax, esi
jae 0x473a18
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x473a18
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x20]
jbe 0x473a3e
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x70]
add eax, 3
mov dword [esp + 0x20], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x473a55
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x14]
jb 0x473990
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
sub ecx, eax
add dword [esp + 0x64], ecx
movzx eax, byte [edx]
and eax, 0x1f
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 2
jl 0x473ab0
mov edx, dword [esp + 0x84]
mov cl, byte [esp + 0x3c]
shl edx, 0x10
or edx, dword [esp + 0x80]
ror edx, cl
xor esi, esi
test edx, edx
je 0x473c33
xor edi, edi
nop
cmp dword [esp + 0x44], 0
je 0x473b5c
test edx, edx
jne 0x473b16
bsf eax, esi
add eax, 0x20
jmp 0x473b19
mov esi, dword [esp + 0x34]
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x473a1c
bsf eax, edx
add eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
and eax, 0x1f
je 0x473b46
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
cmp eax, dword [ecx + 0xc]
jb 0x473b5c
mov dword [esp + edi*4 + 0x98], eax
inc edi
dec dword [esp + 0x44]
mov dword [esp + 0x10], edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x473af0
jb 0x473b5c
test edx, edx
jne 0x473af0
test edi, edi
mov edi, dword [esp + 0x2c]
je 0x473c33
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x4c]
add esi, eax
mov dword [esp + 0x68], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x473c06
mov ecx, dword [esp + 0x34]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, dword [esp + 0x38]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.00462330
add esp, 0xc
mov dword [esp + 0x6c], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x38]
jne 0x473bd5
mov esi, dword [esp + 0x34]
add eax, 4
push esi
push dword [esp + 0x80]
add eax, edi
push eax
call fcn.00462330
add esp, 0xc
add eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x473c0a
mov eax, dword [esp + 0x30]
mov ecx, edx
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
add eax, 3
mov dword [esp + 0x20], ecx
mov dword [esi], eax
lea eax, [edx + edi]
cmp eax, dword [esp + 0x34]
je 0x473c1d
jmp 0x473c0a
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x10]
jb 0x473b70
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004df28f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.004df28f
mov esp, ebp
pop ebp
ret