joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489f40
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bc7e0
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x489f7f
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push esi
push edi
call fcn.0049e01f
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
mov byte [esp + 0xf], 1
push esi
push edi
call ebx
test eax, eax
jne 0x489fa5
mov byte [esp + 0xf], al
jmp 0x48a11f
mov al, byte [esp + 0x34]
push ebp
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00402d61
test esi, esi
mov dword [esp + 0x30], 0
jne 0x489ff7
lea ecx, [esp + 0x18]
call fcn.00403060
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x489fdd
mov ecx, dword [esp + 0x20]
lea esi, [ecx + eax]
lea ecx, [esp + 0x18]
call fcn.00403060
mov edx, dword [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.00422879
jmp 0x48a035
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.0040308c
test al, al
je 0x48a035
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [0x4be69c]
mov ebp, ecx
mov dword [esp + 0x30], 1
cmp eax, ebp
jae 0x48a04e
mov ebp, eax
mov ebx, dword [esp + 0x38]
lea edx, [esp + 0x18]
cmp ebx, edx
jne 0x48a073
push eax
push ebp
mov ecx, ebx
call fcn.00402cfa
push 0
push 0
mov ecx, ebx
call fcn.00402cfa
jmp 0x48a0f5
test ebp, ebp
jbe 0x48a0bf
cmp ebp, ecx
jne 0x48a0bf
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48a088
mov eax, 0x4bef90
cmp byte [eax - 1], 0xfe
jae 0x48a0bf
push 1
mov ecx, ebx
call fcn.00402d61
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48a0a4
mov eax, 0x4bef90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x48a0f5
push 1
push ebp
mov ecx, ebx
call fcn.0040308c
test al, al
je 0x48a0f5
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x48a0da
mov esi, 0x4bef90
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00484390
mov eax, dword [esp + 0x1c]
pop ebp
test eax, eax
je 0x48a11b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48a112
cmp al, 0xff
je 0x48a112
dec al
mov byte [ecx], al
jmp 0x48a11b
push ecx
call fcn.00491430
add esp, 4
mov esi, dword [esp + 0x10]
push esi
call fcn.00491430
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x13]
add esp, 4
mov dword fs:[0], ecx
pop esi
pop edi
pop ebx
add esp, 0x24
ret
Function at 0x48a140
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x48a1f0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4bc820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
lea eax, [esp + 4]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00484080
lea ecx, [esp + 9]
xor esi, esi
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], esi
call fcn.00484080
lea edx, [esp + 0xa]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x7c], 1
call fcn.00484080
lea eax, [esp + 0xb]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x7c], 2
call fcn.00484080
lea ecx, [esp + 0x60]
call fcn.00482900
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x78], 4
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CUSPath.0
call fcn.0048d750
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
mov dword [esp + 0x7c], 5
call fcn.00489e00
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x48a29b
mov eax, 0x4bef90
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
mov eax, dword [esp + 0x10]
sete bl
cmp eax, esi
je 0x48a2cd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48a2c4
cmp al, 0xff
je 0x48a2c4
dec al
mov byte [ecx], al
jmp 0x48a2cd
push ecx
call fcn.00491430
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x78], 0xffffffff
call fcn.0048d650
mov ecx, dword [esp + 0x70]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret

Function at 0x48a4d0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x48a4f3
mov al, byte [esp + 0xc]
test al, al
je 0x48a4f7
push esi
push 0x71
call fcn.00485dd0
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x48a500
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x48a528
mov al, byte [esp + 0x10]
test al, al
je 0x48a52c
push esi
push 0x72
call fcn.00485dd0
add esp, 8
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x48ace0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc923
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebx, ecx
push esi
mov dword [esp + 0xc], ebx
call fcn.0049f012
mov cl, byte [esp + 0x30]
lea ebp, [ebx + 0xc]
xor eax, eax
mov dword [esp + 0x28], eax
mov byte [ebp], cl
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
cmp esi, eax
mov byte [esp + 0x28], 1
mov dword [ebx], vtable.CUSException.0
mov dword [ebx + 0x1c], edx
je 0x48add7
mov cl, byte [esp + 0x30]
push edi
mov byte [esp + 0x14], cl
push eax
lea ecx, [esp + 0x18]
call fcn.00402d61
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x30], 2
mov edi, ecx
lea ecx, [esp + 0x18]
push edi
mov dword [esp + 0x3c], edi
call fcn.0040308c
test al, al
je 0x48ad97
mov ecx, edi
mov edi, dword [esp + 0x18]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00484390
mov ecx, dword [0x4be69c]
lea edx, [esp + 0x14]
push ecx
push 0
push edx
mov ecx, ebp
mov byte [esp + 0x38], 3
call fcn.0041ce6d
mov eax, dword [esp + 0x18]
pop edi
test eax, eax
je 0x48add7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48adce
cmp al, 0xff
je 0x48adce
dec al
mov byte [ecx], al
jmp 0x48add7
push ecx
call fcn.00491430
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x48e730
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bcaa0
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, 0x1e240
push esi
mov esi, ecx
cmp dword [esi + 0x414], eax
je 0x48e91b
mov dword [esi + 0x414], eax
push ebx
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, esi
call fcn.0048e930
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], vtable._zstring_class_ztraits_0__.0
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [esp + 0x2c]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push str.update.ini
push eax
mov byte [esp + 0x44], 1
mov dword [esp + 0x18], ebx
call fcn.004126aa
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, ecx
cmp word [ecx], bx
je 0x48e7d5
add eax, 2
cmp word [eax], bx
jne 0x48e7cd
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00403753
lea ecx, [esp + 0x10]
call fcn.00402f35
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
push 0x104
push esi
push 0x4f1ef8
push 0x4e8d74
push str.Main
call edi
lea ecx, [esp + 0x10]
call fcn.00402f35
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x104]
push edx
push 0x104
push eax
push 0x4f1ef8
push str.ProxyByPassServer
push str.Main
call edi
lea ecx, [esp + 0x10]
call fcn.00402f35
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x208]
push ecx
push 0x104
push edx
push 0x4f1ef8
push str.ProxyUserName
push str.Main
call edi
lea ecx, [esp + 0x10]
call fcn.00402f35
mov eax, dword [esp + 0x14]
add esi, 0x30c
push eax
push 0x104
push esi
push 0x4f1ef8
push str.ProxyPassword
push str.Main
call edi
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
mov dword [esp + 0x10], vtable._zstring_class_ztraits_0__.0
je 0x48e8a9
push eax
call esi
mov ecx, dword [esp + 0x14]
mov edi, vtable._buffs.0
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edi
call fcn.00491430
lea eax, [esp + 0x14]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x1c]
and eax, edx
mov dword [esp + 0x14], ebx
mov eax, dword [eax]
push eax
call esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], vtable._zstring_class_ztraits_0__.0
cmp eax, ebx
je 0x48e8ed
push eax
call esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
push ecx
mov dword [esp + 0x24], edi
call fcn.00491430
lea eax, [esp + 0x24]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x2c]
and eax, edx
mov dword [esp + 0x24], ebx
mov eax, dword [eax]
push eax
call esi
pop edi
pop ebx
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4a169f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4a16bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049fb75
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4a16e2
test byte [esp + 8], 2
je 0x4a16e2
call fcn.0049fbe8
mov dword [eax], 0xd
call fcn.0049fbf1
mov dword [eax], 5
jmp 0x4a16bb
xor eax, eax
ret

