joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a865
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x442080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00420d1f
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00420d1f
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x42a8dc
cmp word [ecx], dx
je 0x42a8dc
mov eax, dword [0x4367fc]
push edi
dec eax
push eax
push 0x4366e8
call fcn.0042a804
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42a94f
cmp word [eax], dx
je 0x42a94f
mov eax, dword [edi]
test eax, eax
je 0x42a900
cmp word [eax], dx
je 0x42a900
lea eax, [ebp - 0x10]
push eax
call fcn.0042a1e7
jmp 0x42a909
lea eax, [ebp - 0x10]
push eax
call fcn.0042a282
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42a979
mov eax, dword [0x4366e4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4363d8
call fcn.0042a804
add esp, 0xc
test al, al
je 0x42a979
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x42a944
cmp word [eax], di
je 0x42a944
lea eax, [ebp - 0x10]
push eax
call fcn.0042a1e7
pop ecx
jmp 0x42a97b
lea eax, [ebp - 0x10]
push eax
call fcn.0042a282
jmp 0x42a941
mov eax, dword [edi]
test eax, eax
je 0x42a966
cmp word [eax], dx
je 0x42a966
lea eax, [ebp - 0x10]
push eax
call fcn.0042a19c
pop ecx
jmp 0x42a979
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x42aa44
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042a689
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42aa44
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x42aa44
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x42aa44
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42a9d1
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00422bb1
test ebx, ebx
je 0x42aa3f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00422bb1
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42aa44
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42aa44
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042e711
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42aa46
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410b2f
leave
ret
Function at 0x42ee85
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0042ee01
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42eff4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42eff4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42efa9
jg 0x42eee1
test eax, eax
je 0x42ef9f
push 1
push 0x1000
call fcn.0042253a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x42ef04
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x42ef96
push 0x8000
push ebx
call fcn.0041e8bd
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42ef2d
jg 0x42ef28
cmp ecx, 0x1000
jb 0x42ef2d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00421df9
add esp, 0x10
cmp eax, 0xffffffff
je 0x42ef72
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x42ef28
jl 0x42ef59
test ecx, ecx
jne 0x42ef1a
push dword [ebp - 0xc]
push ebx
call fcn.0041e8bd
push esi
call fcn.00422156
add esp, 0xc
xor ebx, ebx
jmp 0x42f002
cmp byte [edi + 0x24], 0
je 0x42ef89
cmp dword [edi + 0x20], 5
jne 0x42ef89
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x42ef94
mov ebx, dword [edi + 0x18]
jmp 0x42ef96
xor ebx, ebx
push esi
call fcn.00422156
pop ecx
jmp 0x42f002
test ecx, ecx
jg 0x42ef6b
jl 0x42efa9
test eax, eax
jae 0x42ef6b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004251b3
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42efc9
cmp byte [edi + 0x1c], 0
je 0x42ef6b
jmp 0x42effa
push ebx
call fcn.00428760
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42ef6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x42f002
cmp byte [edi + 0x1c], 0
je 0x42efff
mov ebx, dword [edi + 0x18]
jmp 0x42f002
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004251b3
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430040
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43006d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43006d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4012a0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
mov edi, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40135f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40135f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test esi, esi
je 0x40135f
test edi, edi
je 0x40135f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test esi, esi
je 0x40130c
mov ecx, ebx
sub ecx, eax
lea ebx, [ebx]
mov dl, byte [ecx + eax]
xor dl, 0xa5
mov byte [eax], dl
inc eax
dec esi
jne 0x401300
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x401339
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push edx
mov dword [ebp - 8], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov esi, dword [ebp - 8]
cmp eax, ebx
je 0x401368
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffff
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
push edi
cmp eax, ebx
jne 0x401352
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [ebp - 0xc]
push esi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401ba5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b004]
jne 0x401baf
repz ret
jmp fcn.00401d54
Function at 0x403f6f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40b004]
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.00402c33
and dword [ebp - 0x14], 0
cmp dword [0x40c7e8], 0
mov dword [ebp - 0x18], eax
jne 0x404022
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4040ca
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4084ac
push ebx
call edi
test eax, eax
je 0x4040ca
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c7e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c7ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c7f0], eax
call edi
push eax
call esi
mov dword [0x40c7f8], eax
test eax, eax
je 0x404022
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c7f4], eax
mov eax, dword [0x40c7f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40407b
cmp dword [0x40c7f8], ecx
je 0x40407b
push eax
call esi
push dword [0x40c7f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40407b
test ebx, ebx
je 0x40407b
call edi
test eax, eax
je 0x404072
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404072
test byte [ebp - 8], 1
jne 0x40407b
or dword [ebp + 0x10], 0x200000
jmp 0x4040ae
mov eax, dword [0x40c7ec]
cmp eax, dword [ebp - 0x18]
je 0x4040ae
push eax
call esi
test eax, eax
je 0x4040ae
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4040ae
mov eax, dword [0x40c7f0]
cmp eax, dword [ebp - 0x18]
je 0x4040ae
push eax
call esi
test eax, eax
je 0x4040ae
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c7e8]
call esi
test eax, eax
je 0x4040ca
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4040cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401ba5
leave
ret
Function at 0x57c1d7
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x34]
ja 0x5a1383
cmc
xor al, 0x4b
stc
sub ebx, edi
sar di, cl
cmc
bts di, dx
add ebx, esp
xor di, cx
btc di, bx
sub al, bl
mov edi, ebx
adc al, 0xe2
ror al, cl
jmp 0x627d34
mov byte [edi - 1], 0
jmp 0x625bf2
lea esp, [esp + 8]
jne 0x609fe4
jmp 0x57cdeb
call fcn.0060ced1
push 0x8f097dba
cwde
mov dword [esp], ebx
push 0x7d52c0be
mov byte [esp], 0x56
lea eax, [0x5a2625]
call fcn.0062486f
adc al, 0xe8
in al, dx
ror byte [esi + 0x34dd1356], 0x75
sub cl, byte [ecx + 0x7bb814ff]
xor esi, dword [esi]
jg 0x625c45
nop
stc
enter 0xffffffffffffdf37, 0x30
and al, 0x6c
xor byte [esp + ebp*2], ah
dec edi
imul ebp, dword [ecx + 1], 0x1d
test dword [ebp - 0x7b9f3768], edx
loopne 0x625c2a
pop edx
cmp cl, byte [ebx - 0x558a28e6]
dec dword [esi + 0x651db7e3]
add edx, dword [eax - 0x35]
mov bh, 0x1d
add edx, dword gs:[eax - 0x35]
retf
jnp 0x625c4a
invalid
shr al, cl
mov al, 0x2e
jns 0x60a1f3
push 0x4359fa90
push ebx
repne scasb al, byte es:[edi]
jmp 0x5a2d64
Function at 0x62346b
Capabilities:
Encode data using xor

Disassembly:
push 0x1340d0c3
shr dword [ecx + 0x1e], cl
popal
in al, 0x24
fld qword [ecx + ebp + 0x257550b0]
mov al, 0xb1
test eax, 0x8006e3d1
push ebx
fdivp st(7)
push es
scasb al, byte es:[edi]
leave
lcall 0x455c, 0xb2a21102
jno 0x60e04c
mov byte [0x71455cb2], al
pop esp
mov eax, 0x9ec15731
pop esi
jge 0x60dfea
or cl, byte [edi]
pop ds
sbb ebx, dword [esi + ebp]
inc ecx
inc edi
rol ebx, cl
imul eax, dword [ecx + ebp - 0x6a686c50], 0xb10bba1e
mov esp, 0x8a28bb1e
mov byte [0x3d2fa4a1], al
cmp ecx, dword [edx + 0x53]
push 0x10013c42
call fcn.0062b8b3
outsd dx, dword [esi]
fnstenv [edx]
leave
pop es
call fcn.0057b447
adc ecx, dword [ebx]
push ebx
pop ebp
mov edi, 0x4ebdfc7d
jg 0x60dfc8
salc
aas
push ds
adc byte [edi + 0x3e], dh
fisubr word [edi + 0xd9fad9e]
pop ss
push edi
jo 0x60e089
fistp word [esi*2 - 0x4d8ae9c4]
jne 0x60e08a
push ss
jne 0x60e003
push edx
cmp dh, byte [edi - 0x2b]
xlatb
invalid
wait
cdq
cmp dl, bl
xchg edi, eax
pop ds
mov edx, 0x3717df3e
xchg dword [esi - 0x72], edx
push ss
add dword [edx + 0x3d9b4dd0], 0xffffff9a
nop
pop ss
pushfd
cmp al, 0x69
mov al, 0xc2
cdq
in eax, 0x59
stc
sbb dword [ebx + 0x1a], edi
jns 0x60e0e6
xor al, 0x1f
mov ch, 0x84
idiv dword [edx]
fidiv dword [ebp + 0x7f]
push ebp
rcr byte [edx - 0x4606dbc5], 1
imul eax, dword [eax], 0x7d9517bb
xchg esi, eax
add dh, byte [edi + 0x1d]
rcr byte [ebp + 0x3f], cl
std
mov esi, 0xfc7f82e2
pop edx
invalid
cmp byte [edx + ebx*8], dl
xchg edi, eax
fnstsw word [esi + edx*8]
push ecx
push ds
jge 0x60e089
sti
push esi
clc
mov dword [0x33dd1757], eax
cwde
or al, 0x79
popfd
aas
pop ebp
pop ebp
xchg esp, eax
mov esi, 0xe0671d7d
popfd
jge 0x60e145
mov edx, 0x33757999
push ss
push edi
xor dl, byte [edi]
wait
sbb esi, dword [ebx]
sub dword [ebx + 0x79031491], edx
xor eax, dword [edi - 0xe]
rcl byte [ecx], cl
mov dl, byte [ebx + 0x32]
mov bl, 0x22
adc al, byte [eax]
mov ecx, 0x1babd11
mov dl, byte [edx]
cmpsd dword [esi], dword es:[edi]
xor dword [ebx], 0xf38fb4f3
push esi
adc al, byte [ebp - 0x6def68c9]
pop ss
or bh, byte [ecx]
stosd dword es:[edi], eax
stosb byte es:[edi], al
sub eax, dword [ebx + 0x32]
and bh, ch
xor ah, byte [eax]
out dx, eax
jae 0x60e147
jnp 0x60e16f
xor bl, bh
push edi
fstp qword [ebx + 0xb9be2dc]
add eax, dword [edx + 0x30]
adc dword [ecx + 0x1d571c32], ebx
neg dword [edi]
pop es
stc
sbb edi, 0x53
lodsb al, byte [esi]
xor bl, byte [ebx - 0x1de4f2f4]
invalid
lea eax, [esp + 0x4af30037]
lea eax, [0x5a2625]
push 0xb236d170
push 0xdac6ee27
pushfd
mov dword [esp + 0xc], 0x5a1991
jmp 0x60e02a
Function at 0x401420
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x401438
cmp eax, 0x80010106
jne 0x4014b6
push edi
push esi
push 0x6802a4
push 1
push 0
push 0x680294
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x401467
push edi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.00568410
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
lea edi, [esi + 4]
push edi
push eax
call edx
mov ebx, eax
test ebx, ebx
jge 0x401490
push ebx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.00568410
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
ret
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
add esi, 8
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x4014b4
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.00568410
mov eax, esi
add esp, 8
pop ebx
pop edi
pop esi
ret

