Function at 0x421280
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, 0x110
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, 0x803c
mov edi, 0xa669
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0x3d24
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x64], eax
mov eax, ebx
add eax, 0xffffab54
mov dword [esp + 0xf0], eax
mov word [esp + 0xee], 0x99a
mov byte [esp + 0xed], 0x6d
mov dword [esp + 0xe8], 0x3be9
mov eax, dword [esp + 0x100]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
xor eax, 0x5054
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, 0xa4f6
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
sbb ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov al, byte [esp + 0x10b]
mov ecx, dword [esp + 0xe8]
add ecx, 0xffffd923
mov ah, 0xc
mov byte [esp + 0x43], al
mul ah
mov byte [esp + 0x10b], al
mov dword [esp + 0x7c], ecx
sub edi, dword [esp + 0xe8]
mov dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x74], edi
sub esi, dword [esp + 0xe8]
cmp esi, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
ja 0x4214fb
mov eax, dword [esp + 0xe8]
add eax, 0xffffc417
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xe0], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x78], 0
mov esi, dword [0x401274]
mov dword [esp + 0xbe], esi
mov esi, dword [0x401278]
mov dword [esp + 0xc2], esi
mov di, word [0x40127c]
mov word [esp + 0xc6], di
mov dword [esp + 0x70], eax
mov al, byte [esp + 0xed]
xor al, 0xd5
mov byte [esp + 0x6b], al
mov al, byte [esp + 0x6b]
mov byte [esp + 0x10b], 0x78
mov cl, byte [esp + 0x43]
add cl, 0xd4
mov byte [esp + 0x10b], cl
cmp al, 0x3c
jb 0x4214fb
mov eax, dword [esp + 0x3c]
xor eax, 0x2428
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xf0], eax
cmp ecx, dword [esp + 0x74]
jae 0x42159a
mov eax, 9
mov ecx, dword [esp + 0xe8]
xor ecx, 0x546f
mov dword [esp + 0xf0], 0x13a42724
mov edx, dword [esp + 0x70]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0xe0]
mov bl, byte [esi + edx]
mov dword [esp + 0x34], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x34]
div ecx
mov bh, byte [esp + edx + 0xbe]
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0xd8]
movsx edi, bl
mov byte [esp + 0x10b], 0x9d
movsx ecx, bh
xor edx, 0x71c2
sub edi, ecx
mov ecx, edi
mov bl, cl
mov byte [esp + 0xe7], bl
cmp esi, edx
je 0x42146b
mov al, byte [esp + 0xe7]
mov ecx, dword [esp + 0x70]
mov byte [esp + ecx + 0x98], al
mov eax, dword [esp + 0x70]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x3c]
or edx, 0x1419
mov dword [esp + 0xf0], edx
xor edx, edx
mov esi, 0xaeac
sub esi, eax
sbb edx, ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
sub eax, esi
setae bl
sub ecx, edx
setae bh
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x2b], bh
mov byte [esp + 0x2a], bl
je 0x421562
mov al, byte [esp + 0x2b]
mov byte [esp + 0x2a], al
mov al, byte [esp + 0x2a]
test al, al
jne 0x42141e
jmp 0x421570
mov eax, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xf0], eax
add ecx, 0xffffc418
add ecx, dword [esp + 0xd4]
mov dword [esp + 0x70], ecx
jmp 0x42141e
mov eax, dword [esp + 0x74]
mov cl, byte [esp + 0xed]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xf8], edx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xfc], esi
xor cl, 0x6d
mov byte [esp + eax + 0x98], cl
lea eax, [esp + 0x98]
mov dword [esp + 0xd0], eax
mov edi, esp
mov dword [edi], eax
call fcn.00425230
mov edx, dword [esp + 0x60]
add edx, edx
mov esi, dword [esp + 0x5c]
adc esi, esi
mov bx, ax
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edx
mov word [esp + 0xde], bx
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
xor esi, esi
mov edi, 0x7529
sub edi, eax
sbb esi, edx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov word [esp + 0xcc], bx
sub eax, edi
setb cl
sub edx, esi
setb ch
mov byte [esp + 0x29], ch
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov byte [esp + 0x1f], cl
je 0x421654
mov al, byte [esp + 0x29]
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x1f]
test al, al
jne 0x4213c7
jmp 0x421662
mov eax, dword [esp + 0x60]
or eax, 0x5af5
mov ecx, dword [esp + 0xe8]
xor ecx, 0x3be9
movzx edx, word [esp + 0xee]
mov si, word [esp + 0xde]
xor edx, 0x99a
mov di, dx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf8], eax
mov word [esp + 0xce], si
mov dword [esp + 0x18], ecx
mov word [esp + 0x16], di
call fcn.00425e60
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x8c]
mov edx, esp
lea ebx, [esp + 0x78]
mov dword [edx + 0xc], ebx
mov si, word [esp + 0x16]
movzx ebx, si
mov dword [edx + 8], ebx
lea ebx, [esp + 0xcc]
mov dword [edx + 4], ebx
mov dword [edx], eax
call ecx
sub esp, 0x10
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x421708
mov dword [esp + 0xc8], 0
jmp 0x421725
mov eax, dword [esp + 0xe8]
xor eax, 0x46b1
cmp dword [esp + 0x7c], eax
jbe 0x42171a
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc8], eax
mov ax, word [esp + 0xf6]
imul ax, word [esp + 0xf6]
mov word [esp + 0xf6], ax
mov eax, dword [esp + 0xc8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret