Function at 0x40b06e
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push 0xd40
mov eax, 0x44fda5
call fcn.00448385
mov eax, dword [ecx]
mov esi, edx
mov dword [ebp - 0xce8], esi
mov dword [ebp - 0xcf4], ecx
call dword [eax]
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xcfc], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 8]
mov dword [esi + 0x78], eax
mov eax, dword [ecx]
mov byte [ebp - 0xcdd], 1
call dword [eax]
push 8
call fcn.0041a807
test al, al
je 0x40b0d5
or dword [esi + 0x10], 0x80
jmp 0x40b6d8
push 0x455770
lea eax, [ebp - 0xcf0]
push eax
call fcn.00401415
lea eax, [ebp - 0xcf0]
push eax
lea eax, [ebp - 0xcd4]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.0040b87e
lea edi, [esi + 0x74]
mov byte [ebp - 4], 2
mov dword [ebp - 0xce4], edi
call fcn.0040488e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xcd4]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xcf0]
add eax, 0xfffffff0
call fcn.0040114e
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x40b197
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0xcfc]
push str.GenerateTempPath___failed:__lu
push eax
call fcn.00401766
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 4]
mov edi, eax
lea eax, [ebp - 0xd4c]
push eax
lea ebx, [ebp - 0xcfc]
call fcn.004148a9
mov byte [ebp - 4], 3
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x14]
lea eax, [ebp - 0xd4c]
push eax
mov byte [ebp - 4], 0
call fcn.00403aff
or dword [esi + 0x10], 1
jmp 0x40b7f5
mov esi, edi
call fcn.0042de02
push str.DisplayName
lea eax, [ebp - 0xcd0]
push eax
call fcn.00401415
mov ebx, dword [ebp - 0xce8]
lea eax, [ebp - 0xcd0]
push eax
lea eax, [ebp - 0xcd8]
push eax
mov esi, ebx
mov byte [ebp - 4], 4
call fcn.0040ad9f
mov esi, eax
push str.Downloading
lea eax, [ebp - 0xcec]
push eax
mov byte [ebp - 4], 5
call fcn.00401415
lea ecx, [ebp - 0xcdc]
push esi
push ecx
mov edi, eax
mov byte [ebp - 4], 6
call fcn.00404b13
lea ecx, [ebp - 0xcd4]
push 0x454ef0
push ecx
mov edi, eax
mov byte [ebp - 4], 7
call fcn.00404b62
add esp, 0x10
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xcd4]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xcdc]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xcec]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xcd8]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xcd0]
add eax, 0xfffffff0
call fcn.0040114e
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
xor esi, esi
push esi
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
push esi
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
push esi
call dword [eax + 0x48]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
push 1
call dword [eax + 0x40]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x38]
lea edi, [ebp - 0x42c]
call fcn.00408653
push str.Hash
lea eax, [ebp - 0xcd0]
push eax
mov byte [ebp - 4], 9
call fcn.00401415
lea eax, [ebp - 0xcd0]
push eax
lea eax, [ebp - 0xcec]
push eax
push ebx
mov byte [ebp - 4], 0xa
call fcn.0040ad50
mov dword [ebp - 0xcd8], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax]
mov ecx, edi
mov edi, dword [ebp - 0xcf4]
push ecx
mov ecx, dword [ebp - 0xcd8]
mov edx, eax
call fcn.0041a98b
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xcec]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xcd0]
add eax, 0xfffffff0
call fcn.0040114e
push str.RSAKeyVersion
lea eax, [ebp - 0xcdc]
push eax
mov dword [ebp - 0xcd0], esi
call fcn.00401415
lea eax, [ebp - 0xcdc]
push eax
lea eax, [ebp - 0xcf0]
push eax
mov esi, ebx
mov byte [ebp - 4], 0xc
call fcn.0040ad9f
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xcdc]
add eax, 0xfffffff0
call fcn.0040114e
mov eax, dword [ebp - 0xcf0]
cmp dword [eax - 0xc], 0
je 0x40b390
lea eax, [ebp - 0xcd0]
push eax
lea eax, [ebp - 0xcf0]
call fcn.0042f3f0
pop ecx
test al, al
jne 0x40b39a
mov dword [ebp - 0xcd0], 2
mov edi, 0x455800
push edi
lea eax, [ebp - 0xcdc]
push eax
call fcn.00401415
lea eax, [ebp - 0xcdc]
push eax
lea eax, [ebp - 0xcd4]
push eax
mov esi, ebx
mov byte [ebp - 4], 0xf
call fcn.0040ad9f
mov dword [ebp - 0xcd8], eax
lea esi, [ebp - 0xcec]
mov eax, ebx
mov byte [ebp - 4], 0x10
call fcn.0040b052
mov byte [ebp - 4], 0x11
mov ecx, dword [ebx + 8]
mov dword [ebp - method.appenv::IAppInternetRequestCallback.virtual_0], vtable.appenv::IAppInternetRequestCallback.0
mov dword [ebp - 0xd08], ecx
mov dword [ebp - method.appenv::CAppDownloadEvents.virtual_0], vtable.appenv::CAppDownloadEvents.0
mov eax, dword [eax]
lea ecx, [ebp - 0xd04]
sub eax, 0x10
mov dword [ebp - 0xcf8], ecx
call fcn.0040167a
add eax, 0x10
mov dword [ebp - 0xd04], eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xd00]
mov dword [ebp - 0xcf8], eax
mov eax, dword [ebp - 0xcd8]
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040167a
add eax, 0x10
mov dword [ebp - 0xd00], eax
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0xcec]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0xcd4]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0xcdc]
add eax, 0xfffffff0
call fcn.0040114e
push dword [ebx + 8]
lea eax, [ebp - 0xccc]
push eax
call fcn.0041bc2c
push 0x454fa0
lea eax, [ebp - 0xcd4]
push eax
mov byte [ebp - 4], 0x1a
call fcn.004081d8
push 0x455810
lea eax, [ebp - 0xcdc]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00401415
push dword [ebp - 0xcf4]
mov byte [ebp - 4], 0x1c
push dword [ebp - 0xcd0]
lea eax, [ebp - 0x42c]
push eax
push dword [ebx + 0x78]
lea eax, [ebp - 0xcd4]
push eax
push 0
lea eax, [ebp - 0xcdc]
push eax
lea eax, [ebp - 0xcd8]
push eax
mov esi, ebx
call fcn.0040ad9f
push ecx
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0xcf8], esp
push ecx
mov ecx, eax
call fcn.0042bbe6
pop ecx
mov byte [ebp - 4], 0x1e
mov ebx, dword [ebp - 0xce4]
lea eax, [ebp - 0xd0c]
push eax
lea ecx, [ebp - 0xccc]
mov byte [ebp - 4], 0x1d
call fcn.0041bdc3
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0xcd8]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0xcdc]
add eax, 0xfffffff0
call fcn.0040114e
lea eax, [ebp - 0xcd4]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00404747
push dword [ebp - 0xcf4]
lea eax, [ebp - 0xccc]
push eax
call fcn.0041bec3
test al, al
jne 0x40b591
mov ecx, dword [ebp - 0xce8]
mov byte [ebp - 0xcdd], al
xor eax, eax
cmp dword [ebp - 0x438], 4
setne al
dec eax
and eax, 3
inc eax
or dword [ecx + 0x10], eax
jmp 0x40b67a
push edi
lea eax, [ebp - 0xcd4]
push eax
call fcn.00401415
mov esi, dword [ebp - 0xce8]
lea eax, [ebp - 0xcd4]
push eax
lea eax, [ebp - 0xcd8]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040ad9f
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0xcd8]
sete bl
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xcd4]
add eax, 0xfffffff0
call fcn.0040114e
test bl, bl
je 0x40b67a
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xcd0], eax
lea esi, [ebp - 0xcd0]
mov byte [ebp - 4], 0x21
call fcn.004014da
mov eax, esi
push eax
push dword [ebp - 0xce4]
push 4
pop ecx
call fcn.0042ab43
pop ecx
pop ecx
push 0x455818
lea eax, [ebp - 0xce4]
push eax
call fcn.00401415
mov ecx, dword [ebp - 0xce8]
mov eax, esi
push eax
lea eax, [ebp - 0xce4]
push eax
mov byte [ebp - 4], 0x22
call fcn.0040ade2
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0xce4]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xcd0]
add eax, 0xfffffff0
call fcn.0040114e
lea ecx, [ebp - 0xccc]
mov byte [ebp - 4], 0x19
call fcn.0041bcbc
lea ecx, [ebp - 0xd0c]
mov byte [ebp - 4], 0xe
call fcn.0040597d
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xcf0]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0
lea esi, [ebp - 0x428]
mov dword [ebp - method.appenv::CByteBuffer.virtual_0], vtable.appenv::CByteBuffer.0
call fcn.0040a26e
cmp byte [ebp - 0xcdd], 0
mov esi, dword [ebp - 0xce8]
je 0x40b7f5
xor ebx, ebx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax]
push 0x40
call fcn.0041a807
test al, al
jne 0x40b7e2
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
push str.DisplayName
lea eax, [ebp - 0xce4]
push eax
call fcn.00401415
lea eax, [ebp - 0xce4]
push eax
lea eax, [ebp - 0xcdc]
push eax
mov byte [ebp - 4], 0x23
call fcn.0040ad9f
mov esi, eax
push str.Installing
lea eax, [ebp - 0xcd4]
push eax
mov byte [ebp - 4], 0x24
call fcn.00401415
lea ecx, [ebp - 0xcec]
push esi
push ecx
mov edi, eax
mov byte [ebp - 4], 0x25
call fcn.00404b13
lea ecx, [ebp - 0xcd8]
push str._...
push ecx
mov edi, eax
mov byte [ebp - 4], 0x26
call fcn.00404b62
add esp, 0x10
mov esi, dword [ebp - 0xce8]
mov byte [ebp - 4], 0x27
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0xcd8]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0xcec]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0xcd4]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0xcdc]
add eax, 0xfffffff0
call fcn.0040114e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xce4]
add eax, 0xfffffff0
call fcn.0040114e
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x48]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x40]
mov ecx, esi
call fcn.0040ba40
push dword [ebp - 0xcf4]
push esi
call fcn.0040be42
mov eax, dword [esi + 0x74]
push ecx
mov edi, esp
sub eax, 0x10
mov dword [ebp - 0xcf8], esp
mov dword [ebp - 0xcd8], edi
call fcn.0040167a
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 0
call fcn.00429e29
pop ecx
test al, al
je 0x40b855
push dword [esi + 0x74]
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call edi
test eax, eax
jne 0x40b855
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 3
je 0x40b855
cmp eax, 2
je 0x40b855
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
push dword [esi + 0x74]
call edi
mov eax, dword [esi + 0x10]
and eax, 0x80
cmp al, 0x80
sete bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xcfc]
add eax, 0xfffffff0
call fcn.0040114e
mov al, bl
call fcn.00448408
ret 4