joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44879b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
cmp dword [edi + 0x1e8], ebx
je 0x4173b3
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 9
push eax
mov dword [edi + 0x1e8], ebx
call esi
mov ecx, dword [edi + 4]
push 6
push ecx
call esi
mov edx, dword [edi + 4]
push ebx
push edx
call esi
mov eax, dword [edi + 4]
push 2
push eax
call esi
mov ecx, dword [edi + 4]
push 3
push ecx
call esi
mov edx, dword [edi + 4]
push 4
push edx
call esi
mov eax, dword [edi + 4]
push 5
push eax
call esi
mov ecx, dword [edi + 4]
push 7
push ecx
call esi
mov edx, dword [edi + 4]
push 9
push edx
call esi
cmp dword [edi + 0x94], 0
lea esi, [edi + 0x94]
je 0x4172bb
call fcn.00414c10
mov dword [esi], 0
cmp dword [edi + 0x98], 0
lea esi, [edi + 0x98]
je 0x4172d5
call fcn.00414c10
mov dword [esi], 0
cmp dword [edi + 0x9c], 0
lea esi, [edi + 0x9c]
je 0x4172ef
call fcn.00414c10
mov dword [esi], 0
lea eax, [edi + 0xe8]
call fcn.00428170
lea esi, [edi + 0x78]
push esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
call fcn.00431766
cmp dword [0x45c8cc], 0
je 0x417386
push ebx
call fcn.0041da50
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x21
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x41735a
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
mov ecx, edi
call fcn.0041db10
push 0
call fcn.0041da50
push 0
push 0x20
lea edx, [ebp - 0x218]
push edx
push 0
call ebx
test eax, eax
je 0x417386
push 0
push 0
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.0041db10
cmp dword [edi + 0x60], 0
jbe 0x4173a1
mov ecx, dword [edi + 4]
push 0
push 0x3e8
push 0xa
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4173a8
mov ecx, edi
call fcn.00415d90
test esi, esi
je 0x4173b3
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
Function at 0x418330
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
test edi, edi
je 0x4183c6
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4183c8
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, edi
je 0x41836d
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41836a
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + 8]
push 0
push edx
call ebx
mov dword [esi + 0x74], edi
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4183c5
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esi + 0xa8]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0xb0]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x74]
push ecx
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + 8]
push 5
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop edi
ret
mov dword [esi + 0x74], edi
mov eax, dword [edi + 8]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x4183c6
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esi + 0xa8]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0xb0]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x74]
push ecx
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 8]
push edx
call edi
test eax, eax
je 0x418426
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
ret
Function at 0x41da50
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call edi
mov ecx, dword [ebp - 4]
push ecx
call fcn.00430ee8
add esp, 4
lea edx, [ebp - 4]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
test edi, edi
je 0x41daf1
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
lea esp, [esp]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41daa6
test dword [esi + 0xc], 0x100000
jne 0x41dabe
mov eax, dword [esi + 4]
push eax
jmp 0x41dab8
cmp eax, 1
jne 0x41dabe
test dword [esi + 0xc], 0x100000
je 0x41dabe
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea edx, [ebp - 4]
push edx
push 0
push edi
mov dword [ebp - 4], 0
call ebx
push esi
call fcn.004315cd
mov eax, dword [ebp - 4]
push eax
call fcn.00430ee8
add esp, 8
lea ecx, [ebp - 4]
push ecx
mov esi, eax
push esi
push edi
call ebx
test eax, eax
jne 0x41da90
lea ebx, [eax + 1]
test esi, esi
je 0x41dafe
push esi
call fcn.004315cd
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41de90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447e2b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.0043df60
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov esi, ecx
mov edi, edx
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x2724], eax
push 0x2710
lea eax, [ebp - 0x2720]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.004338d0
add esp, 0xc
test esi, esi
jne 0x41df03
xor eax, eax
jmp 0x41df1f
mov eax, esi
lea edx, [eax + 2]
jmp 0x41df10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41df10
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x2724]
push ecx
mov ebx, eax
call fcn.00402080
mov eax, dword [ebp - 0x2724]
mov ebx, dword [eax - 0xc]
lea esi, [ebx + 1]
test esi, esi
jns 0x41df48
push 0x80070057
call fcn.00402060
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x41df6c
mov eax, esi
lea ecx, [ebp - 0x2724]
call fcn.00402000
mov eax, dword [ebp - 0x2724]
mov edx, 0x5c
mov word [eax + ebx*2], dx
cmp esi, dword [eax - 8]
jg 0x41df3e
xor ecx, ecx
mov dword [eax - 0xc], esi
mov word [eax + esi*2], cx
test edi, edi
jne 0x41df8b
xor eax, eax
jmp 0x41df9f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41df90
sub eax, edx
sar eax, 1
push eax
push edi
lea ebx, [ebp - 0x2724]
call fcn.004019a0
mov edi, dword [ebp - 0x2724]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dff7
mov dword [ebp - 4], eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dff0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41e091
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub edi, 0x40
je 0x41e05c
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ebx, [ebx]
push 0
cmp edi, 0x2710
jbe 0x41e04a
lea ecx, [ebp - 0x2728]
push ecx
push 0x2710
lea edx, [ebp - 0x2720]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x41e020
jmp 0x41e05c
lea eax, [ebp - 0x2728]
push eax
push edi
lea ecx, [ebp - 0x2720]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2724]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e08c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
Function at 0x427800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447bf3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
lea ebx, [esi + 0x44]
call edx
add eax, 0x10
mov dword [ebx], eax
push 0x450cbc
mov byte [ebp - 4], 1
push ebx
lea ebx, [edi + 0xf]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.00402080
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x428ab0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448630
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
mov eax, dword [0x4590c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov esi, 1
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x10], 0
call fcn.00428370
add esp, 4
test eax, eax
jne 0x428b4f
mov byte [ebp - 4], al
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428b17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428b3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x44
lea ecx, [ebp - 0x68]
push 0
push ecx
call fcn.004338d0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x60], str.winsta0default
cmp dword [eax - 4], esi
jle 0x428b85
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.00401f30
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x68]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0043169d
add esp, 8
test eax, eax
js 0x428c37
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x428c37
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428bff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428c25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402060
int3
Function at 0x429120
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x429176
push 1
push str.Service_Keep
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x42916b
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
jne 0x429219
xor eax, eax
push 0x63e
push eax
lea ecx, [ebp - 0x642]
push ecx
mov word [ebp - 0x644], ax
call fcn.004338d0
add esp, 0xc
push 0x320
lea edx, [ebp - 0x644]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x429219
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x429219
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x644]
push eax
push 1
push 2
push 0x110
push 0xf01ff
push str.Service_Keep
push str.Service_Keep
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x429200
push edi
call ebx
push esi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00430efe
mov esp, ebp
pop ebp
ret
Function at 0x429230
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x42927f
push 1
push str.Service_Keep
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x429278
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
jne 0x429295
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4292ca
push str.OpenSCManager_failed_
call fcn.004332da
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
push 0x10020
push str.Service_Keep
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x429304
push edi
call ebx
push str.OpenService_failed_
call fcn.004332da
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x24], eax
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.00430efe
mov esp, ebp
pop ebp
ret
Function at 0x42c470
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
xor esi, esi
lea ebx, [ebp - 0x210]
push ebx
or eax, 0x2001f
push eax
push esi
push edx
push ecx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
cmp ebx, esi
jne 0x42c4f7
xor eax, eax
cmp ecx, esi
je 0x42c4df
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x218], esi
mov ebx, eax
mov dword [ebp - 0x21c], ecx
cmp eax, esi
je 0x42c517
cmp ecx, esi
je 0x42c502
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x22c]
push eax
push esi
push esi
push esi
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
mov dword [ebp - 0x220], pe_nt_image_headers32
call ebx
test eax, eax
jne 0x42c5a0
jmp 0x42c550
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0042c470
mov dword [ebp - 0x210], eax
cmp eax, esi
jne 0x42c5f2
lea edx, [ebp - 0x22c]
push edx
mov edx, dword [ebp - 0x21c]
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
push edx
mov dword [ebp - 0x220], pe_nt_image_headers32
call ebx
test eax, eax
je 0x42c550
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x42c5b7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], esi
mov ebx, dword [ebp - 0x224]
mov eax, edi
mov dword [ebp - 0x218], esi
call fcn.0042c690
mov edi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x42c5dd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, esi
je 0x42c5df
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430efe
mov esp, ebp
pop ebp
ret 4
Function at 0x42d2f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447316
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
cmp esi, edi
jne 0x42d370
call fcn.004258a0
mov edi, eax
jmp 0x42d489
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x42d38f
call fcn.004258a0
jmp 0x42d480
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x42d3ab
call fcn.004258a0
jmp 0x42d480
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x42d3cc
mov edi, 0x8007000e
jmp 0x42d482
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x42d3e1
cmp eax, 0xffffffff
jbe 0x42d3eb
push 0x80070216
call fcn.00402060
cmp eax, 0x400
jbe 0x42d41d
lea ecx, [ebp - 0x418]
push ecx
call fcn.0042b670
jmp 0x42d429
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x42d441
mov edi, 0x8007000e
jmp 0x42d482
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x42d45f
call fcn.004258a0
jmp 0x42d480
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0042d150
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x42d4a2
lea eax, [ebp - 0x418]
call fcn.0042b650
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42da60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x214], 0
push ecx
mov word [ebp - 0x20c], ax
call fcn.004338d0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push closesocket
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42dace
mov ecx, 0x44e978
jmp 0x42db23
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push str.Start_Page
push edx
mov dword [ebp - 0x214], 0x208
mov dword [0x45a11c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x210]
push eax
mov dword [0x45a11c], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20c]
push esi
call fcn.00401e30
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.00430efe
mov esp, ebp
pop ebp
ret