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

Disassembly:
sub esp, 0xd0
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x1c], esi
mov esi, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0xcc], eax
mov byte [esp + 0xc8], 0
cmp dword [ebp], 1
jbe 0x417352
mov ecx, dword [ebp]
cmp esi, ecx
jae 0x417372
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov ecx, dword fs:[0x2c]
mov ebx, dword [ecx]
cmp dword [ebx + 0xbe8], 0
je 0x416e7a
push edx
mov edx, dword [ecx]
push eax
push dword [edx + 0xbec]
push dword [edx + 0xbe8]
call fcn.004081c8
test al, al
jne 0x417352
mov eax, dword [esp + 0xd4]
call fcn.00454ef0
test al, al
je 0x416eb1
cmp dword [esp + 0x4c], 0
je 0x417352
mov edx, dword [esp + 0x50]
movzx ecx, byte [edx]
mov edx, dword fs:[0x2c]
mov edx, dword [edx]
cmp ecx, dword [edx + 0xbe0]
jne 0x417352
mov eax, dword [esp + 0xd4]
call fcn.00454ed0
test al, al
je 0x41703b
mov ecx, dword [esp + 0x4c]
cmp ecx, 2
jbe 0x41703b
test ecx, ecx
jne 0x416ef8
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 0x338
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov edx, dword [esp + 0x50]
movzx edx, byte [edx]
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xbe0]
mov dword [esp + 0x24], eax
cmp edx, eax
jne 0x41703b
mov edx, 1
cmp ecx, edx
ja 0x416f46
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x339
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov ebx, dword [esp + 0x50]
movzx ebx, byte [ebx + 1]
cmp ebx, eax
je 0x41703b
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x4c]
mov ecx, 1
mov dword [esp + 0x60], 0
cmp edx, ecx
jb 0x417396
mov edx, dword [esp + 0x4c]
dec edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x74], edx
inc ecx
lea edx, [esp + 0xd0]
mov dword [esp + 0x78], ecx
mov ecx, 0x417428
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00455370
mov ecx, dword [ebp]
cmp ecx, esi
jb 0x4173ba
mov dword [esp + 0x34], esi
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x40], edx
mov ebx, dword [ebp]
cmp ebx, ecx
jb 0x4173de
mov edx, ebx
lea ecx, [esi + 1]
sub edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 4]
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], 3
mov dword [esp], 0x4bd460
call fcn.0044d160
mov dword [ebp], eax
mov dword [ebp + 4], edx
cmp esi, dword [ebp]
jb 0x416e2e
jmp 0x417352
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0xec]
push dword [esp + 0xec]
lea ecx, [esp + 0x64]
push ecx
mov edx, dword [esp + 0xe8]
movsx eax, byte [edx]
call fcn.00454f34
xor al, 1
je 0x41707c
inc esi
jmp 0x41702d
mov byte [esp + 0xc8], 1
lea ecx, [esi + 1]
mov ebx, dword [ebp]
cmp ebx, ecx
jae 0x4170b2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x359
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov eax, ebx
mov edx, dword [ebp + 4]
sub eax, ecx
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [ebp]
cmp ecx, esi
mov dword [esp + 0x2c], edx
jae 0x4170e4
push ecx
mov ecx, 0x4bdab0
push esi
push 0
push 0x359
push ecx
call fcn.00449d20
mov eax, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x4bd460
call fcn.0044a230
mov dword [ebp], eax
mov dword [ebp + 4], edx
cmp dword [esp + 0x54], 0
jne 0x4171db
mov dl, byte [esp + 0xcc]
xor dl, 1
je 0x4171db
cmp esi, dword [ebp]
setb cl
mov edx, 0x417580
push ecx
lea ebx, [esp + 0xd4]
mov ecx, 0x4bdab0
push edx
mov eax, 0x374
push ebx
push ecx
push 0x5b
call fcn.00451ce4
mov edx, dword [ebp]
cmp esi, edx
jae 0x417402
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + esi*8 + 4]
mov eax, dword [ecx + esi*8]
mov dword [esp + 0x54], eax
lea ecx, [esi + 1]
mov dword [esp + 0x58], edx
mov ebx, dword [ebp]
cmp ebx, ecx
jae 0x41718d
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x377
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov eax, ebx
mov edx, dword [ebp + 4]
sub eax, ecx
lea ecx, [edx + esi*8 + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [ebp]
cmp ecx, esi
mov dword [esp + 0x2c], edx
jae 0x4171bf
push ecx
mov ecx, 0x4bdab0
push esi
push 0
push 0x377
push ecx
call fcn.00449d20
mov eax, esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x4bd460
call fcn.0044a230
mov dword [ebp], eax
mov dword [ebp + 4], edx
mov edx, dword fs:[0x2c]
mov ecx, dword [edx]
mov edx, dword [ecx + 0xbfc]
push edx
mov eax, dword [ecx + 0xbf8]
mov ecx, 0x4bb220
push eax
push ecx
push 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
call fcn.004081c8
test al, al
je 0x41726a
push dword [esp + 0x58]
push dword [esp + 0x58]
call fcn.00411b20
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0x4bd460
call fcn.0044d73c
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x7c]
lea ecx, [ebx + ecx*8]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [ecx - 8], eax
mov dword [ecx - 4], edx
jmp 0x41702d
push dword [esp + 0x58]
push dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
push edx
push ebx
lea eax, [esp + 0xc4]
call fcn.004175ec
mov ebx, eax
mov ecx, 5
add ebx, 0x10
push dword [ebx]
sub ebx, 4
dec ecx
jne 0x417292
lea ecx, [esp + 0xa8]
push ecx
lea eax, [esp + 0xe8]
call fcn.00417c50
lea eax, [esp + 0x94]
call fcn.00417cd8
xor al, 1
je 0x41702d
lea eax, [esp + 0x94]
call fcn.00417ce8
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov dword [esp + 8], 1
mov dword [esp + 4], edi
mov dword [esp], 0x4bd460
call fcn.0044d73c
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x8c]
lea ecx, [ebx + ecx*8]
mov eax, dword [esp + 0x84]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x88]
mov dword [ecx - 4], edx
lea eax, [esp + 0x94]
call fcn.00417ce0
lea eax, [esp + 0x94]
call fcn.00417cd8
xor al, 1
jne 0x4172c2
jmp 0x41702d
mov al, byte [esp + 0xc8]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 0xd0
ret 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x330
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x33c
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x349
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x349
mov dword [esp], 0x4bdab0
call fcn.00449d20
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x376
mov dword [esp], 0x4bdab0
call fcn.00449d20
int3