joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c950
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
push esi
mov esi, dword [esp + 0x424]
push edi
mov ecx, 0x54ffc8
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004d86e0
add esp, 0xc
push 0x406
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x18], 0x406
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0xc]
call fcn.0043a930
mov edi, dword [esp + 8]
push str.360safe.exe
push edi
call fcn.004d7575
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
jne 0x43ca09
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c9f2
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
jmp 0x43ca55
lea eax, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
push 0x515d38
push 0x515cb8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x43ca40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ca40
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0043a260
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ca78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x420]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x41c
ret

Function at 0x43caa0
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
push eax
call fcn.0043c950
add esp, 4
push 0xc
push 0x515d5c
lea ecx, [esp + 0xc]
call fcn.0043c7c0
mov esi, dword [esp + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43caf2
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43caeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
add esp, 8
ret
push edi
push esi
call fcn.0043c770
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push edx
mov ecx, 0x53ff88
call fcn.00486ae0
mov edi, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cb2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
add esp, 8
ret
Function at 0x4491c0
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x38]
push ebx
push esi
push edi
add eax, 0xfffffff0
push eax
mov edi, ecx
call fcn.00439080
mov esi, eax
mov eax, dword [esp + 0x44]
add esi, 0x10
dec eax
add esp, 4
mov dword [esp + 0xc], esi
cmp eax, 6
ja case.0x4491ef.5
jmp dword [eax*4 + 0x4495ec]
push str.safe
call fcn.0043f080
add esp, 4
test eax, eax
je 0x44923f
lea eax, [esp + 0x1c]
push eax
call fcn.0048a050
mov ecx, eax
call fcn.0048a250
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x10]
call fcn.00439570
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call fcn.00439d40
test bl, bl
je 0x44923f
push esi
lea ecx, [edi + 0x2c]
call fcn.0048c7c0
push 0
push 0
push 0
push 0
push 0
push esi
invalid
invalid
invalid

Function at 0x4496e0
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push esi
mov esi, ecx
cmp eax, 0x18a88
jne 0x4497eb
push edi
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov edi, eax
add edi, 0x10
mov dword [esp + 0x18], edi
call fcn.004846d0
mov ecx, eax
call fcn.00482720
test eax, eax
je 0x44974c
push str.xpsp2
lea ecx, [esp + 0x1c]
call fcn.0043a860
mov edi, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.0048bac0
add esp, 8
push 0x527f5c
lea ecx, [esp + 0x20]
call fcn.0043a930
mov eax, dword [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x24]
push str.User_Agent:_Mozilla_5.0__Trident_7.0__rv:_d__System_VS:__s__like_Gecko_360pcws_ncf
push ecx
call fcn.0043a600
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x394]
add esp, 0x10
push ebx
push 0
push 0
push 0
push 0
push edx
lea ecx, [esi + 0x1e8]
call fcn.00440380
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop ebx
test edx, edx
jg 0x4497c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x449887
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x18a89
jne 0x449822
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x398]
push 0
push 0
push 0
push 0
push 0
push edx
lea ecx, [esi + 0x80]
call fcn.00440380
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x18a8a
jne 0x449859
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x39c]
push 0
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esi + 0x260]
call fcn.00440380
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x18a8b
jne 0x449887
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x39c]
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [esi + 0x2d8]
call fcn.00440380
xor eax, eax
pop esi
add esp, 8
ret 0x10
Function at 0x4496e7
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push esi
mov esi, ecx
cmp eax, 0x18a88
jne 0x4497eb
push edi
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov edi, eax
add edi, 0x10
mov dword [esp + 0x18], edi
call fcn.004846d0
mov ecx, eax
call fcn.00482720
test eax, eax
je 0x44974c
push str.xpsp2
lea ecx, [esp + 0x1c]
call fcn.0043a860
mov edi, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.0048bac0
add esp, 8
push 0x527f5c
lea ecx, [esp + 0x20]
call fcn.0043a930
mov eax, dword [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x24]
push str.User_Agent:_Mozilla_5.0__Trident_7.0__rv:_d__System_VS:__s__like_Gecko_360pcws_ncf
push ecx
call fcn.0043a600
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x394]
add esp, 0x10
push ebx
push 0
push 0
push 0
push 0
push edx
lea ecx, [esi + 0x1e8]
call fcn.00440380
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop ebx
test edx, edx
jg 0x4497c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x449887
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x18a89
jne 0x449822
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x398]
push 0
push 0
push 0
push 0
push 0
push edx
lea ecx, [esi + 0x80]
call fcn.00440380
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x18a8a
jne 0x449859
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x39c]
push 0
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esi + 0x260]
call fcn.00440380
xor eax, eax
pop esi
add esp, 8
ret 0x10
cmp eax, 0x18a8b
jne 0x449887
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x39c]
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [esi + 0x2d8]
call fcn.00440380
xor eax, eax
pop esi
add esp, 8
ret 0x10
Function at 0x44ef80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [0x54ff8c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esi + 4], eax
test eax, eax
je 0x44efb7
push eax
mov eax, dword [0x54ff8c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi], eax
test eax, eax
jne 0x44efbd
mov dword [esi + 4], eax
xor al, al
pop esi
ret 8
mov al, 1
pop esi
ret 8

