Function at 0x40a6d0
Capabilities:
Decode data using base64 via dword translation table
Encode data using base64
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x17c
mov eax, dword [esp + 0x198]
mov edi, dword [esp + 0x19c]
mov ebp, dword [esp + 0x190]
mov ecx, dword [esp + 0x194]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x7c], edi
mov esi, dword [esp + 0x1a0]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1ac]
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1b0]
mov edx, eax
mov dword [esp + 0x90], eax
mov eax, dword [sym.imp.cygwin1.dll___stack_chk_guard]
mov dword [esp + 0x16c], eax
xor eax, eax
test edx, edx
je 0x40a765
mov eax, dword [esp + 0x94]
test eax, eax
lea eax, [edi - 0x10]
sete dl
test dl, dl
cmove eax, edi
mov dword [esp + 0x7c], eax
test ecx, ecx
je 0x40a82b
lea eax, [esp + 0xa0]
mov edx, ebp
call fcn.00408d60
mov eax, dword [esp + 0xa0]
mov dword [ebp], eax
mov eax, dword [esp + 0xa4]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0xac]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x150], 0
mov dword [ebp + 0x154], 0
mov dword [ebp + 0x158], 0
mov dword [ebp + 0x15c], 0
mov dword [ebp + 0x18c], 0
mov dword [ebp + 0x188], 0
test ebx, ebx
js 0x40b1ae
mov dword [ebp + 0x140], 0
mov dword [ebp + 0x144], 0
mov dword [ebp + 0x148], 0
mov dword [ebp + 0x14c], 0
test ebx, ebx
jle 0x40a844
mov eax, dword [esp + 0x90]
mov ecx, ebx
mov edx, esi
mov dword [esp], eax
mov eax, ebp
call fcn.00408fc0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x7c]
mov esi, dword [ebp]
mov ebx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
test edi, edi
lea eax, [edi + 0x3f]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xb8], esi
cmovns eax, edi
mov dword [esp + 0xbc], ebx
mov edi, dword [esp + 0x88]
mov dword [esp + 0xc0], ecx
sar eax, 6
mov dword [esp + 0xc4], edx
mov dword [esp + 0x98], eax
je 0x40ace0
mov dword [esp + 0x24], esi
lea esi, [ebp + 0x190]
mov edi, dword [ebp + 0x18c]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x9c], edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x88]
lea esi, [esi]
lea esi, [esi]
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, dword [ebp + 0x40]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x68], 4
mov dword [esp + 0x30], esi
mov esi, dword [ebp + 0x44]
xor ecx, dword [esp + 0x30]
mov dword [esp + 0x34], esi
mov esi, dword [ebp + 0x48]
xor eax, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], esi
mov esi, dword [ebp + 0x4c]
mov dword [esp + 0x74], eax
xor edx, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov esi, eax
mov eax, dword [edi + 0xc]
xor ebx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
xor eax, ebx
mov dword [esp + 0x54], ebx
mov ebx, dword [edi]
xor edx, dword [edi + 8]
mov dword [esp + 0x124], eax
xor ebx, ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x120], edx
mov dword [esp + 0x118], ebx
xor ecx, esi
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x4c]
xor ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x54]
mov ebx, dword [esp + 0x54]
xor ebx, dword [ebp + 0x5c]
mov dword [esp + 0x40], ecx
xor eax, esi
mov dword [esp + 0x48], ebx
mov edx, dword [esp + 0x50]
mov esi, eax
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x1c]
xor edx, dword [ebp + 0x58]
xor eax, ebx
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x44], edx
mov dword [esp + 0x134], eax
xor edx, dword [edi + 0x18]
xor ebx, ecx
mov ecx, dword [edi + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x130], edx
xor eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x128], ebx
mov ebx, dword [esp + 0x34]
xor ecx, esi
xor edx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x12c], ecx
xor eax, dword [edi + 0x2c]
xor ebx, esi
mov ecx, dword [esp + 0x30]
xor ecx, dword [esp + 0x40]
mov dword [esp + 0x34], edx
mov esi, ebx
mov dword [esp + 0x6c], ebx
mov ebx, dword [edi + 0x20]
xor edx, dword [edi + 0x28]
mov dword [esp + 0x30], ecx
xor ebx, ecx
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x144], eax
xor eax, eax
tzcnt eax, dword [esp + 0x68]
xor ecx, esi
mov dword [esp + 0x138], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x140], edx
mov edx, dword [esp + 0x34]
shl eax, 4
add eax, ebp
mov ebp, dword [eax + 0x44]
xor ecx, dword [eax + 0x40]
xor edx, dword [eax + 0x48]
mov dword [esp + 0x24], ecx
xor ebp, esi
xor ebx, dword [eax + 0x4c]
xor ecx, dword [edi + 0x30]
mov dword [esp + 0x1c], edx
mov eax, ebx
xor edx, dword [edi + 0x38]
xor eax, dword [edi + 0x3c]
mov dword [esp + 0x20], ebx
mov ebx, ecx
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x148], ebx
xor ecx, ebp
mov dword [esp + 0x150], edx
lea ebp, [esp + 0x148]
mov dword [esp + 0x14c], ecx
mov esi, ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x154], eax
nop
mov dword [esp + 4], esi
mov ebx, esi
mov dword [esp], esi
sub esi, 0x10
mov dword [esp + 8], ebp
call sub.cygcrypto_1.1.dll_AES_decrypt
lea eax, [esp + 0x118]
cmp eax, ebx
jne 0x40aab0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
xor eax, dword [esp + 0x118]
xor esi, dword [esp + 0x128]
mov ecx, dword [esp + 0x74]
mov dword [ebp], eax
xor ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x3c], esi
xor edx, dword [esp + 0x120]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
xor ebx, dword [esp + 0x124]
mov eax, dword [esp + 0x3c]
mov dword [ebp + 4], ecx
mov esi, dword [esp + 0x70]
xor esi, dword [esp + 0x12c]
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x54], edx
xor ecx, dword [esp + 0x130]
mov edx, esi
mov esi, ebp
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x48]
xor ebx, dword [esp + 0x134]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x18], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [ebp + 0x1c], ebx
mov ebp, dword [esp + 0x30]
xor ebp, dword [esp + 0x138]
mov ebx, dword [esp + 0x34]
mov eax, ebp
xor ebx, dword [esp + 0x140]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
xor ebp, dword [esp + 0x144]
mov dword [esi + 0x20], eax
xor ecx, dword [esp + 0x13c]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ecx
xor edx, dword [esp + 0x50]
mov dword [esi + 0x2c], ebp
mov dword [esp + 0x30], eax
mov eax, esi
mov esi, dword [esp + 0x24]
xor esi, dword [esp + 0x148]
mov dword [esp + 0x38], ebx
mov ebx, esi
mov esi, dword [esp + 0x28]
xor esi, dword [esp + 0x14c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ebp
mov ecx, esi
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
xor ebp, dword [esp + 0x150]
mov dword [eax + 0x30], ebx
xor esi, dword [esp + 0x154]
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], esi
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x4c]
xor eax, dword [esp + 0x60]
xor edx, dword [esp + 0x64]
xor eax, dword [esp + 0x30]
xor edx, dword [esp + 0x34]
xor eax, ebx
mov dword [esp + 0x60], eax
mov eax, edx
mov edx, dword [esp + 0x48]
xor eax, ecx
xor edx, dword [esp + 0x74]
xor edx, dword [esp + 0x5c]
mov dword [esp + 0x64], eax
xor edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
xor eax, dword [esp + 0x54]
xor edx, esi
xor eax, dword [esp + 0x58]
xor eax, dword [esp + 0x38]
mov dword [esp + 0x5c], edx
xor eax, ebp
add dword [esp + 0x2c], 0x40
add edi, 0x40
sub dword [esp + 0x80], 1
mov dword [esp + 0x58], eax
jne 0x40a900
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
mov eax, esi
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
shl eax, 6
add dword [esp + 0x8c], eax
add edi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xb8], eax
mov dword [ebp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc4], ebx
lea eax, [eax + esi*4]
mov dword [ebp + 4], ecx
mov dword [ebp + 0x18c], eax
mov eax, dword [esp + 0x60]
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x1c], eax
mov edx, dword [esp + 0x90]
test edx, edx
je 0x40b18c
lea eax, [ebp + 0x284]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov esi, eax
and esi, 0x3f
mov dword [esp + 0x24], esi
je 0x40b08a
and eax, 0x20
mov dword [esp + 0x20], eax
je 0x40ae2c
mov esi, dword [edi + 8]
mov edx, dword [esp + 0xc0]
xor edx, dword [ebp + 0x48]
mov eax, dword [esp + 0xb8]
xor esi, edx
xor eax, dword [ebp + 0x40]
mov dword [esp + 0xe0], edx
mov ebx, eax
mov eax, dword [esp + 0xbc]
xor eax, dword [ebp + 0x44]
mov dword [esp + 0x1c], esi
mov esi, dword [edi + 0xc]
mov ecx, eax
xor edx, dword [ebp + 0x58]
mov dword [esp + 0xd8], ebx
mov eax, dword [esp + 0xc4]
xor eax, dword [ebp + 0x4c]
mov dword [esp + 0xdc], ecx
xor esi, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], esi
mov esi, dword [edi]
mov dword [esp + 0xe4], eax
mov eax, dword [edi + 4]
xor esi, ebx
xor ebx, dword [ebp + 0x50]
mov dword [esp + 0x118], esi
mov esi, dword [esp + 0x1c]
xor eax, ecx
mov dword [esp + 0x11c], eax
xor ecx, dword [ebp + 0x54]
mov dword [esp + 0x120], esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
xor eax, dword [ebp + 0x5c]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ecx
mov dword [esp + 0x124], esi
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xb8], ebx
xor ebx, dword [edi + 0x10]
mov dword [esp + 0xbc], ecx
xor ecx, dword [edi + 0x14]
mov dword [esp + 0xc0], edx
xor edx, dword [edi + 0x18]
mov dword [esp + 0xc4], eax
xor eax, dword [edi + 0x1c]
sub dword [esp + 0x24], 0x20
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], eax
mov dword [esp + 0x20], 2
cmp dword [esp + 0x24], 0xf
jbe 0x40af0b
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xc0]
xor eax, dword [ebp + 0x48]
mov ecx, dword [esp + 0xc4]
shl edx, 4
mov dword [esp + 0x30], eax
xor ecx, dword [ebp + 0x4c]
lea eax, [edx + 0x170]
mov dword [esp + 0xc4], ecx
lea ebx, [esp + eax]
mov eax, dword [esp + 0xb8]
xor eax, dword [ebp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xbc]
xor eax, dword [ebp + 0x44]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
mov dword [esp + edx + 0xd8], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx - 0x94], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + edx + 0xe0], esi
mov dword [esp + 0xbc], eax
mov eax, esi
mov dword [esp + 0xc0], esi
lea esi, [edi + edx]
xor eax, dword [esi + 8]
mov dword [ebx - 0x8c], ecx
xor ecx, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x1c]
mov ecx, esi
xor eax, dword [esi]
mov esi, dword [esp + 0x2c]
xor esi, dword [ecx + 4]
mov dword [esp + edx + 0x118], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [ebx - 0x54], esi
sub dword [esp + 0x24], 0x10
add dword [esp + 0x20], 1
mov dword [esp + edx + 0x120], eax
mov dword [ebx - 0x4c], ecx
lea eax, [esp + 0xc8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40b21e
mov eax, dword [esp + 0x20]
lea edi, [ebp + 0x190]
test eax, eax
je 0x40b08a
sub eax, 1
lea esi, [esp + 0x118]
shl eax, 4
add esi, eax
lea esi, [esi]
nop
mov dword [esp + 4], esi
mov ebx, esi
mov dword [esp], esi
sub esi, 0x10
mov dword [esp + 8], edi
call sub.cygcrypto_1.1.dll_AES_decrypt
lea eax, [esp + 0x118]
cmp eax, ebx
jne 0x40af48
mov eax, dword [esp + 0x20]
cmp eax, 2
je 0x40afd5
cmp eax, 3
jne 0x40b1d3
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
xor ebx, dword [esp + 0xf8]
xor ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x140]
mov dword [edi + 0x20], ebx
xor edx, dword [esp + 0x100]
mov eax, dword [esp + 0x144]
mov dword [edi + 0x24], ecx
xor eax, dword [esp + 0x104]
xor dword [esp + 0x60], ebx
xor dword [esp + 0x64], ecx
xor dword [esp + 0x58], edx
xor dword [esp + 0x5c], eax
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], eax
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
xor ebx, dword [esp + 0xe8]
xor ecx, dword [esp + 0xec]
mov edx, dword [esp + 0x130]
mov dword [edi + 0x10], ebx
xor edx, dword [esp + 0xf0]
mov eax, dword [esp + 0x134]
mov dword [edi + 0x14], ecx
xor eax, dword [esp + 0xf4]
xor dword [esp + 0x60], ebx
xor dword [esp + 0x64], ecx
xor dword [esp + 0x58], edx
xor dword [esp + 0x5c], eax
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov edi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
xor ebx, dword [esp + 0xd8]
xor ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x120]
mov dword [edi], ebx
xor edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x124]
mov dword [edi + 4], ecx
xor eax, dword [esp + 0xe4]
xor dword [esp + 0x60], ebx
xor dword [esp + 0x64], ecx
xor dword [esp + 0x58], edx
xor dword [esp + 0x5c], eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0xc4]
xor eax, dword [ebp + 0x3c]
mov dword [esp + 0xc4], eax
xor eax, dword [esp + 0x5c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
xor ebx, dword [ebp + 0x30]
xor ecx, dword [ebp + 0x34]
mov edx, dword [esp + 0xc0]
xor edx, dword [ebp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ecx
xor ebx, dword [esp + 0x60]
mov dword [esp + 4], eax
xor ecx, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 0xc0], edx
xor edx, dword [esp + 0x58]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
call sub.cygcrypto_1.1.dll_AES_encrypt
mov edi, dword [esp + 0x94]
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
xor edx, dword [ebp + 0x140]
xor eax, dword [ebp + 0x144]
xor ecx, dword [ebp + 0x148]
mov dword [esp + 0xc8], edx
xor ebx, dword [ebp + 0x14c]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ebx
test edi, edi
je 0x40b1e1
xor edx, dword [edi]
xor eax, dword [edi + 4]
xor ecx, dword [edi + 8]
xor ebx, dword [edi + 0xc]
or eax, ebx
or edx, ecx
or eax, edx
mov eax, 0xffffffff
cmove eax, dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x16c]
sub eax, dword [sym.imp.cygwin1.dll___stack_chk_guard]
jne 0x40b34b
mov eax, dword [esp + 0x7c]
add esp, 0x17c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
jmp 0x40a860
cmp eax, 1
je 0x40b030
jmp 0x40b08a
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
xor eax, eax
xor ebx, ebx
add ecx, dword [esp + 0x7c]
lea esi, [esi]
movzx edx, byte [ecx + eax]
xor dl, byte [esi + eax]
add eax, 1
or ebx, edx
cmp eax, 0x10
jne 0x40b1f8
test bl, bl
mov eax, 0xffffffff
cmove eax, dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
jmp 0x40b18c
mov eax, dword [esp + 0xc0]
xor eax, dword [ebp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0xc4]
xor eax, dword [ebp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0xbc]
xor eax, dword [ebp + 0x24]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xc4], ebx
xor edx, dword [ebp + 0x20]
mov dword [esp + 8], eax
lea eax, [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 0xb8], edx
call sub.cygcrypto_1.1.dll_AES_encrypt
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0xc8]
mov dword [esp], esi
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
shl ebx, 4
mov dword [esp + 0x2c], eax
lea eax, [edi + ebx]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xd4]
mov dword [esp + 8], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
call fcn.004513c4
add ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor dword [esp + 0xcc], ecx
xor dword [esp + 0xc8], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
xor dword [esp + 0xd0], edx
xor dword [esp + 0xd4], ecx
mov byte [esp + edi + 0xc8], pe_nt_image_headers32
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004513c4
mov edi, dword [esp + 0xc8]
xor dword [esp + 0x60], edi
mov edi, dword [esp + 0xcc]
xor dword [esp + 0x64], edi
mov edi, dword [esp + 0xd0]
xor dword [esp + 0x58], edi
mov edi, dword [esp + 0xd4]
xor dword [esp + 0x5c], edi
jmp 0x40af22
call sub.cygwin1.dll___stack_chk_fail