Function at 0x4017b0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x4017c8
cmp eax, 0x80010106
jne 0x40181c
push edi
push esi
push 0x6802e4
push 1
push 0
push 0x6802d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4017f7
push edi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.00568410
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
add esi, 4
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x40181b
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.00568410
mov eax, esi
add esp, 8
pop edi
pop esi
ret
Function at 0x4018a0
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
jne 0x4018b6
mov eax, 0x80004001
pop esi
pop ecx
ret 0xc
push ebx
push ebp
push edi
push str.GHO_Launcher
call fcn.00401360
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00401360
mov ecx, dword [esp + 0x28]
push ecx
mov ebp, eax
call fcn.00401360
mov dword [esp + 0x28], eax
add esp, 0xc
lea ebx, [esp + 0x20]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00401820
mov esi, eax
test esi, esi
jge 0x401913
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.00568410
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
cmp dword [esp + 0x20], 0
je 0x401924
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret 0xc
lea edx, [esp + 0x10]
push edx
push 0x680304
push 1
push 0
push 0x6802f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x40194e
push esi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
jmp 0x4019dd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push 6
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
test esi, esi
jge 0x4019e5
push esi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.00568410
add esp, 8
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push ebp
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401a08
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
Function at 0x401c20
Capabilities:
Copy file

