joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4236a0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 1
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4236ed
mov dword [ebp - 8], 1
jmp 0x4237f0
mov dword [ebp - 0x10], 0x7530
push 4
lea eax, [ebp - 0x10]
push eax
push 2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [ebp - 0x10]
push edx
push 6
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x10]
push ecx
push 5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocStringLen
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0043e290
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42375d
mov dword [ebp - 8], 2
jmp 0x4237f0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x3c], 0
xor ecx, ecx
mov dword [ebp - 0x3b], ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x14], 0x20
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x13
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x4237b2
mov dword [ebp - 8], 3
jmp 0x4237f0
push 0
push str.conf.f.360.cn
lea ecx, [ebp + 8]
call fcn.00428240
cmp eax, 0xffffffff
je 0x4237cf
mov dword [ebp - 8], 0
jmp 0x4237f0
lea eax, [ebp - 0x3c]
test eax, eax
je 0x4237e8
movsx ecx, byte [ebp - 0x3c]
cmp ecx, 0x32
jne 0x4237e8
mov dword [ebp - 8], 0
jmp 0x4237f0
xor edx, edx
jne 0x4236c5
cmp dword [ebp - 0xc], 0
je 0x423807
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x42381e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], 0
xor edx, edx
cmp dword [ebp - 8], 0
sete dl
mov byte [ebp - 0x3d], dl
lea ecx, [ebp + 8]
call fcn.00401eb0
mov al, byte [ebp - 0x3d]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret
Function at 0x4242a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0x424200
push 0
push 0
call fcn.004b17b2
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24b4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x24b4], 0
je 0x4242df
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24b4], 0xffffffff
jne 0x4242e3
xor eax, eax
jmp 0x4242e8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x425100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5367ef
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0xc], 1
jne 0x425187
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
call fcn.00428200
cmp eax, 3
jge 0x425180
push 0x3f7
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00428740
cmp dword [0x58fb50], 0
je 0x425169
push 0x542c00
push 0x58f750
call fcn.004045b0
add esp, 8
push 0
push 0x3e8
push 0x3f7
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00428710
xor eax, eax
jmp 0x425374
lea ecx, [ebp - 0x10]
call fcn.00403840
mov dword [ebp - 4], 0
push str.360EntClient_update.ini
lea eax, [ebp - 0x18]
push eax
call fcn.0041acc0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0043e290
push eax
push 0
push str.switch
push str.360safe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 1
jne 0x425242
cmp dword [ebp - 0x14], 0
jne 0x425208
cmp dword [0x58fb50], 0
je 0x4251f0
push 0x542bbc
push 0x58f750
call fcn.004045b0
add esp, 8
push 0
push 1
push 0x7ed
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42523d
cmp dword [0x58fb50], 0
je 0x425223
push 0x542b8c
push 0x58f750
call fcn.004045b0
add esp, 8
push 0x7ed
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x58fa40
call fcn.00446170
jmp 0x42534f
cmp dword [ebp + 0x10], 2
jne 0x4252cd
cmp dword [ebp - 0x14], 0
jne 0x425291
call fcn.0048d380
movzx eax, al
test eax, eax
je 0x425291
cmp dword [0x58fb50], 0
je 0x425279
push 0x542b50
push 0x58f750
call fcn.004045b0
add esp, 8
push 1
push 1
push 0x7ed
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4252c8
cmp dword [0x58fb50], 0
je 0x4252ac
push 0x542b18
push 0x58f750
call fcn.004045b0
add esp, 8
push 0
push 0x7ed
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x58fa40
call fcn.00446210
jmp 0x42534f
cmp dword [ebp + 0x10], 3
jne 0x42534f
cmp dword [ebp - 0x14], 0
jne 0x425318
call fcn.0048d380
movzx eax, al
test eax, eax
je 0x425318
cmp dword [0x58fb50], 0
je 0x425300
push 0x542adc
push 0x58f750
call fcn.004045b0
add esp, 8
push 2
push 1
push 0x7ed
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x42534f
cmp dword [0x58fb50], 0
je 0x425333
push 0x542aa4
push 0x58f750
call fcn.004045b0
add esp, 8
push 1
push 0x7ed
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x58fa40
call fcn.00446210
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425390
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00405e10
mov ecx, 0x58f750
call fcn.00404340
mov ecx, 0x58f750
call fcn.00404510
mov ecx, 0x58fb60
call fcn.00404510
mov ecx, dword [ebp - 8]
add ecx, 0x2c
call fcn.0049fac0
mov ecx, dword [ebp - 8]
add ecx, 0x2494
call fcn.00488120
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24b4], 0
je 0x425448
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x24b4], 0xffffffff
je 0x425448
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x42542b
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24b4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24b4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x24b4], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.0044d0e0
call fcn.00406d60
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53682a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push 0x542cc4
lea ecx, [ebp - 0x18]
call fcn.00401e30
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x28], eax
lea edx, [ebp - 0x14]
push edx
call fcn.0041ad90
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
call fcn.00401c70
add esp, 4
test eax, eax
jne 0x425516
push 0x542cb8
lea ecx, [ebp - 0x18]
call fcn.00401ed0
jmp 0x42560c
push str.360Examin.dll
lea eax, [ebp - 0x1c]
push eax
call fcn.0041acc0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425550
push 0x542c74
lea ecx, [ebp - 0x18]
call fcn.00401ed0
jmp 0x425600
push 0x540868
lea ecx, [ebp - 0x24]
push ecx
call fcn.0041acc0
add esp, 8
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x24]
call fcn.0043e290
push eax
push str._exam1
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push str.open
push 0
call fcn.00428ad0
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20
ja 0x4255b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x542c4c
lea edx, [ebp - 0x18]
push edx
call fcn.00409170
add esp, 0xc
jmp 0x4255f4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0xf0], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x2420], 0
je 0x4255f4
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x2424], 0
jne 0x4255f4
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x540868
call fcn.00401e30
mov dword [ebp - 0x34], eax
mov ecx, 0x58fa40
call fcn.00446550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00401eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401eb0
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x2424], 0
je 0x425625
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x2424], 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0x542c30
push 0x58f750
call fcn.004045b0
add esp, 0xc
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425680
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53684d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.EntClientEntAdSafeConf.ini.dec
lea eax, [ebp - 0x14]
push eax
call fcn.00401270
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push str.1.0.0.1
call fcn.0049b3f0
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041b290
add esp, 4
push eax
push 0x542ccc
push 0x58f750
call fcn.004045b0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536878
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
lea ecx, [ebp - 0x10]
call fcn.00403840
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x206
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004b0ac0
add esp, 0xc
push str.EntClientExamCmd.dat
lea edx, [ebp - 0x14]
push edx
call fcn.0041acc0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp + 0x10], 0
jne 0x4257fe
push str.Exam
lea ecx, [ebp - 0x10]
call fcn.00401ed0
mov eax, dword [ebp - 0x22c]
mov dword [eax + 0x2424], 1
push 0x3f5
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00428740
push 0
mov ecx, dword [ebp + 0xc]
imul ecx, ecx, 0x3e8
push ecx
push 0x3f5
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00428710
jmp 0x42588a
cmp dword [ebp + 0x10], 1
jne 0x425845
push 0x542d44
lea ecx, [ebp - 0x10]
call fcn.00401ed0
push 0x3fa
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00428740
push 0
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x3e8
push edx
push 0x3fa
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00428710
jmp 0x42588a
cmp dword [ebp + 0x10], 2
jne 0x42588a
push str.SDALL
lea ecx, [ebp - 0x10]
call fcn.00401ed0
push 0x404
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00428740
push 0
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
push eax
push 0x404
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00428710
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
push 0x103
lea ecx, [ebp - 0x224]
push ecx
push 0x540868
push str.LastRecieve
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
lea edx, [ebp - 0x224]
push edx
push str.LastDone
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426440
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536970
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
push 0x540868
lea ecx, [ebp - 0x10]
call fcn.00401e30
mov dword [ebp - 4], 0
push 0x540868
lea ecx, [ebp - 0x14]
call fcn.00401e30
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
cmp dword [eax + 0x2490], 1
jne 0x4264c1
push str.examstarted0examdone0sdstarted0sddone0fullsdstarted0fullsddone1
lea ecx, [ebp - 0x10]
call fcn.00401ed0
push str.SDALL
lea ecx, [ebp - 0x14]
call fcn.00401ed0
jmp 0x4264ea
mov ecx, dword [ebp - 0x230]
cmp dword [ecx + 0x2490], 0
jne 0x4264ea
push str.examstarted0examdone0sdstarted0sddone1fullsdstarted0fullsddone0
lea ecx, [ebp - 0x10]
call fcn.00401ed0
push 0x542d44
lea ecx, [ebp - 0x14]
call fcn.00401ed0
lea ecx, [ebp - 0x10]
call fcn.00402010
movzx edx, al
test edx, edx
jne 0x42651f
push ecx
mov ecx, esp
mov dword [ebp - 0x228], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00401e10
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x230]
add ecx, 0x2c
call fcn.004a0110
lea ecx, [ebp - 0x14]
call fcn.00402010
movzx ecx, al
test ecx, ecx
jne 0x4265bc
xor edx, edx
mov word [ebp - 0x224], dx
push 0x206
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.004b0ac0
add esp, 0xc
push str.EntClientExamCmd.dat
lea ecx, [ebp - 0x18]
push ecx
call fcn.0041acc0
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.0043e290
push eax
push 0x103
lea edx, [ebp - 0x224]
push edx
push 0x540868
push str.LastRecieve
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x18]
call fcn.0043e290
push eax
lea eax, [ebp - 0x224]
push eax
push str.LastDone
lea ecx, [ebp - 0x14]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x18]
call fcn.00401eb0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 0x10
Function at 0x428b10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.00401d50
test eax, eax
je 0x428b29
mov eax, 1
jmp 0x428ba9
call fcn.00401d40
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x428b3e
mov eax, 1
jmp 0x428ba9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428b53
mov eax, 1
jmp 0x428ba9
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045e980
add esp, 4
push eax
call fcn.004b0540
add esp, 4
test eax, eax
jne 0x428b73
mov eax, 1
jmp 0x428ba9
mov edx, dword [ebp + 8]
push edx
call fcn.00401c70
add esp, 4
test eax, eax
jne 0x428ba4
push 1
call fcn.004b01f0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0045e980
add esp, 4
push eax
call fcn.004b0400
add esp, 0xc
xor eax, eax
jmp 0x428ba9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42ba80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.0042b7d0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042ba10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42baeb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.0042b800
mov eax, dword [ebp - 0x224]
jmp 0x42bb7c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42bb51
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042ba80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42bb48
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.0042b800
mov eax, dword [ebp - 0x228]
jmp 0x42bb7c
mov dword [ebp - 4], 0x100
jmp 0x42baf2
lea ecx, [ebp - 0x14]
call fcn.0042b940
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0042b880
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.0042b800
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 4
Function at 0x42c170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x42c179
xor ecx, ecx
jne 0x42c179
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x42c19a
mov eax, 0xd
jmp 0x42c1f5
xor eax, eax
jne 0x42c181
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x42c1ab
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x42f5a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0xc], 1
mov ecx, 0x590da4
call fcn.00428ef0
mov dword [ebp - 8], eax
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f755
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42f755
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42f755
cmp dword [ebp - 0xc], 0
je 0x42f755
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
test eax, eax
je 0x42f755
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
movzx ecx, word [ebp - 0x20]
cmp ecx, 0x403
jne 0x42f6c9
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x130]
call fcn.00408810
lea ecx, [ebp - 0x130]
call fcn.0043e290
push eax
push 0
push 0x143
movzx eax, word [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x25c]
add ecx, 4
call fcn.0042f770
cmp eax, 0xffffffff
jne 0x42f6bc
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x130]
call fcn.004087e0
jmp 0x42f747
movzx ecx, word [ebp - 0x20]
cmp ecx, 0x1234
jne 0x42f747
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x150], 0xffffffff
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x258]
call fcn.00408810
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
call fcn.0043e290
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x258]
call fcn.004087e0
lea eax, [ebp - 0x154]
push eax
push 0
push 0x40b
movzx ecx, word [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x25c]
add ecx, 4
call fcn.0042f770
cmp eax, 0xffffffff
jne 0x42f747
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
jmp 0x42f620
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 4
Function at 0x437a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.0042fd60
call fcn.00437e30
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00437e10
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x437bb4
push 0xf0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00437e10
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x1c], 0
je 0x437af4
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
xor eax, eax
jne 0x437adf
xor ecx, ecx
jne 0x437adf
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x437b9b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x437b90
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00437bc0
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401f50
add esp, 4
movzx edx, al
test edx, edx
jne 0x437b75
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x437b8e
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x437b99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x437ba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x437bb4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret