joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410100
Capabilities:
Enumerate process modules

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov dword [esi + 8], 0xffffffff
mov dword [edi], 0
mov eax, dword [esi]
push eax
call fcn.00431229
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00431234
add esp, 8
push edi
push 0x1000
push eax
mov dword [esi], eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x410156
shr dword [edi], 2
mov dword [esi + 8], 1
cmp dword [edi], 0x400
jae 0x410114
mov eax, dword [esi]
test eax, eax
je 0x410175
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jae 0x410175
mov eax, dword [eax + ecx*4]
inc ecx
pop edi
mov dword [esi + 8], ecx
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x4101c0
Capabilities:
Enumerate process modules

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
lea edi, [esi + 8]
mov dword [edi], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 4], 0
je 0x410248
mov eax, dword [esi + 4]
push eax
call fcn.00431229
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00431234
add esp, 8
push edi
push 0x1000
push eax
mov dword [esi + 4], eax
mov eax, dword [esi]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x410227
shr dword [edi], 2
mov dword [esi + 0xc], 0
cmp dword [edi], 0x400
jae 0x4101e0
cmp dword [esi], 0
je 0x410248
mov ecx, dword [esi + 0xc]
cmp ecx, dword [edi]
jae 0x410248
mov edx, dword [esi + 4]
mov eax, dword [edx + ecx*4]
inc ecx
pop edi
mov dword [esi + 0xc], ecx
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x410250
Capabilities:
Enumerate gui resources

Disassembly:
push esi
mov esi, ecx
push esi
push 0x410030
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 4]
mov dword [esi + 0x10], 0
test eax, eax
je 0x41027e
cmp dword [esi + 0xc], 0
jbe 0x41027e
mov eax, dword [eax]
mov dword [esi + 0x10], 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4111c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46e300
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
call fcn.00431bda
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x90]
push 0x476978
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0043e6dc
push 0
push 0x1000
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x98], 0
call fcn.0043cf16
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x8c], 1
call fcn.00410c70
add esp, 4
lea ecx, [esp + 0x38]
call fcn.0043cd5f
lea ecx, [esp + 0x10]
call fcn.0043e935
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 0
call fcn.0043ced8
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0xffffffff
call fcn.0043ea44
mov eax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x7c
ret
Function at 0x411620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46e3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.00431bda
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x4c]
push 0x476440
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41166d
xor eax, eax
jmp 0x4116b9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x411669
push 0
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0043e6dc
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.004115a0
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0043ea44
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4

Function at 0x413440
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x8c], 0
je 0x413482
call fcn.00412fa0
test eax, eax
je 0x413489
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x4131c0
push 0
push 0
call fcn.004579b6
add esp, 0x18
mov dword [esi + 0xa8], eax
test eax, eax
je 0x413482
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x413482
mov ecx, dword [eax]
push edi
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x413482
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x414640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
mov dword [esp + 8], ecx
call fcn.00431bda
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x414707
call fcn.00431bda
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x414707
push edi
call fcn.00431bda
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4146ad
pop edi
pop esi
pop ebp
pop ecx
ret 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4146f6
test ebx, ebx
je 0x4146f6
push edi
push eax
push ebx
call fcn.00457550
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push edi
push esi
call fcn.004142e0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8