Function at 0x44f1b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x214]
mov ecx, dword [esp + 0x210]
push ebp
mov ebp, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x220]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
test eax, eax
je 0x44f2b9
test esi, esi
je 0x44f2b9
lea edx, [esp + 0xc]
push edx
push 0x20019
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44f23c
or edi, 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x44f222
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x20c
ret
push 0x1ff
lea eax, [esp + 0x19]
push 0
push eax
mov dword [esp + 0x1c], 0x200
mov byte [esp + 0x20], 0
call fcn.004d86e0
mov eax, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44f282
mov edi, 0xfffffffe
jmp 0x44f213
lea eax, [esp + 0x14]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f290
sub eax, edx
cmp dword [esp + 0x10], 4
jne 0x44f213
cmp eax, 4
ja 0x44f213
mov ecx, dword [esp + 0x14]
mov dword [ebp], ecx
jmp 0x44f213
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 0xfffffffd
call fcn.004d7eb0
add esp, 0x20c
ret

Function at 0x44f2e0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0xc], ebp
cmp esi, ebp
je 0x44f36d
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
je 0x44f36d
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebp
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44f34b
push ebp
lea ecx, [esp + 0x14]
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44f34b
or ebp, 0xffffffff
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
je 0x44f344
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x28]
push edx
push 4
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x44f334
mov ebp, 0xfffffffe
jmp 0x44f334
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
pop ecx
ret
Function at 0x44f380
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
test eax, eax
je 0x44f469
cmp word [eax], 0
je 0x44f469
cmp dword [esp + 0x10], 0
je 0x44f469
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp], eax
cmp eax, 0xffffffff
je 0x44f469
push ebp
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xa00000
jae 0x44f468
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
mov ebx, str.D5812D5A_29E3_4499_AAFB_8CB37748B969_safeid3.0
test eax, eax
je 0x44f3ee
mov ebx, eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f3f3
sub eax, edx
mov edi, eax
lea eax, [edi + ebp]
push eax
call fcn.004d45ee
mov esi, eax
add esp, 4
test esi, esi
je 0x44f45a
mov edx, esi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44f416
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esi + edi]
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
add edx, edi
push edx
push esi
call fcn.0044f0d0
push esi
call fcn.004d7e25
add esp, 0x10
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ebp
xor eax, eax
pop ecx
ret

Function at 0x44fcf0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44fd5c
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x44fd77
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
mov ecx, dword [esi]
push str.HttpUninit
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi]
push str.zlib_uncompress
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push str.zlib_compress
push eax
call edi
mov ecx, dword [esi]
push str.zlib_compressBound
push ecx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
pop edi
test eax, eax
je 0x44fd5c
call eax
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x44fd77
cmp dword [esi + 4], 0
je 0x44fd77
cmp dword [esi + 0xc], 0
je 0x44fd77
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4
Function at 0x450fa0
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x45113f
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x45113f
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x45113f
cmp dword [esp + 0x20], 0
je 0x45113f
push esi
xor esi, esi
cmp ebx, 2
jbe 0x45107c
lea ebp, [esi + 4]
mov al, byte [edi]
mov cl, byte [edi + 1]
sub ebx, 3
mov dword [esp + 0x1c], ebx
mov bl, al
shr bl, 2
inc edi
mov dl, byte [edi + 1]
mov byte [esp + 0x10], bl
mov bl, cl
and al, 3
inc edi
shr bl, 4
and cl, 0xf
shl al, 4
add al, bl
add cl, cl
mov bl, dl
add cl, cl
shr bl, 6
and dl, 0x3f
inc edi
add cl, bl
mov byte [esp + 0x13], dl
cmp ebp, dword [esp + 0x24]
ja 0x45112a
movzx edx, byte [esp + 0x10]
movzx edx, byte [edx + 0x516de0]
mov ebx, dword [esp + 0x20]
mov byte [esi + ebx], dl
movzx eax, al
movzx edx, byte [eax + 0x516de0]
mov byte [esi + ebx + 1], dl
movzx edx, byte [esp + 0x13]
inc esi
movzx eax, cl
mov cl, byte [eax + 0x516de0]
inc esi
inc ebp
mov byte [esi + ebx], cl
mov al, byte [edx + 0x516de0]
inc ebp
inc esi
inc ebp
mov byte [esi + ebx], al
mov ebx, dword [esp + 0x1c]
inc esi
inc ebp
cmp ebx, 2
ja 0x450fe2
mov ebp, dword [esp + 0x20]
test ebx, ebx
je 0x451124
xor al, al
xor cl, cl
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], al
mov byte [esp + 0x18], cl
test ebx, ebx
jbe 0x4510b0
push ebx
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.004d8210
mov al, byte [esp + 0x25]
mov cl, byte [esp + 0x24]
add esp, 0xc
mov dl, cl
shr dl, 2
mov byte [esp + 0x10], dl
mov dl, al
and cl, 3
shr dl, 4
and al, 0xf
shl cl, 4
add cl, dl
mov dl, byte [esp + 0x1a]
add al, al
shr dl, 6
add al, al
add al, dl
lea edx, [esi + 4]
cmp edx, dword [esp + 0x24]
jbe 0x4510e9
pop esi
pop edi
pop ebp
mov eax, 0xffffffff
pop ebx
pop ecx
ret
movzx edx, byte [esp + 0x10]
movzx edx, byte [edx + 0x516de0]
mov byte [esi + ebp], dl
movzx ecx, cl
movzx edx, byte [ecx + 0x516de0]
inc esi
mov byte [esi + ebp], dl
inc esi
cmp ebx, 1
jne 0x451112
mov byte [esi + ebp], 0x3d
jmp 0x45111e
movzx eax, al
mov cl, byte [eax + 0x516de0]
mov byte [esi + ebp], cl
inc esi
mov byte [esi + ebp], 0x3d
inc esi
cmp esi, dword [esp + 0x24]
jb 0x451133
pop esi
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov byte [esi + ebp], 0
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x452240
Capabilities:
Extract resource via kernel32 functions
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 8], ebx
jne 0x4523e9
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x45229e
mov eax, dword [esi + 4]
cmp eax, 0xffff
jae 0x452286
mov ecx, dword [0x54ff8c]
push 0x2000
push ebx
push ebx
movzx eax, ax
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 8], eax
jmp 0x45239c
push 0x2010
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 8], eax
jmp 0x45239c
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], ebx
cmp ecx, 0xffff
jae 0x452314
mov dword [esp + 0x14], ebx
cmp al, 3
jne 0x45239c
push ecx
movzx edx, cx
mov eax, esp
push ecx
mov dword [eax], edx
mov eax, esp
lea ecx, [esp + 0x18]
mov dword [eax], 0x516f90
call fcn.0044ef80
mov edi, dword [esp + 0x10]
cmp al, bl
je 0x452300
mov eax, dword [esp + 0x14]
mov ecx, dword [0x54ff8c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0044f750
add esp, 4
mov dword [esi + 8], eax
cmp edi, ebx
je 0x45239c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x45239c
push 0x516f88
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004da3b1
add esp, 0xc
test eax, eax
jne 0x45239c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x45239c
push 2
push ebx
push eax
call fcn.004da24f
mov eax, dword [esp + 0x1c]
push eax
call fcn.004da157
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push ecx
mov ebp, eax
call fcn.004da24f
push ebp
call fcn.004d45ee
mov edi, eax
add esp, 0x20
cmp edi, ebx
je 0x45238f
mov edx, dword [esp + 0x10]
push edx
push ebp
push 1
push edi
call fcn.004d9f9d
add esp, 0x10
cmp byte [esi + 0x17], 3
jne 0x452386
push edi
call fcn.0044f750
add esp, 4
mov dword [esi + 8], eax
push edi
call fcn.004d7e25
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.004d9c64
add esp, 4
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x4523ba
xor ecx, ecx
mov word [esi + 0x14], cx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x16], bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
lea edx, [esp + 0x18]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x1c]
movzx ecx, word [esi + 0x14]
cdq
idiv ecx
cmp word [esp + 0x2a], 0x20
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
sete al
mov byte [esi + 0x16], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x453f71
Capabilities:
Check os version