Disassembly:
sub esp, 0x614
mov eax, dword [0x6ade1c]
xor eax, esp
mov dword [esp + 0x610], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x114]
push 0x5c
push ecx
call fcn.0058e710
mov esi, eax
inc esi
add esp, 8
cmp esi, 1
jne 0x401c7b
push 0
push 0x14
push str..GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.00568720
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.00569130
add esp, 0xc
test al, al
jne 0x401cae
lea edx, [esp + 0x114]
push edx
push str.failed_to_get_crc_for__s_n
call fcn.005685e0
add esp, 8
push str.1.0.7
push esi
lea eax, [esp + 0x18]
push str._s__s.exe
push eax
call fcn.00401db0
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x401ceb
lea edx, [esp + 0x10]
push edx
push esi
push str.unable_to_copy__s___s_n
call fcn.005685e0
add esp, 0xc
push 0x2f
push str.http:__103.253.73.36_GHO_API_CBT_updater_gho_lc.xml
call fcn.0058e710
mov esi, eax
add esp, 8
test esi, esi
jne 0x401d15
push eax
push 0x21
push str..GenerateUpdaterXML.cpp
push str.updater_file
call fcn.00568720
add esp, 0x10
lea edi, [esi + 1]
push 0x680394
push edi
call fcn.00569640
mov esi, eax
push str._p__n
push esi
call fcn.0058e73d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push str.1.0.7
push ecx
lea edx, [esp + 0x2c]
push edx
push str.http:__103.253.73.36_GHO_API_CBT_updater_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.0058e73d
push str.__p__n
push esi
call fcn.0058e73d
push esi
call fcn.0058e8d0
lea eax, [esp + 0x48]
push eax
push edi
lea ecx, [esp + 0x258]
push str.XML__s_generated_nnew_exe:_s
push ecx
call fcn.00401dd0
add esp, 0x48
push 0
push str.Updater_XML
lea edx, [esp + 0x220]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x618]
pop edi
pop esi
xor ecx, esp
call fcn.0058e447
add esp, 0x614
ret
Function at 0x4024d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x138
mov eax, dword [0x6ade1c]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32First
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x402584
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x14c]
lea eax, [esp + 0x3c]
jmp 0x402530
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402550
test dl, dl
je 0x40254c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402550
add eax, 2
add ecx, 2
test dl, dl
jne 0x402530
xor eax, eax
jmp 0x402555
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402571
mov ecx, dword [esp + 0x20]
push ecx
push eax
push 1
call edi
mov esi, eax
test esi, esi
je 0x402571
push 9
push esi
call ebx
push esi
call ebp
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402520
push esi
call ebp
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058e447
add esp, 0x138
ret

Function at 0x4025a0
Capabilities:
Get cpu information
Get memory capacity
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push esi
mov esi, 0x6805c0
sub esi, 0x50fd16b3
push edi
mov ecx, esi
lea eax, [esp + 0x17]
call fcn.00402c30
push eax
call fcn.004024d0
add esp, 4
mov ecx, esi
lea eax, [esp + 0x17]
call fcn.00402c30
push eax
call fcn.004024d0
add esp, 4
mov ecx, esi
lea eax, [esp + 0x17]
call fcn.00402c30
push eax
call fcn.004024d0
add esp, 4
call fcn.004026c0
call fcn.00402740
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402640
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0x75a488
push eax
push eax
push str.MHz
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 0
shrd ecx, edx, 0xa
push 0
push 0
push str.DISPLAY
shr edx, 0xa
mov dword [0x75a48c], ecx
call dword [sym.imp.GDI32.dll_CreateICA]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0xa
push esi
mov dword [0x75a490], eax
call edi
push esi
mov dword [0x75a494], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
call fcn.00402a20
call fcn.004028f0
call fcn.00402bc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret