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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041acf1

Function at 0x41b05a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ae80

Function at 0x41b454
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a840
mov eax, dword [0x480a00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00418c95
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41b496
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41b5f2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425b80
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x483190]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041c1f3
mov ecx, dword [esi*4 + 0x483190]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41b5eb
cmp eax, dword [edi + ecx + 0x24]
jne 0x41b5eb
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b5eb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c1f3
add esp, 0x14
test edx, edx
jl 0x41b5eb
jg 0x41b561
test eax, eax
jb 0x41b5eb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41b5eb
jl 0x41b57b
cmp dword [ebp - 0x1008], eax
ja 0x41b5eb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41b599
test ebx, ebx
je 0x41b5d2
cmp ecx, edi
jae 0x41b5d2
mov al, byte [ecx]
cmp al, 0xd
jne 0x41b5b3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41b5bf
cmp byte [ecx + 1], 0xa
jne 0x41b5bf
inc ecx
jmp 0x41b5bf
movzx eax, al
movsx eax, byte [eax + 0x480cc0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41b599
cmp edx, ebx
jne 0x41b599
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41b5f0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409e84
leave
ret
Function at 0x41b691
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x483190]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b6d1
cmp byte [ebx], 0xa
jne 0x41b6d1
or byte [eax + edi + 0x28], 4
jmp 0x41b6d6
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41b7d4
mov al, byte [edx]
cmp al, 0x1a
je 0x41b7b6
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41b705
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41b72a
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41b734
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41b6e7
jmp 0x41b7d4
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b7b1
cmp dword [ebp - 0xc], 0
je 0x41b7b1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483190]
test byte [eax + edi + 0x28], 0x48
je 0x41b78b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41b776
mov byte [esi], dl
jmp 0x41b787
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483190]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41b7d4
cmp byte [ebp - 1], 0xa
jne 0x41b79a
cmp esi, ebx
jne 0x41b79a
mov byte [esi], 0xa
jmp 0x41b7d3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041c211
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41b7d4
mov byte [esi], 0xd
jmp 0x41b7d3
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483190]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b7d0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b7d4
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41b7dd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x483190]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41b820
cmp word [esi], dx
jne 0x41b820
or byte [edi + eax + 0x28], 4
jmp 0x41b825
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41b978
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41b958
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41b867
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41b89d
cmp eax, edx
jae 0x41b8a9
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41b83f
jmp 0x41b978
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b954
cmp dword [ebp - 0x14], 0
je 0x41b954
mov eax, dword [ebx*4 + 0x483190]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41b92c
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41b8f5
mov word [esi], cx
jmp 0x41b928
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x483190]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x483190]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x483190]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41b978
pop ebx
cmp word [ebp - 4], bx
jne 0x41b93d
cmp esi, dword [ebp + 0xc]
jne 0x41b93d
mov word [esi], bx
jmp 0x41b975
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041c211
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41b978
push 0xd
jmp 0x41b971
mov ecx, dword [ebx*4 + 0x483190]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41b96f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41b978
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e184
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41e221
push ebx
push esi
call fcn.0041e14d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041cdd2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e1ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e220
push edi
push eax
call fcn.00417def
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e1ee
call fcn.00416dfb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e21f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cdd2
add esp, 0x20
test eax, eax
jne 0x41e20d
push edi
call fcn.00416dfb
jmp 0x41e215
push ebx
call fcn.00416dfb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x425980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4259ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4259ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4272f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x480a00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp + 0xc], esi
jbe 0x42737e
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
push str.Open_Cards
push 0x482720
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402066
mov al, byte [edi + esi]
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
push str.Taste
mov byte [edi + esi], al
call fcn.004052d1
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0x4285a0
call fcn.004023cf
cmp dword [ebp - 8], 0xf
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push eax
call fcn.0040ef6e
xor byte [edi + esi], al
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.004046bc
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x427310
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00409e84
leave
ret 8
Function at 0x40a3e0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 4]
jne 0x40a4cb
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_PtInRect]
movsx edi, ax
shr eax, 0x10
movsx ebx, ax
cmp dword [esi + 0xc8], 1
jne 0x40a445
push ebx
lea eax, [esi + 0x1a0]
push edi
push eax
call ebp
test eax, eax
je 0x40a445
mov ecx, dword [esi + 4]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop ebp
mov dword [esi + 0xc8], 0
pop ebx
xor eax, eax
pop esi
ret 0x10
cmp dword [esi + 0xc8], 2
jne 0x40a480
push ebx
lea edx, [esi + 0x1b8]
push edi
push edx
call ebp
test eax, eax
je 0x40a480
mov eax, dword [esi + 4]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop ebp
mov dword [esi + 0xc8], 0
pop ebx
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x40a4b8
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esi + 0x1a0]
push 0
push ecx
push edx
mov dword [esi + 0xc8], 0
call edi
mov ecx, dword [esi + 4]
lea eax, [esi + 0x1b8]
push 0
push eax
push ecx
call edi
pop edi
pop ebp
mov dword [esi + 0xc8], 0
pop ebx
xor eax, eax
pop esi
ret 0x10
xor eax, eax
pop esi
ret 0x10

