Function at 0x4240e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x424110
sar eax, 1
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x424130
sar ecx, 1
add eax, ecx
add eax, 0x21
mov ecx, eax
and ecx, 0x1e
xor eax, 0x1e
lea eax, [eax + ecx*2]
test eax, eax
jns 0x424158
mov eax, 0xffffffff
jmp 0x42415a
add eax, eax
push eax
call fcn.0040cbd0
add esp, 4
mov esi, eax
mov dword [esp + 0x50], 0x81398722
mov dword [esp + 0x54], 0x8d2d833d
mov dword [esp + 0x58], 0x89438f3e
mov dword [esp + 0x5c], 0x953c8b39
mov dword [esp + 0x60], 0x91399728
mov dword [esp + 0x64], 0x9d2e9328
mov dword [esp + 0x68], 0x99329f57
mov dword [esp + 0x6c], 0x65669b5f
mov dword [esp + 0x70], 0x619d6796
mov dword [esp + 0x74], 0x6d99639c
mov dword [esp + 0x78], 0x69976f92
mov dword [esp + 0x7c], 0x75916b9a
mov dword [esp + 0x80], 0x71d2778b
mov dword [esp + 0x84], 0x7dde73db
mov dword [esp + 0x88], 0x797e7fde
mov word [esp + 0x8c], 0
mov eax, 0xc3776561
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x3c889aef]
xor ecx, eax
lea edx, [ecx + 0x1a]
mov ebp, 0x65
sub ebp, ecx
and ecx, 1
and ebp, 0x61
and edx, 0x9e
or edx, ebp
xor edx, 0x60
lea ecx, [edx + ecx*2]
mov byte [esp + eax + 0x3c889aef], cl
inc eax
cmp eax, 0xc377659f
jne 0x424200
mov dword [esp + 4], 0x8331815c
mov dword [esp + 8], 0x87298530
mov dword [esp + 0xc], 0x8b2b893a
mov dword [esp + 0x10], 0x8f2b8d2b
mov dword [esp + 0x14], 0x9336914c
mov dword [esp + 0x18], 0x97309531
mov dword [esp + 0x1c], 0x9b2f9939
mov dword [esp + 0x20], 0x9f2a9d30
mov dword [esp + 0x24], 0x63cf61bc
mov dword [esp + 0x28], 0x67dc65cb
mov dword [esp + 0x2c], 0x6bcf6985
mov dword [esp + 0x30], 0x6fda6dd4
mov dword [esp + 0x34], 0x73dc71d5
mov dword [esp + 0x38], 0x77df75c7
mov dword [esp + 0x3c], 0x7bd479d7
mov dword [esp + 0x40], 0x7f957d97
mov dword [esp + 0x44], 0x434241ab
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xe0
xor cl, byte [esp + eax + 4]
add cl, 0xa0
mov byte [esp + eax + 4], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x44
jb 0x4242d0
mov ebp, dword [esp + 0xac]
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x424321
add ecx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x424310
mov word [eax], 0
movzx ecx, word [esp + 4]
test cx, cx
je 0x424351
lea edx, [esp + 6]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x424340
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x424381
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x424370
mov word [eax], 0
movzx ecx, word [esp + 0x50]
test cx, cx
je 0x4243b1
lea edx, [esp + 0x52]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4243a0
mov word [eax], 0
mov eax, dword [edi]
mov ecx, 0xfffffffe
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4243c0
mov dword [esp + 0x48], eax
sar ecx, 1
mov edx, dword [ebp]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + eax + 2], 0
lea eax, [eax + 2]
jne 0x4243e0
add ecx, 0xa
sar eax, 1
mov edx, eax
and edx, ecx
xor eax, ecx
lea edx, [eax + edx*2]
add eax, eax
xor edx, 1
mov edi, dword [ebp + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x424410
and eax, 2
add edx, eax
sar ecx, 1
add ecx, edx
mov dword [esp + 0x4c], esi
jns 0x424431
mov ecx, 0xffffffff
jmp 0x424433
add ecx, ecx
push ecx
call fcn.0040cbd0
add esp, 4
mov dword [esp], eax
mov dword [esp + 4], 0xd7b7c993
mov dword [esp + 8], 0xd3a6d5a0
mov dword [esp + 0xc], 0xdfa2d1bd
mov dword [esp + 0x10], 0xdbe9dda3
mov dword [esp + 0x14], 0xd9d8
mov edi, 0x7b07149a
mov esi, 0xf60e2934
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + edi - 0x7b071496]
mov ecx, esi
and ecx, 0x620c001c
mov eax, edi
xor eax, 0xb596614e
mov ebp, 0x99
sub ebp, ecx
sub ebp, eax
add eax, ecx
add eax, 0x66
lea ecx, [edx + edx]
not ecx
add ecx, edx
and ebp, edx
not edx
and edx, eax
and edx, ecx
or edx, ebp
add dl, 0x7a
mov byte [esp + edi - 0x7b071496], dl
inc edi
add esi, 2
cmp edi, 0x7b0714ae
jne 0x424480
movzx ecx, word [esp + 4]
mov esi, dword [esp]
mov eax, esi
test cx, cx
je 0x424501
lea edx, [esp + 6]
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4244f0
mov word [eax], 0
mov edx, dword [esp + 0x48]
movzx ecx, word [edx]
test cx, cx
mov esi, dword [esp + 0xac]
je 0x424531
add edx, 2
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x424520
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [esi]
movzx edx, word [ecx]
test dx, dx
je 0x424561
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x424550
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [esi + 8]
movzx edx, word [ecx]
test dx, dx
je 0x424591
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x424580
mov word [eax], 0
mov dword [esp + 4], 0x393a3bea
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 4]
mov ebx, eax
and ebx, 1
mov edx, eax
and edx, 2
mov esi, edx
xor esi, 2
imul esi, ebx
or ebx, 2
imul ebx, edx
mov edx, eax
xor edx, 0x33da64b
add edx, esi
add edx, ebx
mov esi, edx
xor esi, ecx
lea edi, [esi + esi]
not edi
add edi, esi
mov esi, edx
not esi
or esi, edi
lea ebx, [esi + edx]
inc ebx
mov esi, ebx
and esi, 2
mov edi, ebx
or edi, 0xfffffffd
inc edi
mov ebp, ebx
and ebp, 0xfffffffd
imul ebp, edi
or ebx, 2
imul ebx, esi
sub ebp, ebx
add edx, ecx
add edx, ebp
mov ecx, edx
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
add cl, 0x88
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 6
jne 0x4245b0
lea eax, [esp + 4]
push 0
push 1
push 0
push eax
mov esi, dword [esp + 0x5c]
push esi
mov edi, dword [esp + 0x14]
push edi
push dword [esp + 0xbc]
call fcn.004248e0
add esp, 0x1c
mov ebx, eax
jmp dword [0x44ad44]