Function at 0x403480
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, 0xe0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0x45e
mov esi, dword [esp + 0xd8]
mov edi, esi
imul edi, edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xc0], 0x321e
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x50], eax
mov eax, 0x41a
mov dword [esp + 0x4c], eax
mov eax, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
mul ecx
imul ecx, ebx, 0x41a
add edx, ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edx
mov word [esp + 0xbe], 0x65d0
mov byte [esp + 0xbd], 0
mov byte [esp + 0xbc], 0x6a
movzx eax, word [esp + 0xbe]
mov cx, ax
xor eax, 0x2778
mov word [esp + 0x86], ax
mov byte [esp + 0x77], 0xc3
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
xor edx, 0x162
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov ax, word [esp + 0xbe]
mov dx, 0xe419
sub dx, ax
mov word [esp + 0xaa], dx
mov al, byte [esp + 0xbc]
mov ah, 0xae
sub ah, al
mov byte [esp + 0xbb], ah
mov edx, esi
or edx, 0x7014
mov ah, byte [esp + 0xbc]
mov dword [esp + 0xd8], edx
mov dl, 0x6b
sub dl, ah
mov byte [esp + 0xa3], dl
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x40]
add edx, 0x22f6
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x3c]
adc edx, 0
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x7c], edx
imul dx, cx, 0x350
mov word [esp + 0xc4], dx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x94]
cmp byte [edx], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x26], cx
mov byte [esp + 0x25], al
jne 0x403667
mov ax, word [esp + 0xbe]
xor ax, 0x762a
cmp word [esp + 0x86], ax
je 0x40395b
mov eax, dword [esp + 0x64]
mov dword [esp + 0xb4], eax
jmp 0x4039e8
jmp 0x403669
mov eax, dword [esp + 0x54]
cmp byte [eax], 0
je 0x403984
mov al, 0x63
mov cx, word [esp + 0xbe]
add cx, 0x9f79
mov dx, word [esp + 0xbe]
mov ah, byte [esp + 0x25]
sub al, ah
mov byte [esp + 0xc7], al
xor dx, 0x7e2a
mov word [esp + 0x6a], cx
mov esi, dword [esp + 0x54]
mov cx, word [esp + 0x6a]
mov dword [esp + 0xac], esi
cmp dx, cx
jbe 0x403676
mov eax, dword [esp + 0xac]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x6c]
xor eax, 0x5a6f
mov byte [esp + 0xc7], 0xa6
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
sub edx, eax
setae bl
sub esi, ecx
setae bh
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1b], bh
mov byte [esp + 0x1a], bl
je 0x403724
mov al, byte [esp + 0x1b]
mov byte [esp + 0x1a], al
mov al, byte [esp + 0x1a]
test al, al
jne 0x4039e8
jmp 0x403732
mov eax, dword [esp + 0xb0]
mov cl, byte [eax]
mov dl, byte [esp + 0xbd]
neg dl
and dl, 1
mov byte [esp + 0x5b], dl
cmp cl, 0
je 0x403822
mov al, byte [esp + 0xbd]
neg al
mov cl, byte [esp + 0xbc]
add cl, 0x96
mov edx, dword [esp + 0xa4]
mov ah, byte [edx]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xd4], edx
mov esi, dword [esp + 0x28]
mov dword [esp + 0xd0], esi
and al, 1
mov byte [esp + 0x5b], al
cmp ah, cl
je 0x403822
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov edx, eax
xor edx, 0x4390
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], edx
xor eax, 0x6559
or eax, ecx
mov dword [esp + 0x14], eax
je 0x403732
jmp 0x4037cb
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
add ecx, 0x7a13
mov dword [esp + 0xd8], ecx
mov dl, byte [eax]
mov dh, byte [esp + 0xbd]
xor dh, 1
movsx eax, dl
mov ecx, dword [esp + 0xa4]
movsx ecx, byte [ecx]
sub eax, ecx
mov dl, 0x27
mov bl, byte [esp + 0x25]
mov dword [esp + 0x10], eax
mov al, bl
mul dl
mov byte [esp + 0xc7], al
mov ecx, dword [esp + 0x10]
cmp ecx, 0
setne al
xor al, dh
and al, 1
mov byte [esp + 0x5b], al
test byte [esp + 0x5b], 1
jne 0x40382b
jmp 0x403878
mov eax, 0xab09
mov cx, word [esp + 0x26]
imul dx, cx, 0x37c0
mov word [esp + 0xc4], dx
mov dword [esp + 0x60], 0x744f
sub eax, dword [esp + 0xc0]
cmp eax, dword [esp + 0x60]
jbe 0x403857
mov eax, dword [esp + 0x6c]
add eax, 1
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa4]
add eax, 1
mov dword [esp + 0xa4], eax
jmp 0x4036d2
mov al, byte [esp + 0x77]
mov cl, byte [esp + 0xbc]
add cl, 0x75
cmp al, cl
je 0x4038f9
mov ax, word [esp + 0xaa]
mov ecx, dword [esp + 0xa4]
mov dx, word [esp + 0x26]
add dx, 0x7492
mov word [esp + 0xc4], dx
mov dx, word [esp + 0xbe]
add dx, 0xc0a3
mov dword [esp + 0x5c], ecx
cmp dx, ax
jae 0x403984
mov al, byte [esp + 0x25]
not al
mov cl, byte [esp + 0xbd]
mov byte [esp + 0xc7], al
mov al, byte [esp + 0xa3]
mov dl, byte [esp + 0xbc]
xor dl, 0x4a
and cl, 1
mov byte [esp + 0x5b], cl
cmp al, dl
ja 0x403822
mov eax, dword [esp + 0x5c]
mov cl, byte [esp + 0xbc]
add cl, 0x96
cmp byte [eax], cl
jne 0x403926
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xb4], eax
jmp 0x4039e8
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x28]
not ecx
mov edx, dword [esp + 0x2c]
not edx
mov bl, byte [esp + 0xbb]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd0], ecx
cmp bl, 0x56
je 0x4039e8
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
and eax, 0x11c3
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0
jmp 0x403669
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
xor edx, edx
mov esi, 0x1a02
sub esi, eax
sbb edx, ecx
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
sub esi, eax
setb bl
sub edx, ecx
setb bh
mov dword [esp + 0xc], edx
mov byte [esp + 0xb], bh
mov dword [esp + 4], esi
mov byte [esp + 3], bl
je 0x4039cf
mov al, byte [esp + 0xb]
mov byte [esp + 3], al
mov al, byte [esp + 3]
test al, al
jne 0x4036b9
jmp 0x4039dd
mov dword [esp + 0xb4], 0
mov eax, dword [esp + 0xb4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8