joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481997
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a99f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00474bf3
and dword [ebp - 0x14], 0
cmp dword [0x4ac2d0], 0
mov dword [ebp - 0x18], eax
jne 0x481a4a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x481af2
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x490b5c
push ebx
call edi
test eax, eax
je 0x481af2
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x490b4c
push ebx
mov dword [0x4ac2d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ac2d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ac2d8], eax
call edi
push eax
call esi
mov dword [0x4ac2e0], eax
test eax, eax
je 0x481a4a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ac2dc], eax
mov eax, dword [0x4ac2dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x481aa3
cmp dword [0x4ac2e0], ecx
je 0x481aa3
push eax
call esi
push dword [0x4ac2e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x481aa3
test ebx, ebx
je 0x481aa3
call edi
test eax, eax
je 0x481a9a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x481a9a
test byte [ebp - 8], 1
jne 0x481aa3
or dword [ebp + 0x10], 0x200000
jmp 0x481ad6
mov eax, dword [0x4ac2d4]
cmp eax, dword [ebp - 0x18]
je 0x481ad6
push eax
call esi
test eax, eax
je 0x481ad6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x481ad6
mov eax, dword [0x4ac2d8]
cmp eax, dword [ebp - 0x18]
je 0x481ad6
push eax
call esi
test eax, eax
je 0x481ad6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ac2d0]
call esi
test eax, eax
je 0x481af2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x481af4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468a81
leave
ret
Function at 0x40c640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40c64f
pop dword [ebp - 0x50]
mov eax, 0x40c64f
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x4b13733f
sub dword [ebp - 0x60], 0xfcc12df4
mov dword [ebp - 0x5c], 0xcba745a7
sub dword [ebp - 0x5c], 0x9973f962
mov dword [ebp - 0x58], 0xd81a4201
sub dword [ebp - 0x58], 0x8bcdfdd3
mov dword [ebp - 0x54], 0xe1b06a5e
sub dword [ebp - 0x54], 0xe1b06a5e
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x5a1e53d3
add dword [ebp - 0x60], 0x1a541583
mov dword [ebp - 0x5c], 0x5809de9a
add dword [ebp - 0x5c], 0xe96282db
mov dword [ebp - 0x58], 0xc9260a7e
add dword [ebp - 0x58], 0x9a4961ee
mov dword [ebp - 0x54], 0xd74ade65
sub dword [ebp - 0x54], 0xd74ade65
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x4dc1bc7
add eax, 0xfb6554ad
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x398c6
push 0
call eax
mov ecx, 0x40b7
mov edx, eax
mov ebx, 0x42b800
add ebx, dword [ebp - 0x50]
mov esi, 0x9d4c5f40
mov dword [ebp - 0x24], 0x7f715bfa
mov edi, dword [ebx]
add dword [ebp - 0x30], edi
xor edi, esi
add dword [ebp - 0xc], edi
mov dword [edx], edi
mov dword [ebp - 0x40], 0xce26d8e2
add edx, 4
add ebx, 0x4eae1b3b
sub ebx, 0x4eae1b37
loop 0x40c755
add eax, 0x4ed3b4aa
sub eax, 0x4ed2befb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6855bc6f
add ecx, 0x97ea4391
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x13]
mov byte [ebp - 0x14], bl
push dword [ebp + 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push 0x412054
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x4017cf
mov edi, dword [ebp + 0x14]
cmp edi, ebx
je 0x4017b8
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [edi], eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x4017cf
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x4025d7
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0
lea edi, [esi + 4]
mov ecx, edi
call fcn.00405963
mov ebx, dword [sym.imp.USER32.dll_LoadIconA]
push 2
push dword [0x41382c]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x40260e
push 0x7f00
push eax
call ebx
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x80
push dword [edi]
call ebx
push dword [ebp - 4]
push 0
push 0x80
push dword [edi]
call ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ecx, dword [0x4138b0]
push eax
call fcn.00403196
mov ebx, eax
mov eax, esi
neg eax
lea ecx, [esi + 0x1c]
sbb eax, eax
and eax, ecx
lea ecx, [ebx + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00402fd9
mov eax, esi
lea ecx, [esi + 0x20]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebx + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00402fd9
push 0x3fe
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [esi + 0x2720]
call fcn.004026cf
mov eax, dword [edi]
lea ecx, [esi + 0x24]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x26b0]
mov dword [esi + 0xa8], eax
call fcn.0040eafc
test eax, eax
je 0x4026bf
push 0
push 0x15f90
push 0x65
push dword [edi]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp + 0x14]
push 1
and dword [eax], 0
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402d04
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x148
mov eax, dword [esp + 0x154]
push ebp
mov ebp, ecx
sub eax, 0x201
push esi
mov dword [esp + 0xc], ebp
je 0x402ed9
sub eax, 4
jne 0x402eee
push ebx
lea eax, [esp + 0x14]
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
push str.Open
xor ebx, ebx
mov edi, eax
push 1
push ebx
push edi
call esi
lea ecx, [ebp + 0x24]
mov dword [esp + 0x10], ecx
call fcn.0040eae6
test eax, eax
je 0x402df2
mov ebp, 0x414f58
push ebp
push ebx
mov ebx, 0x800
push ebx
push edi
call esi
push str.Password
push 0x404
push 0
push edi
call esi
push ebp
push 0
push ebx
push edi
call esi
push 0x4122b8
push 0x402
push 0
push edi
call esi
push ebp
push 0
push ebx
push edi
call esi
mov eax, dword [0x4139b4]
cmp eax, 0x64
je 0x402db4
cmp eax, 0x6d
jne 0x402dca
push str.Impressum
push 0x40a
push 0
push edi
call esi
push ebp
push 0
push ebx
push edi
call esi
push 0x4122a0
push 0x405
push 0
push edi
call esi
push ebp
push 0
push ebx
push edi
call esi
push str.Exit
push 0x12
push 0
push edi
call esi
mov ebp, dword [esp + 0x14]
xor ebx, ebx
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push ebx
push dword [ebp + 4]
push ebx
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0x188
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
dec eax
je 0x402ebb
sub eax, 0x11
je 0x402e5f
sub eax, 0x3f0
je 0x402e8e
dec eax
dec eax
je 0x402e71
dec eax
je 0x402e50
sub eax, 5
jne 0x402ece
push 0x50000
push str.About
push str.Crosskrik__S.L._r_nSon_Rapinya_2_r_n07013_Palma_de_Mallorca_r_ninfo_crosskirk.com
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402ece
push dword [ebp + 4]
mov ecx, 0x413828
push ebx
push ebx
call fcn.00403b4a
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402ece
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], 0x4103dc
call fcn.0040960d
jmp 0x402ece
push 1
push ebx
push ebx
push 0x4146d7
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x402ece
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push dword [ebp + 4]
call fcn.00401d1b
pop ecx
pop ecx
jmp 0x402ece
push ebx
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x10]
call fcn.0040e7bd
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop ebx
jmp 0x402eee
lea esi, [ebp + 0x24]
mov ecx, esi
call fcn.0040eae6
test eax, eax
je 0x402eee
mov ecx, esi
call fcn.0040e7bd
pop esi
xor eax, eax
pop ebp
add esp, 0x148
ret 0x10
Function at 0x403678
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x70], 0x412090
mov dword [0x413818], esi
push dword [ebp + 8]
mov dword [esi], 0x84
mov dword [esi + 0x64], 0x300
push esi
call fcn.0040377b
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x4036c5
push 0x10
push dword [ebp + 0x10]
push 0x413808
call fcn.00401e96
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_HeapCreate]
mov edi, 0x94
mov dword [esi + 0x18], eax
push edi
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.00401e5d
add esp, 0xc
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [ebp - 0xa8], 2
jne 0x403716
cmp dword [ebp - 0xb4], 5
jae 0x40376c
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x40376c
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x403738
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x403726
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x403755
jmp 0x403772
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x40398a
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebp, 0x104
lea edi, [esi + 0xfb3]
push ebp
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0x22
push edi
call fcn.00401cd7
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenA]
pop ecx
pop ecx
push edi
call ebx
push eax
push edi
call dword [sym.imp.USER32.dll_CharLowerBuffA]
push 0x5c
push 0x5c
push edi
call fcn.00401c15
pop ecx
pop ecx
push eax
push edi
lea eax, [esi + 0x10b7]
push 0x1e
push eax
call fcn.00401b0e
and byte [esp + 0x24], 0
xor eax, eax
lea edi, [esp + 0x25]
add esp, 0x14
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esi + 0xdab]
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
test eax, eax
je 0x403a25
push edi
call ebx
push eax
push edi
call dword [sym.imp.USER32.dll_CharLowerBuffA]
push 0x22
push edi
call fcn.00401cd7
pop ecx
lea eax, [esp + 0x14]
pop ecx
push 4
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpynA]
jmp 0x403a35
lea eax, [esp + 0x10]
push 0x412388
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x10]
push eax
push str._sprogramme_
push edi
call ebp
mov ebx, dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
add esp, 0xc
push edi
call ebx
cmp eax, 0xffffffff
je 0x403a5d
test al, 0x10
jne 0x403a89
lea eax, [esp + 0x10]
push eax
push str._sprogram_files_
push edi
call ebp
add esp, 0xc
push edi
call ebx
cmp eax, 0xffffffff
je 0x403a79
test al, 0x10
jne 0x403a89
lea eax, [esp + 0x10]
push eax
push 0x412360
push edi
call ebp
add esp, 0xc
cmp dword [esi + 0x18c], 0x6c
mov eax, str.QuizDialer
je 0x403a9c
mov eax, str.Webdialer
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push eax
push edi
call ebx
push 0x41235c
push edi
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x403ad4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x403ad4
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esi + 0x10b7]
push eax
push edi
lea eax, [esi + 0xca7]
push 0x412354
push eax
call ebp
add esp, 0x10
cmp dword [esi + 0x18c], 0x6c
mov eax, str.QuizDialer
je 0x403b00
mov eax, str.Webdialer
push eax
push edi
add esi, 0xeaf
push str._s_s.txt
push esi
call ebp
add esp, 0x10
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4057b4
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
mov edx, ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
mov byte [ebp - 0x108], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
add edx, 0x9d8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [ebp - 0x20c]
push str._s.lnk
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ebx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
test eax, eax
jne 0x405858
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x405858
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 4]
push eax
push 0xb
push ebx
call esi
test eax, eax
jne 0x405896
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x405896
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 4]
push eax
push 2
push ebx
call esi
test eax, eax
jne 0x4058d4
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4058d4
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a919
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410868
push 0x401038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x20], edi
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x20]
push ecx
push 0x17
push dword [ebp + 8]
push eax
call fcn.00401760
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
lea ebx, [esi + 0x1210]
push dword [ebp + 0xc]
add esi, 0xdab
push esi
push str._s_stemp.html
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push edi
push 0x80
push 4
push edi
push 2
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
mov dword [ebp - 0x28], esi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov dword [ebp - 0x24], edi
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov eax, ebx
jmp 0x40a9e1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40acef
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410888
push 0x401038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov esi, 0x104
push esi
push edi
push ebx
call fcn.00401e5d
add esp, 0xc
push edi
push edi
push esi
push ebx
push dword [ebp + 8]
push edi
call sub.urlmon.dll_URLDownloadToCacheFileA
neg eax
sbb eax, eax
inc eax
or dword [ebp - 4], 0xffffffff
jmp 0x40ad5a
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40ad6b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410898
push 0x401038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
call fcn.0040ac4d
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.0040acef
test eax, eax
je 0x40ae74
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
mov dword [ebp - 0x20], edi
cmp edi, 0xffffffff
je 0x40ae4c
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov dword [esi + 0x108], eax
cmp eax, 0xffffffff
je 0x40ae45
inc eax
push eax
push 0xc
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [esi + 0x104], eax
mov dword [ebp - 0x24], ebx
push ebx
lea ecx, [ebp - 0x24]
push ecx
push dword [esi + 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x40ae45
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jbe 0x40ae45
cmp dword [esi + 0x108], eax
jbe 0x40ae2f
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x108]
mov byte [eax + ecx], bl
mov dword [ebp - 0x1c], 1
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [ebp - 4], 0xffffffff
jmp 0x40ae62
cmp dword [ebp - 0x1c], ebx
jne 0x40ae6e
mov ecx, esi
call fcn.0040ac4d
mov eax, dword [esi + 0x104]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40bfa0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
and byte [esp + 0x1c], 0
push edi
mov esi, ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
push ebx
lea edi, [esp + 0x25]
push ebx
push 0x14b
push dword [esi + 0x10]
or ebp, 0xffffffff
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x2c], 0x101
call edi
cmp dword [0x414900], ebx
mov dword [esp + 0x10], ebx
jle 0x40c064
mov eax, dword [0x414f50]
lea eax, [ebx + eax + 7]
push eax
push 0
push 0x143
push dword [esi + 0x10]
call edi
push dword [esp + 0x128]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 2
jne 0x40c02e
mov eax, dword [0x414f50]
push dword [esp + 0x128]
lea eax, [ebx + eax + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x40c02e
mov ebp, dword [esp + 0x10]
inc dword [esp + 0x10]
add ebx, 0x1954
mov eax, dword [esp + 0x10]
cmp eax, dword [0x414900]
jl 0x40bfe7
cmp ebp, 0xffffffff
je 0x40c064
push 0
mov ebx, 0x14e
push ebp
push ebx
push dword [esi + 0x10]
call edi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40c0e7
jmp 0x40c069
mov ebx, 0x14e
cmp dword [0x4139b4], 0x6c
mov eax, str.SoftwareQuizDialer
je 0x40c07c
mov eax, str.SoftwareWebdialer
push 0x20019
push eax
lea ecx, [esi + 0x1a7c]
push SysReAllocStringLen
call fcn.0040f767
test eax, eax
je 0x40c0f5
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x1a7c]
push eax
lea eax, [esp + 0x24]
push str.Country
push eax
call fcn.0040f7a0
test eax, eax
je 0x40c0d7
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 2
jle 0x40c0d7
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x14c
push dword [esi + 0x10]
call edi
mov ebp, eax
lea ecx, [esi + 0x1a7c]
call fcn.0040f6ef
cmp ebp, 0xffffffff
je 0x40c0f5
push 0
push ebp
push ebx
push dword [esi + 0x10]
call edi
cmp eax, 0xffffffff
jne 0x40c147
mov ecx, 0x413828
call fcn.0040ef06
xor ebp, ebp
mov dword [esp + 0x14], eax
cmp dword [0x414900], ebp
jle 0x40c155
mov dword [esp + 0x10], ebp
mov eax, dword [0x414f50]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x14]
lea eax, [ecx + eax + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
je 0x40c140
add dword [esp + 0x10], 0x1954
inc ebp
cmp ebp, dword [0x414900]
jl 0x40c111
jmp 0x40c155
cmp ebp, 0xffffffff
mov eax, ebp
je 0x40c155
push 0
push eax
push ebx
push dword [esi + 0x10]
call edi
cmp eax, 0xffffffff
jne 0x40c15f
push 0
push 0
push ebx
push dword [esi + 0x10]
call edi
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
push eax
push eax
push eax
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0040e41b
mov eax, dword [0x414900]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4
Function at 0x40d7a6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4108f8
push 0x401038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [0x4139b4], 0x6c
mov dword [ebp - 0xb4], str.SoftwareQuizDialer
je 0x40d7f3
mov dword [ebp - 0xb4], str.SoftwareWebdialer
lea ebx, [esi + 0x1a7c]
push edi
push edi
push 0x2001f
push edi
push edi
push dword [ebp - 0xb4]
push SysReAllocStringLen
mov ecx, ebx
call fcn.0040f70e
test eax, eax
je 0x40d8fc
cmp dword [ebp + 8], edi
je 0x40d8dd
and byte [ebp - 0xb0], 0
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0xaf]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x1b94]
imul eax, eax, 0x98
mov ecx, dword [esi + 0x2580]
lea eax, [eax + ecx + 4]
push eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4133d8
lea eax, [ebp - 0xb0]
push eax
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
call edi
mov eax, dword [esi + 0x1b94]
imul eax, eax, 0x98
mov ecx, dword [esi + 0x2580]
lea eax, [eax + ecx + 0x15]
push eax
lea eax, [ebp - 0xb0]
push eax
call edi
push str.Device
lea eax, [ebp - 0xb0]
push eax
mov ecx, ebx
call fcn.0040f881
push str.Country
lea eax, [esi + 0x8f]
push eax
mov ecx, ebx
call fcn.0040f881
push str.Prefix
add esi, 0x1b98
push esi
mov ecx, ebx
call fcn.0040f881
push 0x4133d4
push 0x414200
mov ecx, ebx
call fcn.0040f881
jmp 0x40d8ec
push 0x412e60
push dword [esi + 0x70]
mov ecx, ebx
call fcn.0040f861
mov ecx, ebx
call fcn.0040f6ef
jmp 0x40d8fc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40db58
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x1938], edi
je 0x40dbd8
cmp dword [ebp + 0xc], edi
jne 0x40dbd8
lea ecx, [ebp - 0x34]
call fcn.0040eed6
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 0x4108bc
mov dword [ebp - 0xc], str.Disconnected
mov dword [ebp - 0x18], 0x2710
mov dword [ebp - 0x10], str.The_Connection_is_disconnected._r_n_Reconnecting_
mov dword [ebp - 8], 2
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040f08d
cmp eax, 1
jne 0x40dbd8
cmp dword [esi + 0x1c4c], edi
jne 0x40dc02
cmp dword [esi + 0x1c48], edi
jne 0x40dbd8
push edi
push eax
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x40dc02
cmp dword [esi + 0x1c4c], edi
jne 0x40dc02
cmp dword [esi + 0x1c48], edi
jne 0x40dc02
push str.Microsoft_Internet_Explorer_Netscape_
push 0x40e5f9
mov dword [0x414f40], 0x10
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
xor eax, eax
pop esi
leave
ret 0x10