Function at 0x40b4d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x76]
test al, al
je 0x40b53a
mov al, byte [esp + 8]
test al, al
je 0x40b53a
mov eax, dword [esi + 0x7c]
push edi
xor edi, edi
test eax, eax
jle 0x40b507
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x7c]
add esp, 4
sub edi, eax
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x1e8]
xor edx, edx
test ecx, ecx
setne dl
add edx, 0x14
push edi
push edx
mov ecx, esi
call fcn.0040ca70
mov eax, dword [esi + 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov ecx, esi
call fcn.0040a0d0
push 0
mov ecx, esi
call fcn.0040ad70
pop esi
ret 4

Function at 0x40b620
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov byte [esi + 0x76], 1
call fcn.0040b550
mov bl, al
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test bl, bl
jne 0x40b66f
mov ecx, dword [esi + 0x1e4]
test ecx, ecx
je 0x40b64a
cmp ecx, eax
jne 0x40b66f
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xc8
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
add esp, 0x14
ret
mov edx, dword [esi + 4]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x40b6b1
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_FlashWindowEx]
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40ce70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x40ce85
call fcn.0040c2a0
push edi
lea eax, [esi + 0x90]
push str.inmedia.cfg
lea ecx, [esp + 0xc]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
lea edx, [esi + 0x224]
mov ecx, 0x3f
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
pop edi
jne 0x40cec1
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x64
push edx
push str.inmedia4u.sandai.net
push str.udpserver
push str.EMBED
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 8]
test eax, eax
jne 0x40cee7
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0xc1c
push str.udpport
push str.EMBED
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 8]
mov dword [esi + 0x220], eax
test ecx, ecx
pop esi
je 0x40cf2a
mov al, byte [ecx - 1]
test al, al
je 0x40cf20
cmp al, 0xff
je 0x40cf20
dec al
mov byte [ecx - 1], al
add esp, 0x10
ret
dec ecx
push ecx
call fcn.00421c18
add esp, 4
add esp, 0x10
ret
Function at 0x40dd50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
push ebx
lea eax, [esp + 4]
push esi
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.CLSID8856F961_340A_11D0_A96B_00C04FD705A2InProcServer32
push SysReAllocString
xor esi, esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40de16
mov edx, dword [esp + 8]
cmp edx, ebx
je 0x40de16
push edi
mov ecx, 0x40
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [esp + 0x18]
lea eax, [esp + 0x1c]
push ecx
push eax
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ddff
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40ddff
push ebx
lea ecx, [esp + 0x14]
push ebx
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0041cf00
test al, al
je 0x40ddff
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shl esi, 8
add esi, eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x114
ret
mov eax, esi
pop esi
pop ebx
add esp, 0x114
ret

Function at 0x4108c0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebp
push esi
push edi
call ebx
mov esi, dword [esp + 0x18]
cmp eax, esi
je 0x410981
mov ebp, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
call ebp
push 0
mov edi, eax
call ebx
push eax
call ebp
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x410996
push 1
push 0
call ebx
push eax
call ebp
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push eax
push edi
call ebp
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov eax, dword [esp + 0x1c]
push eax
push edi
call ebp
call ebx
cmp eax, esi
je 0x410996
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0x2000
call edi
push 2
push 0
push 0
push 0x2000
call edi
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea edx, [esp + 0x10]
push 2
push edx
push 0
push 0x200
call edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4109a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4109d2
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4109c0
push 9
jmp 0x4109d4
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call fcn.004108c0
pop edi
pop esi
ret 4
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call edi
push 0x43
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
ret 4

Function at 0x413970
Capabilities:
Hash data with md5

Disassembly:
mov edx, ecx
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [edx + 0x18]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
rep stosd dword es:[edi], eax
pop edi
ret
Function at 0x416ff0
Capabilities:
Hash data using sha1

Disassembly:
mov edx, ecx
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [edx + 0x1c]
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
rep stosd dword es:[edi], eax
pop edi
ret

Function at 0x419180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x423492
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x20], esi
mov byte [esi + 4], al
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x13]
push 0x30
mov dword [esp + 0x30], ebx
mov byte [esi + 0x14], cl
mov byte [esi + 0x15], dl
mov byte [esi + 0x1c], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
lea ecx, [esp + 0x18]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x2c], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x42c56c], ebx
jne 0x419205
mov dword [0x42c56c], edi
mov dword [edi], ebx
mov eax, dword [0x42c56c]
xor ebp, ebp
mov dword [eax + 8], ebx
mov ecx, dword [0x42c568]
inc ecx
mov dword [0x42c568], ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x419229
push ebp
call fcn.00421c18
add esp, 4
mov edi, dword [0x42c56c]
push 0x30
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax + 4], edi
mov dword [eax + 0x2c], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
mov cl, byte [esp + 0x17]
mov dl, byte [esp + 0x17]
lea edi, [esi + 0x24]
push 0x14
mov byte [esp + 0x34], 1
mov byte [edi], cl
mov byte [edi + 1], dl
mov byte [edi + 8], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x42c564], ebx
jne 0x4192a3
mov dword [0x42c564], ebp
mov dword [ebp], ebx
mov eax, dword [0x42c564]
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebx
mov edx, dword [0x42c560]
lea ecx, [esp + 0x1c]
inc edx
mov dword [0x42c560], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4192cb
push eax
call fcn.00421c18
add esp, 4
mov ecx, dword [0x42c564]
push ebx
push ecx
mov ecx, edi
call fcn.0041c5d0
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov ecx, esi
mov byte [esp + 0x2c], 2
mov dword [esi], 0x424c08
call fcn.00419520
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x41ccc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x41ccd0
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
ret 4
Function at 0x41cf00
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push edi
mov dword [esp + 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jbe 0x41cfc3
push ebp
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebp, eax
push ebp
push esi
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41cfad
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x42aff0
push ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41cfad
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x41cfad
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp edx, ebx
je 0x41cf7d
mov esi, eax
shr esi, 0x10
mov dword [edx], esi
mov edx, dword [esp + 0x24]
cmp edx, ebx
je 0x41cf8c
and eax, 0xffff
mov dword [edx], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x41cf9b
mov edx, ecx
shr edx, 0x10
mov dword [eax], edx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41cfab
and ecx, 0xffff
mov dword [eax], ecx
mov bl, 1
push ebp
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, bl
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
pop edi
mov al, bl
pop esi
pop ebx
add esp, 8
ret 0x14