joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41531a
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
push 0x280
mov eax, 0x451399
call fcn.0043364b
mov esi, edx
mov dword [ebp - 0x26c], esi
push ecx
lea ecx, [ebp - 0x268]
xor ebx, ebx
call fcn.004155a0
push 0x460bac
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x288]
mov dword [ebp - 4], ebx
call fcn.00415601
pop ecx
lea ecx, [ebp - 0x264]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x288]
mov edi, eax
add ecx, 0xfffffff0
mov dword [ebp - 0x284], edi
call fcn.0040390b
cmp edi, 0xffffffff
jne 0x415389
inc ebx
jmp 0x41555b
test byte [ebp - 0x264], 0x10
lea eax, [ebp - 0x238]
je 0x41543a
push 0x45f474
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41553b
push 0x460bb0
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41553b
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x274]
call fcn.00415601
mov byte [ebp - 4], 1
mov edx, eax
lea ecx, [ebp - 0x28c]
mov dword [esp], 0x45f318
call fcn.00415601
pop ecx
push dword [ebp + 8]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edx, esi
call fcn.0041531a
pop ecx
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040390b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0040390b
test esi, esi
je 0x415554
jmp 0x415535
push eax
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x280]
call fcn.00415601
pop ecx
push 0x80
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.0040390b
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x278]
call fcn.00415601
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040390b
test esi, esi
jne 0x415535
push 0x46d258
lea ecx, [ebp - 0x270]
call fcn.00404e8e
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x270]
push str._s_s_d__x
push eax
call fcn.00410566
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x27c]
call fcn.00415601
mov esi, dword [ebp - 0x270]
pop ecx
push esi
push dword [eax]
call fcn.0042f1cd
pop ecx
pop ecx
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040390b
test edi, edi
jne 0x415524
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.0040390b
mov edi, dword [ebp - 0x284]
mov esi, dword [ebp - 0x26c]
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415389
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0040390b
mov eax, ebx
call fcn.004335fa
ret
Function at 0x415b77
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x121c
call fcn.0043eba0
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x1000
xor esi, esi
push edi
lea eax, [ebp - 0x120c]
push esi
push eax
mov dword [ebp - 0x1214], ecx
mov dword [ebp - 0x1210], esi
call fcn.00435650
add esp, 0xc
lea eax, [ebp - 0x1218]
push eax
push edi
lea eax, [ebp - 0x120c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x415cb4
mov edi, dword [ebp - 0x1218]
push ebx
shr edi, 2
xor ebx, ebx
test edi, edi
je 0x415cb1
mov eax, dword [ebp + ebx*4 - 0x120c]
test eax, eax
je 0x415ca2
cmp eax, 8
jbe 0x415ca2
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x415ca2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x415c9b
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042e7fe
lea eax, [ebp - 0x20c]
push str.windowsexplorer.exe
push eax
call fcn.0042dfe9
add esp, 0x10
test eax, eax
je 0x415c9b
lea eax, [ebp - 0x121c]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x415c9b
mov edx, dword [ebp - 0x1214]
xor ecx, ecx
lea eax, [edx + 0x34]
cmp dword [eax], 0
je 0x415c87
inc ecx
add eax, 4
cmp ecx, 0x10
jb 0x415c77
jmp 0x415c9b
mov eax, dword [ebp - 0x121c]
mov dword [edx + ecx*4 + 0x34], eax
mov dword [ebp - 0x1210], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, edi
jb 0x415be5
mov esi, dword [ebp - 0x1210]
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042d3d2
leave
ret
Function at 0x416bd8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451576
mov eax, dword fs:[0]
push eax
mov eax, 0x1080
call fcn.0043eba0
mov eax, dword [0x46d978]
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 ebx, dword [ebp + 8]
and dword [ebp - 4], 0
mov eax, dword [0x4717fc]
test eax, eax
je 0x416c1f
lea ecx, [eax - 4]
jmp 0x416c21
xor ecx, ecx
lea eax, [ebp - 0x108c]
push eax
call fcn.00406361
push 6
pop ecx
push 6
mov byte [ebp - 4], 1
mov esi, str.package_url
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
pop ecx
push 0xb
mov esi, str.package_md5
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, str.package_silent_install
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push 0x1000
lea eax, [ebp - 0x1074]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00435650
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
cmp dword [ebp - 0x1078], 8
push eax
push 0x800
lea eax, [ebp - 0x1074]
push eax
mov edi, 0x45ede0
push edi
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x108c]
cmovae ecx, dword [ebp - 0x108c]
push eax
push ecx
call esi
lea eax, [ebp - 0x1074]
push eax
call fcn.00401723
pop ecx
push eax
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00405103
push 0x1000
lea eax, [ebp - 0x1074]
push 0
push eax
call fcn.00435650
add esp, 0xc
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
cmp dword [ebp - 0x1078], 8
push eax
push 0x800
lea eax, [ebp - 0x1074]
push eax
push edi
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x108c]
cmovae ecx, dword [ebp - 0x108c]
push eax
push ecx
call esi
lea eax, [ebp - 0x1074]
push eax
call fcn.00401723
pop ecx
push eax
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebx + 4]
call fcn.00405103
push 0x1000
lea eax, [ebp - 0x1074]
push 0
push eax
call fcn.00435650
add esp, 0xc
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
cmp dword [ebp - 0x1078], 8
push eax
push 0x800
lea eax, [ebp - 0x1074]
push eax
push edi
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x108c]
cmovae ecx, dword [ebp - 0x108c]
push eax
push ecx
call esi
lea eax, [ebp - 0x1074]
push eax
call fcn.0042decf
pop ecx
test eax, eax
push 0
setne al
push 1
lea ecx, [ebp - 0x108c]
mov byte [ebx], al
call fcn.00404e3f
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.00404e3f
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.0042d3d2
leave
ret 0x1c
Function at 0x417a7a
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov edi, ecx
call fcn.00435650
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x460fc4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042f5e1
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x68], eax
test eax, eax
je 0x417bdd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
push str.WinHttpConnect
push dword [edi + 0x68]
mov dword [edi + 4], eax
call esi
push str.WinHttpOpenRequest
push dword [edi + 0x68]
mov dword [edi + 8], eax
call esi
push str.WinHttpAddRequestHeaders
push dword [edi + 0x68]
mov dword [edi + 0xc], eax
call esi
push str.WinHttpSendRequest
push dword [edi + 0x68]
mov dword [edi + 0x10], eax
call esi
push str.WinHttpReceiveResponse
push dword [edi + 0x68]
mov dword [edi + 0x14], eax
call esi
push str.WinHttpQueryHeaders
push dword [edi + 0x68]
mov dword [edi + 0x18], eax
call esi
push str.WinHttpReadData
push dword [edi + 0x68]
mov dword [edi + 0x1c], eax
call esi
push str.WinHttpCloseHandle
push dword [edi + 0x68]
mov dword [edi + 0x20], eax
call esi
push str.WinHttpCrackUrl
push dword [edi + 0x68]
mov dword [edi + 0x24], eax
call esi
push str.WinHttpSetOption
push dword [edi + 0x68]
mov dword [edi + 0x28], eax
call esi
push str.WinHttpQueryDataAvailable
push dword [edi + 0x68]
mov dword [edi + 0x2c], eax
call esi
push str.WinHttpSetTimeouts
push dword [edi + 0x68]
mov dword [edi + 0x34], eax
call esi
mov dword [edi + 0x30], eax
cmp dword [edi + 4], ebx
je 0x417bdb
cmp dword [edi + 0x10], ebx
je 0x417bdb
cmp dword [edi + 0x24], ebx
je 0x417bdb
cmp dword [edi + 8], ebx
je 0x417bdb
cmp dword [edi + 0xc], ebx
je 0x417bdb
cmp dword [edi + 0x1c], ebx
je 0x417bdb
cmp dword [edi + 0x20], ebx
je 0x417bdb
cmp dword [edi + 0x18], ebx
je 0x417bdb
cmp dword [edi + 0x14], ebx
je 0x417bdb
cmp dword [edi + 0x28], ebx
je 0x417bdb
cmp dword [edi + 0x2c], ebx
je 0x417bdb
test eax, eax
je 0x417bdb
inc ebx
mov dword [edi], ebx
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret
Function at 0x417bee
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov edi, ecx
call fcn.00435650
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.wininet.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042f5e1
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x6c], eax
test eax, eax
je 0x417d2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x461100
push eax
call esi
push 0x461110
push dword [edi + 0x6c]
mov dword [edi + 0x3c], eax
call esi
push 0x461124
push dword [edi + 0x6c]
mov dword [edi + 0x40], eax
call esi
push str.HttpAddRequestHeadersW
push dword [edi + 0x6c]
mov dword [edi + 0x44], eax
call esi
push str.HttpSendRequestW
push dword [edi + 0x6c]
mov dword [edi + 0x48], eax
call esi
push 0x461164
push dword [edi + 0x6c]
mov dword [edi + 0x4c], eax
call esi
push str.InternetReadFile
push dword [edi + 0x6c]
mov dword [edi + 0x50], eax
call esi
push 0x461188
push dword [edi + 0x6c]
mov dword [edi + 0x54], eax
call esi
push 0x46119c
push dword [edi + 0x6c]
mov dword [edi + 0x58], eax
call esi
push 0x4611b0
push dword [edi + 0x6c]
mov dword [edi + 0x5c], eax
call esi
push str.InternetQueryDataAvailable
push dword [edi + 0x6c]
mov dword [edi + 0x60], eax
call esi
mov dword [edi + 0x64], eax
cmp dword [edi + 0x3c], ebx
je 0x417d2c
cmp dword [edi + 0x40], ebx
je 0x417d2c
cmp dword [edi + 0x44], ebx
je 0x417d2c
cmp dword [edi + 0x48], ebx
je 0x417d2c
cmp dword [edi + 0x4c], ebx
je 0x417d2c
cmp dword [edi + 0x50], ebx
je 0x417d2c
cmp dword [edi + 0x54], ebx
je 0x417d2c
cmp dword [edi + 0x58], ebx
je 0x417d2c
cmp dword [edi + 0x5c], ebx
je 0x417d2c
cmp dword [edi + 0x60], ebx
je 0x417d2c
inc ebx
mov dword [edi + 0x38], ebx
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret

Function at 0x418033
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x418f61
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4518dc
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x46d978]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x46d978]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or ebx, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x418fad
xor eax, eax
jmp 0x41912f
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x418fdb
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x418fdb
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x41912f
cmp dword [esi + 0x50], 0
je 0x41912d
mov ecx, esi
call fcn.00419a01
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x40], ecx
jne 0x41900f
push dword [esi + 0x50]
movsx eax, al
push eax
call fcn.0042f64d
pop ecx
cmp eax, ebx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x41912d
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
push 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b], al
mov dword [esp + 0x44], 0xf
call fcn.00409943
and dword [esp + 0x50], 0
lea eax, [esi + 0x48]
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x40]
cmp edi, 0x10
mov edi, dword [esi]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmovae ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x27]
push eax
push dword [esp + 0x3c]
mov ecx, esi
call dword [edi + 0x1c]
test eax, eax
js 0x419124
cmp eax, 1
jg 0x419105
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp edi, 0x10
lea eax, [esp + 0x28]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x1c], edx
je 0x4190d2
push dword [esi + 0x50]
lea eax, [esp + 0x2c]
push edx
cmp edi, 0x10
cmovae eax, ecx
push 1
push eax
call fcn.0042f436
mov edx, dword [esp + 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x419124
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x13]
mov byte [esi + 0x45], 1
cmp dword [esp + 0x20], eax
jne 0x419100
test edx, edx
jne 0x41903f
cmp dword [esp + 0x38], 0x20
jae 0x419124
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.00404f9f
jmp 0x41903b
mov ebx, dword [ebp + 8]
jmp 0x419124
cmp eax, 3
jne 0x419124
mov eax, dword [esp + 0x14]
push dword [eax + 0x50]
movsx eax, byte [esp + 0x17]
push eax
call fcn.0042f64d
pop ecx
cmp eax, ebx
cmovne ebx, dword [ebp + 8]
pop ecx
lea ecx, [esp + 0x28]
call fcn.00401303
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0042d3d2
mov esp, ebp
pop ebp
ret 4
Function at 0x419869
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451815
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x46d978]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x46d978]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x4199b6
cmp byte [esi + 0x45], bl
je 0x4199b6
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4198cd
xor al, al
jmp 0x4199b8
push ebx
push 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00409943
lea eax, [esi + 0x48]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov ecx, dword [ecx + 0x40]
push eax
mov eax, dword [esp + 0x34]
lea edi, [esp + 0x24]
cmovae edi, edx
lea esi, [esp + 0x24]
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push dword [esp + 0x24]
call dword [edx + 0x20]
sub eax, ebx
je 0x419937
dec eax
jne 0x41999c
mov esi, dword [esp + 0x14]
jmp 0x41993e
mov esi, dword [esp + 0x14]
mov byte [esi + 0x45], bl
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ecx, 0x10
lea eax, [esp + 0x20]
cmovae eax, edx
sub edi, eax
je 0x41997d
push dword [esi + 0x50]
cmp ecx, 0x10
push edi
lea eax, [esp + 0x28]
cmovae eax, edx
push 1
push eax
call fcn.0042f436
add esp, 0x10
cmp edi, eax
jne 0x4199a5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
cmp byte [esi + 0x45], 0
je 0x4199a3
test edi, edi
jne 0x4198fc
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.00404f9f
jmp 0x4198f4
dec eax
dec eax
jne 0x4199a9
inc eax
jmp 0x4199a7
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.00401303
mov al, bl
jmp 0x4199b8
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0042d3d2
mov esp, ebp
pop ebp
ret
Function at 0x419cec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451a65
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x46d978]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x46d978]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [edx + 0x14], 8
jb 0x419d2d
mov ecx, dword [edx]
jmp 0x419d2f
mov ecx, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
lea eax, [ecx + eax*2]
jb 0x419d3d
mov edx, dword [edx]
push dword [esp + 0xc]
and dword [esp + 0x24], 0
push eax
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], 0
call fcn.0040aedc
and dword [esp + 0x38], 0
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.0041ac85
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00401303
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042d3d2
mov esp, ebp
pop ebp
ret
Function at 0x41b280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451c42
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x46d978]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push esi
mov eax, dword [0x46d978]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
push str.UtilMessageLoop.cpp
lea ecx, [esp + 0x10]
mov dword [esi], vtable.MessageLoopBase.0
call fcn.004012d4
push 0xa9
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x104], ebx
call fcn.00419d97
lea ecx, [eax + 0x28]
mov edx, str.MessageLoopBase::MessageLoopBase
mov byte [esp + 0xf8], 1
call fcn.00405695
lea ecx, [esp + 0x24]
mov byte [esp + 0xf8], bl
call fcn.00419f5b
or dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401303
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41b338
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.0042d3d2
mov esp, ebp
pop ebp
ret

