Function at 0x437930
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x100000
mov dword [esp + 0x20], 0
mov dword [esp + 4], 0x20272625
mov byte [esp + 8], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
and edx, 2
mov esi, ecx
xor esi, edx
and edx, ecx
xor esi, 0x89
lea edx, [esi + edx*2]
xor dl, byte [esp + ecx + 4]
add dl, 0x53
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x437990
mov eax, dword [esp + 4]
mov ecx, dword [0x44a3a4]
test ecx, ecx
je 0x437a0e
xor edx, edx
mov esi, dword [0x44a3a8]
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x4379e0
inc edx
cmp ecx, edx
jne 0x4379d0
jmp 0x437a0e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x437a0e
lea eax, [esp + 0x34]
lea edx, [esp + 0x20]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a3ac]
call fcn.00439600
add esp, 0x24
test eax, eax
js 0x438202
cmp dword [edi + 4], 0
je 0x438190
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 4], 0x77777978
mov byte [esp + 8], 0
mov ecx, 0xdc96
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0xdc92]
xor edx, ecx
mov esi, edx
not esi
or esi, 0x7ffbb111
add esi, edx
xor edx, 0xfffbb111
lea esi, [edx + esi*2]
add esi, 2
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
mov byte [esp + ecx - 0xdc92], dl
inc ecx
cmp ecx, 0xdc9b
jne 0x437a70
mov dword [esp + 0x38], 0x7fff
cmp eax, 2
je 0x437ac0
mov dword [esp + 0x38], 0
mov dword [esp + 0x50], edi
mov eax, 0xfffeffff
je 0x437ad0
mov eax, SysReAllocString
mov ebx, dword [esp + 4]
mov ecx, ebx
sar ecx, 0x1f
mov dword [esp + 0x18], eax
cmp ebx, eax
mov dword [esp + 0x30], ecx
mov eax, ecx
sbb eax, dword [esp + 0x38]
jae 0x438114
mov dword [esp + 0x24], 0
mov dword [esp], 0
mov dword [esp + 0x10], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x40]
push ebx
call fcn.004374c0
cmp eax, 0xbfffffff
ja 0x438114
test eax, eax
js 0x4380f0
cmp dword [esp + 0x60], 0x1000
jne 0x4380f0
test byte [esp + 0x5c], 0x66
je 0x4380f0
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x34], esi
mov edi, dword [esp + 0x44]
mov eax, 0
sbb eax, edi
mov dword [esp + 0x58], ebx
jae 0x437cba
mov dword [esp + 4], 0x20272625
mov byte [esp + 8], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
mov edx, eax
and edx, 2
mov ebx, ecx
xor ebx, edx
and edx, ecx
xor ebx, 0x89
lea edx, [ebx + edx*2]
xor dl, byte [esp + ecx + 4]
add dl, 0x53
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x437b90
mov eax, dword [0x44a3a4]
test eax, eax
je 0x437c0a
mov ecx, dword [esp + 4]
xor edx, edx
mov ebx, dword [0x44a3a8]
nop
nop
nop
cmp dword [ebx + edx*8], 0x16194952
je 0x437be0
inc edx
cmp eax, edx
jne 0x437bd0
jmp 0x437c0a
mov eax, dword [ebx + edx*8 + 4]
cmp eax, ecx
je 0x437c0a
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
push ecx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a3ac]
call fcn.00439600
add esp, 0x1c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], esi
mov dword [esp + 4], 0x20272625
mov byte [esp + 8], 0
xor eax, eax
xor ecx, ecx
nop
mov edx, eax
and edx, 2
mov ebx, ecx
xor ebx, edx
and edx, ecx
xor ebx, 0x89
lea edx, [ebx + edx*2]
xor dl, byte [esp + ecx + 4]
add dl, 0x53
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x437c30
mov eax, dword [esp + 4]
mov ecx, dword [0x44a3a4]
test ecx, ecx
je 0x437cae
xor edx, edx
mov ebx, dword [0x44a3a8]
nop
nop
cmp dword [ebx + edx*8], 0x3e416e49
je 0x437c80
inc edx
cmp ecx, edx
jne 0x437c70
jmp 0x437cae
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x437cae
push 4
push 0x3000
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a3ac]
call fcn.00439600
add esp, 0x24
test eax, eax
mov ebx, dword [esp + 0x58]
js 0x438114
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x78]
push eax
push edi
push esi
push dword [esp + 0x2c]
push dword [esp + 0x40]
push ebx
call fcn.004377d0
test eax, eax
jns 0x437ce2
cmp eax, 0x8000000d
jne 0x4380f0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x4380f0
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.00438250
add esp, 0x18
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
cmp eax, ecx
mov edi, dword [esp]
je 0x4380cd
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x10]
jmp 0x437d6f
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
mov dword [edi + ecx], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + ecx + 4], eax
mov edx, dword [esp + 0x10]
add edx, 8
mov eax, dword [esp + 0x74]
add eax, 4
cmp eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
je 0x438092
mov dword [esp + 0x74], eax
mov eax, dword [eax]
sub eax, dword [esp + 0x20]
mov ecx, eax
sar ecx, 0x1f
add eax, ebx
mov dword [esp + 0x70], eax
adc ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, edi
mov esi, edx
not esi
and esi, edi
mov ebx, edi
not ebx
and ebx, edx
mov dword [esp + 0x68], ebx
sub ebx, esi
cmp edx, dword [esp + 0x24]
je 0x437dc0
mov eax, edx
sub eax, ecx
mov edi, ecx
mov dword [esp + 0x10], edx
jmp 0x437f5c
mov dword [esp + 0x28], edx
mov eax, edx
mov dword [esp + 0x1c], ecx
sub eax, ecx
mov dword [esp + 0x14], eax
sar eax, 3
mov ecx, eax
shr ecx, 1
add ecx, eax
mov eax, ebx
sar eax, 3
inc eax
cmp ecx, eax
ja 0x437de5
mov ecx, eax
mov dword [esp + 0x10], ecx
lea eax, [ecx*8]
push eax
call fcn.00408420
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x437f41
mov dword [esp + 0x2c], ebx
cmp edi, ecx
mov eax, dword [esp + 0x28]
mov dword [esp], edi
jbe 0x437edf
cmp eax, edi
jbe 0x437edf
cmp dword [esp + 0x14], 0
je 0x437f2b
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0xfffffffe
mov ecx, edx
not ecx
and ecx, 1
sub eax, ecx
mov ecx, dword [esp]
add ecx, eax
add eax, dword [esp + 0x1c]
mov edi, edx
and edi, 7
je 0x437e74
neg edi
xor edx, edx
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 0x437e60
add eax, edx
add ecx, edx
add edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x28]
cmp edi, 0xfffffff8
ja 0x437f2b
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x437e90
jmp 0x437f2b
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, eax
shr ecx, 2
mov eax, dword [esp + 0x1c]
mov ebx, edi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and edx, 0xfffffffc
lea edi, [ebx + edx]
add edx, dword [esp + 0x1c]
mov ecx, eax
mov ebx, eax
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 0x24], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x437f2b
mov eax, dword [esp + 0x14]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x24]
mov byte [edx + eax], cl
mov edi, dword [esp + 0x1c]
push edi
call fcn.00408430
mov ecx, edi
add esp, 4
mov edi, dword [esp]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
lea eax, [edi + eax*8]
mov dword [esp + 0x24], eax
mov eax, edi
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
cmp eax, ebx
jae 0x437d40
add ebx, ecx
mov dword [esp + 0x28], edx
sub ebx, edx
mov eax, dword [esp + 0x14]
lea edx, [edi + eax]
mov dword [esp], edi
add eax, edi
add eax, 8
cmp ebx, 8
jle 0x437fd0
mov dword [esp + 0x1c], ecx
mov edi, ebx
and edi, 0x7ffffffe
mov ecx, ebx
not ecx
and ecx, 1
sub edi, ecx
add edx, edi
mov dword [esp + 0x2c], ebx
and ebx, 7
je 0x438015
neg ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [edx + edi]
mov byte [edx + edi + 8], al
dec edi
cmp ebx, edi
jne 0x437fb0
lea eax, [edx + edi]
add eax, 8
add edx, edi
add dword [esp + 0x2c], edi
jmp 0x438017
mov ecx, ebx
shr ecx, 2
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, ebx
and esi, 0xfffffffc
add eax, esi
add esi, edx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
test bl, 1
mov edi, dword [esp]
je 0x437d40
and ebx, 2
movzx ecx, byte [esi + ebx]
mov byte [eax + ebx], cl
jmp 0x437d40
add eax, edi
mov ecx, dword [esp + 0x68]
add ecx, dword [esp + 0x1c]
add esi, dword [esp + 0x28]
not esi
add esi, ecx
cmp esi, 7
mov edi, dword [esp]
mov esi, dword [esp + 0x2c]
jb 0x437d40
neg esi
xor ecx, ecx
nop
nop
nop
nop
nop
movzx ebx, byte [edx + ecx]
mov byte [eax + ecx], bl
movzx ebx, byte [edx + ecx - 1]
mov byte [eax + ecx - 1], bl
movzx ebx, byte [edx + ecx - 2]
mov byte [eax + ecx - 2], bl
movzx ebx, byte [edx + ecx - 3]
mov byte [eax + ecx - 3], bl
movzx ebx, byte [edx + ecx - 4]
mov byte [eax + ecx - 4], bl
movzx ebx, byte [edx + ecx - 5]
mov byte [eax + ecx - 5], bl
movzx ebx, byte [edx + ecx - 6]
mov byte [eax + ecx - 6], bl
movzx ebx, byte [edx + ecx - 7]
mov byte [eax + ecx - 7], bl
add ecx, 0xfffffff8
cmp esi, ecx
jne 0x438040
jmp 0x437d40
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], edi
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4380e7
mov dword [esp + 0x10], edx
cmp eax, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
je 0x4380e2
mov dword [esp], edi
push eax
call fcn.00408430
add esp, 4
mov dword [esp + 4], 0
jmp 0x4380f4
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], edi
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
jmp 0x4380f0
mov dword [esp], edi
jmp 0x4380f4
mov dword [esp + 0x10], edx
mov dword [esp], edi
nop
nop
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x40]
add ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
adc eax, dword [esp + 0x4c]
cmp ebx, esi
mov dword [esp + 0x30], eax
sbb eax, dword [esp + 0x38]
jb 0x437b10
mov dword [esp + 4], 0x20272625
mov byte [esp + 8], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
and edx, 2
mov esi, ecx
xor esi, edx
and edx, ecx
xor esi, 0x89
lea edx, [esi + edx*2]
xor dl, byte [esp + ecx + 4]
add dl, 0x53
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x438130
mov eax, dword [0x44a3a4]
test eax, eax
je 0x438202
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44a3a8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x4381d8
inc edx
cmp eax, edx
jne 0x438180
jmp 0x438202
push 0xbbf966b4
push dword [0x44a398]
call fcn.0043c760
add esp, 8
test eax, eax
je 0x43820f
mov ecx, dword [edi]
test ecx, ecx
je 0x437a20
mov dword [esp + 4], 0
lea edx, [esp + 4]
push edx
push ecx
call eax
test eax, eax
je 0x43821b
cmp dword [esp + 4], 0
je 0x43821b
mov dword [edi + 4], 3
jmp 0x437a20
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x438202
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x20]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a3ac]
call fcn.00439600
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [edi + 4], 1
jmp 0x437a20
lea eax, [esp + 0x48]
push eax
call fcn.0043cf20
add esp, 4
test al, al
je 0x437a20
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x438240
mov ecx, eax
mov dword [edi + 4], ecx
jmp 0x437a20