joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov byte [esp + 2], al
mov byte [esp + 7], al
push esi
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x14]
mov dl, 0x64
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x6e
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], dl
mov byte [esp + 0x28], 0
mov byte [esp + 0x10], 0x4f
mov byte [esp + 0x11], 0x70
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], 0x54
mov byte [esp + 0x15], 0x68
mov byte [esp + 0x16], 0x72
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42c71b
pop edi
pop esi
add esp, 0x1c
ret
mov edi, dword [esp + 0x2c]
push edi
push 0
push 0x1f03ff
call eax
mov esi, eax
test esi, esi
jne 0x42c735
pop edi
pop esi
add esp, 0x1c
ret
push 0
push 0
push 0xbb8
push edi
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret

Function at 0x42ca40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
xor eax, eax
push ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 0x14
mov dword [edi], 0xffff
mov dword [esp + 0x28], eax
mov dword [ebx], 0xffff
mov eax, dword [0x7ee808c]
test eax, eax
jne 0x42cae7
mov edx, dword [esp + 0x44]
mov cl, 0x72
mov al, 0x6f
mov byte [esp + 0xd], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x14], al
mov eax, dword [edx]
lea ecx, [esp + 8]
mov byte [esp + 8], 0x47
push ecx
push eax
mov byte [esp + 0x11], 0x65
mov byte [esp + 0x12], 0x74
mov byte [esp + 0x13], 0x43
mov byte [esp + 0x14], 0x75
mov byte [esp + 0x16], 0x73
mov byte [esp + 0x19], 0x49
mov byte [esp + 0x1a], 0x6e
mov byte [esp + 0x1b], 0x66
mov byte [esp + 0x1d], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42cae2
pop edi
pop ebx
add esp, 0x38
ret
mov dword [0x7ee808c], eax
lea ecx, [esp + 0x18]
push ecx
call eax
cmp dword [esp + 0x1c], 1
je 0x42cafd
pop edi
xor eax, eax
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push esi
push edx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42cb1f
push eax
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42cb2a
push eax
call esi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [edi], ecx
push eax
mov dword [ebx], edx
call fcn.0042c9a0
add esp, 4
pop esi
pop edi
pop ebx
add esp, 0x38
ret
Function at 0x42cb50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x7ee8090]
sub esp, 0x20
test eax, eax
je 0x42cb65
mov eax, dword [0x7ee8094]
add esp, 0x20
ret
mov al, 0x73
mov cl, 0x65
mov byte [esp + 0x11], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], al
mov byte [esp + 5], cl
mov byte [esp + 8], cl
mov byte [esp + 0x1b], cl
lea eax, [esp + 0x10]
push esi
lea ecx, [esp + 8]
mov dl, 0x6f
push eax
push ecx
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x6b
mov byte [esp + 0x12], 0x72
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0
mov byte [esp + 0x1c], 0x49
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x36
mov byte [esp + 0x22], 0x34
mov byte [esp + 0x23], 0x50
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x2a], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42cc0f
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [esp + 4]
mov dword [0x7ee8090], 1
mov dword [0x7ee8094], eax
pop esi
add esp, 0x20
ret

Function at 0x42d9b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push 5
push edi
call fcn.0042cdb0
add esp, 8
test eax, eax
je 0x42da8a
push 0
push eax
call fcn.0042cdb0
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42da8a
mov ebx, dword [esp + 0x30]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
test ebx, ebx
mov edi, esi
jne 0x42da0f
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42da30
lea eax, [esp + 0x10]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x42da6c
push 2
push esi
call fcn.0042cdb0
mov esi, eax
add esp, 8
cmp edi, esi
je 0x42da8a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x24]
mov ecx, dword [0x448370]
sub eax, edx
cmp eax, ecx
jae 0x42da88
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42d9fe
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push ecx
push edx
push esi
call fcn.0042d9b0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x42daa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x42db22
mov eax, dword [esi]
test eax, eax
je 0x42db22
mov cl, 0x69
mov dl, 0x6f
mov byte [esp + 6], cl
mov byte [esp + 0xe], cl
mov byte [esp + 0x11], cl
lea ecx, [esp + 4]
push ecx
push eax
mov byte [esp + 0xc], 0x53
mov byte [esp + 0xd], 0x77
mov byte [esp + 0xf], 0x74
mov byte [esp + 0x10], 0x63
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x12], 0x54
mov byte [esp + 0x13], dl
mov byte [esp + 0x14], 0x54
mov byte [esp + 0x15], 0x68
mov byte [esp + 0x17], 0x73
mov byte [esp + 0x18], 0x57
mov byte [esp + 0x1a], 0x6e
mov byte [esp + 0x1b], 0x64
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], 0x77
mov byte [esp + 0x1e], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
mov esi, dword [esi + 0x10]
test esi, esi
je 0x42db3c
mov edx, dword [esp + 0x20]
push 1
push edx
call esi
mov eax, 1
pop esi
add esp, 0x14
ret
xor eax, eax
pop esi
add esp, 0x14
ret

Function at 0x42db50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 4]
push edi
push eax
xor edi, edi
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov byte [esp + 0xc], 0x75
mov byte [esp + 0xd], 0x73
mov byte [esp + 0xe], 0x65
mov byte [esp + 0xf], 0x72
mov byte [esp + 0x10], 0x33
mov byte [esp + 0x11], 0x32
mov byte [esp + 0x12], 0x2e
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x14], 0x6c
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x42dc30
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], 0x46
push ecx
push esi
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1e], 0x61
mov byte [esp + 0x1f], 0x73
mov byte [esp + 0x20], 0x68
mov byte [esp + 0x21], 0x57
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], 0x64
mov byte [esp + 0x25], 0x6f
mov byte [esp + 0x26], 0x77
mov byte [esp + 0x27], 0x45
mov byte [esp + 0x28], 0x78
mov byte [esp + 0x29], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42dc29
lea edx, [esp + 0x24]
push edx
call eax
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x30
ret
Function at 0x42e050
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
mov eax, dword [esi + 0x14]
je 0x42e080
cmp eax, ebx
je 0x42e072
push eax
call fcn.0042e160
add esp, 4
mov dword [esi + 0x14], ebx
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
cmp eax, ebx
jne 0x42e08c
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret
push edi
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
jne 0x42e0ae
mov eax, dword [esi + 0x14]
push eax
call fcn.0042e160
add esp, 4
mov dword [esi + 0x14], ebx
jmp 0x42e0cd
mov edi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp edi, ebx
je 0x42e0cd
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x42e0e0
push ebx
push ebx
push eax
push esi
call fcn.0042e340
add esp, 0x10
mov ecx, dword [esi + 0x5c]
push ecx
call fcn.0042e160
mov edx, dword [esi + 0x14]
mov dword [esi + 0x5c], ebx
push edx
call fcn.0042e160
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
add eax, 0xa
lea ecx, [esp + 0xc]
mov dword [esi + 0x14], ebx
push eax
push 0x43f308
push ecx
call edi
mov edx, dword [esi + 0x18]
add esp, 0xc
add edx, 0xc
lea eax, [esp + 0x2c]
push edx
push 0x43f308
push eax
call edi
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_RemovePropA]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
call edi
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
Function at 0x42e180
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x10c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x10], ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.0042cd50
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, ebx
je 0x42e2d5
mov esi, dword [esp + 0x11c]
cmp dword [esi + 0x14], ebx
je 0x42e2d5
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x42e1f8
push eax
push ecx
push 4
call fcn.00433d00
add esp, 4
lea edx, [esp + 0x20]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x42e212
push ecx
push 5
call fcn.00433d00
add esp, 4
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
je 0x42e2d5
mov edx, dword [esi + 0x14]
push ebx
push ebx
push ebx
push 6
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, ebx
mov dword [esp + 0x14], edx
je 0x42e2d5
mov esi, dword [esp + 0x12c]
push ebp
mov ebp, dword [edx + 0xc]
mov edi, dword [esp + 0x12c]
shl ebp, 2
mov eax, ebp
mov ecx, edx
imul eax, esi
add ecx, eax
lea eax, [ecx + edi*4 + 0x28]
mov ecx, dword [esp + 0x138]
sub ecx, esi
cmp ecx, ebx
jle 0x42e2be
mov edx, dword [esp + 0x134]
mov dword [esp + 0x10], ecx
sub edx, edi
shl edx, 2
mov edi, dword [esp + 0x128]
mov ecx, edx
mov ebx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add eax, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x128]
mov ecx, dword [esp + 0x10]
add esi, edx
dec ecx
mov dword [esp + 0x128], esi
mov dword [esp + 0x10], ecx
jne 0x42e284
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret
Function at 0x432fa0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x433fb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f4d0
push 0x435df4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x43404b
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x43404b
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
mov esi, dword [ebp + 0xc]
cmp esi, edi
jb 0x43404b
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x43404b
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434660
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f4e0
push 0x435df4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4346ea
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x5a4d
jne 0x4346e3
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 0x3c], ecx
cmp dword [ecx], 0x4550
jne 0x4346e3
cmp word [ecx + 0x14], 0
mov dword [ebp - 4], 0xffffffff
je 0x4346ea
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434d50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
jmp 0x434d68
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, ecx
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x18]
cmp edi, edx
jae 0x434d8c
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
xor edx, edx
xor esi, esi
mov dx, word [eax + 6]
test edx, edx
jbe 0x434db0
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x434da8
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edi, ebx
jb 0x434dc8
add ecx, 0x28
inc esi
cmp esi, edx
jb 0x434d98
jmp 0x434dc0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0xc]
sub eax, edx
add eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x434ed0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push esi
push edi
jmp 0x434eee
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x5c
push edi
mov dword [eax], ebx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x434f73
lea ecx, [ebp - 0x204]
push 0x200
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x439c9c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x204]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x204]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x434f91
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x204]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [ebp - 0x204]
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 4]
mov byte [ebp - 4], 0x72
push ecx
push edx
mov byte [ebp - 3], 0x62
mov byte [ebp - 2], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x435006
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x434ffc
mov eax, dword [ebp + 0xc]
push esi
push edi
push 1
push ebx
mov dword [eax], edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x435016
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4350e0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
jmp 0x4350f9
mov eax, dword [0x7eee218]
test eax, eax
jne 0x4351da
mov al, 0x6c
mov cl, 0x74
mov dl, 0x64
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov byte [ebp - 0x15], al
mov byte [ebp - 0xb], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x18], cl
lea eax, [ebp - 0x24]
mov byte [ebp - 0xa], dl
mov byte [ebp - 6], dl
lea ecx, [ebp - 0xc]
mov dl, 0x72
push eax
push ecx
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 7], 0x2e
mov byte [ebp - 3], 0
mov byte [ebp - 0x24], 0x5a
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x50
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x63
mov byte [ebp - 0x1b], 0x56
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x17], 0x75
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x14], 0x4d
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], 0x79
mov byte [ebp - 0xe], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.0040d720
push 5
lea edx, [ebp - 0xc]
mov esi, eax
push 0x7eee1f8
push edx
push esi
call fcn.00435020
add esp, 0x14
test eax, eax
je 0x4351fb
add esi, 5
mov byte [0x7eee1fd], 0x68
mov dword [0x7eee1fe], esi
mov byte [0x7eee202], 0xc3
mov dword [0x7eee218], 1
push 0x40
push 0x3000
push 0xb
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43520e
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x7eee218]
test eax, eax
jne 0x4351da
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [0x7eee1f8]
mov eax, esi
push edi
mov dword [eax], ecx
mov edx, dword [0x7eee1fc]
mov dword [eax + 4], edx
mov cx, word [0x7eee200]
mov word [eax + 8], cx
mov dl, byte [0x7eee202]
mov ecx, dword [ebp + 0x14]
mov byte [eax + 0xa], dl
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call esi
push 0x8000
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43526c
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4352e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push esi
push edi
jmp 0x4352fe
lea eax, [ebp - 0x204]
push eax
call 0x4353e0
add esp, 4
lea ecx, [ebp - 0x204]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4353a3
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp + 8]
lea eax, [ebp + 0xc]
mov dword [ebp - 0xff], edx
lea edx, [ebp - 4]
mov dword [ebp - 0xfb], eax
push 0
push edx
lea eax, [ebp - 0x104]
push 0x15
push eax
push esi
mov dword [ebp - 4], 0
mov byte [ebp - 0x104], 1
mov dword [ebp - 0x103], 0xffffffff
mov dword [ebp - 0xf7], ebx
mov dword [ebp - 0xf3], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 2
jne 0x4353bc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push ebx
push edx
push eax
jmp 0x4353b3
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
push 0xffffffffffffffff
call fcn.00435280
mov edi, eax
jmp 0x4353cc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403598
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x4035b8
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x4035ca
mov dword [ebp - 0xc], 0x41bb98
mov eax, dword [ebp + 8]
test eax, eax
jl 0x4035df
mov ecx, dword [0x437918]
add ecx, eax
push ecx
call fcn.004037c9
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004037b3
test eax, eax
je 0x4037a1
test byte [ebp + 0x17], 0x80
je 0x40374c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [0x40e4fc], 0
and dword [0x40e4f8], 0
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x40fb80
mov dword [0x40dfe0], 8
mov dword [0x417b88], eax
mov dword [0x417b84], eax
mov eax, dword [ebp + 0x14]
mov dword [0x417b80], 0x417b80
mov dword [ebp + 8], eax
jle 0x4037a9
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x403658
mov esi, dword [ebp + 0x14]
mov edi, 0x417b98
push esi
push edi
call fcn.004037b3
test eax, eax
je 0x4037a1
sub dword [ebp + 0x14], esi
mov dword [0x40dfd0], edi
mov dword [0x40dfd4], esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push 0x40dfd0
mov dword [0x40dfd8], edi
mov dword [0x40dfdc], eax
call fcn.00406ff7
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x403744
mov esi, dword [0x40dfd8]
sub esi, edi
call ebx
test byte [0x437974], 1
mov edi, eax
je 0x4036ff
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x4036c6
cmp dword [ebp + 0x14], 0
jne 0x4036ff
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.00405848
mov dword [ebp - 0x10], edi
test esi, esi
je 0x403738
cmp dword [ebp + 0x10], 0
jne 0x40371e
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00406416
test eax, eax
je 0x403748
add dword [ebp - 4], esi
jmp 0x40372c
mov eax, dword [0x40dfd8]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
jne 0x40367b
jmp 0x4037a9
cmp dword [ebp + 0x14], 0
jg 0x40364b
jmp 0x4037a9
push 0xfffffffffffffffc
jmp 0x4037a3
push 0xfffffffffffffffe
jmp 0x4037a3
test edi, edi
jne 0x40378e
cmp dword [ebp + 0x14], edi
jle 0x4037a9
mov ebx, dword [ebp - 8]
cmp dword [ebp + 0x14], ebx
mov esi, dword [ebp + 0x14]
jl 0x403762
mov esi, ebx
mov edi, 0x417b98
push esi
push edi
call fcn.004037b3
test eax, eax
je 0x4037a1
push esi
push edi
push dword [ebp + 0xc]
call fcn.00406416
test eax, eax
je 0x403748
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403758
jmp 0x4037a9
cmp dword [ebp + 0x14], esi
jge 0x403796
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.004037b3
test eax, eax
jne 0x4037a6
push 0xfffffffffffffffd
pop eax
jmp 0x4037ac
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10