Function at 0x401240
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41846b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [str.5i]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str.5i]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0xd0]
xor ebx, ebx
cmp edi, ebx
mov esi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
jne 0x4012bf
xor eax, eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4012a6
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401b90
jmp 0x4017c3
mov dword [ebp], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], bl
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], 0x3e
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], 0x3f
mov byte [esp + 0x6c], 0x34
mov byte [esp + 0x6d], 0x35
mov byte [esp + 0x6e], 0x36
mov byte [esp + 0x6f], 0x37
mov byte [esp + 0x70], 0x38
mov byte [esp + 0x71], 0x39
mov byte [esp + 0x72], 0x3a
mov byte [esp + 0x73], 0x3b
mov byte [esp + 0x74], 0x3c
mov byte [esp + 0x75], 0x3d
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], bl
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], bl
mov byte [esp + 0x7e], 1
mov byte [esp + 0x7f], 2
mov byte [esp + 0x80], 3
mov byte [esp + 0x81], 4
mov byte [esp + 0x82], 5
mov byte [esp + 0x83], 6
mov byte [esp + 0x84], 7
mov byte [esp + 0x85], 8
mov byte [esp + 0x86], 9
mov byte [esp + 0x87], 0xa
mov byte [esp + 0x88], 0xb
mov byte [esp + 0x89], 0xc
mov byte [esp + 0x8a], 0xd
mov byte [esp + 0x8b], 0xe
push ebx
push 0x41b51f
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0xf
mov byte [esp + 0x95], 0x10
mov byte [esp + 0x96], 0x11
mov byte [esp + 0x97], 0x12
mov byte [esp + 0x98], 0x13
mov byte [esp + 0x99], 0x14
mov byte [esp + 0x9a], 0x15
mov byte [esp + 0x9b], 0x16
mov byte [esp + 0x9c], 0x17
mov byte [esp + 0x9d], 0x18
mov byte [esp + 0x9e], 0x19
mov byte [esp + 0x9f], bl
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], 0x1a
mov byte [esp + 0xa6], 0x1b
mov byte [esp + 0xa7], 0x1c
mov byte [esp + 0xa8], 0x1d
mov byte [esp + 0xa9], 0x1e
mov byte [esp + 0xaa], 0x1f
mov byte [esp + 0xab], 0x20
mov byte [esp + 0xac], 0x21
mov byte [esp + 0xad], 0x22
mov byte [esp + 0xae], 0x23
mov byte [esp + 0xaf], 0x24
mov byte [esp + 0xb0], 0x25
mov byte [esp + 0xb1], 0x26
mov byte [esp + 0xb2], 0x27
mov byte [esp + 0xb3], 0x28
mov byte [esp + 0xb4], 0x29
mov byte [esp + 0xb5], 0x2a
mov byte [esp + 0xb6], 0x2b
mov byte [esp + 0xb7], 0x2c
mov byte [esp + 0xb8], 0x2d
mov byte [esp + 0xb9], 0x2e
mov byte [esp + 0xba], 0x2f
mov byte [esp + 0xbb], 0x30
mov byte [esp + 0xbc], 0x31
mov byte [esp + 0xbd], 0x32
mov byte [esp + 0xbe], 0x33
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00401b90
mov eax, dword [esp + 0xcc]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, 0xffffffff
cmp eax, ebx
mov dword [esp + 0xc4], ebx
jle 0x401667
mov dword [esp + 0x1c], eax
movsx eax, byte [edi]
movsx ecx, byte [edi + 1]
mov bl, byte [esp + ecx + 0x3c]
mov al, byte [esp + eax + 0x3c]
add edi, 1
movsx edx, byte [edi + 1]
movzx ecx, byte [esp + edx + 0x3c]
add edi, 1
movsx edx, byte [edi + 1]
add edi, 1
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], cl
movzx ecx, byte [esp + edx + 0x3c]
shr bl, 4
add al, al
add al, al
and bl, 3
or bl, al
lea esi, [esp + 0x20]
mov byte [esp + 0x17], cl
add edi, 1
call fcn.00401890
mov bl, byte [esp + 0x16]
mov al, byte [esp + 0x15]
shr bl, 2
shl al, 4
and bl, 0xf
or bl, al
call fcn.00401890
mov al, byte [esp + 0x16]
mov bl, byte [esp + 0x17]
shl al, 6
and bl, 0x3f
or bl, al
call fcn.00401890
add dword [ebp], 3
sub dword [esp + 0x1c], 1
jne 0x4015d7
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov al, byte [edi + 2]
cmp al, 0x3d
jne 0x4016a8
cmp byte [edi + 3], al
jne 0x4016a0
movsx edx, byte [edi]
movsx ecx, byte [edi + 1]
mov al, byte [esp + edx + 0x3c]
mov bl, byte [esp + ecx + 0x3c]
shr bl, 4
add al, al
add al, al
and bl, 3
or bl, al
lea esi, [esp + 0x20]
call fcn.00401890
add dword [ebp], 1
jmp 0x40178d
cmp al, 0x3d
je 0x401793
cmp byte [edi + 3], 0x3d
jne 0x401706
movsx edx, byte [edi]
movsx ecx, byte [edi + 1]
mov bl, byte [esp + ecx + 0x3c]
mov al, byte [esp + edx + 0x3c]
movsx edx, byte [edi + 2]
mov cl, byte [esp + edx + 0x3c]
add edi, 1
mov byte [esp + 0x15], bl
shr bl, 4
add al, al
add al, al
and bl, 3
or bl, al
lea esi, [esp + 0x20]
mov byte [esp + 0x16], cl
call fcn.00401890
mov bl, byte [esp + 0x16]
mov al, byte [esp + 0x15]
shr bl, 2
shl al, 4
and bl, 0xf
or bl, al
call fcn.00401890
add dword [ebp], 2
jmp 0x40178d
cmp al, 0x3d
je 0x401793
cmp byte [edi + 3], 0x3d
je 0x401793
movsx edx, byte [edi]
movsx ecx, byte [edi + 1]
mov al, byte [esp + edx + 0x3c]
mov bl, byte [esp + ecx + 0x3c]
add edi, 1
movsx edx, byte [edi + 1]
movzx ecx, byte [esp + edx + 0x3c]
movsx edx, byte [edi + 2]
add edi, 1
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], cl
movzx ecx, byte [esp + edx + 0x3c]
shr bl, 4
add al, al
add al, al
and bl, 3
or bl, al
lea esi, [esp + 0x20]
mov byte [esp + 0x17], cl
call fcn.00401890
mov bl, byte [esp + 0x16]
mov al, byte [esp + 0x15]
shr bl, 2
shl al, 4
and bl, 0xf
or bl, al
call fcn.00401890
mov al, byte [esp + 0x16]
mov bl, byte [esp + 0x17]
shl al, 6
and bl, 0x3f
or bl, al
call fcn.00401890
add dword [ebp], 3
mov esi, dword [esp + 0x18]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x28]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401940
cmp dword [esp + 0x38], 0x10
jb 0x4017c3
mov eax, dword [esp + 0x24]
push eax
call fcn.00406549
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004063ce
add esp, 0xb4
ret 8