joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bbc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
mov eax, dword [0x4650c0]
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.0042b480
add esp, 4
test eax, eax
jne 0x42bc5f
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 0x42bc27
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 0x42bc4d
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.0043c440
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 0x42bc95
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.00439f8d
add esp, 8
test eax, eax
js 0x42bd47
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x42bd47
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 0x42bd0f
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 0x42bd35
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 0x42c230
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x4650c0]
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 0x42c286
push 1
push str.Service_Keep
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x42c27b
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
jne 0x42c329
xor eax, eax
push 0x63e
push eax
lea ecx, [ebp - 0x642]
push ecx
mov word [ebp - 0x644], ax
call fcn.0043c440
add esp, 0xc
push 0x320
lea edx, [ebp - 0x644]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x42c329
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x42c329
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 0x42c310
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.004397ee
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.004397ee
mov esp, ebp
pop ebp
ret
Function at 0x42c340
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4650c0]
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 0x42c38f
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 0x42c388
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
jne 0x42c3a5
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004397ee
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 0x42c3da
push str.OpenSCManager_failed_
call fcn.0043bf80
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004397ee
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 0x42c414
push edi
call ebx
push str.OpenService_failed_
call fcn.0043bf80
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004397ee
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.004397ee
mov esp, ebp
pop ebp
ret
Function at 0x42d260
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4511a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4650c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x4c]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x48
mov dword [esp + 0x3c], edi
call fcn.00439989
add esp, 4
cmp eax, edi
je 0x42d2c3
mov esi, eax
call fcn.00429f10
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x42d2c9
mov dword [esp + 0x10], edi
mov esi, edi
lea eax, [ebx + 0x64]
cmp eax, edi
jne 0x42d2d5
mov eax, 0x467384
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push edi
mov edi, dword [0x4678a4]
push edi
mov edi, dword [ebx - 0x30]
push 0
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub edi, ecx
push edi
sub eax, edx
push eax
push ecx
push edx
push 0x52000000
push 0
push str.AtlAxWin100
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 8], eax
test eax, eax
je 0x42d40d
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx - 0x34]
neg eax
sbb eax, eax
and eax, ebx
mov dword [ebx + 0x38], esi
lea edi, [esi + 0x34]
lea ecx, [esi + 8]
mov dword [esi + 0x40], eax
call fcn.0042a6b0
mov eax, dword [edi]
mov edx, dword [eax]
lea edi, [esi + 0xc]
push edi
push 0x45566c
push eax
mov eax, dword [edx]
call eax
mov eax, dword [edi]
test eax, eax
je 0x42d377
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf0]
push 0xffffffffffffffff
push eax
call edx
mov edi, dword [edi]
mov eax, dword [edi]
mov ecx, dword [eax + 0x100]
push 0xffffffffffffffff
push edi
call ecx
call fcn.0042a510
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [ebx + 0x4c]
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebx + 0x38]
lea esi, [ebx + 0x3c]
push eax
mov byte [esp + 0x3c], 1
call fcn.00423290
push eax
push esi
lea esi, [esp + 0x2c]
call fcn.00423140
call fcn.0043a056
cdq
mov ecx, 0x320
idiv ecx
mov dword [ebx + 0x140], edx
call fcn.0043a056
cdq
mov ecx, 0x258
idiv ecx
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebx + 0x144], edx
test edi, edi
je 0x42d3eb
push edi
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42d3f6
push eax
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42d41c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451168
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4650c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4650c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0043a056
cdq
mov ecx, 0x3e8
idiv ecx
xor eax, eax
cmp edx, dword [0x468d50]
mov dword [ebx + 0xf0], 0
setl al
mov dword [ebx + 0xf4], eax
call fcn.0043a056
cdq
mov ecx, 0x3e8
idiv ecx
cmp edx, dword [0x468d64]
jge 0x42da0d
mov dword [ebx + 0xf0], 3
push 0x48
call fcn.00439989
add esp, 4
test eax, eax
je 0x42da26
mov esi, eax
call fcn.00429f10
mov esi, eax
jmp 0x42da28
xor esi, esi
lea eax, [ebx + 0x98]
mov dword [ebx + 0x6c], esi
test eax, eax
jne 0x42da3a
mov eax, 0x467384
mov edi, dword [0x4678a4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0
push edi
mov edi, dword [ebx + 4]
push 0
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub edi, ecx
push edi
sub eax, edx
push eax
push ecx
push edx
push 0x52000000
push 0
push str.AtlAxWin100
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 8], eax
test eax, eax
je 0x42db90
mov esi, dword [ebx + 0x6c]
lea eax, [ebx + 0x34]
lea edi, [esi + 0x34]
lea ecx, [esi + 8]
mov dword [esi + 0x40], eax
call fcn.0042a6b0
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea edi, [esi + 0xc]
push edi
push 0x45566c
push eax
call edx
mov eax, dword [edi]
test eax, eax
je 0x42dbb2
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf0]
push 0xffffffffffffffff
push eax
call edx
mov edi, dword [edi]
mov eax, dword [edi]
mov ecx, dword [eax + 0x100]
push 0xffffffffffffffff
push edi
call ecx
call fcn.0042a510
mov eax, 0x468d38
mov edi, 0x468adc
call fcn.004138d0
lea edi, [ebx + 0x80]
xor esi, esi
push edi
mov dword [0x466454], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebx + 0x6c]
mov dword [esp + 0x38], esi
lea esi, [ebx + 0x70]
push eax
call fcn.00423290
push eax
push esi
lea esi, [esp + 0x1c]
call fcn.00423140
mov edx, dword [ebx + 4]
xor esi, esi
push esi
push 0x7d0
push 6
push edx
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
mov dword [ebx + 0x100], esi
mov dword [ebx + 0x104], esi
call fcn.0043aefb
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
push esi
push 0x3e8
push ecx
push edx
call fcn.00446060
mov ecx, eax
movzx eax, word [esp + 0x1c]
mov esi, edx
cdq
add ecx, eax
adc esi, edx
mov dword [ebx + 0xf8], ecx
mov dword [ebx + 0xfc], esi
test edi, edi
je 0x42db90
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004397ee
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42e540
Capabilities:
Terminate process

Disassembly:
push esi
push edi
call fcn.0042eab0
push edi
mov esi, eax
call fcn.0042e590
xor ecx, ecx
cmp esi, ecx
je 0x42e578
cmp eax, ecx
je 0x42e578
cmp dword [edi + 0x64], ecx
lea esi, [edi + 0x64]
je 0x42e566
call fcn.00418390
push edi
mov ecx, 0x42f480
mov edx, esi
call fcn.00418290
add esp, 4
pop esi
ret
push ecx
mov dword [edi + 0xf8], ecx
mov dword [edi + 0xfc], ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x42f910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x4650c0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x68]
push ebx
push esi
test eax, eax
je 0x42f93b
mov eax, dword [eax + 4]
test eax, eax
je 0x42f93b
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call fcn.0043af06
push eax
call fcn.0043a044
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add esp, 8
cmp dword [edi + 0x120], 0
jne 0x42fa20
push 0x468a8c
call ebx
call fcn.0043a056
cdq
mov ecx, 0x32
idiv ecx
mov esi, edx
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jle 0x42f9a7
mov eax, dword [0x4689c0]
add eax, esi
mov dword [0x4689c0], eax
cmp eax, dword [edi + 0x138]
jle 0x42f9bd
neg esi
lea edx, [eax + esi*2]
mov dword [0x4689c0], edx
jmp 0x42f9bd
sub dword [0x4689c0], esi
jns 0x42f9bd
mov eax, dword [0x4689c0]
lea ecx, [eax + esi*2]
mov dword [0x4689c0], ecx
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
mov esi, edx
call fcn.0043a056
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x32
jle 0x42f9ff
mov eax, dword [0x4689c4]
add eax, esi
mov dword [0x4689c4], eax
cmp eax, dword [edi + 0x13c]
jle 0x42fa15
neg esi
lea edx, [eax + esi*2]
mov dword [0x4689c4], edx
jmp 0x42fa15
sub dword [0x4689c4], esi
jns 0x42fa15
mov eax, dword [0x4689c4]
lea ecx, [eax + esi*2]
mov dword [0x4689c4], ecx
push 0x468a8c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.0043aefb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 4
push 0
push 0x3e8
push eax
push ecx
call fcn.00446060
mov esi, eax
movzx eax, word [esp + 0x10]
sub esi, dword [edi + 0x140]
mov ecx, edx
sbb ecx, dword [edi + 0x144]
cdq
add esi, eax
adc ecx, edx
test ecx, ecx
jg 0x42faea
jl 0x42fa7d
cmp esi, 0x927c0
ja 0x42faea
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.0043aefb
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0
push 0x3e8
push eax
push ecx
call fcn.00446060
mov esi, eax
movzx eax, word [esp + 0x20]
sub esi, dword [edi + 0x130]
mov ecx, edx
sbb ecx, dword [edi + 0x134]
cdq
add esi, eax
adc ecx, edx
test ecx, ecx
jg 0x42faea
jl 0x42fada
cmp esi, 0x4e20
ja 0x42faea
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42f951
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42fb00
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x6c], 0
je 0x42fbe9
mov eax, dword [edi + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0042fc90
test eax, eax
je 0x42fbed
mov ecx, dword [edi + 0x160]
sub ecx, dword [edi + 0x15c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x42fb53
call fcn.0043a056
cdq
idiv esi
cmp edx, esi
jl 0x42fb56
lea edx, [esi - 1]
test edx, edx
jns 0x42fb5c
xor edx, edx
lea ecx, [edx + edx*4]
mov edx, dword [edi + 0x15c]
lea esi, [edi + 0x17c]
lea eax, [edx + ecx*4]
call fcn.0042fc10
mov ebx, dword [edi + 0x184]
sub ebx, dword [esi]
jne 0x42fb81
xor edx, edx
jmp 0x42fb89
call fcn.0043a056
cdq
idiv ebx
mov eax, dword [esi]
mov esi, dword [edi + 0x188]
add eax, edx
sub esi, dword [edi + 0x180]
mov dword [edi + 0x16c], eax
jne 0x42fba5
xor edx, edx
jmp 0x42fbad
call fcn.0043a056
cdq
idiv esi
mov ecx, dword [edi + 0x180]
add ecx, edx
cmp dword [edi + 0x50], 0
lea esi, [edi + 0x50]
mov dword [edi + 0x170], ecx
je 0x42fbcf
call fcn.00418390
mov dword [esi], 0
push edi
mov ecx, 0x42efe0
mov edx, esi
mov dword [edi + 0x120], 1
call fcn.00418290
add esp, 4
pop edi
pop esi
pop ebx
ret
push 0x45b12c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433ae0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4650c0]
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 0x433b67
xor eax, eax
cmp ecx, esi
je 0x433b4f
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 0x433b87
cmp ecx, esi
je 0x433b72
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.004397ee
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], 0x100
call ebx
test eax, eax
jne 0x433c10
jmp 0x433bc0
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00433ae0
mov dword [ebp - 0x210], eax
cmp eax, esi
jne 0x433c62
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], 0x100
call ebx
test eax, eax
je 0x433bc0
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x433c27
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.00433d00
mov edi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x433c4d
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.004397ee
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, esi
je 0x433c4f
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.004397ee
mov esp, ebp
pop ebp
ret 4
Function at 0x434960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450646
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4650c0]
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 0x4349e0
call fcn.00428a00
mov edi, eax
jmp 0x434af9
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 0x4349ff
call fcn.00428a00
jmp 0x434af0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x434a1b
call fcn.00428a00
jmp 0x434af0
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 0x434a3c
mov edi, 0x8007000e
jmp 0x434af2
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x434a51
cmp eax, 0xffffffff
jbe 0x434a5b
push 0x80070216
call fcn.00402060
cmp eax, 0x400
jbe 0x434a8d
lea ecx, [ebp - 0x418]
push ecx
call fcn.004333f0
jmp 0x434a99
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x434ab1
mov edi, 0x8007000e
jmp 0x434af2
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 0x434acf
call fcn.00428a00
jmp 0x434af0
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.004347c0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x434b12
lea eax, [ebp - 0x418]
call fcn.00433380
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.004397ee
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4350d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4650c0]
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.0043c440
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 0x43513e
mov ecx, 0x4589e4
jmp 0x435193
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 [0x466454], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x210]
push eax
mov dword [0x466454], 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.004397ee
mov esp, ebp
pop ebp
ret