Function at 0x41bcf4
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 4], eax
jne 0x41bd25
push eax
push eax
push esi
push 0x41bcdf
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [esi + 8]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret
Function at 0x41bd27
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451d59
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x46d978]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
mov eax, dword [0x46d978]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov esi, ecx
mov edi, str.UtilThread.cpp
push edi
lea ecx, [esp + 0x30]
call fcn.004012d4
push 0x26
lea eax, [esp + 0x30]
xor ebx, ebx
push eax
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x1e4], ebx
call fcn.00419d97
lea ecx, [eax + 0x28]
mov edx, str.Thread::Shutdown__Enter
mov byte [esp + 0x1d8], 1
call fcn.00405695
lea ecx, [esp + 0x44]
mov byte [esp + 0x1d8], bl
call fcn.00419f5b
or dword [esp + 0x1d8], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00401303
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41bdd4
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 4], 0
je 0x41bdf1
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
push edi
lea ecx, [esp + 0x18]
call fcn.004012d4
push 0x32
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x110]
mov dword [esp + 0x1e4], 2
call fcn.00419d97
lea ecx, [eax + 0x28]
mov edx, str.Thread::Shutdown__Exit
mov byte [esp + 0x1d8], 3
call fcn.00405695
lea ecx, [esp + 0x104]
mov byte [esp + 0x1d8], 2
call fcn.00419f5b
lea ecx, [esp + 0x14]
call fcn.00401303
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.0042d3d2
mov esp, ebp
pop ebp
ret
Function at 0x41d66d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x298
mov eax, 0x451f48
call fcn.0043364b
mov esi, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00435650
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x45ef94
push 0x46161c
push 0x80000002
mov dword [ebp - 0x2a4], 0x208
mov dword [ebp - 0x2a0], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x41d6fb
mov edi, 0x461618
push edi
call fcn.00401001
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00401368
jmp 0x41d753
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
push 3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0041e251
and dword [ebp - 4], 0
push dword [ebp - 0x29c]
call fcn.00401001
pop ecx
push eax
push dword [ebp - 0x29c]
mov ecx, esi
call fcn.00401368
lea eax, [ebp - 0x298]
cmp dword [ebp - 0x29c], eax
je 0x41d753
push dword [ebp - 0x29c]
call fcn.0042df00
pop ecx
xor eax, eax
call fcn.004335fa
ret

Function at 0x41d75b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x298
mov eax, 0x451f48
call fcn.0043364b
mov esi, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00435650
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x45ef8c
push 0x46161c
push 0x80000002
mov dword [ebp - 0x2a4], 0x208
mov dword [ebp - 0x2a0], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x41d7e9
mov edi, 0x461618
push edi
call fcn.00401001
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00401368
jmp 0x41d841
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
push 3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0041e251
and dword [ebp - 4], 0
push dword [ebp - 0x29c]
call fcn.00401001
pop ecx
push eax
push dword [ebp - 0x29c]
mov ecx, esi
call fcn.00401368
lea eax, [ebp - 0x298]
cmp dword [ebp - 0x29c], eax
je 0x41d841
push dword [ebp - 0x29c]
call fcn.0042df00
pop ecx
xor eax, eax
call fcn.004335fa
ret