joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 8], 0
jne 0x1001b680
jmp 0x1001b72d
push 0x10060204
mov eax, dword [ebp + 8]
push eax
call fcn.10043098
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001b69f
jmp 0x1001b72d
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.100439c3
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.10047351
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001b6c6
jmp 0x1001b72d
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.100439c3
add esp, 0xc
test eax, eax
je 0x1001b6dc
jmp 0x1001b72d
mov eax, dword [0x1007e084]
add eax, 0x1a
push eax
push str.e:jenkins_workspaceworkspacelibcore_v2.6_for_windows_srcmoduleverifymodule_verify.c
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_Malloc]
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001b702
jmp 0x1001b72d
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.1004767c
add esp, 0x10
cmp eax, dword [ebp - 0xc]
je 0x1001b71f
jmp 0x1001b72d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x1001b75b
cmp dword [ebp - 0x10], 0
jge 0x1001b75b
mov eax, dword [0x1007e084]
add eax, 0x28
push eax
push str.e:jenkins_workspaceworkspacelibcore_v2.6_for_windows_srcmoduleverifymodule_verify.c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.inicrypto_v5.4.1.dll_ISC_Free]
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
je 0x1001b76d
mov eax, dword [ebp - 8]
push eax
call fcn.10042bcc
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001b780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp + 0x14], 0
je 0x1001b7aa
cmp dword [ebp + 8], 0
jne 0x1001b7ac
jmp 0x1001b7fc
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
test eax, eax
jle 0x1001b7bc
cmp dword [ebp + 0x10], 0
jg 0x1001b7be
jmp 0x1001b7fc
push 0x100673bc
mov eax, dword [ebp + 0x14]
push eax
call fcn.10043098
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1001b7da
jmp 0x1001b7fc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
push edx
call fcn.100497b7
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x1001b80e
mov eax, dword [ebp - 4]
push eax
call fcn.10042bcc
add esp, 4
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100251c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x100251c2
mov dword [ebp - 8], eax
inc ebp
clc
add ecx, 0x28
dec edx
jne 0x100251b3
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10024f6e
aam 0x1a
pop esi
inc esi
lea eax, [ebp - 0x58]
push eax
call fcn.10024f7e
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10024f33
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1002525c
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10024f6e
invalid
Function at 0x10025c30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10025c62
cmp dword [ebp - 0x398], 0
je 0x10025e2c
cmp dword [ebp + 0xc], 1
je 0x10025e2c
cmp dword [ebp + 0xc], 8
jne 0x10025df4
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.10024f7e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
adc al, 0xe8
or eax, 0x83fffff2
les ecx, [ecx + ecx*4]
test dword [eax - 7], esi
invalid
inc esi
test dword [eax - 7], esp
invalid
dec dword [ebx - 0x69e7280]
invalid
invalid
inc esi
test dword [edx - 7], esp
invalid
call dword [ebp - 0x3a]
test dword [ebx - 7], esp
invalid
dec dword [ebx - 0x69b7a3a]
invalid
invalid
in al, dx
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.10024f6e
lcall 0x68b5, 0xffcf4b56
stc
invalid
call fcn.10024f6e
ret
Function at 0x10025e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.10024f6e
xchg ebx, ebx
std
pop edx
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10024f4c
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
cmp dh, al
test dword [ecx + 0x11fffffc], esp

