joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422c70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x422c8b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x422cf7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x422ccf
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x422cd6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x422c82
mov esp, ebp
pop ebp
ret

Function at 0x422e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00405e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422e9e
push str.svc_other
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.00405510
jmp 0x422f0a
call fcn.0042b030
test eax, eax
je 0x422eb9
push str.svc_hr
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.00405510
jmp 0x422f0a
mov ecx, dword [ebp - 4]
call fcn.00405e20
push eax
call fcn.004410a0
add esp, 4
test eax, eax
jne 0x422ed0
jmp 0x422f0a
mov ecx, dword [ebp - 4]
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x422eea
jmp 0x422f0a
push 0x4a7f24
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x422f0a
push 0x4a7f28
call dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4246d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4965d0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
lea eax, [ebp - 0x28]
push eax
call fcn.00419800
mov ecx, eax
call fcn.00413680
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00403360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00403360
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040fd10
push eax
lea ecx, [ebp - 0x54]
call fcn.004032e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004249f0
test eax, eax
jne 0x424760
mov dword [ebp - 0x50], 1
jmp 0x424767
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [ebp - 0x41], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004049f0
movzx edx, byte [ebp - 0x41]
test edx, edx
je 0x4247b7
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404c30
mov eax, dword [ebp - 0x60]
jmp 0x42483f
lea ecx, [ebp - 0x28]
call fcn.0040fd10
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00419800
mov ecx, eax
call fcn.00413280
lea ecx, [ebp - 0x40]
call fcn.0040fd10
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call fcn.00405e20
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405e20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x424800
mov dword [ebp - 0x58], 1
jmp 0x424807
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x40]
call fcn.00404c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404c30
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret
Function at 0x424e50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496668
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
call fcn.004246d0
test eax, eax
je 0x424e8c
jmp 0x424fb6
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00419800
mov ecx, eax
call fcn.00413af0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
call fcn.0040fd10
push eax
lea ecx, [ebp - 0x44]
call fcn.004032e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00404c30
lea ecx, [ebp - 0x44]
call fcn.00405e20
push eax
call fcn.004410a0
add esp, 4
test eax, eax
jne 0x424ef4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004049f0
jmp 0x424fb6
lea ecx, [ebp - 0x48]
call fcn.00403360
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00419800
mov ecx, eax
call fcn.004135c0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
call fcn.0040fd10
push eax
push str._autorun___fromhelper___src_s
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040ad60
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00404c30
push 5
push 0
lea ecx, [ebp - 0x48]
call fcn.00405e20
push eax
lea ecx, [ebp - 0x44]
call fcn.00405e20
push eax
push 0x4ac420
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0
call fcn.00403af0
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 5
push 0
push 0
push 1
push 0
push str.24r_succ
call fcn.0040b030
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.0043f290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004049f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret
Function at 0x4255c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x54
call fcn.00405e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4255f0
mov ecx, dword [ebp - 4]
call fcn.0040d110
mov ecx, dword [ebp - 4]
add ecx, 0x34
call fcn.00422f60
mov esp, ebp
pop ebp
ret
Function at 0x42a9b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496d8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push 0x180
push 0x40
push 0x8101
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004799d6
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x42aaa0
push 1
push 2
lea ecx, [ebp - 0xcc]
call fcn.00403520
mov dword [ebp - 4], 0
push 0x4b3f78
mov edx, dword [ebp - 0x2c]
push edx
push str._error.__
mov eax, dword [ebp + 8]
push eax
push 0x4b3f94
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00401a40
add esp, 8
push eax
call fcn.00401a40
add esp, 8
push eax
call fcn.00401a40
add esp, 8
mov ecx, eax
call fcn.004056f0
push eax
call fcn.00401a40
add esp, 8
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0xcc]
call fcn.0042abf0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.0040fd10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.00404c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00406370
push 2
push 0
mov ecx, dword [ebp - 0x30]
call fcn.0042abb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret 4

Function at 0x42aee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4949e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 8]
test ecx, ecx
je 0x42af25
mov ecx, dword [ebp - 0x2c]
call fcn.0042aad0
mov edx, dword [ebp - 0x2c]
mov byte [edx + 8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0x40000000
jle 0x42af39
mov ecx, dword [ebp - 0x2c]
call fcn.0042a280
push 0xfde9
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0042ad70
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x24
call fcn.00429840
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404be0
cmp dword [ebp - 0x30], 0
jle 0x42af96
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
jmp 0x42afa5
mov ecx, dword [ebp + 8]
call fcn.0040fd10
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret 4
Function at 0x42b030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004696a0
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret

Function at 0x42b0a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
call fcn.00405e20
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42b0ce
xor eax, eax
jmp 0x42b0fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0xb7
jne 0x42b0f3
mov dword [ebp - 8], 1
jmp 0x42b0fa
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42b130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1874
call fcn.0044abc0
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1814], 0
mov dword [ebp - 0x1828], 0x400
push 0x800
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.004696a0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1810], ecx
lea edx, [ebp - 0x804]
mov dword [ebp - 0x180c], edx
mov eax, dword [ebp - 0x180c]
mov dword [ebp - 0x182c], eax
mov ecx, dword [ebp - 0x1810]
mov dx, word [ecx]
mov word [ebp - 0x1806], dx
mov eax, dword [ebp - 0x180c]
mov cx, word [ebp - 0x1806]
mov word [eax], cx
mov edx, dword [ebp - 0x1810]
add edx, 2
mov dword [ebp - 0x1810], edx
mov eax, dword [ebp - 0x180c]
add eax, 2
mov dword [ebp - 0x180c], eax
cmp word [ebp - 0x1806], 0
jne 0x42b192
cmp dword [ebp + 0x1c], 0
je 0x42b1fa
lea ecx, [ebp - 0x804]
push ecx
call fcn.004410a0
add esp, 4
test eax, eax
jne 0x42b1fa
xor eax, eax
jmp 0x42b368
push 0x44
push 0
lea edx, [ebp - 0x1874]
push edx
call fcn.004696a0
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x1874]
push eax
call fcn.004696a0
add esp, 0xc
mov dword [ebp - 0x1874], 0x44
lea ecx, [ebp - 0x1874]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x1848], 1
mov dx, word [ebp + 0x10]
mov word [ebp - 0x1844], dx
xor eax, eax
mov dword [ebp - 0x1824], eax
mov dword [ebp - 0x1820], eax
mov dword [ebp - 0x181c], eax
mov dword [ebp - 0x1818], eax
xor ecx, ecx
mov dword [ebp - 0x1824], ecx
mov dword [ebp - 0x1820], ecx
mov dword [ebp - 0x181c], ecx
mov dword [ebp - 0x1818], ecx
mov dword [ebp - 0x1830], 0x800
push 0x1000
push 0
lea edx, [ebp - 0x1804]
push edx
call fcn.004696a0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x42b2c7
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x804]
push ecx
push str.__s___s
lea edx, [ebp - 0x1804]
push edx
call fcn.0042b000
add esp, 0x10
jmp 0x42b2e2
lea eax, [ebp - 0x804]
push eax
push 0x4b5a2c
lea ecx, [ebp - 0x1804]
push ecx
call fcn.0042b000
add esp, 0xc
lea edx, [ebp - 0x1824]
push edx
lea eax, [ebp - 0x1874]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1804]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1814], eax
cmp dword [ebp - 0x1814], 0
je 0x42b362
cmp dword [ebp + 0x14], 0
je 0x42b331
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x1824]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [ebp + 0x20], 0
je 0x42b348
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0x1824]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1820]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1824]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1814]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret
Function at 0x43ca00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498428
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4d7204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0044a88c
mov edi, eax
add esp, 4
test edi, edi
je 0x43ca9d
push 1
mov dword [ebp - 4], 0
call fcn.0042c85c
add esp, 4
mov dword [edi + 4], eax
jmp 0x43ca9f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0042d0b1
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x43cb01
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x43cb01
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x43cb24
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x43cb47
cmp byte [ebp + 0xc], 0
je 0x43cb33
push esi
call fcn.0042cadf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x43cb53
mov esi, str.ios_base::badbit_set
jmp 0x43cb63
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00411260
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00404600
push 0x4ce578
lea eax, [ebp - 0x30]
push eax
call fcn.00468782
int3
Function at 0x43f9c0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4987c3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4d7204]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x43fa65
cmp word [esi], di
je 0x43fa65
test eax, eax
je 0x43fa21
cmp word [eax], di
je 0x43fa21
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x43fa65
jmp 0x43fa60
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004696a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x43fa65
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43facb
lea esi, [ebx + 0x38]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x43fa8b
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x43faeb
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 2
test esi, esi
je 0x43fab3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43facb
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
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.0044ab64
mov esp, ebp
pop ebp
ret 0x30
call fcn.0042c170
int3
Function at 0x443cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498fc1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d7204]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.0040b0f0
mov ecx, eax
test ecx, ecx
je 0x443e44
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443e05
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x443df7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x443e05
add eax, 0x10
push 0x4fed52
push eax
mov dword [ebp - 0x20], eax
call fcn.0044ae15
mov esi, eax
add esp, 8
test esi, esi
je 0x443e05
push dword [ebp - 0x20]
push 0
push esi
call fcn.004696a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x443dba
push esi
call fcn.0044ac15
add esp, 4
jmp 0x443e05
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443dc0
sub ecx, edx
sar ecx, 1
je 0x443dee
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443dd6
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.0040cfb0
push esi
call fcn.0044ac15
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x443e05
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x443e24
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00409fe0
int3
Function at 0x443e50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x443e74
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x443ed6
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x443ed6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x443ef1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ab64
mov esp, ebp
pop ebp
ret 0x10
Function at 0x445700
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4d7204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x445751
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push esi
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x10]
je 0x44582f
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push 0
push eax
push 0x40
lea eax, [ebp - 0x58]
mov dword [ebp - 8], 0
push eax
push esi
call ebx
test eax, eax
je 0x44582f
mov eax, 0x5a4d
cmp word [ebp - 0x58], ax
jne 0x44582f
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push 0
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
call edi
cmp eax, 0xffffffff
je 0x44582f
push 0
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x150]
push eax
push esi
call ebx
test eax, eax
je 0x44582f
mov eax, 0x8664
cmp word [ebp - 0x14c], ax
jne 0x445849
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebp - 0x1c]
push esi
call edi
cmp eax, 0xffffffff
je 0x44582f
push 0
lea eax, [ebp - 8]
push eax
push 0x108
lea eax, [ebp - 0x258]
push eax
push esi
call ebx
test eax, eax
je 0x44582f
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x44582f
mov edi, dword [ebp - 0x1ac]
test edi, edi
jne 0x44585d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ab64
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x44582f
mov edi, dword [ebp - 0xb4]
test edi, edi
je 0x44582f
lea ecx, [edi + eax]
cmp ecx, dword [ebp - 0x14]
ja 0x44582f
cmp ecx, eax
jb 0x44582f
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x44582f
lea eax, [ebp - 0x259]
mov byte [ebp - 0x259], 0
push eax
mov eax, dword [ebp - 0x260]
mov ecx, eax
push eax
push edi
call fcn.004443d0
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 8]
push 0
push eax
push edi
push dword [ecx]
push esi
call ebx
test eax, eax
je 0x44582f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0044ab64
mov esp, ebp
pop ebp
ret