Function at 0x4382e0
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, 0x88
mov dword [esp + 0x48], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x34], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x58], 0x32353437
mov dword [esp + 0x5c], 0
mov byte [esp + 0x60], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 8
ja 0x43839f
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x58]
mov edx, eax
and edx, 0xe60798f9
xor eax, 0xe60798f9
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x31
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x58], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 9
jb 0x438350
mov eax, dword [esp + 0x58]
mov ecx, dword [0x4476a0]
test ecx, ecx
je 0x4383fe
xor edx, edx
mov esi, dword [0x4476a4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x4383d0
inc edx
cmp ecx, edx
jne 0x4383c0
jmp 0x4383fe
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4383fe
lea eax, [esp + 0x34]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x4476a8]
push ecx
call fcn.00439650
add esp, 0x24
test eax, eax
js 0x438baa
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x2c], 0x10000
jmp 0x438467
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
cmp eax, 0x7fffffff
jae 0x438ad8
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov dword [esp + 0x18], 0x32353437
lea eax, [esp + 0x1c]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x4384ef
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
mov esi, eax
and esi, 0xe60798f9
xor eax, 0xe60798f9
lea eax, [eax + esi*2]
lea esi, [eax + edx]
and eax, edx
add eax, eax
mov edx, eax
xor edx, esi
not eax
and eax, esi
add eax, eax
sub eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x31
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x4384a0
mov eax, dword [esp + 0x18]
mov edx, dword [0x4476a0]
test edx, edx
je 0x438550
xor esi, esi
mov edi, dword [0x4476a4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x1a7c99fc
je 0x438520
inc esi
cmp edx, esi
jne 0x438510
jmp 0x438550
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x438550
push 0
push 0x1c
lea eax, [esp + 0x60]
push eax
push 0
push dword [esp + 0x3c]
push ecx
push 6
push dword [0x4476a8]
push edx
call fcn.00439650
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x438ad8
test eax, eax
js 0x438450
cmp dword [esp + 0x68], 0x1000
jne 0x438450
cmp dword [esp + 0x6c], 1
je 0x438450
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x64], eax
jbe 0x43876a
mov dword [esp + 0x18], 0x32353437
lea eax, [esp + 0x1c]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x43860f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
mov edx, eax
and edx, 0xe60798f9
xor eax, 0xe60798f9
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x31
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x4385c0
mov eax, dword [0x4476a0]
test eax, eax
je 0x43866a
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x4476a4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x438640
inc edx
cmp eax, edx
jne 0x438630
jmp 0x43866a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43866a
push 0x8000
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x4476a8]
push eax
call fcn.00439650
add esp, 0x1c
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0x32353437
lea eax, [esp + 0x1c]
mov byte [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x4386ff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
mov edx, eax
and edx, 0xe60798f9
xor eax, 0xe60798f9
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x31
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x4386b0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4476a0]
test ecx, ecx
je 0x43875e
xor edx, edx
mov esi, dword [0x4476a4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x438730
inc edx
cmp ecx, edx
jne 0x438720
jmp 0x43875e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43875e
push 4
push 0x3000
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 6
push dword [0x4476a8]
push ecx
call fcn.00439650
add esp, 0x24
test eax, eax
js 0x438ad8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 8]
push edx
push eax
push dword [esp + 0x18]
push dword [esp + 0x38]
call fcn.00438170
cmp eax, 0xbfffffff
ja 0x438450
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
call fcn.00438bc0
add esp, 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
cmp eax, ecx
je 0x438450
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x78], eax
mov ecx, eax
jmp 0x438808
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov dword [edi + ecx*4], eax
add ebx, 4
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x80]
add ecx, 4
cmp ecx, dword [esp + 0x50]
je 0x438aac
mov eax, edi
xor eax, ebx
mov dword [esp + 0xc], edi
not edi
mov esi, edi
and esi, ebx
add esi, esi
sub esi, eax
mov edx, dword [ecx]
sub edx, dword [esp + 0x10]
sar esi, 2
cmp ebx, dword [esp + 0x38]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x3c], ebx
je 0x438850
mov ecx, ebx
mov eax, dword [esp + 0xc]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
jmp 0x4389ea
mov dword [esp + 0x7c], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], esi
lea eax, [esi + 1]
mov ecx, ebx
mov ebx, dword [esp + 0xc]
sub ecx, ebx
mov dword [esp + 0x4c], ecx
sar ecx, 2
mov edx, ecx
shr edx, 1
mov dword [esp + 0x14], ecx
add edx, ecx
cmp edx, eax
mov esi, ebx
ja 0x438880
mov edx, eax
mov dword [esp + 0x38], edx
lea eax, [edx*4]
push eax
call fcn.00408cd0
add esp, 4
test esi, esi
mov dword [esp + 0x30], eax
je 0x4389c1
cmp eax, esi
mov edx, dword [esp + 0x4c]
jbe 0x438973
lea ecx, [esi + edx]
cmp ecx, eax
jbe 0x438973
test edx, edx
je 0x4389b0
mov ebx, edx
mov eax, dword [esp + 0xc]
add eax, edx
dec eax
mov ecx, dword [esp + 0x30]
add ecx, edx
dec ecx
mov esi, dword [esp + 0x7c]
add esi, dword [esp + 0x3c]
mov edi, edx
and edi, 7
je 0x438906
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x4388f0
add eax, edx
add ecx, edx
mov ebx, dword [esp + 0x4c]
add ebx, edx
cmp esi, 7
jb 0x4389b0
neg ebx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, ebx
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
mov ebx, edi
add edx, 0xfffffff8
cmp edi, edx
jne 0x438920
jmp 0x4389b0
mov ecx, edx
shr ecx, 2
mov ebx, esi
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ecx, eax
mov eax, edx
and eax, 0xfffffffc
add ecx, eax
add eax, esi
mov esi, ecx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, eax
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
je 0x4389b0
and edx, 2
movzx ecx, byte [eax + edx]
mov byte [esi + edx], cl
mov esi, dword [esp + 0xc]
push esi
call fcn.00408ce0
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov esi, dword [esp + 0x40]
lea ebx, [eax + esi*4]
mov dword [ecx + 4], ebx
mov edx, dword [esp + 0x38]
lea eax, [eax + edx*4]
mov dword [esp + 0x38], eax
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x44], edx
cmp ecx, esi
jae 0x4387e0
mov eax, ecx
mov ecx, dword [esp + 0xc]
lea edx, [ecx + esi*4]
mov dword [esp + 0x40], edx
mov edi, dword [esp + 0x3c]
sub edx, edi
mov esi, dword [esp + 0x30]
lea ecx, [esi + eax*4]
mov dword [esp + 0x14], eax
lea eax, [esi + eax*4]
add eax, 4
mov dword [esp + 0xc], ecx
lea esi, [ecx + edx]
cmp esi, eax
jbe 0x438a50
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x40], edi
mov ecx, dword [esp + 0x14]
je 0x4387e0
push edx
push esi
push eax
call fcn.00408d60
mov ecx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4387e0
mov ecx, edx
shr ecx, 2
mov esi, dword [esp + 0xc]
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, edx
and esi, 0xfffffffc
add eax, esi
mov dword [esp + 0x3c], eax
add esi, dword [esp + 0xc]
mov ecx, edx
shr ecx, 1
and ecx, 1
mov edi, esi
mov dword [esp + 0xc], esi
mov edi, eax
mov eax, dword [esp + 0xc]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x3c]
test dl, 1
mov ecx, dword [esp + 0x14]
je 0x4387e0
and edx, 2
movzx ecx, byte [esi + edx]
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x14]
jmp 0x4387e0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x438450
cmp eax, dword [esp + 0x50]
je 0x438450
push eax
call fcn.00408ce0
add esp, 4
mov dword [esp + 0x18], 0
jmp 0x438450
mov dword [esp + 0x18], 0x32353437
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x438b4f
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
mov edx, eax
and edx, 0xe60798f9
xor eax, 0xe60798f9
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x31
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x438b00
mov eax, dword [0x4476a0]
test eax, eax
je 0x438baa
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x4476a4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x438b80
inc edx
cmp eax, edx
jne 0x438b70
jmp 0x438baa
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x438baa
push 0x8000
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x4476a8]
push eax
call fcn.00439650
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10