Function at 0x10042b46
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1007e570]
jne 0x10042b50
repz ret
jmp fcn.1004f33d
Function at 0x10059ba5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1004ccd4
and dword [ebp - 4], 0
cmp dword [0x1007ffa8], 0
mov ebx, eax
jne 0x10059c56
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10059d07
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10059d07
push eax
call fcn.1004cc62
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1007ffa8], eax
call esi
push eax
call fcn.1004cc62
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1007ffac], eax
call esi
push eax
call fcn.1004cc62
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1007ffb0], eax
call esi
push eax
call fcn.1004cc62
pop ecx
mov dword [0x1007ffb8], eax
test eax, eax
je 0x10059c56
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1004cc62
pop ecx
mov dword [0x1007ffb4], eax
mov eax, dword [0x1007ffb4]
cmp eax, ebx
je 0x10059cae
cmp dword [0x1007ffb8], ebx
je 0x10059cae
push eax
call fcn.1004ccdd
push dword [0x1007ffb8]
mov esi, eax
call fcn.1004ccdd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10059cae
test edi, edi
je 0x10059cae
call esi
test eax, eax
je 0x10059ca5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10059ca5
test byte [ebp - 0xc], 1
jne 0x10059cae
or dword [ebp + 0x10], 0x200000
jmp 0x10059ce7
mov eax, dword [0x1007ffac]
cmp eax, ebx
je 0x10059ce7
push eax
call fcn.1004ccdd
pop ecx
test eax, eax
je 0x10059ce7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10059ce7
mov eax, dword [0x1007ffb0]
cmp eax, ebx
je 0x10059ce7
push eax
call fcn.1004ccdd
pop ecx
test eax, eax
je 0x10059ce7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1007ffa8]
call fcn.1004ccdd
pop ecx
test eax, eax
je 0x10059d07
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10059d09
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005e354
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1005e385
call fcn.1004aae7
mov dword [eax], esi
call fcn.1004aad4
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.1004a84a
add esp, 0x14
push 0x16
pop eax
jmp 0x1005e3da
test dword [ebp + 0xc], 0xfffffff9
jne 0x1005e361
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1005e3b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004aafa
pop ecx
call fcn.1004aad4
mov eax, dword [eax]
jmp 0x1005e3da
test al, 0x10
jne 0x1005e3d8
test al, 1
je 0x1005e3d8
test byte [ebp + 0xc], 2
je 0x1005e3d8
call fcn.1004aae7
mov dword [eax], 5
call fcn.1004aad4
mov dword [eax], 0xd
jmp 0x1005e3a9
xor eax, eax
pop esi
pop ebp
ret
Function at 0x405e93
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, dword [0x42c358]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
mov eax, 0
sete al
jmp 0x405ecc
leave
ret

Function at 0x405ece
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, dword [0x42c358]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
mov eax, 0
sete al
jmp 0x405f07
leave
ret

Function at 0x406679
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_system
add esp, 4
jmp 0x406694
leave
ret

Function at 0x407012
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
nop
mov eax, 0x42c391
push eax
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_fopen
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x40703e
jmp 0x407048
mov eax, 0
jmp 0x407103
mov eax, 2
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll_ftell
add esp, 4
mov dword [0x42c35c], eax
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
mov eax, dword [0x42c35c]
inc eax
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x4070ef
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x42c35c]
push eax
mov eax, 1
push eax
mov eax, dword [ebp - 4]
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
mov ecx, dword [0x42c35c]
cmp eax, ecx
jne 0x4070e7
mov eax, dword [ebp - 4]
mov ecx, dword [0x42c35c]
add eax, ecx
mov ecx, 0
mov byte [eax], cl
jmp 0x4070ef
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x407103
leave
ret

Function at 0x41a1fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, 0
mov dword [0x433d30], eax
mov dword [0x433d0c], eax
mov eax, 6
push eax
mov eax, dword [0x433c68]
push eax
call sub.user32.dll_ShowWindow
leave
ret

Function at 0x41a39c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
nop
call fcn.0041a380
test eax, eax
je 0x41a3b8
jmp 0x41a3c2
mov eax, 0
jmp 0x41a3ff
mov eax, 0
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x41a3da
jmp 0x41a3e4
mov eax, 0
jmp 0x41a3ff
mov eax, 1
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 8]
jmp 0x41a3ff
leave
ret
Function at 0x41a401
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
nop
mov eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00401cd3
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
inc eax
push eax
mov eax, 0x2002
push eax
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
inc eax
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, 0
mov byte [eax], cl
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, 0
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x41a486
jmp 0x41a490
mov eax, 0
jmp 0x41a4c6
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x14]
push eax
mov eax, 1
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
je 0x41a4b1
jmp 0x41a4b9
mov eax, 0
mov dword [ebp - 4], eax
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 4]
jmp 0x41a4c6
leave
ret
Function at 0x42b980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
nop
lea eax, [ebp - 0x18]
push eax
call fcn.0042bc11
add esp, 4
mov eax, 2
push eax
call sub.msvcrt.dll___set_app_type
add esp, 4
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42ba80
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
jne 0x42b9e9
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x42b9cb
mov eax, dword [ebp - 0x1c]
mov ecx, 0x22
movsx edx, byte [eax]
cmp ecx, edx
jne 0x42ba36
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
movsx ecx, byte [eax]
test ecx, ecx
je 0x42ba31
mov eax, dword [ebp - 0x1c]
mov ecx, 0x22
movsx edx, byte [eax]
cmp ecx, edx
jne 0x42ba2f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x42ba31
jmp 0x42b9fc
jmp 0x42ba62
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x42ba62
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
je 0x42ba62
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x42ba36
mov eax, dword [ebp - 0x1c]
mov ecx, 0x20
movsx edx, byte [eax]
cmp ecx, edx
jne 0x42ba80
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x42ba62
lea eax, [ebp - 0x60]
push eax
call sub.kernel32.dll_GetStartupInfoA
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
and eax, 1
mov ecx, 0
cmp ecx, eax
jne 0x42baab
mov eax, 0xa
mov dword [ebp - 0x64], eax
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.00426c71
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
call fcn.0041a922
add esp, 4
leave
ret
Function at 0x4044d5
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
sub eax, edi
je 0x404575
dec eax
jne 0x4045da
push 0x40130c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4012f8
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
inc dword [0x40ebf8]
mov esi, eax
cmp esi, edi
je 0x404549
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x404557
mov eax, dword [ebp + 8]
mov dword [0x40ebd8], esi
mov dword [0x40ebc0], eax
mov dword [0x40ebdc], edi
mov dword [0x40ebc4], edi
mov dword [0x40ebcc], edi
jmp 0x4045da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4012c0
jmp 0x40456a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4045da
call ebx
push eax
push 0x401290
call fcn.0040674d
pop ecx
pop ecx
xor eax, eax
jmp 0x4045dd
push 0x40127c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
dec dword [0x40ebf8]
jne 0x4045da
push dword [0x40ebd8]
mov dword [0x40ebcc], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x4045b3
call esi
push eax
push 0x401244
call fcn.0040674d
pop ecx
pop ecx
mov eax, dword [0x40ebc4]
cmp eax, edi
je 0x4045da
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x4045da
call esi
cmp eax, edi
je 0x4045da
push eax
push 0x40120c
call fcn.0040674d
pop ecx
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4045e9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x40e044]
and dword [ebp - 0x10c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10c]
push eax
push 1
xor ebx, ebx
push ebx
push 0x401418
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404639
push eax
push 0x4013dc
call fcn.0040674d
pop ecx
pop ecx
xor eax, eax
jmp 0x4046b8
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push 0x4013d4
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40468c
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.00406519
test eax, eax
jne 0x404687
push 0x40139c
call fcn.0040674d
jmp 0x404698
xor ebx, ebx
inc ebx
jmp 0x404699
push eax
push 0x40135c
call fcn.0040674d
pop ecx
pop ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4046b6
push eax
push 0x401320
call fcn.0040674d
pop ecx
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00406819
leave
ret 4
Function at 0x404f51
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
xor esi, esi
mov dword [ebx], esi
mov dword [ebp - 4], esi
mov dword [edi], esi
call fcn.0040642d
push eax
call fcn.00406468
push 0x401e18
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405067
push 0x12
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 8]
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov esi, eax
xor eax, eax
test esi, esi
je 0x4050f8
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x20
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
je 0x404fd1
push 0x401ddc
jmp 0x405015
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
mov dword [ebp - 0x34], 0x73726576
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
je 0x404ffe
push 0x401da0
jmp 0x405015
push 8
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.WINMM.dll_mmioRead]
cmp eax, 8
je 0x40503a
push 0x401d6c
call fcn.0040674d
pop ecx
push 0
push esi
call dword [sym.imp.WINMM.dll_mmioClose]
test eax, eax
je 0x405033
push 0x401d38
call fcn.0040674d
pop ecx
xor eax, eax
jmp 0x4050f8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
push 0
push esi
mov dword [ecx], eax
call dword [sym.imp.WINMM.dll_mmioClose]
test eax, eax
je 0x40505f
push 0x401d38
call fcn.0040674d
pop ecx
xor eax, eax
inc eax
jmp 0x4050f8
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x4050f5
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, esi
mov dword [ebp + 0x10], eax
je 0x4050f5
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4050d5
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x401d34
push dword [ebp + 0x10]
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4050d5
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x4050d5
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
jne 0x4050f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x401cf0
call fcn.0040674d
pop ecx
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc