Function at 0x40d840
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, 0x2d0
mov esi, esp
mov dword [esi + 0x18c], 0x43adf4
mov dword [esi + 0x2c], 0
mov eax, dword [str.default]
mov dword [esi + 0x140], eax
mov al, byte [esi + 0x28]
mov byte [esi + 0x30], al
mov byte [esi + 0x1a4], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x190], 0
mov byte [esi + 0x190], 0x6c
mov byte [esi + 0x191], 0xa3
mov byte [esi + 0x192], 0x77
mov byte [esi + 0x193], 0x33
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x15
jae 0x40d919
jmp 0x40d8d9
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x190]
mov edx, eax
add edx, 0x83107789
lea eax, [eax + ecx - 0x7cef8877]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x41
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x190], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x15
jb 0x40d8d9
jmp 0x40d919
mov edi, dword [str.LPnhqo___i4l3n]
mov al, byte [esi + 0x24]
mov byte [esi + 0x34], al
mov byte [esi + 0xc0], 0xf9
mov byte [esi + 0xc1], 0xfa
mov byte [esi + 0xc2], 0x96
mov byte [esi + 0xc3], 0xde
mov byte [esi + 0xc4], 0xe6
mov byte [esi + 0xc5], 0xe8
mov byte [esi + 0xc6], 0xf5
mov byte [esi + 0xc7], 0xee
mov byte [esi + 0xc8], 0x9e
mov byte [esi + 0xc9], 0xec
mov byte [esi + 0xca], 0xf5
mov byte [esi + 0xcb], 0xe6
mov byte [esi + 0xcc], 0xd1
mov byte [esi + 0xcd], 0xde
mov byte [esi + 0xce], 0xdd
mov byte [esi + 0xcf], 0xce
mov byte [esi + 0xd0], 0xd7
mov byte [esi + 0xd1], 0xd4
mov byte [esi + 0xd2], 0x14
mov byte [esi + 0xd3], 0xa5
mov byte [esi + 0xd4], 0xd9
mov byte [esi + 0xd5], 0xd7
mov byte [esi + 0xd6], 0xe3
mov byte [esi + 0xd7], 0xeb
mov byte [esi + 0xd8], 0x16
mov byte [esi + 0xd9], 0x11
mov byte [esi + 0xda], 0x1c
mov byte [esi + 0xdb], 0xd7
mov byte [esi + 0xdc], 0xc5
mov byte [esi + 0xdd], 0xc1
mov byte [esi + 0xde], 0xfb
mov byte [esi + 0xdf], 0x3f
mov byte [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x29
jae 0x40da71
jmp 0x40da31
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx ecx, byte [esi + ecx + 0xc0]
mov edx, eax
add edx, 0xb36cead4
lea eax, [eax + ecx - 0x4c93152c]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x34
mov ecx, dword [esi + 0xc]
mov byte [esi + ecx + 0xc0], al
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x29
jb 0x40da31
jmp 0x40da71
sub esp, 8
lea eax, [esi + 0xc0]
mov dword [esp + 4], eax
lea ebx, [esi + 0x1bc]
mov dword [esp], ebx
call fcn.0040e220
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0040e220
lea ecx, [esi + 0x190]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0040e220
mov ecx, dword [esi + 0x140]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0040e220
add esp, 8
mov dword [esi + 0x184], eax
mov eax, dword [esi + 0x184]
sub eax, ebx
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x180]
mov cl, byte [esi + 0x1c]
mov byte [esi + 0x38], cl
mov byte [esi + 0x40], 0xeb
mov byte [esi + 0x41], 0x35
mov byte [esi + 0x42], 0xc5
mov byte [esi + 0x43], 0x33
mov byte [esi + 0x44], 0xc0
mov byte [esi + 0x45], 0x31
mov byte [esi + 0x46], 0xbc
mov byte [esi + 0x47], 0xcf
mov byte [esi + 0x48], 0x35
mov byte [esi + 0x49], 0xcd
mov byte [esi + 0x4a], 0x3e
mov byte [esi + 0x4b], 0xcb
mov byte [esi + 0x4c], 0x46
mov byte [esi + 0x4d], 0xc9
mov byte [esi + 0x4e], 0xfb
mov byte [esi + 0x4f], 0xc7
mov byte [esi + 0x50], 0x2a
mov byte [esi + 0x51], 0xc5
mov byte [esi + 0x52], 0x43
mov byte [esi + 0x53], 0xc3
mov byte [esi + 0x54], 0x32
mov byte [esi + 0x55], 0xc1
mov byte [esi + 0x56], 0x3b
mov byte [esi + 0x57], 0xdf
mov byte [esi + 0x58], 0x18
mov byte [esi + 0x59], 0xdd
mov byte [esi + 0x5a], 0xfc
mov byte [esi + 0x5b], 0xdb
mov byte [esi + 0x5c], 0x25
mov byte [esi + 0x5d], 0xd9
mov byte [esi + 0x5e], 0x28
mov byte [esi + 0x5f], 0xd7
mov byte [esi + 0x60], 0x26
mov byte [esi + 0x61], 0xd5
mov byte [esi + 0x62], 0x20
mov byte [esi + 0x63], 0xd3
mov byte [esi + 0x64], 0x25
mov byte [esi + 0x65], 0xd1
mov byte [esi + 0x66], 0x2d
mov byte [esi + 0x67], 0xef
mov byte [esi + 0x68], 0x11
mov byte [esi + 0x69], 0xed
mov byte [esi + 0x6a], 0x60
mov byte [esi + 0x6b], 0xeb
mov byte [esi + 0x6c], 0x1d
mov byte [esi + 0x6d], 0xe9
mov byte [esi + 0x6e], 0x19
mov byte [esi + 0x6f], 0xe7
mov byte [esi + 0x70], 0x14
mov byte [esi + 0x71], 0xe5
mov byte [esi + 0x72], 0xd5
mov byte [esi + 0x73], 0xe3
mov byte [esi + 0x74], 0x6a
mov byte [esi + 0x75], 0xe1
mov byte [esi + 0x76], 0xd3
mov byte [esi + 0x77], 0xff
mov byte [esi + 0x78], 0x77
mov byte [esi + 0x79], 0xfd
mov byte [esi + 0x7a], 0x75
mov byte [esi + 0x7b], 0xfb
mov byte [esi + 0x7c], 0x73
mov byte [esi + 0x7d], 0xf9
mov byte [esi + 0x7e], 0xcb
mov byte [esi + 0x7f], 0xf7
mov byte [esi + 0x80], 0xc
mov byte [esi + 0x81], 0xf5
mov byte [esi + 0x82], 5
mov byte [esi + 0x83], 0xf3
mov byte [esi + 0x84], 0x7c
mov byte [esi + 0x85], 0xf1
mov byte [esi + 0x86], 3
mov byte [esi + 0x87], 0x8f
mov byte [esi + 0x88], 0xbd
mov byte [esi + 0x89], 0x8d
mov byte [esi + 0x8a], 7
mov byte [esi + 0x8b], 0x8b
mov byte [esi + 0x8c], 4
mov byte [esi + 0x8d], 0x89
mov byte [esi + 0x8e], 0x7c
mov byte [esi + 0x8f], 0x87
mov byte [esi + 0x90], 0x7d
mov byte [esi + 0x91], 0x85
mov byte [esi + 0x92], 0x76
mov byte [esi + 0x93], 0x83
mov byte [esi + 0x94], 0x7f
mov byte [esi + 0x95], 0x81
mov byte [esi + 0x96], 0x71
mov byte [esi + 0x97], 0x9f
mov byte [esi + 0x98], 0x62
mov byte [esi + 0x99], 0x9d
mov byte [esi + 0x9a], 0x67
mov byte [esi + 0x9b], 0x9b
mov byte [esi + 0x9c], 0x66
mov byte [esi + 0x9d], 0x99
mov byte [esi + 0x9e], 0x8b
mov byte [esi + 0x9f], 0x97
mov byte [esi + 0xa0], 0x80
mov byte [esi + 0xa1], 0x95
mov byte [esi + 0xa2], 0x94
mov byte [esi + 0xa3], 0x93
mov byte [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0x71
jae 0x40dd5c
jmp 0x40dd11
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edi, byte [esi + edx + 0x40]
mov edx, ecx
and edx, 0x164838f9
xor ecx, 0x964838f9
lea edx, [ecx + edx*2]
mov ecx, edx
add ecx, edi
and edx, edi
add edx, edx
mov edi, edx
xor edi, ecx
not edx
and ecx, edx
add ecx, ecx
sub ecx, edi
add cl, 0x31
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0x40], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0x71
jb 0x40dd11
jmp 0x40dd5c
mov cl, byte [esi + 0x18]
mov byte [esi + 0x3c], cl
mov byte [esi + 0xf0], 0xff
mov byte [esi + 0xf1], 0x2d
mov byte [esi + 0xf2], 0xcb
mov byte [esi + 0xf3], 0x2b
mov byte [esi + 0xf4], 0xb8
mov byte [esi + 0xf5], 0x29
mov byte [esi + 0xf6], 0x3f
mov byte [esi + 0xf7], 0xd7
mov byte [esi + 0xf8], 0xd4
mov byte [esi + 0xf9], 0xd5
mov byte [esi + 0x10e], 0
mov dword [esi + 0x10a], 0
mov dword [esi + 0x106], 0
mov dword [esi + 0x102], 0
mov dword [esi + 0xfe], 0
mov dword [esi + 0xfa], 0
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x1f
jae 0x40de33
jmp 0x40ddf2
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x14]
movzx edx, byte [esi + edx + 0xf0]
mov edi, ecx
add edi, 0x41049b7a
and edi, edx
lea ecx, [ecx + edx + 0x41049b7a]
add edi, edi
sub ecx, edi
add cl, 0xaa
mov edx, dword [esi + 0x14]
mov byte [esi + edx + 0xf0], cl
mov ecx, dword [esi + 0x14]
inc ecx
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x14]
cmp ecx, 0x1f
jb 0x40ddf2
jmp 0x40de33
sub esp, 0x1c
lea ecx, [esi + 0x17c]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
lea eax, [esi + 0x40]
mov dword [esp + 8], eax
lea eax, [esi + 0xf0]
mov dword [esp + 4], eax
mov dword [esp], 0x443bcc
call fcn.0040af50
add esp, 0x1c
movzx eax, al
mov dword [esi + 0x188], eax
mov eax, dword [esi + 0x18c]
mov ecx, dword [esi + 0x188]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x43adfc]
xor ecx, 0x6bff0b61
sub eax, ecx
push eax
mov ecx, esp
mov dword [esi + 0x128], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae00]
mov dword [esi + 0x124], ecx
push eax
mov edx, esp
mov dword [edx], 0x43a490
mov ecx, dword [0x43ae08]
mov dword [esi + 0x12c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x13c], ecx
mov dword [ecx], 0x43ae10
push eax
mov dword [esi + 0x138], esp
push eax
mov ecx, esp
mov dword [esi + 0x158], ecx
mov dword [ecx], 0x43ae1c
push eax
mov ebx, esp
push eax
mov ecx, esp
mov dword [esi + 0x148], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae28]
mov dword [esi + 0x144], ecx
push eax
mov ecx, esp
mov dword [esi + 0x150], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae30]
mov dword [esi + 0x14c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x15c], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae38]
mov dword [esi + 0x154], ecx
push eax
mov ecx, esp
mov dword [esi + 0x16c], ecx
mov dword [ecx], 0x43ae40
push eax
mov dword [esi + 0x164], esp
push eax
mov ecx, esp
mov dword [esi + 0x178], ecx
mov dword [ecx], 0x43ae4c
push eax
mov edi, esp
push eax
mov ecx, esp
mov dword [esi + 0x174], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae58]
mov dword [esi + 0x170], ecx
push eax
mov ecx, esp
mov dword [esi + 0x120], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae60]
mov dword [esi + 0x11c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x168], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae68]
mov dword [esi + 0x160], ecx
jmp eax