Disassembly:
sub esp, 0x60
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x11
mov dword [0x543fac], esi
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0xc]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp eax, 0x80000000
jae 0x453fde
cmp ecx, 5
je 0x453fde
cmp ecx, 6
jne 0x453fd0
push 0x517048
push 0x40
lea eax, [esp + 0x30]
push eax
jmp 0x453fea
push str.Tahoma
push 0x40
lea ecx, [esp + 0x30]
push ecx
jmp 0x453fea
push str.Tahoma
push 0x40
lea edx, [esp + 0x30]
push edx
call fcn.00451490
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0xfffffff5
call edi
lea ecx, [esp + 0xc]
mov ebx, 0x2bc
push ecx
mov dword [esi], eax
mov dword [esp + 0x20], ebx
call edi
lea edx, [esp + 0xc]
push edx
mov dword [esi + 4], eax
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x10], 0xfffffff4
call edi
mov dword [esi + 8], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x20], ebx
call edi
lea ecx, [esp + 0xc]
push ecx
mov dword [esi + 0xc], eax
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x10], 0xfffffff3
call edi
lea edx, [esp + 0xc]
push edx
mov dword [esi + 0x10], eax
mov dword [esp + 0x20], ebx
call edi
mov dword [esi + 0x14], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x20], 0x190
mov dword [esp + 0x10], 0xfffffff0
call edi
lea ecx, [esp + 0xc]
push ecx
mov dword [esi + 0x18], eax
mov dword [esp + 0x20], ebx
call edi
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x1c], eax
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x60
ret
Function at 0x4583c0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x25c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
push edi
push 0x24c
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.004d86e0
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x54ffc8
call eax
mov edx, dword [0x54ffc8]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x54ffc8
call eax
mov ecx, dword [esp + 0x268]
push ecx
mov esi, eax
lea edx, [esp + 0xc]
push str._s.
add esi, 0x10
push edx
mov dword [esp + 0x18], esi
call fcn.0043a600
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4584ab
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [esp + 0x18], 0x10
jne 0x458496
cmp word [esp + 0x44], 0x2e
je 0x458496
mov eax, dword [esp + 0x270]
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x51710c
push ecx
call fcn.0043a600
mov esi, dword [esp + 0x24]
add esp, 0x10
push esi
call ebp
lea edx, [esp + 0x18]
push edx
push edi
call ebx
test eax, eax
jne 0x458461
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x4584c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4584e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x260]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45850b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x25c
ret 4