Function at 0x4096e0
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, 0xfffffff0
sub esp, 0x110
cmp dword [ecx + 0x20], 0
je 0x409747
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x40974e
cmp al, 0x64
jb 0x40975d
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
movzx ecx, cx
shr ecx, 0xc
imul edx, ecx, 0x64
sub al, dl
movzx eax, al
mov edx, eax
and edx, 0x7d
mov edi, eax
and edi, 2
or eax, 2
imul eax, edi
xor edi, 2
imul edi, edx
movzx eax, word [edi + eax + 0x43d438]
mov word [esp + 0xd], ax
mov edx, 1
mov eax, ecx
jmp 0x409766
mov bl, 1
jmp 0x409d78
lea eax, [esp + 0xe]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xe], 0x30
jmp 0x4097a8
mov edx, 3
cmp al, 9
ja 0x40977d
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ecx, [esp + edx]
add ecx, 0xb
mov dword [esp + 0x3c], ecx
mov byte [esp + edx + 0xb], al
jmp 0x4097a8
mov ecx, eax
and ecx, 2
mov edx, eax
or eax, 2
imul eax, ecx
xor ecx, 2
and edx, 0x7d
imul edx, ecx
movzx eax, word [edx + eax + 0x43d438]
lea ecx, [esp + 0xd]
mov dword [esp + 0x3c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.004064e0
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xe0], eax
lea ebx, [esp + 0xeb]
push ebx
call fcn.00433ab0
add esp, 4
mov dword [esp + 0xe4], edi
lea eax, [edi + 0x800]
push eax
call fcn.00435870
add esp, 4
mov edi, eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0xe79b8694
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x13
ja 0x409877
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x40]
mov edx, eax
and edx, 0xf0c2fe56
xor eax, 0x70c2fe56
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
add al, 0xa6
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x14
jb 0x409830
lea eax, [esp + 0x40]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.00408f60
mov dword [esp + 0x40], 0x83687276
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0xf
ja 0x4098ef
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x40]
lea edx, [eax + 0x41]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0x7a
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x10
jb 0x4098c0
mov ecx, esi
push dword [esp + 0x3c]
push ebx
push edi
call fcn.00408f60
mov eax, dword [str.LPnhqo___ethinformation]
mov byte [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0xfb5c629a
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
cmp ecx, 0x10
ja 0x409980
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
movzx edx, byte [esp + edx + 0x40]
mov ebx, ecx
and ebx, 0x2a9eb27f
xor ecx, 0xaa9eb27f
lea ecx, [ecx + ebx*2]
mov ebx, ecx
and ebx, edx
add ecx, edx
add ebx, ebx
sub ecx, ebx
add cl, 0x87
mov edx, dword [esp + 0x10]
mov byte [esp + edx + 0x40], cl
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x11
jb 0x409940
mov ecx, esi
push eax
lea ebx, [esp + 0x44]
push ebx
push edi
call fcn.00408f60
mov dword [esp + 0x40], 0x7f467e4b
mov dword [esp + 0x44], 0x42734a73
mov dword [esp + 0x48], 0x74717a43
mov byte [esp + 0x4c], 0xda
mov dword [esp + 0x4d], 0
mov dword [esp + 0x51], 0
mov dword [esp + 0x55], 0
mov byte [esp + 0x59], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x19
ja 0x409a05
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
add al, 0xe3
xor al, byte [esp + ecx + 0x40]
add al, 0xcb
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1a
jb 0x4099e0
mov byte [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x33b8a8a9
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x18
ja 0x409a88
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx edx, byte [esp + eax + 0x10]
lea eax, [ecx + edx]
add eax, 0xf58a0e29
add ecx, 0xf58a0e29
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xe1
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x19
jb 0x409a50
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.00408f60
mov dword [esp + 0x44], 0
mov byte [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0x5c6462a0
mov byte [esp + 0x44], 0xfa
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x18
ja 0x409b15
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
add al, 0x7f
xor al, byte [esp + ecx + 0x40]
add al, 0x87
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x19
jb 0x409af0
mov ecx, esi
push dword [esp + 0xe4]
push dword [esp + 0xe4]
push ebx
push edi
call fcn.00409250
mov eax, dword [esi + 0x60]
mov dword [esp + 0x40], 0xc375c50b
mov dword [esp + 0x44], 0xcf7cc170
mov dword [esp + 0x48], 0xcb7ecd65
mov dword [esp + 0x4c], 0xd73bc976
mov dword [esp + 0x50], 0xd353d50a
mov dword [esp + 0x54], 0xdf7bd162
mov dword [esp + 0x58], 0xdb3cdd18
mov dword [esp + 0x5c], 0xa763d969
mov dword [esp + 0x60], 0xa318a512
mov dword [esp + 0x64], 0xaf10a115
mov dword [esp + 0x68], 0xab12ad01
mov dword [esp + 0x6c], 0xb759a916
mov dword [esp + 0x70], 0xb305b51c
mov dword [esp + 0x74], 0xbf03b10c
mov dword [esp + 0x78], 0xbb10bd4d
mov dword [esp + 0x7c], 0x8704b915
mov dword [esp + 0x80], 0x83418529
mov dword [esp + 0x84], 0x8f2e8162
mov dword [esp + 0x88], 0x8b378d3f
mov dword [esp + 0x8c], 0x97248938
mov dword [esp + 0x90], 0x932a9539
mov dword [esp + 0x94], 0x9f539115
mov dword [esp + 0x98], 0x9b379d30
mov dword [esp + 0x9c], 0x67639962
mov dword [esp + 0xa0], 0x63cf65ca
mov dword [esp + 0xa4], 0x6fd76199
mov dword [esp + 0xa8], 0x6bc06dde
mov dword [esp + 0xac], 0x77c569db
mov dword [esp + 0xb0], 0x73df75c1
mov dword [esp + 0xb4], 0x7fce71cc
mov dword [esp + 0xb8], 0x7b837dd5
mov dword [esp + 0xbc], 0x476e7969
mov word [esp + 0xc0], 0x4546
mov dword [esp + 0xce], 0
mov dword [esp + 0xca], 0
mov dword [esp + 0xc6], 0
mov dword [esp + 0xc2], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
cmp ecx, 0x91
ja 0x409cda
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
add cl, 0xa1
xor cl, byte [esp + edx + 0x40]
add cl, 0x99
mov edx, dword [esp + 0x10]
mov byte [esp + edx + 0x40], cl
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x92
jb 0x409cb0
mov dword [esp + 0x10], 0x5bbb598f
mov dword [esp + 0x14], 0x47af45d4
mov word [esp + 0x18], 0x4140
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x21], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x14
ja 0x409d47
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
add cl, 0x8c
xor cl, byte [esp + edx + 0x10]
add cl, 0x2c
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x15
jb 0x409d20
push 0x493e0
push eax
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.0040ceb0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408580
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret