Function at 0x421d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa00
mov dword [esp + 0xb8], 0x81f187f3
mov dword [esp + 0xbc], 0x8d3e833f
mov dword [esp + 0xc0], 0x893a8f27
mov dword [esp + 0xc4], 0x95368b23
mov dword [esp + 0xc8], 0x91e1972f
mov dword [esp + 0xcc], 0x9d2d932d
mov dword [esp + 0xd0], 0x99e99f3e
mov dword [esp + 0xd4], 0xe5219b24
mov dword [esp + 0xd8], 0xe149e754
mov dword [esp + 0xdc], 0xed54e3a7
mov dword [esp + 0xe0], 0xe952ef43
mov dword [esp + 0xe4], 0xf55beb51
mov dword [esp + 0xe8], 0xf143f746
mov dword [esp + 0xec], 0xfd45f386
mov dword [esp + 0xf0], 0xf954ff4d
mov dword [esp + 0xf4], 0xc54dfb49
mov dword [esp + 0xf8], 0xc190c7b2
mov dword [esp + 0xfc], 0xcd7ec36f
mov dword [esp + 0x100], 0xc97fcf75
mov dword [esp + 0x104], 0xd57fcb7a
mov dword [esp + 0x108], 0xd179d789
mov dword [esp + 0x10c], 0xdd6cd362
mov dword [esp + 0x110], 0xd973df77
mov dword [esp + 0x114], 0x25dadb77
mov eax, 0x5d33e421
mov ecx, 0xa2cc1bde
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x5d33e369]
mov edi, ecx
and edi, 0xc1ac5
mov edx, eax
and edx, 0x4c11e03a
or edx, edi
xor edx, esi
xor edx, 0x112e1ec5
or edx, ecx
mov edi, edx
not edi
mov ebx, edx
and ebx, 2
or edx, 0xa2cc1b02
inc edx
imul edx, ebx
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
add edx, esi
sub edx, edi
add edx, eax
mov esi, edx
not esi
and esi, 0xa6
and edx, 0x59
sub edx, esi
inc dl
mov byte [esp + eax - 0x5d33e369], dl
inc eax
dec ecx
cmp eax, 0x5d33e481
jne 0x421ec0
lea edi, [esp + 0x58]
lea eax, [esp + 0xb8]
mov ecx, 0x18
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xb8]
lea eax, [esp + 0x118]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0xb8], 0xe8ebeae5
mov eax, 0x8d176d27
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x72e89391]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x3d
mov byte [esp + eax + 0x72e89391], cl
inc eax
cmp eax, 0x8d176d2b
jne 0x421f70
mov eax, dword [esp + 0xb8]
mov ecx, dword [0x44fe80]
test ecx, ecx
je 0x421fd0
xor edx, edx
mov esi, dword [0x44fe84]
mov ebx, dword [ebp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x421fd5
inc edx
cmp ecx, edx
jne 0x421fc0
jmp 0x421ff9
mov ebx, dword [ebp + 0x14]
jmp 0x421ff9
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x421ff9
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 5
push 4
push dword [0x44fe88]
push ecx
call fcn.00440600
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x422080
push dword [esp + 0x24]
call fcn.0043d3c0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb8], 0xe8ebeae5
mov eax, 0x8d176d27
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x72e89391]
mov ebx, edx
and ebx, eax
add bl, bl
sub dl, bl
movzx edx, dl
add edx, eax
add dl, 0x3d
mov byte [esp + eax + 0x72e89391], dl
inc eax
cmp eax, 0x8d176d2b
jne 0x422030
mov eax, dword [esp + 0xb8]
mov edx, dword [0x44fe80]
test edx, edx
je 0x4220ad
xor esi, esi
mov edi, dword [0x44fe84]
cmp dword [edi + esi*8], 0xc85f7986
je 0x42208b
inc esi
cmp edx, esi
jne 0x422070
jmp 0x4220ad
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x4225ea
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x4220ad
push 0
push ecx
push dword [esp + 0x24]
push 5
push 4
push dword [0x44fe88]
push edx
call fcn.00440600
add esp, 0x1c
test eax, eax
mov ebx, dword [ebp + 0x14]
js 0x4225ba
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 0x4220f1
mov ecx, ebx
call fcn.0043d820
mov eax, dword [esi]
test eax, eax
je 0x4225d2
mov ecx, dword [esi + eax + 0x3c]
add esi, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ecx + edx]
mov edi, dword [ebp + 8]
movzx edi, word [edi + edx]
test eax, eax
je 0x422117
add edx, 2
cmp ax, di
je 0x422100
movzx ecx, di
mov edx, eax
not edx
and edx, ecx
not ecx
and ecx, eax
cmp ecx, edx
jne 0x4220e7
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.0043d6c0
test eax, eax
js 0x4220e7
mov dword [esp + 0x20], 0
mov edi, dword [ebx]
mov dword [esp + 0xb8], 0xe8ebeae5
mov eax, 0x8d176d27
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x72e89391]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x3d
mov byte [esp + eax + 0x72e89391], cl
inc eax
cmp eax, 0x8d176d2b
jne 0x422170
mov eax, dword [esp + 0xb8]
mov edx, dword [0x44fe80]
test edx, edx
je 0x422200
mov dword [esp + 0xc], edi
xor edi, edi
mov ecx, dword [0x44fe84]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x62429966
je 0x4221d0
inc edi
cmp edx, edi
jne 0x4221c0
jmp 0x422200
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x422200
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x1c]
push 5
push dword [0x44fe88]
push ecx
call fcn.00440600
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xc0000004
jne 0x42259f
mov eax, dword [esp + 0x20]
add eax, 2
push eax
call fcn.0043d3c0
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 + 0xb8], 0xe8ebeae5
mov eax, 0x8d176d27
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x72e89391]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x3d
mov byte [esp + eax + 0x72e89391], cl
inc eax
cmp eax, 0x8d176d2b
jne 0x422240
mov eax, dword [esp + 0xb8]
mov edi, dword [0x44fe80]
test edi, edi
je 0x4222c9
add dword [esp + 4], 2
xor ecx, ecx
mov edx, dword [0x44fe84]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x62429966
je 0x4222a0
inc ecx
cmp edi, ecx
jne 0x422290
jmp 0x4222c9
mov ecx, dword [edx + ecx*8 + 4]
cmp ecx, eax
je 0x4222c9
push 0
push dword [esp + 8]
push dword [esp + 0x14]
push 0x2b
push dword [esp + 0x10]
push 5
push dword [0x44fe88]
push ecx
call fcn.00440600
add esp, 0x20
test eax, eax
js 0x422593
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 0x4222fb
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + edx*2]
cmp di, word [ecx + edx*2]
jne 0x422593
inc edx
test di, di
jne 0x4222e0
mov ecx, ebx
call fcn.0043dc90
cmp eax, 2
jne 0x422593
mov ecx, ebx
push 0
push 0x30
lea eax, [esp + 0x30]
push eax
push 0
call fcn.0043db10
test eax, eax
js 0x422593
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.0043dfa0
test eax, eax
js 0x422593
mov ecx, ebx
push 0
push 0
push 0x80
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.0043dfa0
test eax, eax
js 0x422593
movzx eax, word [esp + 0x12a]
push eax
call fcn.0043d3c0
add esp, 4
mov edi, eax
movzx eax, word [esp + 0x12a]
mov ecx, ebx
push 0
push 0
push eax
push edi
push dword [esp + 0x144]
push dword [esp + 0x144]
call fcn.0043dfa0
test eax, eax
js 0x42258a
mov eax, edi
movzx edi, word [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp], eax
test di, di
je 0x42241a
lea edx, [esp + 0x58]
mov eax, dword [esp + 8]
mov ecx, eax
mov dword [esp], eax
jmp 0x4223e8
movzx edi, word [edx]
test di, di
je 0x42241a
movzx eax, word [ecx]
test ax, ax
je 0x422586
add ecx, 2
add edx, 2
mov dword [esp + 4], edx
mov edx, dword [esp]
add edx, 2
cmp ax, di
je 0x42240e
mov dword [esp], edx
mov ecx, edx
mov edx, dword [esp + 4]
je 0x4223e0
lea edx, [esp + 0x58]
jmp 0x4223e0
cmp dword [esp], 0
je 0x422586
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.0043dfa0
test eax, eax
js 0x422586
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 0x4224bb
cmp cx, dx
je 0x42255c
push edi
call fcn.0043d430
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 0x422586
mov ecx, ebx
push 0
push 0
push 0x68
lea edi, [esp + 0x504]
push edi
push edx
push eax
call fcn.0043dfa0
test eax, eax
js 0x422586
movzx eax, word [esp + 0x552]
push eax
call fcn.0043d3c0
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.0043dfa0
test eax, eax
js 0x422491
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x422533
or ecx, 0x20
movzx edx, word [edi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x422543
or edx, 0x20
mov ebx, dword [ebp + 0x14]
test cx, cx
je 0x422488
add eax, 2
cmp cx, dx
je 0x422520
jmp 0x422488
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.0043d430
add esp, 4
mov edi, dword [esp + 8]
push edi
call fcn.0043d430
add esp, 4
push dword [esp + 0xc]
call fcn.0043d430
add esp, 4
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x14]
je 0x4220e0
cmp dword [esp + 0x10], 0
je 0x4220e0
jmp 0x4225d2
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
push dword [esp + 0x1c]
call fcn.0043d430
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.0043d810
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret