Function at 0x40cbc0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x491ad2
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edi, ecx
mov dword [esp + 0x24], edi
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
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], 0x3e
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x58], 0x34
mov byte [esp + 0x59], 0x35
mov byte [esp + 0x5a], 0x36
mov byte [esp + 0x5b], 0x37
mov byte [esp + 0x5c], 0x38
mov byte [esp + 0x5d], 0x39
mov byte [esp + 0x5e], 0x3a
mov byte [esp + 0x5f], 0x3b
mov byte [esp + 0x60], 0x3c
mov byte [esp + 0x61], 0x3d
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], bl
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], 1
mov byte [esp + 0x6b], 2
mov byte [esp + 0x6c], 3
mov byte [esp + 0x6d], 4
mov byte [esp + 0x6e], 5
mov byte [esp + 0x6f], 6
mov byte [esp + 0x70], 7
mov byte [esp + 0x71], 8
mov byte [esp + 0x72], 9
mov byte [esp + 0x73], 0xa
mov byte [esp + 0x74], 0xb
mov ecx, 0xf
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], ebx
mov byte [esp + 0x75], 0xc
mov byte [esp + 0x76], 0xd
mov byte [esp + 0x77], 0xe
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], 0x10
mov byte [esp + 0x7a], 0x11
mov byte [esp + 0x7b], 0x12
mov byte [esp + 0x7c], 0x13
mov byte [esp + 0x7d], 0x14
mov byte [esp + 0x7e], 0x15
mov byte [esp + 0x7f], 0x16
mov byte [esp + 0x80], 0x17
mov byte [esp + 0x81], 0x18
mov byte [esp + 0x82], 0x19
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], bl
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], bl
mov byte [esp + 0x89], 0x1a
mov byte [esp + 0x8a], 0x1b
mov byte [esp + 0x8b], 0x1c
mov byte [esp + 0x8c], 0x1d
mov byte [esp + 0x8d], 0x1e
mov byte [esp + 0x8e], 0x1f
mov byte [esp + 0x8f], 0x20
mov byte [esp + 0x90], 0x21
mov byte [esp + 0x91], 0x22
mov byte [esp + 0x92], 0x23
mov byte [esp + 0x93], 0x24
mov byte [esp + 0x94], 0x25
mov byte [esp + 0x95], 0x26
mov byte [esp + 0x96], 0x27
mov byte [esp + 0x97], 0x28
mov byte [esp + 0x98], 0x29
mov byte [esp + 0x99], 0x2a
mov byte [esp + 0x9a], 0x2b
mov byte [esp + 0x9b], 0x2c
mov byte [esp + 0x9c], 0x2d
mov byte [esp + 0x9d], 0x2e
mov byte [esp + 0x9e], 0x2f
mov byte [esp + 0x9f], 0x30
mov byte [esp + 0xa0], 0x31
mov byte [esp + 0xa1], 0x32
mov byte [esp + 0xa2], 0x33
mov byte [edi + 4], bl
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x20], 1
cmp eax, ebx
jbe 0x40d04d
dec eax
shr eax, 2
inc eax
mov dword [esp + 0x1c], eax
jmp 0x40ced5
mov edx, dword [esp + 0x14]
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
movsx ebp, byte [esp + eax + 0x28]
movsx eax, byte [esp + ecx + 0x28]
inc edx
or ecx, 0xffffffff
sub ecx, dword [edi + 0x14]
shl ebp, 0x12
shl eax, 0xc
add ebp, eax
inc edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edx
cmp ecx, 1
ja 0x40cf08
call fcn.0043cd8f
mov esi, dword [edi + 0x14]
inc esi
cmp esi, 0xfffffffe
jbe 0x40cf16
call fcn.0043cd8f
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x40cf44
mov edx, dword [edi + 0x14]
push edx
push esi
mov ecx, edi
call fcn.004020f0
cmp esi, ebx
jbe 0x40cf7b
mov edx, dword [edi + 0x14]
mov eax, ebp
mov ebp, 0x10
sar eax, 0x10
cmp dword [edi + 0x18], ebp
jb 0x40cf5e
mov ecx, dword [edi + 4]
jmp 0x40cf61
cmp esi, ebx
jne 0x40cf2b
mov dword [edi + 0x14], ebx
cmp eax, 0x10
jb 0x40cf57
mov eax, dword [edi + 4]
mov byte [eax], bl
jmp 0x40cf7b
lea eax, [edi + 4]
mov byte [eax], bl
jmp 0x40cf7b
lea ecx, [edi + 4]
mov byte [ecx + edx], al
mov dword [edi + 0x14], esi
cmp dword [edi + 0x18], ebp
jb 0x40cf71
mov eax, dword [edi + 4]
jmp 0x40cf74
lea eax, [edi + 4]
mov ebp, dword [esp + 0x18]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x14]
mov al, byte [eax]
cmp al, 0x3d
je 0x40d042
inc dword [esp + 0x14]
movzx ecx, al
movsx edx, byte [esp + ecx + 0x28]
or eax, 0xffffffff
sub eax, dword [edi + 0x14]
shl edx, 6
add ebp, edx
mov dword [esp + 0x18], ebp
cmp eax, 1
ja 0x40cfae
call fcn.0043cd8f
mov esi, dword [edi + 0x14]
inc esi
cmp esi, 0xfffffffe
jbe 0x40cfbc
call fcn.0043cd8f
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x40cfe9
mov ecx, dword [edi + 0x14]
push ecx
push esi
mov ecx, edi
call fcn.004020f0
cmp esi, ebx
jbe 0x40d01f
mov edx, dword [edi + 0x14]
mov eax, ebp
sar eax, 8
cmp dword [edi + 0x18], 0x10
lea ebp, [edi + 4]
jb 0x40d003
mov ecx, dword [ebp]
jmp 0x40d005
cmp esi, ebx
jne 0x40cfd1
mov dword [edi + 0x14], ebx
cmp eax, 0x10
jb 0x40cffc
mov eax, dword [edi + 4]
mov byte [eax], bl
jmp 0x40d01f
lea eax, [edi + 4]
mov byte [eax], bl
jmp 0x40d01f
mov ecx, ebp
mov byte [ecx + edx], al
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x40d016
mov eax, dword [ebp]
jmp 0x40d018
mov eax, ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + esi], bl
mov edx, dword [esp + 0x14]
mov al, byte [edx]
cmp al, 0x3d
je 0x40d042
movzx eax, al
movsx ecx, byte [esp + eax + 0x28]
add ebp, ecx
mov eax, 1
add dword [esp + 0x14], eax
push ebp
call fcn.0040d0a0
sub dword [esp + 0x1c], 1
jne 0x40ced1
mov eax, edi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0043f4b7
add esp, 0xa0
ret 4