joyce8/EMBER2024-capa huggingface dataset:
Function at 0x339f6b1
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x3415a34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x34099e8
push esi
call fcn.033a9197
pop ecx
pop ecx
test eax, eax
jne 0x339f6df
xor al, al
jmp 0x339f75c
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0339f3b5
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x339f719
push dword [ebp - 0x210]
call fcn.03390752
xor al, al
jmp 0x339f75a
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x339f71f
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x339f73f
push edx
call fcn.0339f5e7
pop ecx
test al, al
je 0x339f70a
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x339f74d
mov bl, 1
push dword [ebp - 0x210]
call fcn.03390752
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0338ca36
leave
ret
Function at 0x33a1e5b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0338cac0
mov eax, dword [0x3415a34]
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.033a170d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x33a1e9d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x33a1ff9
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0338d260
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 + 0x3418a10]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0339ca55
mov ecx, dword [esi*4 + 0x3418a10]
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 0x33a1ff2
cmp eax, dword [edi + ecx + 0x24]
jne 0x33a1ff2
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 0x33a1ff2
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0339ca55
add esp, 0x14
test edx, edx
jl 0x33a1ff2
jg 0x33a1f68
test eax, eax
jb 0x33a1ff2
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x33a1ff2
jl 0x33a1f82
cmp dword [ebp - 0x1008], eax
ja 0x33a1ff2
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x33a1fa0
test ebx, ebx
je 0x33a1fd9
cmp ecx, edi
jae 0x33a1fd9
mov al, byte [ecx]
cmp al, 0xd
jne 0x33a1fba
lea eax, [edi - 1]
cmp ecx, eax
jae 0x33a1fc6
cmp byte [ecx + 1], 0xa
jne 0x33a1fc6
inc ecx
jmp 0x33a1fc6
movzx eax, al
movsx eax, byte [eax + 0x3415b38]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x33a1fa0
cmp edx, ebx
jne 0x33a1fa0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x33a1ff7
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0338ca36
leave
ret

Function at 0x33a6aa2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x340afe4
push 0x340afdc
push str.FlsAlloc
push 0x1e
call fcn.033a6923
mov esi, eax
add esp, 0x10
test esi, esi
je 0x33a6ad6
push dword [ebp + 8]
mov ecx, esi
call dword [0x33b1328]
call esi
jmp 0x33a6adc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x33a6b20
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x340aff4
push 0x340afec
push str.FlsGetValue
push 0x20
call fcn.033a6923
mov esi, eax
add esp, 0x10
test esi, esi
je 0x33a6b57
push dword [ebp + 8]
mov ecx, esi
call dword [0x33b1328]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x33a8521
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.033a849d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x33a8699
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x33a8699
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x33a8648
jg 0x33a857a
test eax, eax
je 0x33a863e
push 1
push 0x1000
call fcn.033a5e1f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x33a85a0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x33a8635
push 0x8000
push ebx
call fcn.033a24d2
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x33a85cc
jg 0x33a85c7
cmp ecx, 0x1000
jb 0x33a85cc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.033a8221
add esp, 0x10
cmp eax, 0xffffffff
je 0x33a8611
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x33a85c7
jl 0x33a85f8
test ecx, ecx
jne 0x33a85b9
push dword [ebp - 0xc]
push ebx
call fcn.033a24d2
push esi
call fcn.033a3e08
add esp, 0xc
xor edi, edi
jmp 0x33a86aa
cmp byte [edi + 0x24], 0
je 0x33a8628
cmp dword [edi + 0x20], 5
jne 0x33a8628
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x33a8633
mov edi, dword [edi + 0x18]
jmp 0x33a8635
xor edi, edi
push esi
call fcn.033a3e08
pop ecx
jmp 0x33a86aa
test ecx, ecx
jg 0x33a860a
jl 0x33a8648
test eax, eax
jae 0x33a860a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0339ca73
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x33a866b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x33a860a
jmp 0x33a86a2
push ebx
call fcn.033a01fa
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x33a860a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x33a86aa
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x33a86a7
mov edi, dword [edi + 0x18]
jmp 0x33a86aa
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0339ca73
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x33a8a0c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.033a887d
Function at 0x33aac28
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 0x33aacc5
push ebx
push esi
call fcn.033aabf1
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.033a7771
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x33aac72
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x33aacc4
push edi
push eax
call fcn.033a3e42
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x33aac92
call fcn.033a3e08
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x33aacc3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.033a7771
add esp, 0x20
test eax, eax
jne 0x33aacb1
push edi
call fcn.033a3e08
jmp 0x33aacb9
push ebx
call fcn.033a3e08
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 0x33aacc8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x33aacd9
pop esi
ret
push ebx
push edi
push esi
call fcn.033aabf1
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.033a3e42
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x33aad01
push ebx
push esi
push edi
call fcn.0338dca0
add esp, 0xc
push 0
call fcn.033a3e08
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x33ab44d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.033aaf74

Function at 0x33b0530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x33b055d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x33b055d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x460a10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov edi, 1
mov byte [ebp - 0x108], 0
call fcn.00432800
lea eax, [ebp - 0x30c]
push eax
push 0
push 0
push 0
push esi
call fcn.00432136
lea eax, [ebp - 0x30c]
push str..tif
push eax
call fcn.00445d54
add esp, 0x28
test eax, eax
jne 0x401831
lea eax, [ebp - 0x108]
push eax
push 0
push 0x446228
push 0x44622c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x108]
push eax
push esi
push str.__reading_tiff_file__s_to_bmp_file__s_n
call fcn.0042f3f0
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00401e20
add esp, 0x14
test eax, eax
jne 0x401829
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
lea eax, [ebp - 0x108]
push eax
push esi
push str.__error_reading_tiff_file__s_to_bmp_file__s_n
call fcn.0042f3b0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0x108]
xor edi, edi
lea eax, [ebp - 0x31c]
push eax
call fcn.0043279f
push esi
push str.__extracting_vectors_from_file__s_n
call fcn.0042f3f0
movsd xmm0, qword [ebp + 0x14]
push ecx
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp + 0xc]
movsd qword [esp], xmm0
push ebx
push edi
push esi
call fcn.0042e890
add esp, 0x1c
test eax, eax
jne 0x4018b1
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401876
sub ecx, edx
je 0x401890
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
push esi
push str.__error_extracting_vectors_from_file__s_n
call fcn.0042f3b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x314]
push eax
call fcn.0043279f
lea eax, [ebp - 0x31c]
push eax
call fcn.00432734
lea edx, [ebp - 0x208]
add esp, 8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x4018d4
lea eax, [ebp - 0x314]
push eax
call fcn.00432734
lea edx, [ebp - 0x188]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x4018f7
push dword [ebp - 0x318]
push dword [ebp - 0x31c]
push dword [ebp - 0x310]
push dword [ebp - 0x314]
call fcn.004326ed
fstp qword [esp + 8]
add esp, 8
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x208]
push eax
push str.__file_successfully_converted_n__start_conversion_time_...:__s__end_conversion_time_.....:__s__computation_time_........:__lf_sec_n
call fcn.0042f3f0
lea ecx, [ebp - 0x108]
add esp, 0x14
lea edx, [ecx + 1]
jmp 0x401950
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401950
sub ecx, edx
je 0x40196a
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004327ee
mov esp, ebp
pop ebp
ret
Function at 0x401980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x460a10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x1c]
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00432800
lea eax, [ebp - 0x30c]
push eax
push 0
push 0
push 0
push esi
call fcn.00432136
lea eax, [ebp - 0x30c]
push str..tif
push eax
call fcn.00445d54
add esp, 0x28
test eax, eax
jne 0x401a58
lea eax, [ebp - 0x108]
push eax
push 0
push 0x446228
push 0x44622c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x108]
push eax
push esi
push str.__reading_tiff_file__s_to_bmp_file__s_n
call fcn.0042f3f0
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00401e20
add esp, 0x14
test eax, eax
jne 0x401a52
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
lea eax, [ebp - 0x108]
push eax
push esi
push str.__error_reading_tiff_file__s_to_bmp_file__s_n
call fcn.0042f3b0
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0x108]
lea eax, [ebp - 0x31c]
push eax
call fcn.0043279f
push esi
push str.__extracting_vectors_from_file__s_n
call fcn.0042f3f0
movsd xmm0, qword [ebp + 0x14]
push ecx
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp + 0xc]
movsd qword [esp], xmm0
push edi
push esi
call fcn.0042db50
add esp, 0x18
test eax, eax
jne 0x401ada
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401aa0
sub ecx, edx
je 0x401aba
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
push esi
push str.__error_extracting_vectors_from_file__s_n
call fcn.0042f3b0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x314]
push eax
call fcn.0043279f
lea eax, [ebp - 0x31c]
push eax
call fcn.00432734
lea edx, [ebp - 0x208]
add esp, 8
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x401b00
lea eax, [ebp - 0x314]
push eax
call fcn.00432734
lea edx, [ebp - 0x188]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x401b23
push dword [ebp - 0x318]
push dword [ebp - 0x31c]
push dword [ebp - 0x310]
push dword [ebp - 0x314]
call fcn.004326ed
fstp qword [esp + 8]
add esp, 8
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x208]
push eax
push str.__file_successfully_converted_n__start_conversion_time_...:__s__end_conversion_time_.....:__s__computation_time_........:__lf_sec_n
call fcn.0042f3f0
lea ecx, [ebp - 0x108]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b77
sub ecx, edx
je 0x401b91
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004327ee
mov esp, ebp
pop ebp
ret
Function at 0x418d00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x418d32
push esi
call fcn.0041e630
add esp, 4
cmp dword [esi + 0x3c], 0
je 0x418d2b
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x418db1
mov eax, dword [esi + 0x1a6]
cmp dword [eax + 0x10], 0
je 0x418d9a
mov eax, dword [esi + 8]
test eax, eax
je 0x418d55
push esi
call dword [eax]
add esp, 4
push esi
mov eax, dword [esi + 0x1a6]
call dword [eax]
add esp, 4
test eax, eax
je 0x418d96
cmp eax, 2
je 0x418d9a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x418d48
cmp eax, 3
je 0x418d7b
cmp eax, 1
jne 0x418d48
inc dword [ecx + 4]
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
cmp dword [ecx + 4], eax
jl 0x418d48
mov edx, dword [esi + 0x132]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x418d48
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x8c]
push esi
mov dword [esi + 0x94], eax
call fcn.00418de0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x418dd1
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x12
mov edx, dword [esi + 0x10]
mov eax, dword [esi]
mov dword [eax + 0x18], edx
mov eax, dword [esi]
call dword [eax]
add esp, 4
push esi
call fcn.00418de0
add esp, 4
pop esi
ret

Function at 0x418de0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push ebp
cmp dword [esi + 0x10], 0xcc
je 0x418e0e
push esi
mov eax, dword [esi + 0x196]
call dword [eax]
mov dword [esi + 0x88], 0
mov dword [esi + 0x10], 0xcc
add esp, 4
xor edi, edi
mov eax, dword [esi + 0x196]
cmp dword [eax + 8], edi
je 0x418e7f
lea ebx, [esi + 0x88]
mov ecx, dword [ebx]
cmp dword [esi + 0x70], ecx
jbe 0x418e62
mov eax, dword [esi + 8]
test eax, eax
je 0x418e45
push esi
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 8]
mov dword [ecx + 8], eax
mov ebp, dword [esi + 8]
call dword [ebp]
add esp, 4
mov ebp, dword [ebx]
push edi
push ebx
mov eax, dword [esi + 0x19a]
push edi
push esi
call dword [eax + 4]
add esp, 0x10
cmp dword [ebx], ebp
jne 0x418e21
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
mov eax, dword [esi + 0x196]
call dword [eax + 4]
add esp, 4
mov eax, dword [esi + 0x196]
push esi
call dword [eax]
add esp, 4
mov dword [ebx], edi
jmp 0x418e10
cmp dword [esi + 0x40], 1
sbb eax, eax
pop ebp
add eax, 0xce
pop edi
mov dword [esi + 0x10], eax
mov eax, 1
pop esi
pop ebx
ret
Function at 0x42f860
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, ecx
push ebx
dec eax
je 0x42f887
dec eax
je 0x42f874
xor eax, eax
pop ebx
pop ebp
ret
mov eax, 0xc0000000
mov dword [ebp + 0xc], 4
mov ebx, 2
jmp 0x42f898
mov eax, 0x80000000
mov dword [ebp + 0xc], 2
mov ebx, 4
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0x80
push 3
push 0
push 0
push eax
push dword [ebp + 8]
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0xc], eax
cmp eax, 0xffffffff
jne 0x42f8c3
pop edi
xor eax, eax
pop ebx
pop ebp
ret
push esi
lea esi, [edi + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push dword [esi]
mov dword [edi + 4], eax
push dword [ebp + 0xc]
push 0
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x42f8fc
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x42f923
push dword [edi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xc]
call esi
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43d1f9
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x460a10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0043596b
mov dword [ebp - 0x14], eax
cmp dword [0x4642e8], edi
jne 0x43d2ea
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x43d277
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43d3ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43d3ca
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43d3ca
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4642e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4642ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4642f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4642f8], eax
test eax, eax
je 0x43d2e7
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4642f4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43d30f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43d302
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x43d324
push 4
pop eax
jmp 0x43d3cc
cmp dword [ebp - 0x14], edi
je 0x43d324
push dword [0x4642e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43d309
mov eax, dword [0x4642f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x43d382
cmp dword [0x4642f8], esi
je 0x43d382
push eax
call ebx
push dword [0x4642f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43d382
test eax, eax
je 0x43d382
call ecx
test eax, eax
je 0x43d377
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43d377
test byte [ebp - 8], 1
jne 0x43d382
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x43d3b2
mov eax, dword [0x4642ec]
cmp eax, esi
je 0x43d3af
push eax
call ebx
test eax, eax
je 0x43d3af
call eax
mov edi, eax
test edi, edi
je 0x43d3af
mov eax, dword [0x4642f0]
cmp eax, esi
je 0x43d3af
push eax
call ebx
test eax, eax
je 0x43d3af
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4642e8]
call ebx
test eax, eax
je 0x43d3ca
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x43d3cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004327ee
leave
ret
Function at 0x401938
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xaca
jge 0x401953
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be4d9
jg 0x40196d
inc edi
cmp edi, 0x332fe31
jl 0x401944
cmp dword [0x20905f4], 0x400
jne 0x4019ad
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
call fcn.00401ef2
call fcn.00401da1
push esi
call fcn.0040213f
pop ecx
pop ecx
xor edi, edi
cmp edi, 0xd036
jge 0x4019be
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x4019e4
inc edi
cmp edi, 0x263ff
jl 0x4019af
mov eax, dword [0x443964]
mov dword [0x20905f4], eax
call fcn.004016c1
mov edi, 0x3078f
cmp dword [0x20905f4], 0x51f
jne 0x401a10
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x4019f8
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x4049f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429430]
jne 0x4049ff
repz ret
jmp fcn.00406809