Function at 0x41cf70
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, 0xfffffff8
sub esp, 0xa00
mov dword [esp + 0x58], 0x7783798d
mov dword [esp + 0x5c], 0x73fe75f9
mov dword [esp + 0x60], 0x4ffa71c9
mov dword [esp + 0x64], 0x4bc64df5
mov dword [esp + 0x68], 0x47b349c1
mov dword [esp + 0x6c], 0x43cf45cb
mov dword [esp + 0x70], 0x5fab41fe
mov dword [esp + 0x74], 0x5bd35dd0
mov dword [esp + 0x78], 0x57eb59e8
mov dword [esp + 0x7c], 0x53e05591
mov dword [esp + 0x80], 0x2fa251ed
mov dword [esp + 0x84], 0x2b992da7
mov dword [esp + 0x88], 0x279129a6
mov dword [esp + 0x8c], 0x239725d6
mov dword [esp + 0x90], 0x3f882193
mov dword [esp + 0x94], 0x3b8f3d8f
mov dword [esp + 0x98], 0x37e439ca
mov dword [esp + 0x9c], 0x33be3589
mov dword [esp + 0xa0], 0xfbd31bb
mov dword [esp + 0xa4], 0xbbd0d82
mov dword [esp + 0xa8], 0x7bb09a7
mov dword [esp + 0xac], 0x388058a
mov dword [esp + 0xb0], 0x1fa101b9
mov dword [esp + 0xb4], 0x1b1a1da1
mov word [esp + 0xb8], 0
lea ebx, [esp + 0xb8]
lea ecx, [esp + 0x58]
mov edx, 0x17dd0de9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ecx]
xor esi, edx
mov edi, 0x77514590
sub edi, esi
mov esi, edi
and esi, 0x14
xor edi, 0x94
lea eax, [edi + esi*2]
add al, 0x6d
mov byte [ecx], al
inc ecx
dec edx
cmp edx, 0x17dd0d87
jne 0x41d090
lea edi, [esp + 0x498]
lea eax, [esp + 0x58]
mov ecx, 0x18
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x4f8]
xor edx, edx
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x58], 0x585b5a45
mov word [esp + 0x5c], 0
mov byte [esp + 0x5e], 0
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx + 0x58]
lea ecx, [edx + 0x28dfd0f]
mov esi, 0xf0
sub esi, edx
xor esi, ecx
and esi, eax
xor esi, ecx
mov eax, esi
and eax, 1
xor esi, 1
lea eax, [esi + eax*2]
add al, 0xb4
mov byte [esp + edx + 0x58], al
mov eax, edx
and eax, 1
xor edx, 1
lea edx, [edx + eax*2]
cmp edx, 7
jb 0x41d100
mov eax, dword [esp + 0x58]
mov ecx, dword [0x44ac38]
test ecx, ecx
je 0x41d184
xor edx, edx
mov esi, dword [0x44ac3c]
nop
cmp dword [esi + edx*8], 0x9abdb589
je 0x41d160
inc edx
cmp ecx, edx
jne 0x41d150
jmp 0x41d184
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x41d184
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 5
push 4
push ecx
push dword [0x44ac40]
call fcn.0043b650
add esp, 0x1c
mov dword [esp + 0x58], 0x43020104
mov word [esp + 0x5c], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x58]
mov edi, 0xd2b9da3f
sub edi, ecx
xor edi, edx
lea esi, [edi + 1]
lea edx, [edi*2 + 2]
mov ebx, edx
and ebx, 0x82
xor esi, 0x3e
sub esi, ebx
add edi, edi
mov ebx, 2
sub ebx, edi
not ebx
and ebx, 2
or edx, 0xfd
add edx, esi
add edx, ebx
add dl, 3
mov byte [esp + ecx + 0x58], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 6
jb 0x41d1a0
cmp eax, dword [esp + 0x58]
jne 0x41d290
push dword [esp + 0x24]
call fcn.004386f0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], 0x585b5a45
mov word [esp + 0x5c], 0
mov byte [esp + 0x5e], 0
xor eax, eax
mov ebx, dword [ebp + 0x14]
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x58]
lea esi, [eax + 0x28dfd0f]
mov edi, 0xf0
sub edi, eax
xor edi, esi
and edi, edx
xor edi, esi
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
add dl, 0xb4
mov byte [esp + eax + 0x58], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 7
jb 0x41d230
mov eax, dword [esp + 0x58]
mov edx, dword [0x44ac38]
test edx, edx
je 0x41d2c0
xor esi, esi
mov edi, dword [0x44ac3c]
cmp dword [edi + esi*8], 0x9abdb589
je 0x41d29e
inc esi
cmp edx, esi
jne 0x41d280
jmp 0x41d2c0
xor ecx, ecx
xor edx, edx
xor esi, esi
mov ebx, dword [ebp + 0x14]
jmp 0x41d84a
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x41d2c0
push 0
push ecx
push dword [esp + 0x24]
push 5
push 4
push edx
push dword [0x44ac40]
call fcn.0043b650
add esp, 0x1c
test eax, eax
js 0x41d81a
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
jmp 0x41d301
mov ecx, ebx
call fcn.00438ba0
mov eax, dword [esi]
test eax, eax
je 0x41d832
mov ecx, dword [esi + eax + 0x3c]
add esi, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx + eax]
mov edi, dword [ebp + 8]
movzx edi, word [edi + eax]
test dx, dx
je 0x41d328
add eax, 2
cmp dx, di
je 0x41d310
cmp dx, di
jne 0x41d2f7
mov eax, dword [esi + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xc], eax
mov ecx, ebx
push 0x410
call fcn.00438a50
test eax, eax
js 0x41d2f7
mov dword [esp + 0x20], 0
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov dword [esp + 0x58], 0x585b5a45
lea eax, [esp + 0x5c]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x58]
lea edx, [eax + 0x28dfd0f]
mov edi, 0xf0
sub edi, eax
xor edi, edx
and edi, ecx
xor edi, edx
mov ecx, edi
and ecx, 1
xor edi, 1
lea ecx, [edi + ecx*2]
add cl, 0xb4
mov byte [esp + eax + 0x58], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 7
jb 0x41d380
mov eax, dword [esp + 0x58]
mov edx, dword [0x44ac38]
test edx, edx
je 0x41d410
xor edi, edi
mov ecx, dword [0x44ac3c]
cmp dword [ecx + edi*8], 0xae6e2b0b
je 0x41d3e0
inc edi
cmp edx, edi
jne 0x41d3d0
jmp 0x41d410
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x41d410
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x1c]
push 5
push ecx
push dword [0x44ac40]
call fcn.0043b650
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x58], 0xb9fafbf0
mov dword [esp + 0x5c], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0xab
xor dl, byte [esp + ecx + 0x58]
add dl, 0xa9
mov byte [esp + ecx + 0x58], dl
inc ecx
cmp ecx, 8
jne 0x41d430
cmp eax, dword [esp + 0x58]
jne 0x41d7ff
mov eax, dword [esp + 0x20]
add eax, 2
push eax
call fcn.004386f0
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov dword [esp + 0x58], 0x585b5a45
lea eax, [esp + 0x5c]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x58]
lea edx, [eax + 0x28dfd0f]
mov edi, 0xf0
sub edi, eax
xor edi, edx
and edi, ecx
xor edi, edx
mov ecx, edi
and ecx, 1
xor edi, 1
lea ecx, [edi + ecx*2]
add cl, 0xb4
mov byte [esp + eax + 0x58], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 7
jb 0x41d490
mov eax, dword [esp + 0x58]
mov edi, dword [0x44ac38]
test edi, edi
je 0x41d529
add dword [esp + 4], 2
xor ecx, ecx
mov edx, dword [0x44ac3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xae6e2b0b
je 0x41d500
inc ecx
cmp edi, ecx
jne 0x41d4f0
jmp 0x41d529
mov ecx, dword [edx + ecx*8 + 4]
cmp ecx, eax
je 0x41d529
push 0
push dword [esp + 8]
push dword [esp + 0x14]
push 0x2b
push dword [esp + 0x10]
push 5
push ecx
push dword [0x44ac40]
call fcn.0043b650
add esp, 0x20
test eax, eax
js 0x41d7f3
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
nop
cmp eax, edx
je 0x41d55b
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + edx*2]
cmp di, word [ecx + edx*2]
jne 0x41d7f3
inc edx
test di, di
jne 0x41d540
mov ecx, ebx
call fcn.00439030
cmp eax, 2
jne 0x41d7f3
mov ecx, ebx
push 0
push 0x30
lea eax, [esp + 0x30]
push eax
push 0
call fcn.00438eb0
test eax, eax
js 0x41d7f3
mov ecx, ebx
push 0
push 0
push 0x28
lea eax, [esp + 0x67c]
push eax
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.00439390
test eax, eax
js 0x41d7f3
mov ecx, ebx
push 0
push 0
push 0x80
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.00439390
test eax, eax
js 0x41d7f3
movzx eax, word [esp + 0xca]
push eax
call fcn.004386f0
add esp, 4
mov edi, eax
movzx eax, word [esp + 0xca]
mov ecx, ebx
push 0
push 0
push eax
push edi
push dword [esp + 0xe4]
push dword [esp + 0xe4]
call fcn.00439390
test eax, eax
js 0x41d7ea
mov eax, edi
movzx edi, word [esp + 0x498]
mov dword [esp + 8], eax
mov dword [esp], eax
test di, di
je 0x41d67d
lea edx, [esp + 0x498]
mov eax, dword [esp + 8]
mov ecx, eax
mov dword [esp], eax
jmp 0x41d648
movzx edi, word [edx]
test di, di
je 0x41d67d
movzx eax, word [ecx]
test ax, ax
je 0x41d7e6
add ecx, 2
add edx, 2
mov dword [esp + 4], edx
mov edx, dword [esp]
add edx, 2
cmp ax, di
je 0x41d66e
mov dword [esp], edx
mov ecx, edx
mov edx, dword [esp + 4]
je 0x41d640
lea edx, [esp + 0x498]
jmp 0x41d640
cmp dword [esp], 0
je 0x41d7e6
mov ecx, ebx
push 0
push 0
push 0x20
lea eax, [esp + 0x624]
push eax
push dword [esp + 0x69c]
push dword [esp + 0x69c]
call fcn.00439390
test eax, eax
js 0x41d7e6
mov eax, dword [esp + 0x688]
mov ecx, dword [esp + 0x68c]
add eax, 0x10
mov dword [esp + 4], eax
adc ecx, 0
mov dword [esp], ecx
mov eax, dword [esp + 0x628]
mov edx, dword [esp + 0x62c]
mov dword [esp + 0x4fc], edx
mov dword [esp + 0x4f8], eax
jmp 0x41d71e
cmp cx, dx
je 0x41d7bc
push edi
call fcn.00438790
add esp, 4
mov eax, dword [esp + 0x4f8]
mov edx, dword [esp + 0x4fc]
mov ecx, edx
xor ecx, dword [esp]
mov edi, eax
xor edi, dword [esp + 4]
or edi, ecx
je 0x41d7e6
mov ecx, ebx
push 0
push 0
push 0x68
lea edi, [esp + 0x504]
push edi
push edx
push eax
call fcn.00439390
test eax, eax
js 0x41d7e6
movzx eax, word [esp + 0x552]
push eax
call fcn.004386f0
add esp, 4
mov edi, eax
movzx eax, word [esp + 0x552]
mov ecx, ebx
push 0
push 0
push eax
push edi
push dword [esp + 0x56c]
push dword [esp + 0x56c]
call fcn.00439390
test eax, eax
js 0x41d6f4
xor eax, eax
nop
nop
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x41d793
or ecx, 0x20
movzx edx, word [edi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x41d7a3
or edx, 0x20
mov ebx, dword [ebp + 0x14]
test cx, cx
je 0x41d6eb
add eax, 2
cmp cx, dx
je 0x41d780
jmp 0x41d6eb
mov eax, dword [esp + 0x528]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x52c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x538]
mov dword [esp + 0x10], eax
push edi
call fcn.00438790
add esp, 4
mov edi, dword [esp + 8]
push edi
call fcn.00438790
add esp, 4
push dword [esp + 0xc]
call fcn.00438790
add esp, 4
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x14]
je 0x41d2f0
cmp dword [esp + 0x10], 0
je 0x41d2f0
jmp 0x41d832
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
push dword [esp + 0x1c]
call fcn.00438790
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, ebx
call fcn.00438b90
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret