joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
cmp eax, 0x200
jle 0x487719
mov edx, dword [ebp + 0xc]
mov eax, dword [0x514444]
mov dword [ebp - 4], edx
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 0xd]
add ecx, 0x200
xor edi, edi
cmp ecx, dword [eax + 9]
jle 0x4876c3
mov ecx, dword [eax + 9]
mov esi, dword [eax + 0xd]
mov ebx, ecx
sub ebx, esi
sub esi, ecx
add esi, 0x200
test ebx, ebx
jle 0x4875af
mov eax, dword [ebp + 0x10]
push eax
push ebx
push 1
push edx
call fcn.00498c5a
mov edi, eax
mov eax, dword [0x514444]
add esp, 0x10
cmp edi, ebx
jne 0x4876e5
cmp esi, dword [eax + 9]
jle 0x48764a
jmp 0x4875c0
mov edx, dword [eax + 1]
mov eax, dword [0x514304]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00487200
add esp, 0x10
cmp eax, 1
je 0x487753
mov ecx, dword [ebp + 8]
mov edx, dword [0x514444]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [ebp - 4]
push eax
add ecx, edi
push 1
push ecx
call fcn.00498c5a
add edi, eax
mov eax, dword [0x514444]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x514444]
sub esi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x514304]
mov ecx, dword [0x514444]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00485d40
mov eax, dword [0x514444]
add esp, 0x1c
cmp esi, dword [eax + 9]
jg 0x4875c0
test esi, esi
je 0x4876e5
mov edx, dword [eax + 1]
mov eax, dword [0x514304]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00487200
add esp, 0x10
cmp eax, 1
je 0x487753
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
push esi
add edx, edi
push 1
push edx
call fcn.00498c5a
add edi, eax
mov eax, dword [0x514444]
mov dword [eax + 0xd], esi
mov eax, dword [0x514444]
inc dword [eax + 1]
mov ecx, dword [0x514304]
mov edx, dword [0x514444]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00485d40
add esp, 0x1c
jmp 0x4876e0
add dword [eax + 0xd], 0x200
mov ecx, dword [ebp + 8]
push ecx
push 0x200
push 1
push edx
call fcn.00498c5a
add esp, 0x10
mov edi, eax
mov eax, dword [0x514444]
cmp edi, 0x200
jne 0x487753
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
sub esi, edi
mov edi, dword [ebp - 0xc]
add edi, 0x200
add edx, 0x200
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
cmp esi, 0x200
jg 0x487560
test esi, esi
je 0x487745
mov edx, dword [ebp + 0xc]
lea eax, [edi + edx]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call fcn.00487390
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, esi
jne 0x487753
add edi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x514304]
cmp byte [eax + 0x19], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
jne 0x48779f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.00498c5a
imul esi, edi
add esp, 0x10
add dword [0x514312], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x514444]
cmp byte [eax], 1
jne 0x4877d0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
imul ecx, edi
push edx
push eax
push ecx
call fcn.00487530
add esp, 0x10
test eax, eax
je 0x4877f7
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov edx, esi
imul edx, edi
push eax
push ecx
push edx
call fcn.00487390
add esp, 0x10
test eax, eax
je 0x4877f7
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
add dword [0x514312], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x487810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
push 1
push ebx
call fcn.0049872e
mov esi, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
cmp eax, edi
je 0x48791d
sub edi, eax
mov eax, dword [0x514444]
cmp edi, dword [eax + 9]
jle 0x4878bf
mov edx, dword [eax + 1]
mov eax, dword [0x514304]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00487200
add esp, 0x10
cmp eax, 1
je 0x487924
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x514444]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
push eax
add ecx, ebx
push 1
push ecx
call fcn.0049872e
add dword [esi], eax
mov eax, dword [0x514444]
mov edx, dword [0x514304]
sub edi, dword [eax + 9]
mov eax, dword [eax + 1]
add edx, 0x127
push edx
push eax
push 0xc03
call fcn.00485d40
mov eax, dword [0x514444]
inc dword [eax + 1]
mov eax, dword [0x514444]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x487845
mov edx, dword [eax + 1]
mov eax, dword [0x514304]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00487200
add esp, 0x10
test eax, eax
jne 0x487924
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
push ecx
push edi
add edx, ebx
push 1
push edx
call fcn.0049872e
add dword [esi], eax
mov eax, dword [0x514304]
mov ecx, dword [0x514444]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
push edx
push 0xc03
call fcn.00485d40
mov eax, dword [0x514444]
add esp, 0x1c
inc dword [eax + 1]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
mov dword [esi], 0
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x487940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
cmp esi, 0x200
jle 0x487aa3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push 0x200
lea ebx, [edi + ecx]
push 1
push ebx
mov dword [ebp + 8], eax
call fcn.0049872e
mov esi, eax
add esp, 0x10
cmp esi, 0x200
je 0x487a86
mov eax, dword [0x514444]
mov edi, 0x200
sub edi, esi
cmp edi, dword [eax + 9]
jle 0x487a1a
mov eax, dword [eax + 1]
mov ecx, dword [0x514304]
push 0
lea edx, [ebp + 8]
push edx
push eax
add ecx, 0x127
push ecx
call fcn.00487200
add esp, 0x10
cmp eax, 1
je 0x487add
mov edx, dword [ebp + 8]
mov eax, dword [0x514444]
mov ecx, dword [eax + 9]
push edx
push ecx
lea edx, [ebx + esi]
push 1
push edx
call fcn.0049872e
mov ecx, dword [0x514304]
add esi, eax
mov eax, dword [0x514444]
mov edx, dword [eax + 1]
sub edi, dword [eax + 9]
add ecx, 0x127
push ecx
push edx
push 0xc03
call fcn.00485d40
mov eax, dword [0x514444]
inc dword [eax + 1]
mov eax, dword [0x514444]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x4879a0
mov edx, dword [eax + 1]
mov eax, dword [0x514304]
push 0
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00487200
add esp, 0x10
test eax, eax
jne 0x487add
mov ecx, dword [ebp + 8]
push ecx
push edi
push 1
add ebx, esi
push ebx
call fcn.0049872e
mov edx, dword [0x514304]
add esi, eax
mov eax, dword [0x514444]
mov ecx, dword [eax + 1]
add edx, 0x127
push edx
push ecx
push 0xc03
call fcn.00485d40
mov eax, dword [0x514444]
inc dword [eax + 1]
add esp, 0x1c
cmp esi, 0x200
jne 0x487add
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub eax, 0x200
add edi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp eax, 0x200
jg 0x487960
mov esi, eax
test esi, esi
je 0x487acf
mov edx, dword [ebp + 0xc]
lea eax, [edi + edx]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call fcn.00487810
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, esi
jne 0x487add
add edi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487af0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x514304]
cmp byte [eax + 0x17], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
jne 0x487b2f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.0049872e
imul esi, edi
add esp, 0x10
sub dword [0x514312], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x514444]
cmp byte [eax], 1
jne 0x487b60
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
imul ecx, edi
push edx
push eax
push ecx
call fcn.00487940
add esp, 0x10
test eax, eax
je 0x487b87
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov edx, esi
imul edx, edi
push eax
push ecx
push edx
call fcn.00487810
add esp, 0x10
test eax, eax
je 0x487b87
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
sub dword [0x514312], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x488dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0
push edi
mov edi, dword [0x514304]
je 0x488de9
cmp byte [edi + 0x331], 0
jmp 0x488df0
cmp byte [edi + 0x332], 0
je 0x488e4c
mov ecx, dword [ebp + 8]
mov eax, ecx
push esi
lea esi, [eax + 1]
jmp 0x488e00
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x488e00
sub eax, esi
cmp byte [edi + 0x332], 0
lea edx, [eax - 1]
je 0x488e4b
test edx, edx
jle 0x488e4b
xor esi, esi
cmp dword [ebp + 0x10], esi
jbe 0x488e4b
mov edi, dword [ebp + 0xc]
push ebx
xor eax, eax
test edx, edx
jle 0x488e44
lea ebx, [ebx]
movzx ebx, byte [eax + ecx]
xor byte [esi + edi], bl
movzx ebx, byte [eax + ecx + 1]
xor byte [eax + ecx], bl
inc eax
cmp eax, edx
jl 0x488e30
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x488e24
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x489160
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x108]
push edx
push eax
call fcn.0049cad2
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.0049ce0e
add esp, 0x28
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret
Function at 0x48a5d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00491e90
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00491e90
mov al, 0x3a
add esp, 0x18
cmp byte [ebx + 1], al
je 0x48a694
cmp byte [esi + 1], al
je 0x48a699
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0049cad2
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x48a6f2
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a665
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x48a6f2
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48a680
mov dx, word [0x4cf9a0]
mov word [edi], dx
jmp 0x48a6f2
cmp byte [esi + 1], al
jne 0x48a6f2
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0049cad2
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x48a6f2
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a6c1
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x48a6f2
lea edi, [ebp - 0x108]
dec edi
jmp 0x48a6e0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48a6e0
mov cx, word [0x4cf9a0]
mov word [edi], cx
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48a6f6
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48a706
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push 0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004a9da7
add esp, 8
xor ecx, ecx
cmp eax, 0xffffffff
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492093
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test ecx, ecx
je 0x48c7fe
mov edx, dword [ebp + 8]
push edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4fbd50]
inc edx
dec ecx
jne 0x48c7e4
pop edi
not eax
mov dword [esi], eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
test edx, edx
je 0x48c859
push ebx
push esi
mov esi, dword [ebp + 8]
movzx ecx, word [esi]
mov ebx, ecx
xor ebx, eax
shr eax, 8
and ebx, 0xff
xor eax, dword [ebx*4 + 0x4fbd50]
shr ecx, 8
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4fbd50]
add esi, 2
dec edx
jne 0x48c825
pop esi
pop ebx
not eax
mov dword [edi], eax
pop edi
pop ebp
ret
Function at 0x48c860
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x48c88b
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4fbd50]
inc edx
dec ecx
jne 0x48c871
pop esi
mov ecx, dword [ebp + 0x10]
not eax
mov word [ecx], ax
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x48c8cb
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4fbd50]
inc edx
dec ecx
jne 0x48c8b1
pop esi
mov ecx, dword [ebp + 0x10]
not eax
mov dword [ecx], eax
pop ebp
ret
Function at 0x492093
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4fc5b0]
jne 0x49209d
repz ret
jmp fcn.004a0f25

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x492933
call fcn.0049b948
and dword [eax], 0
call fcn.0049b935
mov dword [eax], 0x16
call fcn.004a03de
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x492950
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049b95b
pop ecx
jmp 0x49292e
test byte [ebp + 0xc], 0x80
je 0x49295b
and eax, 0xfffffffe
jmp 0x49295e
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x492941
xor eax, eax
pop ebp
ret

Function at 0x4a9d28
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 0x4a9d4f
call fcn.0049b948
mov dword [eax], esi
call fcn.0049b935
push 0x16
pop esi
mov dword [eax], esi
call fcn.004a03de
mov eax, esi
jmp 0x4a9da4
test dword [ebp + 0xc], 0xfffffff9
jne 0x4a9d35
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4a9d7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0049b95b
pop ecx
call fcn.0049b935
mov eax, dword [eax]
jmp 0x4a9da4
test al, 0x10
jne 0x4a9da2
test al, 1
je 0x4a9da2
test byte [ebp + 0xc], 2
je 0x4a9da2
call fcn.0049b948
mov dword [eax], 5
call fcn.0049b935
mov dword [eax], 0xd
jmp 0x4a9d73
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4b1e0d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004a20e6
and dword [ebp - 0x14], 0
cmp dword [0x517e60], 0
mov dword [ebp - 0x18], eax
jne 0x4b1ec0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4b1f68
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4b1f68
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x517e60], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x517e64], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x517e68], eax
call edi
push eax
call esi
mov dword [0x517e70], eax
test eax, eax
je 0x4b1ec0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x517e6c], eax
mov eax, dword [0x517e6c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4b1f19
cmp dword [0x517e70], ecx
je 0x4b1f19
push eax
call esi
push dword [0x517e70]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4b1f19
test ebx, ebx
je 0x4b1f19
call edi
test eax, eax
je 0x4b1f10
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4b1f10
test byte [ebp - 8], 1
jne 0x4b1f19
or dword [ebp + 0x10], 0x200000
jmp 0x4b1f4c
mov eax, dword [0x517e64]
cmp eax, dword [ebp - 0x18]
je 0x4b1f4c
push eax
call esi
test eax, eax
je 0x4b1f4c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4b1f4c
mov eax, dword [0x517e68]
cmp eax, dword [ebp - 0x18]
je 0x4b1f4c
push eax
call esi
test eax, eax
je 0x4b1f4c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x517e60]
call esi
test eax, eax
je 0x4b1f68
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4b1f6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00492093
leave
ret

Function at 0x4b6350
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x401330
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x426034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x310]
push eax
push edi
mov ebx, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x308], eax
test eax, eax
je 0x401427
push esi
push eax
call sub.mfc120.dll_Ordinal_265
add esp, 4
mov esi, eax
push esi
push dword [ebp - 0x308]
push dword [ebp - 0x310]
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x401419
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x30c]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401419
mov ecx, dword [ebp - 0x30c]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x304]
push str.StringFileInfo_04x_04xPrivateBuild
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x304]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401419
push dword [ebp - 0x314]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
push 0x40e
call sub.mfc120.dll_Ordinal_5306
mov ecx, eax
call sub.mfc120.dll_Ordinal_13914
test esi, esi
je 0x401426
push esi
call sub.mfc120.dll_Ordinal_266
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00417198
mov esp, ebp
pop ebp
ret 4
Function at 0x404410
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4181f4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x426034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc120.dll_Ordinal_310]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_316]
push 0x41b330
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc120.dll_Ordinal_2944]
test eax, eax
je 0x40450f
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x41bc8c
lea ecx, [ebp + 8]
call dword [sym.imp.mfc120.dll_Ordinal_4613]
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_8204]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1687]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0
push 0x41bc8c
lea ecx, [ebp + 8]
call dword [sym.imp.mfc120.dll_Ordinal_4613]
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_8599]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call edi
push 0x41b330
lea ecx, [ebp + 8]
mov esi, eax
call dword [sym.imp.mfc120.dll_Ordinal_2944]
test eax, eax
jne 0x404473
jmp 0x404512
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4050f0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 0x150]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [edi + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
call esi
mov ebx, 1
cmp ebx, eax
sbb eax, eax
neg eax
je 0x405132
lea esp, [esp]
cmp eax, 0xffffffff
je 0x405132
push dword [edi + 0x2c]
call esi
cmp ebx, eax
sbb eax, eax
neg eax
jne 0x405120
push 1
push dword [edi + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [edi + 0x14c]
call esi
push 0xffffffffffffffff
push dword [edi + 0x2c]
call esi
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
pop edi
pop esi
pop ebx
ret