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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x110
cmp dword [ecx + 0x20], 0
je 0x409e75
mov esi, ecx
lea eax, [ecx + 0x10]
push eax
call fcn.004061a0
add esp, 4
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 8], eax
movzx eax, byte [esi]
imul ecx, eax, 0xcd
shr ecx, 0xa
and ecx, 0xfffffffe
lea ecx, [ecx + ecx*4]
sub al, cl
movzx eax, al
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov byte [esp + 2], al
mov byte [esp + 3], 0
mov eax, edx
and eax, 0x400
mov dword [esp + 0xc], edx
mov ecx, edx
xor ecx, 0x400
lea eax, [ecx + eax*2]
push eax
call fcn.004082b0
add esp, 4
mov dword [esp + 0x74], 0x353d0234
mov byte [esp + 0x78], 0x88
mov dword [esp + 0x79], 0
mov edi, 0x16b52623
nop
movzx ecx, byte [esp + edi - 0x16b525af]
xor ecx, edi
mov edx, ecx
xor edx, 0x7189beb0
and ecx, 0x634004f
add ecx, ecx
sub ecx, edx
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + edi - 0x16b525af], cl
inc edi
cmp edi, 0x16b5262c
jne 0x409980
lea edx, [esp + 0x74]
mov dword [esp + 0x10], esi
mov ecx, esi
push 0x44bce0
push edx
mov dword [esp + 0xc], eax
push eax
call fcn.00409210
mov dword [esp + 0x74], 0x89363c3c
xor eax, eax
xor ecx, ecx
nop
nop
nop
movzx ebx, byte [esp + ecx + 0x74]
mov edx, ecx
xor edx, 0x211cd423
lea esi, [eax + edx]
mov edi, ebx
not edi
or edi, esi
add edi, ebx
inc edi
mov ebp, edi
and ebp, 0xfffffffd
mov esi, edi
or esi, 0xfffffffd
inc esi
imul esi, ebp
mov ebp, edi
and ebp, 2
or edi, 2
imul edi, ebp
add edx, ebx
lea ebp, [eax + edx]
add edx, esi
sub edx, edi
lea ebx, [eax + edx]
add ebx, 0x5a6fdb50
mov edx, ebx
xor edx, 0xfffffffe
or ebx, 1
and edx, ebx
mov edi, edx
and edi, 2
mov esi, edx
or edx, 2
imul edx, edi
xor edi, 2
and esi, 0xfd
imul esi, edi
and ebp, 1
sub ebx, ebp
add ebx, edx
add ebx, esi
mov byte [esp + ecx + 0x74], bl
inc ecx
add eax, 2
cmp ecx, 4
jne 0x4099e0
lea eax, [esp + 2]
mov ebp, dword [esp + 0x10]
mov ecx, ebp
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0xc]
call fcn.00409210
mov eax, dword [str.yJEcaG__tres11]
mov dword [esp + 0x74], 0x335e5844
mov word [esp + 0x78], 0
mov byte [esp + 0x7a], 0
mov ecx, 0x6b7c8035
mov edx, 0x14837fcb
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx - 0x6b7c7fc1]
mov ebx, edx
and ebx, 0x100329cc
mov esi, edx
or esi, 0xef945613
add esi, ecx
or esi, ebx
xor esi, edi
mov edi, esi
xor edi, 0x6c
mov ebx, esi
xor ebx, 0x68
and ebx, edi
xor esi, 0x17
lea ebx, [esi + ebx*2]
inc bl
mov byte [esp + ecx - 0x6b7c7fc1], bl
inc ecx
dec edx
cmp ecx, 0x6b7c803c
jne 0x409aa0
mov ecx, ebp
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0xc]
call fcn.00409210
mov dword [esp + 0x74], 0xbda8a0b1
mov dword [esp + 0x78], 0xa8a5acb9
mov dword [esp + 0x7c], 0xaaabb4a9
mov byte [esp + 0x80], 0xd0
mov dword [esp + 0x81], 0
mov dword [esp + 0x84], 0
mov eax, 0x2c73684f
nop
movzx edx, byte [esp + eax - 0x2c7367db]
xor edx, eax
mov ecx, edx
and ecx, 0x74
add ecx, ecx
xor edx, 0x8b
sub ecx, edx
mov byte [esp + eax - 0x2c7367db], cl
inc eax
cmp eax, 0x2c736863
jne 0x409b30
mov dword [esp + 0x14], 0x43d6e2e1
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0xd33c4b0f
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x14]
mov esi, edx
not esi
or esi, 0x25431ac6
add esi, edx
inc esi
and edx, 0x39
xor edx, 0xdabce539
or esi, edx
mov edx, ecx
and edx, 0xd23c4109
mov edi, eax
and edi, 6
add edx, edi
add edx, 0x244310c0
xor edx, esi
mov esi, edx
not esi
or esi, 0x202d774f
add esi, edx
inc esi
mov edi, esi
and edi, 0xfd
mov ebx, esi
and ebx, 2
or esi, 2
imul esi, ebx
xor ebx, 2
imul ebx, edi
xor edx, 0x4f
add edx, esi
add edx, ebx
inc dl
mov byte [esp + eax + 0x14], dl
inc eax
dec ecx
cmp eax, 5
jne 0x409b70
lea edx, [esp + 0x14]
mov ecx, ebp
lea eax, [esp + 0x74]
push eax
push edx
mov edi, dword [esp + 0xc]
push edi
call fcn.00409210
mov dword [esp + 0x74], 0x666e6866
mov byte [esp + 0x78], 0xc4
mov dword [esp + 0x79], 0
mov byte [esp + 0x7d], 0
xor eax, eax
movzx ecx, byte [esp + eax + 0x74]
mov esi, 0x4f
sub esi, eax
and esi, 0x49
mov edx, eax
and edx, 6
or edx, esi
xor edx, 0x86
and edx, ecx
mov ebx, 0xcf
sub ebx, eax
or ebx, ecx
not ebx
or ebx, edx
add bl, 0x10
mov byte [esp + eax + 0x74], bl
mov edx, eax
xor edx, 0xfffffffe
mov ecx, eax
or ecx, 1
and ecx, edx
mov edx, ecx
and edx, 0xd
mov esi, ecx
and esi, 2
or ecx, 2
imul ecx, esi
xor esi, 2
imul esi, edx
xor eax, 1
add eax, ecx
add eax, esi
cmp eax, 0xa
jb 0x409c10
mov ecx, ebp
push dword [esp + 0xc]
push dword [esp + 0xc]
lea ebx, [esp + 0x7c]
push ebx
push edi
call fcn.004094d0
mov dword [esp + 0x14], 0x910f9f59
mov dword [esp + 0x18], 0x9506930e
mov dword [esp + 0x1c], 0x89089733
mov dword [esp + 0x20], 0x8d558b1c
mov dword [esp + 0x24], 0x81058f38
mov dword [esp + 0x28], 0x85258310
mov dword [esp + 0x2c], 0x7966874e
mov dword [esp + 0x30], 0x7ded7be7
mov dword [esp + 0x34], 0x71ea7fe0
mov dword [esp + 0x38], 0x75e273eb
mov dword [esp + 0x3c], 0x69e477d7
mov dword [esp + 0x40], 0x6dbb6bfc
mov dword [esp + 0x44], 0x61ff6fca
mov dword [esp + 0x48], 0x65fd63f2
mov dword [esp + 0x4c], 0x59c267bb
mov dword [esp + 0x50], 0x5dce5bfb
mov dword [esp + 0x54], 0x51935fff
mov dword [esp + 0x58], 0x55f053b0
mov dword [esp + 0x5c], 0x49c157c5
mov dword [esp + 0x60], 0x4dee4bd6
mov dword [esp + 0x64], 0x41dc4fef
mov dword [esp + 0x68], 0x458d43cb
mov word [esp + 0x6c], 0x4744
mov byte [esp + 0x72], 0
mov dword [esp + 0x6e], 0
xor eax, eax
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x14]
mov ecx, eax
and ecx, 0x65
mov esi, eax
and esi, 0x1a
xor esi, 0xb9a6521b
sub ecx, esi
xor ecx, edx
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0x86
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x5f
jne 0x409d50
movzx eax, word [esp + 0x14]
test ax, ax
je 0x409db1
lea ebx, [esp + 0x74]
lea ecx, [esp + 0x16]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409da0
mov word [ebx], 0
movzx ecx, byte [ebp + 0x60]
test cl, cl
je 0x409de1
lea eax, [ebp + 0x61]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, cl
mov word [ebx], cx
add ebx, 2
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x409dd0
mov dword [ebx], 0xa000d
mov word [ebx + 4], 0
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x14], 0x73d37187
mov dword [esp + 0x18], 0x7fd77dcc
mov dword [esp + 0x1c], 0x7978
mov ecx, 0xe4aee414
movzx edx, byte [esp + ecx + 0x1b511c00]
mov ebx, edx
and ebx, ecx
add bl, bl
sub dl, bl
movzx edx, dl
add edx, ecx
add dl, 0x9c
mov byte [esp + ecx + 0x1b511c00], dl
inc ecx
cmp ecx, 0xe4aee420
jne 0x409e10
lea ecx, [esp + 0x74]
push 0x493e0
push eax
push edi
push 0
push 0
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0040c570
add esp, 0x1c
mov ebx, eax
push edi
call fcn.004082c0
add esp, 4
mov eax, dword [ebp + 0x80]
add dword [ebp + 4], eax
mov dword [ebp + 0x80], 0
jmp 0x409e77
mov bl, 1
mov eax, ebx
add esp, 0x110
pop esi
pop edi
pop ebx
pop ebp
ret