joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4031e4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
call fcn.00403309
cmp eax, 1
jne 0x403252
mov edi, 0x128
push edi
call fcn.004044ec
pop ecx
mov esi, eax
push 0
push 2
mov dword [esi], edi
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
push esi
push edi
call sub.KERNEL32.DLL_Process32First
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x403232
push esi
push edi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x403302
cmp dword [esi + 8], ebx
jne 0x403223
add esi, 0x24
push esi
call fcn.004041a0
push eax
push esi
push dword [ebp + 0xc]
call fcn.00403e60
add esp, 0x10
jmp 0x403302
push str.psapi.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.EnumProcessModules
push eax
mov dword [ebp - 4], eax
call esi
push str.GetModuleFileNameExA
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ebx, eax
test ebx, ebx
je 0x4032fd
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push 4
push eax
push ebx
call dword [ebp - 0xc]
test eax, eax
je 0x4032fd
mov esi, 0x100
lea eax, [ebp - 0x110]
push esi
push 0
push eax
call fcn.00403e00
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push eax
push dword [ebp + 8]
push ebx
call dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x110]
push eax
call fcn.004041a0
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp + 0xc]
call fcn.00403e60
add esp, 0x10
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40356e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x104
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00403e00
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.00404360
lea eax, [ebp - 0x104]
push str.sys.try
push eax
call fcn.00404360
add esp, 0x1c
lea eax, [ebp - 0x104]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
jne 0x4035d5
xor eax, eax
jmp 0x4035ec
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 1
pop eax
leave
ret 4
Function at 0x4035f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push esi
mov esi, 0x104
push edi
push esi
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.00403e00
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.00404360
lea eax, [ebp - 0x208]
push str..
push eax
call fcn.00404360
add esp, 0x1c
push dword [ebp + 8]
call fcn.004036df
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4036d9
cmp byte [ebp - 0x31c], 0x2e
je 0x4036c0
mov eax, dword [ebp - 0x348]
and eax, 0x10
cmp al, 0x10
jne 0x4036c0
push esi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00403e00
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.00404360
lea eax, [ebp - 0x104]
push 0x40d10c
push eax
call fcn.00404360
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00404360
add esp, 0x24
lea eax, [ebp - 0x104]
push eax
call fcn.004035f0
lea eax, [ebp - 0x348]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x403659
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
leave
ret 4
Function at 0x403a14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
push 1
rep stosd dword es:[edi], eax
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
xor esi, esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x28], edi
mov word [ebp - 0x24], 0xa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x403a84
cmp dword [ebp + 0x10], esi
je 0x403a80
cmp dword [ebp + 0x10], 0xffffffff
jne 0x403a68
push 0xffffffffffffffff
jmp 0x403a6b
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x403a84
cmp eax, 0x102
je 0x403a84
mov eax, edi
jmp 0x403a86
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x403c6f
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push ebx
push esi
push edi
push 0x8001
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x403cbd
push str.RegisterServiceProcess
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x403cb6
push 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push edi
call fcn.00404767
push eax
call fcn.0040473f
pop ecx
lea eax, [ebp - 0x190]
pop ecx
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x403cec
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x403dad
mov esi, dword [ebp + 0x10]
push esi
call fcn.004041a0
test eax, eax
pop ecx
jbe 0x403d13
push esi
call fcn.004041a0
cmp byte [eax + esi - 1], 0x21
pop ecx
jne 0x403d13
push esi
call fcn.00401856
jmp 0x403dad
mov dword [0x40e46c], edi
call fcn.0040127d
call fcn.00401492
test eax, eax
jne 0x403d7e
call section..text
test eax, eax
je 0x403d3e
push 0x40e448
call fcn.0040107c
test eax, eax
jne 0x403d54
cmp dword [0x40e46c], edi
je 0x403dad
push dword [0x40e450]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x403dad
call fcn.0040106f
test eax, eax
je 0x403d6a
call fcn.00401334
push esi
call fcn.004015c3
jmp 0x403dad
cmp dword [0x40e460], edi
jbe 0x403d77
call fcn.00401db1
call fcn.00401334
jmp 0x403dad
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
lea eax, [ebp + 0x10]
push eax
push edi
push edi
push 0x4024e2
push edi
push edi
call esi
mov ebx, eax
lea eax, [ebp + 0x10]
push eax
push edi
push edi
push 0x4033f7
push edi
push edi
call esi
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4070f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d468
cmp edx, dword [eax]
je 0x407117
add eax, 8
inc ecx
cmp eax, 0x40d4f8
jl 0x407108
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d468]
jne 0x407245
mov eax, dword [0x40e498]
cmp eax, 1
je 0x40721f
test eax, eax
jne 0x407148
cmp dword [0x40d39c], 1
je 0x40721f
cmp edx, 0xfc
je 0x407245
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40717f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00404350
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004041a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4071c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004041a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b5ec
push edi
call fcn.00408c80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00404350
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00404360
lea eax, [ebp - 0xa0]
push 0x40b5cc
push eax
call fcn.00404360
push dword [esi + 0x40d46c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00404360
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408bf2
add esp, 0x2c
pop edi
jmp 0x407245
lea eax, [ebp + 8]
lea esi, [esi + 0x40d46c]
push 0
push eax
push dword [esi]
call fcn.004041a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4140ad4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..pdata
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5c434d48
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x404df6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor ecx, ecx
mov dword [ebp - 0x10], str.Q360SafeMonClass
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ecx
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ecx
push eax
push 0x404dcd
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
je 0x404e3f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409b84
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x53fe28
mov edi, 0x53fe20
mov ebx, 0x103
push edi
push ebx
push 0x5d8c58
mov esi, ecx
call fcn.005028f6
call fcn.0040a96f
push eax
push edi
push ebx
push 0x5d6fe0
call fcn.005028f6
call fcn.0040a96f
push eax
push edi
push ebx
push 0x5d8230
call fcn.005028f6
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
push ebx
push 0x5d8438
call fcn.005028f6
push dword [esi]
push str.0x_08x
push ebx
push 0x5d71e8
call fcn.005028f6
mov ax, word [0x53fc30]
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.005091d0
and dword [ebp - 0x440], 0
lea edi, [ebp - 0x43c]
mov ebx, dword [esi + 0xc]
add esp, 0x2c
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x440]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, 0x103
test eax, eax
je 0x409cc5
mov esi, dword [ebp - 0x43c]
test esi, esi
je 0x409cc5
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x409cc5
push edi
mov edx, 0x5d8848
lea ecx, [ebp - 0x20c]
sub ebx, esi
call fcn.0040a7fb
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x409c9e
lea eax, [ebp - 0x20c]
push eax
push 0x53fe20
push edi
push 0x5d7c18
call fcn.005028f6
push ebx
push str.0x_08x
push edi
push 0x5d73f8
call fcn.005028f6
add esp, 0x20
jmp 0x409cd8
push 0x53fe48
push edi
push 0x5d7c18
call fcn.005028f6
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.005091d0
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x420]
push eax
lea edx, [ebp - 0x41c]
lea ecx, [ebp - 0x418]
call fcn.004640e0
add esp, 0x1c
cmp dword [ebp - 0x418], 0
je 0x409d56
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
push str._d._d._d__s
push edi
push 0x5d7e20
call fcn.005028f6
add esp, 0x1c
call fcn.0040a8d2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x409e32
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 0x823
mov dword [ebp - 0x82c], eax
mov edi, edx
lea eax, [ebp - 0x827]
mov dword [ebp - 0x830], ebx
push 0
push eax
mov dword [ebp - 0x834], esi
mov byte [ebp - 0x828], 0
call fcn.005091d0
add esp, 0xc
cmp dword [ebp + 0x10], 0
push esi
je 0x409f76
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push 0x823
push eax
call fcn.005029ca
lea esi, [ebp - 0x828]
add esp, 0x18
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x409ec0
push 0x53ff2c
push dword [ebp - 0x834]
sub esi, ecx
call fcn.00502b3a
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x409fc5
push 2
push 0
push ebx
call fcn.005034fa
push ebx
call fcn.00503150
push 0
push 0
push ebx
mov dword [ebp - 0x82c], eax
call fcn.005034fa
mov eax, dword [ebp - 0x82c]
add esp, 0x1c
add eax, 2
add eax, esi
mov dword [ebp - 0x834], eax
cmp eax, dword [edi]
jae 0x409f6a
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x828]
push esi
push eax
push ecx
call fcn.00511600
mov eax, dword [ebp - 0x830]
push ebx
push 1
push dword [ebp - 0x82c]
add eax, esi
push eax
call fcn.00502d14
mov eax, dword [ebp - 0x82c]
add esp, 0x1c
add eax, dword [ebp - 0x830]
mov ecx, 0xa0d
mov word [eax + esi], cx
mov eax, dword [ebp - 0x834]
mov dword [edi], eax
jmp 0x409f6d
and dword [edi], 0
push ebx
call fcn.005035e9
pop ecx
jmp 0x409fc8
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push 0x823
push eax
call fcn.005029ca
lea esi, [ebp - 0x828]
add esp, 0x18
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x409fa3
sub esi, ecx
cmp esi, dword [edi]
jae 0x409fc5
push esi
lea eax, [ebp - 0x828]
push eax
push ebx
call fcn.00511600
add esp, 0xc
mov dword [edi], esi
jmp 0x409fc8
and dword [edi], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x40a54e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea ecx, [ebp - 0x620]
push edi
mov dword [ebp - 0x620], ebx
call fcn.00409fd9
mov dword [0x5d73f4], eax
test eax, eax
je 0x40a6b9
mov si, word [0x53fc30]
lea eax, [ebp - 0x412]
mov edi, 0x206
mov word [ebp - 0x414], si
push edi
push ebx
push eax
call fcn.005091d0
push edi
lea eax, [ebp - 0x20a]
mov word [ebp - 0x20c], si
push ebx
push eax
call fcn.005091d0
add esp, 0x18
lea eax, [ebp - 0x20c]
mov esi, 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x54002c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ebx, 0x5da878
mov ecx, ebx
call fcn.0040cf50
push str.http:__doctor.se.360.cn_index.php_doadderrorlog
mov ecx, ebx
call fcn.00409b00
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00409b32
mov ax, word [0x53fc30]
push edi
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push 0
push eax
mov dword [0x5dcf20], 0x2710
call fcn.005091d0
add esp, 0xc
push 0x54
pop eax
call fcn.00512570
mov ecx, esp
mov edx, str.___________________________7d9114302a0cb6
push 3
push 0x2a
call fcn.00409a99
push eax
push str.multipart_form_data__boundary_s
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.005028f6
mov eax, dword [0x5d73f4]
mov esi, 0x5dcd00
push 0x208
mov dword [0x5dccf8], eax
mov eax, dword [ebp - 0x620]
push 0
push esi
mov dword [0x5dccfc], eax
call fcn.005091d0
lea eax, [ebp - 0x61c]
push eax
push 0x53fe20
push 0x103
push esi
call fcn.0040acc0
add esp, 0x2c
mov ecx, ebx
call fcn.0040cea1
mov ecx, ebx
call fcn.0040d1b0
lea esp, [ebp - 0x62c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x40a6d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.dbghelp.dll
mov dword [ebp - 0x214], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40a7ec
push ebx
push str.MiniDumpWriteDump
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40a7e4
mov cx, word [0x53fc30]
lea eax, [ebp - 0x20a]
push edi
push 0x206
push 0
push eax
mov word [ebp - 0x20c], cx
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x5d8640
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x54002c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x210], eax
cmp eax, 0xffffffff
je 0x40a7e3
xor eax, eax
lea edi, [ebp - 0x220]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp - 0x210]
xor ecx, ecx
push ecx
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x214]
push ecx
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
push eax
push ecx
push edi
mov dword [ebp - 0x218], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00501d03
mov esp, ebp
pop ebp
ret