Function at 0x4147b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e640
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4921f0]
dec eax
cmp eax, 8
ja 0x4148ca
push 0x476f58
mov ecx, 0x492158
call fcn.0043e55c
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401920
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
call fcn.0043b055
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41482a
push 0x80004005
call fcn.00401530
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [0x4921f0]
push ecx
lea edx, [esp + 0x10]
push 0x474e1c
push edx
mov byte [esp + 0x28], 1
call fcn.00402e00
mov esi, dword [esp + 0x18]
add esp, 0xc
push esi
push str._id_
lea ecx, [esp + 0x18]
call fcn.00402920
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
je 0x414889
push 1
push 0
push 0
push edi
push 0x476f40
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4148ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x414ac0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x102c
call fcn.00457a70
mov eax, dword [0x490d1c]
xor eax, esp
mov dword [esp + 0x1028], eax
push ebx
mov ebx, dword [esp + 0x1034]
push ebp
mov ebp, dword [esp + 0x103c]
push esi
push edi
push 0
push 0
push 0
push 0
push str.MyDownload
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
mov dword [esp + 0x18], eax
push 0x4000000
lea eax, [esp + 0x1020]
mov ecx, 8
mov esi, str.Accept:___r_n_r_n
lea edi, [esp + 0x1020]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [esp + 0x1024]
push ecx
push ebx
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x414b99
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x10]
push edx
push 0x400
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
je 0x414b99
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x414b7c
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x10]
cmp eax, 0x400
jb 0x414b9d
lea eax, [esp + 0x10]
push eax
push 0x400
lea ecx, [esp + 0x20]
push ecx
push esi
call edi
test eax, eax
jne 0x414b60
xor al, al
jmp 0x414bab
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
mov al, 1
mov ecx, dword [esp + 0x1038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00455930
add esp, 0x102c
ret
Function at 0x415c80
Capabilities:
Delete file

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
test edx, edx
jne 0x415c93
xor eax, eax
jmp 0x415cb0
mov eax, edx
push ebx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415ca0
sub eax, ebx
sar eax, 1
pop ebx
push eax
push edx
mov ecx, edi
call fcn.00401b50
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov ecx, dword [edi]
mov edi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esi]
push eax
push edx
push eax
push 0
push 0
push edi
push ecx
mov ecx, esi
call fcn.00415a70
mov esi, eax
test esi, esi
jne 0x415cf0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov eax, esi
pop esi
ret 0x14
Function at 0x415d00
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x46e82b
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x490d1c]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x828]
mov dword fs:[0], eax
mov edi, dword [esp + 0x838]
inc dword [0x492200]
mov ebx, 0x400
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043b055
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x415d77
push 0x80004005
call fcn.00401530
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [0x492200]
push ecx
lea edx, [esp + 0x24]
push str.querysize_d
push edx
mov dword [esp + 0x83c], ebp
call fcn.00402e00
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebp
call fcn.00415030
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x415edf
push 0
push 0x84000100
push 0xffffffffffffffff
push 0
push edi
push ebp
mov ecx, esi
call fcn.00414bd0
mov esi, eax
test esi, esi
je 0x415eee
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 5
push esi
call edi
lea ecx, [esp + 0x24]
push ecx
call fcn.0045607c
add esp, 4
push 0
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
push 0x13
push esi
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x24]
push ecx
call fcn.0045607c
add esp, 4
cmp eax, 0x194
jne 0x415e44
mov dword [esp + 0x1c], 0xffffffff
jmp 0x415ee3
lea edx, [esp + 0x24]
push edx
call fcn.0045607c
add esp, 4
cmp eax, 0xc8
je 0x415e76
lea eax, [esp + 0x24]
push eax
call fcn.0045607c
add esp, 4
cmp eax, 0xce
je 0x415e76
mov dword [esp + 0x1c], 0xffffffff
jmp 0x415ee3
cmp dword [0x48f3c4], 1
je 0x415ee3
push 0x800
lea ecx, [esp + 0x28]
push 0
push ecx
mov dword [esp + 0x20], ebx
call fcn.00455e70
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 0x25
push esi
call edi
push str.qupdater2.xx
lea ecx, [esp + 0x1c]
call fcn.00401e60
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00403950
add esp, 8
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00401990
test bl, bl
je 0x415ee3
mov dword [0x48f3c4], 1
jmp 0x415ee3
mov esi, dword [esp + 0x18]
test esi, esi
je 0x415eee
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
je 0x415ef9
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x830], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415f24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.00455930
add esp, 0x820
ret 4
Function at 0x417d90
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46eae8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push str.RT_RCDATA
push 0xb3
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x417e86
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x417e86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x417e86
mov edi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
call edi
push esi
push 0
mov dword [esp + 0x1c], 0
call edi
mov edi, eax
push str.qupdater.ini
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00402c10
mov eax, dword [eax]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417e6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x417e86
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417eae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
Function at 0x418a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46ecd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
push 0x478d50
lea ecx, [esp + 0x18]
call fcn.00401e60
push str.RT_RCDATA
push 0xb3
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x418b50
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x418b50
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x418b50
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00417af0
lea eax, [esp + 0x10]
lea ecx, [edi + 0xa4]
push eax
mov byte [esp + 0x24], 1
call fcn.00401d40
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x418b62
push 0
lea ecx, [edi + 0xa4]
push 0x478d50
call fcn.00401b50
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x20], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x41beb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
test esi, esi
jge 0x41bef1
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
cmp esi, dword [0x492270]
jge 0x41bedd
push 0xf0013
call fcn.0041bc60
add esp, 4
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.0040e910
cmp esi, dword [0x492270]
mov dword [esp + 0x38], 0
jge 0x41bf95
mov ecx, dword [0x49226c]
lea eax, [esi + esi*8]
lea edx, [ecx + eax*4]
push edx
lea ecx, [esp + 0x10]
call fcn.0040ef60
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.00403030
push 0x474ea0
lea ecx, [esp + 0x20]
call fcn.00403030
sub esp, 0x24
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call fcn.00402820
push esi
mov ecx, 0x492268
call fcn.0041be40
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0xc]
call fcn.004025a0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
call fcn.0043ad73
int3
Function at 0x41bfe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f230
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x28], esi
call fcn.00401920
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x24], 1
cmp dword [eax - 0xc], esi
je 0x41c06c
lea esi, [eax - 0x10]
push esi
call fcn.00401920
mov edi, dword [esp + 0x30]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c151
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x41c151
push 0x4922a8
lea ecx, [esp + 0x10]
call fcn.00401d40
mov ecx, dword [0x4922a4]
push ecx
push str.listurl_base
lea ecx, [esp + 0x14]
call fcn.00402920
mov edx, dword [esp + 0x34]
push edx
push str.filename
lea ecx, [esp + 0x14]
call fcn.00402920
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x478d50
call fcn.00401e60
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x30], 2
call fcn.00401920
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov byte [esp + 0x30], 1
call fcn.004058d0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.00401d40
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c11a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00401920
mov edi, dword [esp + 0x30]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x24], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c151
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [esp + 0x30]
call fcn.004025a0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x41d580
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46f4e8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x41d65f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d5b3
sub eax, edx
sar eax, 1
je 0x41d65f
call fcn.0043b055
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d5e2
push 0x80004005
call fcn.00401530
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push 0x477c74
push edx
mov dword [esp + 0x20], 0
call fcn.00402e00
add esp, 0xc
push 0x477858
push 0x477c70
lea ecx, [esp + 0x24]
call fcn.00402920
mov esi, dword [esp + 0x1c]
push 0
push 0
push esi
push edi
push 0x476f40
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d65f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x41d780
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x46f560
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
push edi
lea ecx, [esp + 0x14]
call fcn.00401e60
push 4
push str..
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0
call fcn.00402cf0
push 0x474c3c
push 0x474c34
lea ecx, [esp + 0x18]
call fcn.00402920
lea ecx, [esp + 0x1c]
call fcn.0043d765
mov eax, dword [esp + 0x10]
push 0
mov bl, 1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], bl
call fcn.0043d7fd
test eax, eax
je 0x41d89c
lea ecx, [esp + 0x1c]
call fcn.0043d447
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0043d726
test eax, eax
jne 0x41d894
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x20]
call eax
test eax, eax
je 0x41d852
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.0043da6e
mov eax, dword [eax]
push eax
mov byte [esp + 0x40], 2
call fcn.0041d780
mov eax, dword [esp + 0x18]
jmp 0x41d871
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0043da6e
mov eax, dword [eax]
push eax
mov byte [esp + 0x40], 3
call fcn.00407270
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x40], bl
add esp, 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x41d806
lea ecx, [esp + 0x1c]
call fcn.0043d361
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0
call fcn.0043d78e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d8e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret