joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push eax
push ecx
xor ebp, ebp
push edx
push ebx
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
je 0x41c7dd
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41c7dd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x41c7c8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebp
call fcn.0041c690
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x41ccb0
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
call fcn.0041c910
cmp eax, 7
je 0x41cda6
cmp eax, 0xd
jne 0x41ce13
lea eax, [esp + 0x1c]
push esi
push eax
push 0x13
push edi
mov dword [esp + 0x2c], ebx
call fcn.0041c960
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x41cd83
cmp dword [esp + 0x20], 0x190
jae 0x41cd83
lea ecx, [esp + 0xc]
push ecx
push 5
push edi
call fcn.0041c960
test eax, eax
je 0x41cd32
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov bl, 1
mov dword [esi + 0x20], edx
pop esi
mov dword [eax], ecx
mov al, bl
pop edi
pop ebx
add esp, 0xc
ret 0xc
test byte [esi], 4
je 0x41cd60
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov ebx, 1
or eax, ebx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
pop esi
pop edi
mov dword [eax], ecx
mov al, bl
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], 0xa0000004
mov dword [esi + 0x20], edx
pop esi
mov dword [eax], ecx
mov al, bl
pop edi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], 0xa0000003
mov dword [esi + 0x20], edx
pop esi
mov dword [eax], ecx
mov al, bl
pop edi
pop ebx
add esp, 0xc
ret 0xc
lea eax, [esp + 0x10]
push eax
push edi
call dword [0x44a0e0]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41cde8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41cde4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
pop edi
mov dword [ecx + 0x1c], 0xa0000004
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov al, bl
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], ebx
jne 0x41ce08
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov bl, 1
mov dword [eax], ecx
mov al, bl
pop edi
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1c], 0xa0000005
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
pop edi
mov dword [eax], ecx
mov al, bl
pop ebx
add esp, 0xc
ret 0xc
Function at 0x41ce30
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x10]
push ebx
push eax
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
mov esi, dword [esp + 0x14]
je 0x41cf45
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41cf4c
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], eax
cmp eax, ecx
jbe 0x41ce75
mov eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41cf16
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x20]
push eax
push ecx
add eax, ebx
push edx
push eax
push 5
push edi
push esi
call fcn.0041cc70
test al, al
je 0x41cf0d
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x41cef6
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
cmp eax, 0xffffffff
je 0x41cee8
lea edx, [esp + 0x14]
push 0
push edx
push ecx
mov ecx, dword [esi + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41cf04
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jne 0x41cf04
mov eax, dword [esp + 0xc]
add ebx, ecx
sub eax, ecx
mov dword [esp + 0xc], eax
jmp 0x41cefa
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41ce64
jmp 0x41cf25
mov dword [esi + 0x1c], 0xa0000008
jmp 0x41cf1d
mov dword [esi + 0x1c], 0xa0000001
jmp 0x41cf1d
mov dword [esi + 0x1c], 0xa0000007
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41cf4c
push 0
lea edx, [esp + 0x10]
push 0
push edx
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x41ce58
mov dword [esi + 0x1c], 0xa0000007
test byte [esi + 0x24], 1
jne 0x41cf71
cmp ebx, dword [esp + 0x20]
je 0x41cf71
cmp dword [esi + 0x1c], 0xa0ffffff
jne 0x41cfa2
mov dword [esi + 0x1c], 0xa0000009
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
mov eax, dword [esp + 0x20]
push 0
push 0
push eax
push ebx
push 6
push edi
push esi
call fcn.0041cc70
test al, al
je 0x41cf9b
mov dword [esi + 0x1c], 0x20000000
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0x10
mov dword [esi + 0x1c], 0xa0000001
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x41dd00
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov edx, dword [esp + 0x4c]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 8]
mov dword [esp + 4], 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], 0x100
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
add esp, 0x3c
ret 0x18

Function at 0x41e540
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x41e5ca
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp eax, 0x102
ja 0x41e5b0
je 0x41e587
test eax, eax
je 0x41e57a
cmp eax, 0x80
jne 0x41e5b5
mov ecx, dword [esp + 0x14]
mov al, 1
mov dword [ecx], esi
pop esi
pop ebx
ret 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e5a7
push 0
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
je 0x41e5a7
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x102
call ebx
jmp 0x41e5b6
cmp eax, 0xffffffff
je 0x41e5b6
int3
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
pop edi
mov edx, dword [esp + 0x14]
pop esi
xor al, al
pop ebx
mov dword [edx], 0
ret 0xc

Function at 0x41f7c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 0x696e4942
mov cl, byte [edx]
test cl, cl
je 0x41f7e4
shl eax, 3
and ecx, 0xff
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
not eax
jne 0x41f7cf
ret 4

Function at 0x4212a0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1000
call fcn.004359f0
mov ecx, dword [esp + 0x1004]
lea eax, [esp + 0x1008]
push eax
push ecx
lea edx, [esp + 8]
push 0x1000
push edx
call fcn.00435a1f
add esp, 0x10
mov byte [esp + 0xfff], 0
test eax, eax
jle 0x4212ea
cmp eax, 0x1000
jae 0x4212ea
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x1000
ret

Function at 0x421300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push ebx
push ecx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42133a
mov ebx, dword [ebp + 0xc]
mov esi, 0x441ec0
add ecx, ebx
not eax
movzx edi, byte ds:[ebx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword ds:[esi + edi*4]
inc ebx
cmp ebx, ecx
jne 0x421320
not eax
pop edi
pop esi
pop ecx
pop ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x423db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, 8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
xor esi, esi
mov dl, byte [esp + esi + 8]
mov al, 1
mov ecx, esi
shl al, cl
test dl, 0x40
je 0x423dea
or byte [esp + 0x10], al
test dl, 0x10
je 0x423df3
or byte [esp + 0x11], al
test dl, 4
je 0x423dfc
or byte [esp + 0x12], al
test dl, 1
je 0x423e05
or byte [esp + 0x13], al
test dl, dl
jns 0x423e0d
or byte [esp + 0x14], al
test dl, 0x20
je 0x423e16
or byte [esp + 0x15], al
test dl, 8
je 0x423e1f
or byte [esp + 0x16], al
test dl, 2
je 0x423e28
or byte [esp + 0x17], al
inc esi
dec edi
jne 0x423dd7
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push ebx
xor bl, bl
push ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov byte [esp + 0x18], bl
and edi, 1
mov eax, dword [esp + 0x18]
and eax, 0xff
lea ecx, [eax + eax*2]
lea eax, [esp + 0x10]
lea edx, [ebp + ecx*2]
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00423f20
mov eax, dword [esp + 0x2c]
xor eax, esi
mov esi, dword [esp + 0x10]
test edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
jne 0x423e8c
inc bl
cmp bl, 0x10
mov byte [esp + 0x18], bl
jb 0x423e4b
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], esi
pop ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor esi, esi
mov edi, 8
pop ebx
mov cl, byte [esp + esi + 8]
mov al, byte [esi + 0x442450]
test cl, 1
je 0x423eba
or byte [esp + 0x10], al
test cl, 2
je 0x423ec3
or byte [esp + 0x11], al
test cl, 4
je 0x423ecc
or byte [esp + 0x12], al
test cl, 8
je 0x423ed5
or byte [esp + 0x13], al
test cl, 0x10
je 0x423ede
or byte [esp + 0x14], al
test cl, 0x20
je 0x423ee7
or byte [esp + 0x15], al
test cl, 0x40
je 0x423ef0
or byte [esp + 0x16], al
test cl, cl
jns 0x423ef8
or byte [esp + 0x17], al
inc esi
dec edi
jne 0x423ea7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x4247a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
test al, 1
je 0x4247c1
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call fcn.00423db0
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x14]
push esi
push edi
mov edi, 8
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
xor esi, esi
mov dl, byte [esp + esi + 0x10]
mov al, 1
mov ecx, esi
shl al, cl
test dl, 0x40
je 0x4247f8
or byte [esp + 8], al
test dl, 0x10
je 0x424801
or byte [esp + 9], al
test dl, 4
je 0x42480a
or byte [esp + 0xa], al
test dl, 1
je 0x424813
or byte [esp + 0xb], al
test dl, dl
jns 0x42481b
or byte [esp + 0xc], al
test dl, 0x20
je 0x424824
or byte [esp + 0xd], al
test dl, 8
je 0x42482d
or byte [esp + 0xe], al
test dl, 2
je 0x424836
or byte [esp + 0xf], al
inc esi
dec edi
jne 0x4247e5
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
push ebx
push ebp
mov dword [esp + 0x2c], edi
lea ebx, [ecx + 0x5a]
mov ebp, 0x10
lea edx, [esp + 0x2c]
push ebx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00423f20
sub ebx, 6
mov eax, dword [esp + 0x28]
xor eax, esi
mov esi, edi
mov edi, eax
dec ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
jne 0x424854
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], esi
pop ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor esi, esi
mov edi, 8
pop ebx
mov cl, byte [esp + esi + 0x10]
mov al, byte [esi + 0x442450]
test cl, 1
je 0x4248aa
or byte [esp + 8], al
test cl, 2
je 0x4248b3
or byte [esp + 9], al
test cl, 4
je 0x4248bc
or byte [esp + 0xa], al
test cl, 8
je 0x4248c5
or byte [esp + 0xb], al
test cl, 0x10
je 0x4248ce
or byte [esp + 0xc], al
test cl, 0x20
je 0x4248d7
or byte [esp + 0xd], al
test cl, 0x40
je 0x4248e0
or byte [esp + 0xe], al
test cl, cl
jns 0x4248e8
or byte [esp + 0xf], al
inc esi
dec edi
jne 0x424897
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
add esp, 0x10
ret 0xc

Function at 0x424bb0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x44]
push edi
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, eax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x3c
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x424c1a
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
mov eax, dword [edx + 0x1c]
push 0
push 0x69
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 1
call fcn.0041e450
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
push 0x69
push esi
call fcn.0041e450
pop edi
pop esi
add esp, 0x3c
ret 4
Function at 0x424da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
lea edx, [ecx + eax]
cmp ecx, edx
je 0x424dc9
push esi
mov esi, dword [esp + 8]
xor eax, eax
mov al, byte [ecx]
xor eax, esi
imul eax, eax, 0x1000193
inc ecx
mov esi, eax
cmp ecx, edx
jne 0x424db4
pop esi
ret
mov eax, dword [esp + 4]
ret

Function at 0x426de0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
ret 4

Function at 0x4288d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call edi
cmp eax, 0xffffffff
je 0x428916
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call ebx
test eax, eax
jne 0x42890c
push 0x1f4
call ebp
push esi
call edi
cmp eax, 0xffffffff
jne 0x4288fe
pop ebp
pop ebx
pop edi
pop esi
ret 4
Function at 0x428920
Capabilities:
Check if file exists
Create process on windows
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
sub esp, 0x5e8
lea eax, [esp + 0x158]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 0x104
push eax
push ebx
call fcn.0041b6a0
test al, al
je 0x428abc
mov edx, dword [esp + 0x5f4]
lea ecx, [esp + 0x5c]
push ebx
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x428abc
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x428abc
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], 0x44
lea edx, [esp + 0x268]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x164]
push ecx
push str._s.tmp
push 0x104
push edx
call fcn.00405c60
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0x10
lea eax, [esp + 0x164]
push 0x80
push eax
call esi
lea ecx, [esp + 0x60]
push 0x80
push ecx
call esi
lea edx, [esp + 0x268]
push 0x80
push edx
call esi
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x268]
lea edx, [esp + 0x164]
push ecx
push edx
call esi
test eax, eax
pop edi
je 0x428a45
lea eax, [esp + 0x160]
lea ecx, [esp + 0x5c]
push eax
push ecx
call esi
test eax, eax
je 0x428a45
lea edx, [esp + 0x5c]
lea eax, [esp + 0x264]
push edx
push eax
call esi
test eax, eax
je 0x428a45
lea ecx, [esp + 8]
push ecx
call fcn.0041bcb0
test eax, eax
je 0x428aaf
jmp 0x428a93
lea edx, [esp + 0x160]
lea eax, [esp + 0x5c]
push edx
push eax
push str.__s___UPDATE:
lea ecx, [esp + 0x374]
push 0x288
push ecx
call fcn.00405c60
add esp, 0x14
lea edx, [esp + 8]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x368]
push edx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x7c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x428abc
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 0x10], ebx
call esi
mov eax, dword [esp + 8]
mov dword [esp + 8], ebx
push eax
call esi
pop esi
mov al, 1
pop ebx
add esp, 0x5e8
ret 4
pop esi
xor al, al
pop ebx
add esp, 0x5e8
ret 4
Function at 0x428ad0
Capabilities:
Accept command line arguments
Copy file
Create process on windows
Terminate process

Disassembly:
sub esp, 0x158
push esi
push edi
push str._UPDATE:
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00410de0
test eax, eax
je 0x428bbb
lea edx, [eax + 9]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x428bbb
cmp byte [esi + edx - 1], 1
jne 0x428bbb
cmp esi, 0x104
ja 0x428bbb
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], 0x44
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x60]
push edx
push eax
call fcn.00410e70
lea ecx, [esp + 0x5c]
mov byte [esp + esi + 0x5b], 0
push ecx
call fcn.004288d0
lea edx, [esp + 0x5c]
push 0
mov eax, dword [esp + 0x168]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x7c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x428bb3
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 0x10], 0
call esi
mov eax, dword [esp + 8]
mov dword [esp + 8], 0
push eax
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x164]
push ecx
call fcn.004288d0
pop edi
pop esi
add esp, 0x158
ret 4

Function at 0x428f90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x800
lea eax, [esp]
push esi
mov esi, dword [esp + 0x808]
push 0x800
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x428ff4
cmp byte [esp + 4], 0x23
jne 0x428ff4
lea ecx, [esp + 4]
push 0x800
push ecx
push 0xa
lea edx, [esp + 0x11]
push 0
push edx
call fcn.00437011
add esp, 0xc
push eax
mov eax, dword [esp + 0x818]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x428ff4
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop esi
add esp, 0x800
ret 8

Function at 0x429ab0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
mov ecx, 4
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x442db8]
xor eax, edx
dec ecx
jne 0x429ab9
ret
Function at 0x430050
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
mov eax, ecx
mov edx, 8
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x43005a
mov dword [ecx*4 + 0x44e7c0], eax
inc ecx
cmp ecx, 0x100
jb 0x430053
cmp ecx, 0x800
pop esi
jae 0x4300b3
mov eax, dword [ecx*4 + 0x44e3c0]
mov edx, eax
and edx, 0xff
shr eax, 8
mov edx, dword [edx*4 + 0x44e7c0]
xor edx, eax
mov dword [ecx*4 + 0x44e7c0], edx
inc ecx
cmp ecx, 0x800
jb 0x430088
mov dword [0x44e55c], 0x4300e0
call fcn.00433940
test eax, eax
jne 0x4300d0
mov dword [0x44e55c], 0x430190
ret

Function at 0x43c4ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x44c960
cmp edx, dword [eax]
je 0x43c50f
add eax, 8
inc ecx
cmp eax, 0x44c9f0
jl 0x43c500
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x44c960]
jne 0x43c63d
mov eax, dword [0x44e5e4]
cmp eax, 1
je 0x43c617
test eax, eax
jne 0x43c540
cmp dword [0x44a1d4], 1
je 0x43c617
cmp edx, 0xfc
je 0x43c63d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43c577
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0043bdb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00438be0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43c5ba
lea eax, [ebp - 0x1a4]
push eax
call fcn.00438be0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x440dd4
push edi
call fcn.0043d7d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0043bdb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043bdc0
lea eax, [ebp - 0xa0]
push 0x447730
push eax
call fcn.0043bdc0
push dword [esi + 0x44c964]
lea eax, [ebp - 0xa0]
push eax
call fcn.0043bdc0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043d9e3
add esp, 0x2c
pop edi
jmp 0x43c63d
lea eax, [ebp + 8]
lea esi, [esi + 0x44c964]
push 0
push eax
push dword [esi]
call fcn.00438be0
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