Function at 0x40a7fb
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0050d9b0
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x4004], ax
mov esi, edx
lea eax, [ebp - 0x4002]
mov ebx, ecx
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x40a8bf
cmp eax, 0x3fff
ja 0x40a8bf
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40a8bf
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x53fe1c
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40a8bf
mov ecx, dword [ebp - 0x4008]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push edi
push esi
call fcn.005028f6
xor eax, eax
add esp, 0x1c
mov word [esi + edi*2 - 2], ax
inc eax
jmp 0x40a8c1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x40a8d2
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ecx, ecx
mov eax, 0x104
mov ebx, 0x5d7a10
mov dword [ebp - 4], eax
push esi
push edi
cmp cx, word [0x5d7a10]
jne 0x40a91b
xor esi, esi
push esi
push 0x26
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x40a902
mov eax, dword [ebp - 4]
mov esi, str.internet_exploreriexplore.exe
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, 0x5d7600
mov ecx, ebx
push eax
mov edx, edi
call fcn.0040a7fb
mov esi, eax
pop ecx
test esi, esi
jne 0x40a966
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push edi
lea eax, [ebp - 8]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x40a966
xor eax, eax
cmp ax, word [0x5d7600]
je 0x40a966
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b105
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40b12b
xor eax, eax
inc eax
jmp 0x40b18d
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x40b18d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40b184
lea ecx, [ebp - 0x20c]
call fcn.0040b105
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00501d03
mov esp, ebp
pop ebp
ret