Function at 0x4a8df9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4f10f0
cmp edx, dword [eax]
je 0x4a8e1b
add eax, 8
inc ecx
cmp eax, 0x4f1180
jl 0x4a8e0c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4f10f0]
jne 0x4a8f49
mov eax, dword [0x4f5d08]
cmp eax, 1
je 0x4a8f23
test eax, eax
jne 0x4a8e4c
cmp dword [0x4ee80c], 1
je 0x4a8f23
cmp edx, 0xfc
je 0x4a8f49
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4a8e83
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0049f220
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0049e520
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4a8ec6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0049e520
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c78f8
push edi
call fcn.004a0e50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0049f220
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0049f230
lea eax, [ebp - 0xa0]
push 0x4c78d8
push eax
call fcn.0049f230
push dword [esi + 0x4f10f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0049f230
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004ad016
add esp, 0x2c
pop edi
jmp 0x4a8f49
lea eax, [ebp + 8]
lea esi, [esi + 0x4f10f4]
push 0
push eax
push dword [esi]
call fcn.0049e520
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401070
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
lea eax, [esp + 8]
push ebx
push esi
push edi
push ebp
push 0x22
push eax
call fcn.00401000
mov dx, 8
add esp, 8
movzx eax, dx
dec dx
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
sub dword [eax], ebx
cmp dx, 2
jae 0x40108a
mov si, 8
xor edi, edi
mov word [esp + 0x12], di
mov ebx, 0x80000000
mov eax, dword [esp + 0x12]
and eax, 0xffff
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4]
mov ecx, eax
and ecx, ebx
cmp ecx, 1
sbb dl, dl
xor cx, cx
inc dl
mov ebp, ebx
and ebp, eax
je 0x4010da
test dl, dl
je 0x4010ed
test ebp, ebp
jne 0x4010e2
test dl, dl
jne 0x4010ed
shr ebx, 1
inc cx
cmp cx, 0x20
jb 0x4010d0
shr cx, 2
mov bl, 7
sub bl, cl
movzx cx, bl
lea edx, [edx + ebx*2]
lea ecx, [ecx*4 + 4]
mov word [esp + 0x14], cx
mov byte [esp + 0x11], dl
xor dx, dx
mov bl, byte [esp + 0x11]
mov cl, 3
movzx ebp, di
sub cl, dl
shr bl, cl
and bl, 1
lea ecx, [esi - 1]
shl bl, cl
or byte [esp + ebp + 0x18], bl
dec si
jne 0x401132
mov si, 8
inc di
inc dx
cmp dx, 4
jb 0x40110f
xor dx, dx
cmp word [esp + 0x14], dx
je 0x401172
mov ebx, eax
mov cl, byte [esp + 0x14]
movzx ebp, di
sub cl, dl
dec cl
shr ebx, cl
and bl, 1
lea ecx, [esi - 1]
shl bl, cl
or byte [esp + ebp + 0x18], bl
dec si
jne 0x401169
mov si, 8
inc di
inc dx
cmp dx, word [esp + 0x14]
jb 0x401144
inc word [esp + 0x12]
cmp word [esp + 0x12], 9
jb 0x4010ad
cmp si, 8
je 0x40118b
inc di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x44]
push 0x28
mov dword [esp + 0x18], eax
push esi
call fcn.00401000
mov al, byte [esp + 0x1c]
add esp, 8
movzx ecx, di
mov edi, 0x26
mov byte [esi], al
xor eax, eax
sub edi, ecx
mov al, byte [esp + 0x15]
cdq
idiv edi
add dl, 2
mov al, byte [esp + 0x14]
sub al, dl
movzx bx, dl
movzx edx, bx
mov byte [esi + 1], al
lea edi, [ecx + edx]
cmp edi, edx
jle 0x4011e7
movzx eax, bx
inc bx
mov byte [eax + esi], 1
movzx ebp, bx
cmp ebp, edi
jl 0x4011d7
mov bx, 2
movzx eax, bx
lea edi, [eax + esi]
cmp byte [edi], 0
jne 0x4011fc
mov al, byte [esp + 0x16]
mov byte [edi], al
inc bx
cmp bx, 0x28
jb 0x4011eb
lea eax, [esp + 0x18]
push ecx
push eax
add edx, esi
push edx
call fcn.00401020
mov cx, 1
add esp, 0xc
movzx eax, cx
inc cx
add eax, esi
mov dl, byte [eax - 1]
xor byte [eax], dl
cmp cx, 0x28
jb 0x401219
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x4036c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5399c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], 0x44
push edi
call fcn.004742e0
mov esi, dword [esp + 0x70]
add esp, 4
test eax, eax
jne 0x403715
push 0x20
mov ecx, esi
call fcn.00519d2d
push edi
mov ecx, esi
call fcn.00519d06
mov eax, dword [esi]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40378d
mov eax, dword [esp + 0x74]
test eax, eax
je 0x403778
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push eax
push 0x573488
push ecx
call fcn.004e0100
mov eax, dword [eax]
mov dword [esp + 0x70], 0
push eax
call fcn.004dc540
add esp, 0x10
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call fcn.00519976
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
Function at 0x424da0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [ebx + 0x10]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x424df7
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x1c]
push 4
mov ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x1c]
xor ecx, eax
and ecx, 7
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], eax
and eax, 7
mov edx, dword [ecx + esi*4]
mov ecx, ebp
shl edx, 3
or edx, eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], edx
call fcn.00473d50
inc esi
cmp esi, edi
jl 0x424db8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x42b110
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x53c208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov ebp, dword [esi + 0xd4]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
mov dword [esp + 0x18], 0x1a
jle 0x42b16a
push edi
mov eax, dword [esi + 0xcc]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x42b164
mov ecx, edi
call fcn.00424e50
push edi
call fcn.0051a84f
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x42b147
pop edi
lea ecx, [esi + 0x218]
mov byte [esp + 0x18], 0x19
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x204]
mov byte [esp + 0x18], 0x18
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x1f0]
mov byte [esp + 0x18], 0x17
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x1dc]
mov byte [esp + 0x18], 0x16
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x18], 0x15
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x1b4]
mov byte [esp + 0x18], 0x14
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x18], 0x13
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x18c]
mov byte [esp + 0x18], 0x12
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x178]
mov byte [esp + 0x18], 0x11
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x164]
mov byte [esp + 0x18], 0x10
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x150]
mov byte [esp + 0x18], 0xf
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x13c]
mov byte [esp + 0x18], 0xe
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x128]
mov byte [esp + 0x18], 0xd
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x100]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0xec]
mov byte [esp + 0x18], 0xa
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0xd8]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0xc4]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x9c]
mov byte [esp + 0x18], 6
mov dword [ecx], 0x54d7d0
call fcn.00473690
mov byte [esp + 0x18], 5
lea ecx, [esi + 0x88]
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x70]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 3
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x54d7d0
call fcn.00473690
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0xffffffff
mov dword [ecx], 0x54d7d0
call fcn.00473690
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42b5b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c534
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, ecx
lea eax, [ebp - 0x10]
push edi
push eax
push ebx
lea ecx, [esi + 0x1f0]
mov dword [ebp - 0x18], edi
call fcn.004d2df0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push edi
push ecx
mov eax, dword [edx + 8]
lea ecx, [esi + 0x20c]
push eax
call fcn.004d2df0
jmp 0x42b606
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x59a4b0]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x1770
jbe 0x42b634
push 1
push 0x587840
mov ecx, 0x599ae0
mov dword [0x59a4b0], eax
call fcn.0045d120
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push edx
push eax
push ebx
lea ecx, [ebp - 0x204]
call fcn.0040fc80
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
add ecx, 0x14
push ecx
mov ecx, esi
call fcn.00410630
mov dword [ebp - 0x180], eax
call 0x42b664
add dword [esp], 6
ret
Function at 0x441a00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x53ebb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
mov eax, dword [esp + 0x198]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test eax, eax
mov dword [esp + 0x14], esi
mov eax, str..exe
je 0x441a3a
mov eax, str..e
mov edi, dword [esp + 0x1a4]
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00519bbf
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00519976
mov ebp, dword [esi + 0x134]
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x441b1b
mov ebp, dword [esp + 0x1ac]
add esi, 0x12c
push 0x57347c
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00519bbf
lea ecx, [esp + 0x80]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov dword [esp + 0x1a8], 0
call fcn.00519bbf
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x1a4], 1
call fcn.005187f1
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0
call fcn.00519976
lea ecx, [esp + 0x1c]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00519976
test ebp, ebp
je 0x441af8
mov dword [ebp], 1
lea eax, [esp + 0x54]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x441a86
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x1a8], 2
je 0x441b54
mov ecx, dword [esi + 0x134]
lea edx, [esp + 0x20]
sub ecx, ebp
push ecx
push 0x5747b4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x20]
lea ecx, [esi + 0x12c]
push 1
push eax
push ebp
call fcn.00518893
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x190
ret 0xc

Function at 0x442cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53ed28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x596a0c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea edi, [esi + 0x23c]
push eax
lea ecx, [esi + 0x240]
push edi
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x230]
push eax
push ecx
push edx
mov ecx, 0x599ae0
mov byte [esp + 0x38], 2
call fcn.00465b20
test eax, eax
jne 0x442d33
mov dword [edi], eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00442d90
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.00519976
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00519976
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00519976
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4