Function at 0x40bb00
Capabilities:
Contain obfuscated stackstrings
Get common file path
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x461030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x65c
push ebx
push ebp
push esi
lea eax, [esp + 0x28]
push edi
mov esi, ecx
push eax
call fcn.0040cc30
add esp, 4
mov ecx, dword [0x47f244]
xor ebx, ebx
mov dword [esp + 0x674], ebx
mov dword [esp + 0x20], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x265]
mov byte [esp + 0x264], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x264]
mov byte [esp + 0x674], 1
push edx
push 0x104
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
lea ecx, [esp + 0x54]
call fcn.00403e90
lea eax, [esp + 0x264]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x678], 2
call fcn.00447e1a
push 0x47d0ac
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 3
call fcn.00448188
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00447ee5
lea edx, [esp + 0x10]
lea ecx, [esp + 0xb0]
push edx
call fcn.00447ee5
lea ecx, [esp + 0x50]
call fcn.00443521
mov ebp, 1
cmp eax, ebp
jne 0x40c895
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.00447ee5
mov ecx, dword [0x47f244]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x678], 0x13
call fcn.0040f7e0
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x46d]
mov byte [esp + 0x46c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x47f244]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x680]
mov byte [esp + 0x674], 0x15
cmp eax, ebx
jne 0x40bc5b
push 0x47d0a4
lea ecx, [esp + 0x28]
call fcn.00447f35
jmp 0x40bc6e
push eax
lea ecx, [esp + 0x28]
push 0x47d09c
push ecx
call fcn.0043e0d9
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x67c]
push 0x483d7c
lea edx, [esp + 0x470]
push 0x200
push edx
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.0040f8d0
lea edx, [esp + 0x46c]
lea ecx, [esp + 0x14]
push edx
call fcn.00447f35
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebx
jne 0x40be1d
lea ecx, [esp + 0x24]
mov byte [esp + 0x674], 0x14
call fcn.00447dac
lea ecx, [esp + 0x3c]
mov byte [esp + 0x674], 0x13
call fcn.0040f800
lea ecx, [esp + 0x14]
mov byte [esp + 0x674], 3
call fcn.00447dac
lea ecx, [esp + 0x10]
mov byte [esp + 0x674], 2
call fcn.00447dac
lea ecx, [esp + 0x250]
mov byte [esp + 0x674], 0x24
call fcn.00448567
lea ecx, [esp + 0x230]
mov byte [esp + 0x674], 0x23
call fcn.00447dac
lea ecx, [esp + 0x22c]
mov byte [esp + 0x674], 0x22
call fcn.00447dac
lea ecx, [esp + 0x228]
mov byte [esp + 0x674], 0x21
call fcn.00447dac
lea ecx, [esp + 0x224]
mov byte [esp + 0x674], 0x20
call fcn.00447dac
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x674], 0x1f
call fcn.00440b42
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x674], 0x1e
call fcn.004518d6
lea ecx, [esp + 0x170]
mov byte [esp + 0x674], 0x1d
call fcn.004407f2
lea ecx, [esp + 0x134]
mov byte [esp + 0x674], 0x1c
call fcn.004518d6
lea ecx, [esp + 0xf8]
mov byte [esp + 0x674], 0x1b
call fcn.004518d6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x674], 0x1a
call fcn.004518d6
lea ecx, [esp + 0xb8]
mov byte [esp + 0x674], 0x19
call fcn.00447dac
lea ecx, [esp + 0xb4]
mov byte [esp + 0x674], 0x18
call fcn.00447dac
lea ecx, [esp + 0xb0]
mov byte [esp + 0x674], 0x17
call fcn.00447dac
mov byte [esp + 0x674], 0x16
jmp 0x40c9cc
lea ecx, [esp + 0x264]
push ecx
lea ecx, [esp + 0x14]
call fcn.00447f35
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00447b21
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0040cb60
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0x25
call fcn.004481c4
lea ecx, [esp + 0x18]
mov byte [esp + 0x674], 0x15
call fcn.00447dac
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00447ee5
lea edx, [esp + 0x10]
lea ecx, [esp + 0xb0]
push edx
call fcn.00447ee5
lea ecx, [esp + 0x50]
call fcn.00443521
cmp eax, ebp
je 0x40c010
lea ecx, [esp + 0x24]
mov dword [0x483ff4], ebp
mov byte [esp + 0x674], 0x14
call fcn.00447dac
lea ecx, [esp + 0x3c]
mov byte [esp + 0x674], 0x13
call fcn.0040f800
lea ecx, [esp + 0x14]
mov byte [esp + 0x674], 3
call fcn.00447dac
lea ecx, [esp + 0x10]
mov byte [esp + 0x674], 2
call fcn.00447dac
lea ecx, [esp + 0x250]
mov byte [esp + 0x674], 0x34
call fcn.00448567
lea ecx, [esp + 0x230]
mov byte [esp + 0x674], 0x33
call fcn.00447dac
lea ecx, [esp + 0x22c]
mov byte [esp + 0x674], 0x32
call fcn.00447dac
lea ecx, [esp + 0x228]
mov byte [esp + 0x674], 0x31
call fcn.00447dac
lea ecx, [esp + 0x224]
mov byte [esp + 0x674], 0x30
call fcn.00447dac
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x674], 0x2f
call fcn.00440b42
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x674], 0x2e
call fcn.004518d6
lea ecx, [esp + 0x170]
mov byte [esp + 0x674], 0x2d
call fcn.004407f2
lea ecx, [esp + 0x134]
mov byte [esp + 0x674], 0x2c
call fcn.004518d6
lea ecx, [esp + 0xf8]
mov byte [esp + 0x674], 0x2b
call fcn.004518d6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x674], 0x2a
call fcn.004518d6
lea ecx, [esp + 0xb8]
mov byte [esp + 0x674], 0x29
call fcn.00447dac
lea ecx, [esp + 0xb4]
mov byte [esp + 0x674], 0x28
call fcn.00447dac
lea ecx, [esp + 0xb0]
mov byte [esp + 0x674], 0x27
call fcn.00447dac
mov byte [esp + 0x674], 0x26
jmp 0x40c9cc
mov eax, dword [0x47f244]
mov dword [esp + 0x34], eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x67c], 0x35
call fcn.00447b21
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0040cb60
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x678], 0x36
call fcn.00447ee5
lea ecx, [esp + 0x18]
mov byte [esp + 0x674], 0x35
call fcn.00447dac
push 0x2e
lea ecx, [esp + 0x38]
call fcn.0043dd31
mov ecx, dword [0x47f244]
mov dword [esp + 0x38], ecx
inc eax
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x67c], 0x37
call fcn.0043db2e
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x678], 0x38
call fcn.00447ee5
lea ecx, [esp + 0x18]
mov byte [esp + 0x674], 0x37
call fcn.00447dac
push 0x47d098
lea ecx, [esp + 0x3c]
call fcn.0043dd53
or edi, 0xffffffff
cmp eax, edi
je 0x40c318
push ebx
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00447b21
call fcn.0040d100
add esp, 8
cmp eax, ebx
jne 0x40c6c2
push ecx
lea edx, [esp + 0x268]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00447e1a
push ecx
mov byte [esp + 0x67c], 0x39
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x483d7c
call fcn.00447e1a
push ecx
lea eax, [esp + 0x20]
mov ebp, esp
mov dword [esp + 0x3c], esp
push ecx
mov byte [esp + 0x684], 0x3a
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00447b21
push ebp
mov ecx, esi
call fcn.0040cb60
mov byte [esp + 0x680], 0x37
call fcn.0040cd80
add esp, 0xc
cmp eax, ebx
jne 0x40c6c2
lea ecx, [esp + 0x38]
mov byte [esp + 0x674], 0x35
call fcn.00447dac
lea ecx, [esp + 0x34]
mov byte [esp + 0x674], 0x15
call fcn.00447dac
lea ecx, [esp + 0x24]
mov byte [esp + 0x674], 0x14
call fcn.00447dac
lea ecx, [esp + 0x3c]
mov byte [esp + 0x674], 0x13
call fcn.0040f800
lea ecx, [esp + 0x14]
mov byte [esp + 0x674], 3
call fcn.00447dac
lea ecx, [esp + 0x10]
mov byte [esp + 0x674], 2
call fcn.00447dac
lea ecx, [esp + 0x250]
mov byte [esp + 0x674], 0x49
call fcn.00448567
lea ecx, [esp + 0x230]
mov byte [esp + 0x674], 0x48
call fcn.00447dac
lea ecx, [esp + 0x22c]
mov byte [esp + 0x674], 0x47
call fcn.00447dac
lea ecx, [esp + 0x228]
mov byte [esp + 0x674], 0x46
call fcn.00447dac
lea ecx, [esp + 0x224]
mov byte [esp + 0x674], 0x45
call fcn.00447dac
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x674], 0x44
call fcn.00440b42
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x674], 0x43
call fcn.004518d6
lea ecx, [esp + 0x170]
mov byte [esp + 0x674], 0x42
call fcn.004407f2
lea ecx, [esp + 0x134]
mov byte [esp + 0x674], 0x41
call fcn.004518d6
lea ecx, [esp + 0xf8]
mov byte [esp + 0x674], 0x40
call fcn.004518d6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x674], 0x3f
call fcn.004518d6
lea ecx, [esp + 0xb8]
mov byte [esp + 0x674], 0x3e
call fcn.00447dac
lea ecx, [esp + 0xb4]
mov byte [esp + 0x674], 0x3d
call fcn.00447dac
lea ecx, [esp + 0xb0]
mov byte [esp + 0x674], 0x3c
call fcn.00447dac
lea ecx, [esp + 0xac]
mov byte [esp + 0x674], 0x3b
call fcn.00447dac
lea ecx, [esp + 0x50]
mov byte [esp + 0x674], 1
call fcn.00443067
lea ecx, [esp + 0x20]
mov byte [esp + 0x674], bl
call fcn.00447dac
mov dword [esp + 0x674], edi
jmp 0x40ca04
push 0x47d094
lea ecx, [esp + 0x3c]
call fcn.0043dd53
cmp eax, edi
je 0x40c6c2
mov ecx, dword [0x47f244]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push 0x47d088
push eax
mov byte [esp + 0x680], 0x4a
call fcn.004480b5
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x678], 0x4b
call fcn.00447ee5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x674], 0x4a
call fcn.00447dac
mov ecx, dword [0x47f244]
mov dword [esp + 0x30], ecx
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x678], 0x4c
call fcn.0043dd31
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0043dc63
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x678], 0x4d
call fcn.00447ee5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x674], 0x4c
call fcn.00447dac
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00447b21
call fcn.0040d100
add esp, 8
cmp eax, ebx
jne 0x40c6a0
mov eax, dword [0x47f244]
mov dword [esp + 0x1c], eax
push 0x47d084
lea ecx, [esp + 0x20]
mov byte [esp + 0x678], 0x4e
call fcn.00447f35
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00447b21
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0040cb60
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x678], 0x4f
call fcn.004481c4
lea ecx, [esp + 0x28]
mov byte [esp + 0x674], 0x4e
call fcn.00447dac
push ecx
lea edx, [esp + 0x268]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00447e1a
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x680], 0x50
call fcn.00447b21
push ecx
mov byte [esp + 0x680], 0x51
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x47d078
call fcn.00447e1a
mov byte [esp + 0x680], 0x4e
call fcn.0040cd80
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x674], 0x4c
lea ecx, [esp + 0x1c]
jne 0x40c69b
call fcn.00447dac
lea ecx, [esp + 0x30]
mov byte [esp + 0x674], 0x4a
call fcn.00447dac
lea ecx, [esp + 0x18]
mov byte [esp + 0x674], 0x37
call fcn.00447dac
lea ecx, [esp + 0x38]
mov byte [esp + 0x674], 0x35
call fcn.00447dac
lea ecx, [esp + 0x34]
mov byte [esp + 0x674], 0x15
call fcn.00447dac
lea ecx, [esp + 0x24]
mov byte [esp + 0x674], 0x14
call fcn.00447dac
lea ecx, [esp + 0x3c]
mov byte [esp + 0x674], 0x13
call fcn.0040f800
lea ecx, [esp + 0x14]
mov byte [esp + 0x674], 3
call fcn.00447dac
lea ecx, [esp + 0x10]
mov byte [esp + 0x674], 2
call fcn.00447dac
lea ecx, [esp + 0x250]
mov byte [esp + 0x674], 0x60
call fcn.00448567
lea ecx, [esp + 0x230]
mov byte [esp + 0x674], 0x5f
call fcn.00447dac
lea ecx, [esp + 0x22c]
mov byte [esp + 0x674], 0x5e
call fcn.00447dac
lea ecx, [esp + 0x228]
mov byte [esp + 0x674], 0x5d
call fcn.00447dac
lea ecx, [esp + 0x224]
mov byte [esp + 0x674], 0x5c
call fcn.00447dac
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x674], 0x5b
call fcn.00440b42
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x674], 0x5a
call fcn.004518d6
lea ecx, [esp + 0x170]
mov byte [esp + 0x674], 0x59
call fcn.004407f2
lea ecx, [esp + 0x134]
mov byte [esp + 0x674], 0x58
call fcn.004518d6
lea ecx, [esp + 0xf8]
mov byte [esp + 0x674], 0x57
call fcn.004518d6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x674], 0x56
call fcn.004518d6
lea ecx, [esp + 0xb8]
mov byte [esp + 0x674], 0x55
call fcn.00447dac
lea ecx, [esp + 0xb4]
mov byte [esp + 0x674], 0x54
call fcn.00447dac
mov byte [esp + 0x674], 0x53
lea ecx, [esp + 0xb0]
call fcn.00447dac
lea ecx, [esp + 0xac]
mov byte [esp + 0x674], 0x52
call fcn.00447dac
lea ecx, [esp + 0x50]
mov byte [esp + 0x674], 1
call fcn.00443067
lea ecx, [esp + 0x20]
mov byte [esp + 0x674], bl
call fcn.00447dac
mov dword [esp + 0x674], edi
jmp 0x40ca04
call fcn.00447dac
lea ecx, [esp + 0x30]
mov byte [esp + 0x674], 0x4a
call fcn.00447dac
lea ecx, [esp + 0x18]
mov byte [esp + 0x674], 0x37
call fcn.00447dac
lea ecx, [esp + 0x38]
mov dword [0x483ff4], ebx
mov byte [esp + 0x674], 0x35
call fcn.00447dac
lea ecx, [esp + 0x34]
mov byte [esp + 0x674], 0x15
call fcn.00447dac
lea ecx, [esp + 0x24]
mov byte [esp + 0x674], 0x14
call fcn.00447dac
lea ecx, [esp + 0x3c]
mov byte [esp + 0x674], 0x13
call fcn.0040f800
lea ecx, [esp + 0x14]
mov byte [esp + 0x674], 3
call fcn.00447dac
lea ecx, [esp + 0x10]
mov byte [esp + 0x674], 2
call fcn.00447dac
lea ecx, [esp + 0x250]
mov byte [esp + 0x674], 0x6f
call fcn.00448567
lea ecx, [esp + 0x230]
mov byte [esp + 0x674], 0x6e
call fcn.00447dac
lea ecx, [esp + 0x22c]
mov byte [esp + 0x674], 0x6d
call fcn.00447dac
lea ecx, [esp + 0x228]
mov byte [esp + 0x674], 0x6c
call fcn.00447dac
lea ecx, [esp + 0x224]
mov byte [esp + 0x674], 0x6b
call fcn.00447dac
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x674], 0x6a
call fcn.00440b42
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x674], 0x69
call fcn.004518d6
lea ecx, [esp + 0x170]
mov byte [esp + 0x674], 0x68
call fcn.004407f2
lea ecx, [esp + 0x134]
mov byte [esp + 0x674], 0x67
call fcn.004518d6
lea ecx, [esp + 0xf8]
mov byte [esp + 0x674], 0x66
call fcn.004518d6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x674], 0x65
call fcn.004518d6
lea ecx, [esp + 0xb8]
mov byte [esp + 0x674], 0x64
call fcn.00447dac
lea ecx, [esp + 0xb4]
mov byte [esp + 0x674], 0x63
call fcn.00447dac
lea ecx, [esp + 0xb0]
mov byte [esp + 0x674], 0x62
call fcn.00447dac
lea ecx, [esp + 0xac]
mov byte [esp + 0x674], 0x61
call fcn.00447dac
mov byte [esp + 0x674], 1
lea ecx, [esp + 0x50]
call fcn.00443067
lea ecx, [esp + 0x20]
mov byte [esp + 0x674], bl
call fcn.00447dac
lea ecx, [esp + 0x2c]
mov dword [esp + 0x674], edi
call fcn.00447dac
mov eax, 1
jmp 0x40ca0f
lea ecx, [esp + 0x10]
mov dword [0x483ff4], ebp
mov byte [esp + 0x674], 2
call fcn.00447dac
lea ecx, [esp + 0x250]
mov byte [esp + 0x674], 0x12
call fcn.00448567
lea ecx, [esp + 0x230]
mov byte [esp + 0x674], 0x11
call fcn.00447dac
lea ecx, [esp + 0x22c]
mov byte [esp + 0x674], 0x10
call fcn.00447dac
lea ecx, [esp + 0x228]
mov byte [esp + 0x674], 0xf
call fcn.00447dac
lea ecx, [esp + 0x224]
mov byte [esp + 0x674], 0xe
call fcn.00447dac
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x674], 0xd
call fcn.00440b42
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x674], 0xc
call fcn.004518d6
lea ecx, [esp + 0x170]
mov byte [esp + 0x674], 0xb
call fcn.004407f2
lea ecx, [esp + 0x134]
mov byte [esp + 0x674], 0xa
call fcn.004518d6
lea ecx, [esp + 0xf8]
mov byte [esp + 0x674], 9
call fcn.004518d6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x674], 8
call fcn.004518d6
lea ecx, [esp + 0xb8]
mov byte [esp + 0x674], 7
call fcn.00447dac
lea ecx, [esp + 0xb4]
mov byte [esp + 0x674], 6
call fcn.00447dac
lea ecx, [esp + 0xb0]
mov byte [esp + 0x674], 5
call fcn.00447dac
mov byte [esp + 0x674], 4
lea ecx, [esp + 0xac]
call fcn.00447dac
lea ecx, [esp + 0x50]
mov byte [esp + 0x674], 1
call fcn.00443067
lea ecx, [esp + 0x20]
mov byte [esp + 0x674], bl
call fcn.00447dac
mov dword [esp + 0x674], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00447dac
xor eax, eax
mov ecx, dword [esp + 0x66c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x668
ret 8