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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4947e0], 0
push edi
mov edi, dword [ebp + 8]
jne 0x444d0e
push 0x108
push 1
call fcn.0044ff39
add esp, 8
mov dword [0x4947e0], eax
test eax, eax
jne 0x444d0e
push str._Zip_cloacking
push 0x3fa
call fcn.00443070
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4946a4]
mov ecx, dword [eax]
push ecx
call fcn.00458490
mov edx, dword [0x4946a4]
mov eax, dword [edx]
mov ecx, dword [0x4947e0]
push eax
push 0x1e
push 1
push ecx
call fcn.00453efc
add esp, 0x14
cmp eax, 0x1e
je 0x444d62
push 0x4727a6
push 0x3e9
call fcn.00443070
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4946a4]
mov eax, dword [edx]
mov ecx, dword [0x4947e0]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00453efc
mov ecx, dword [0x4947e0]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x444d3c
push esi
movzx esi, word [ecx + 0x1c]
cmp esi, 0xa00b0
jbe 0x444db7
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x444dce
jmp 0x444dc0
push edi
dec esi
call fcn.004593c5
add esp, 4
test esi, esi
jne 0x444dc0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
Function at 0x444de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4806f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x4947e0], esi
jne 0x444e3a
push 0x108
push 1
call fcn.0044ff39
add esp, 8
mov dword [0x4947e0], eax
cmp eax, esi
jne 0x444e3a
push str._Zip_cloacking
push 0x3fa
call fcn.00443070
add esp, 8
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4946a4]
mov ecx, dword [eax]
push ebx
push edi
push ecx
call fcn.00458490
push 0x104
lea edx, [ebp - 0x108]
push esi
push edx
mov dword [0x4947ee], esi
mov dword [0x494812], esi
call fcn.0044f280
mov eax, dword [0x4946a4]
mov ecx, dword [eax]
mov edx, dword [0x4947e0]
push ecx
push 0x1e
push 1
push edx
call fcn.00453efc
add esp, 0x20
cmp eax, 0x1e
jne 0x444f78
jmp 0x444e90
mov ecx, dword [0x4946a4]
mov eax, dword [0x4947e0]
cmp dword [eax], 0x4034b50
mov edx, dword [ecx]
push edx
jne 0x444fa0
movzx eax, word [eax + 0x1a]
push eax
lea ecx, [ebp - 0x108]
push 1
push ecx
call fcn.00453efc
mov ecx, dword [0x4947e0]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x444f78
movzx esi, word [ecx + 0x1c]
mov eax, dword [0x4946a4]
mov edi, dword [eax]
mov ebx, ecx
cmp esi, 0xa00b0
ja 0x444f78
test esi, esi
je 0x444efe
nop
push edi
dec esi
call fcn.004593c5
add esp, 4
test esi, esi
jne 0x444ef0
mov ecx, dword [ebx + 0x12]
push 1
push ecx
push edi
call fcn.00454472
mov eax, dword [0x4947e0]
mov edx, dword [eax + 0x16]
add dword [0x494812], edx
mov eax, dword [eax + 0x16]
mov edx, dword [0x4947ee]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.0044acf0
add esp, 0x24
test eax, eax
jne 0x444f8a
inc dword [0x4947ee]
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0044f280
mov ecx, dword [0x4946a4]
mov edx, dword [ecx]
mov eax, dword [0x4947e0]
push edx
push 0x1e
push 1
push eax
call fcn.00453efc
add esp, 0x1c
cmp eax, 0x1e
je 0x444e90
push 0x4727a6
push 0x3e9
call fcn.00443070
add esp, 8
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
call fcn.00444cb0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret
Function at 0x445810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4947e4]
mov ecx, dword [eax + 0xd]
mov edx, dword [ebp + 8]
push ebx
add ecx, edx
cmp ecx, dword [eax + 9]
push esi
push edi
jle 0x445984
mov ecx, dword [eax + 9]
mov edi, dword [eax + 0xd]
mov esi, dword [ebp + 0x14]
mov ebx, ecx
sub ebx, edi
sub edi, ecx
add edi, edx
test ebx, ebx
jle 0x445863
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push ebx
push 1
push eax
call fcn.00454139
add esp, 0x10
mov dword [esi], eax
cmp eax, ebx
jne 0x44597a
mov eax, dword [0x4947e4]
cmp edi, dword [eax + 9]
jle 0x4458fa
lea esp, [esp]
mov edx, dword [eax + 1]
mov eax, dword [0x4946a4]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00445680
add esp, 0x10
cmp eax, 1
je 0x445974
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x4947e4]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
add ecx, dword [ebp + 0xc]
push eax
push 1
push ecx
call fcn.00454139
add dword [esi], eax
mov eax, dword [0x4947e4]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x4947e4]
sub edi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x4946a4]
mov ecx, dword [0x4947e4]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.004441b0
mov eax, dword [0x4947e4]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x445870
test edi, edi
je 0x44599f
mov edx, dword [eax + 1]
mov eax, dword [0x4946a4]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00445680
add esp, 0x10
cmp eax, 1
je 0x445974
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
add edx, dword [ebp + 0xc]
push ecx
push edi
push 1
push edx
call fcn.00454139
add dword [esi], eax
mov eax, dword [0x4947e4]
mov dword [eax + 0xd], edi
mov eax, dword [0x4947e4]
inc dword [eax + 1]
mov ecx, dword [0x4946a4]
mov edx, dword [0x4947e4]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.004441b0
add esp, 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
add dword [eax + 0xd], edx
mov ecx, dword [ebp + 0x10]
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.00454139
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x445a50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4946a4]
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 0x445a8f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.00454139
imul esi, edi
add esp, 0x10
add dword [0x4946b2], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4947e4]
cmp byte [eax], 1
jne 0x445ac0
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.004459b0
add esp, 0x10
test eax, eax
je 0x445ae7
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.00445810
add esp, 0x10
test eax, eax
je 0x445ae7
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
add dword [0x4946b2], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x445b00
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.00453efc
mov esi, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
cmp eax, edi
je 0x445c0d
sub edi, eax
mov eax, dword [0x4947e4]
cmp edi, dword [eax + 9]
jle 0x445baf
mov edx, dword [eax + 1]
mov eax, dword [0x4946a4]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00445680
add esp, 0x10
cmp eax, 1
je 0x445c14
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x4947e4]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
push eax
add ecx, ebx
push 1
push ecx
call fcn.00453efc
add dword [esi], eax
mov eax, dword [0x4947e4]
mov edx, dword [0x4946a4]
sub edi, dword [eax + 9]
mov eax, dword [eax + 1]
add edx, 0x127
push edx
push eax
push 0xc03
call fcn.004441b0
mov eax, dword [0x4947e4]
inc dword [eax + 1]
mov eax, dword [0x4947e4]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x445b35
mov edx, dword [eax + 1]
mov eax, dword [0x4946a4]
push 0
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00445680
add esp, 0x10
test eax, eax
jne 0x445c14
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
push ecx
push edi
add edx, ebx
push 1
push edx
call fcn.00453efc
add dword [esi], eax
mov eax, dword [0x4946a4]
mov ecx, dword [0x4947e4]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
push edx
push 0xc03
call fcn.004441b0
mov eax, dword [0x4947e4]
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 0x445cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4946a4]
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 0x445d0f
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push edi
push esi
push edx
call fcn.00453efc
imul esi, edi
add esp, 0x10
sub dword [0x4946b2], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4947e4]
cmp byte [eax], 1
jne 0x445d40
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.00445c30
add esp, 0x10
test eax, eax
je 0x445d67
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.00445b00
add esp, 0x10
test eax, eax
je 0x445d67
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul esi, edi
sub dword [0x4946b2], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x447010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0
push edi
mov edi, dword [0x4946a4]
je 0x447029
cmp byte [edi + 0x331], 0
jmp 0x447030
cmp byte [edi + 0x332], 0
je 0x44708c
mov ecx, dword [ebp + 8]
mov eax, ecx
push esi
lea esi, [eax + 1]
jmp 0x447040
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x447040
sub eax, esi
cmp byte [edi + 0x332], 0
lea edx, [eax - 1]
je 0x44708b
test edx, edx
jle 0x44708b
xor esi, esi
cmp dword [ebp + 0x10], esi
jbe 0x44708b
mov edi, dword [ebp + 0xc]
push ebx
xor eax, eax
test edx, edx
jle 0x447084
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 0x447070
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x447064
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x447420
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4806f0]
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.00458a78
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.00458db5
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.0044f6e0
mov esp, ebp
pop ebp
ret
Function at 0x448880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4806f0]
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.0044f280
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.0044f280
mov al, 0x3a
add esp, 0x18
cmp byte [ebx + 1], al
je 0x448944
cmp byte [esi + 1], al
je 0x448949
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.00458a78
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x4489a2
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448915
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x4489a2
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x448930
mov dx, word [0x4726c4]
mov word [edi], dx
jmp 0x4489a2
cmp byte [esi + 1], al
jne 0x4489a2
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00458a78
add esp, 0x14
cmp byte [ebp - 0x108], 0
je 0x4489a2
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448971
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x4489a2
lea edi, [ebp - 0x108]
dec edi
jmp 0x448990
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x448990
mov cx, word [0x4726c4]
mov word [edi], cx
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4489a6
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4489b6
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.0046518c
add esp, 8
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f6e0
mov esp, ebp
pop ebp
ret

Function at 0x44a700
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 0x44a730
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 + 0x480198]
dec ecx
inc edx
test ecx, ecx
jne 0x44a714
pop edi
not eax
mov dword [esi], eax
pop esi
pop ebp
ret

Function at 0x44a740
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 0x44a78b
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 + 0x480198]
shr ecx, 8
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x480198]
dec edx
add esi, 2
test edx, edx
jne 0x44a755
pop esi
pop ebx
not eax
mov dword [edi], eax
pop edi
pop ebp
ret
Function at 0x44d2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov esi, ecx
call fcn.0044fff4
mov edi, dword [ebp + 0x10]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x44d319
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
pop ebp
ret 0xc
push ebx
push 0
push eax
call fcn.0044f280
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jbe 0x44d351
jmp 0x44d330
xor edx, edx
mov eax, ecx
div dword [esi + 0x18]
mov eax, dword [esi + 0x14]
inc ecx
mov dl, byte [edx + eax]
mov eax, dword [ebp + 8]
add dl, bl
xor dl, byte [ecx + eax - 1]
mov eax, dword [edi]
mov byte [ecx + eax - 1], dl
cmp ecx, ebx
jb 0x44d330
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x44d950
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44d96f
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0x18], 0
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x44d9ff
cmp dword [ebp + 8], 0
je 0x44d9ff
push edi
mov edi, dword [0x4971b4]
test edi, edi
jne 0x44d99e
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 8]
mov dword [0x4971b4], edi
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, ecx
div edi
pop edi
mov dword [esi + 0x1c], edx
cmp edx, ecx
jae 0x44d9b3
sub ecx, edx
jmp 0x44d9b8
mov dword [esi + 0x1c], ecx
xor ecx, ecx
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
add edx, ebx
push edx
push ecx
mov ecx, dword [ebp + 8]
push eax
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x14], eax
test eax, eax
je 0x44d9e3
mov dword [esi + 0x18], ebx
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44da04
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x80070057
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44da20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test bl, 8
je 0x44da3a
pop esi
mov eax, 0x80070057
pop ebx
pop ebp
ret 0xc
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push edi
call edx
test bl, 3
jne 0x44da53
mov eax, SysReAllocStringLen
mov edi, 0x18000002
jmp 0x44da5d
mov eax, 0xc0000000
mov edi, 0x18000004
test ebx, 0x400
je 0x44da74
test ebx, 0x100
je 0x44da83
mov ebx, 1
jmp 0x44da93
test ebx, 0x100
je 0x44da83
mov ebx, 4
jmp 0x44da93
and ebx, 0x200
neg ebx
sbb ebx, ebx
and ebx, 2
add ebx, 3
push 0
push 0
push ebx
push 0
push 3
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x44dad7
lea ecx, [esi + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esi + 0xc]
push 0
push 0
push 0
push edi
push 0
push edx
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 8], eax
test eax, eax
jne 0x44daf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44daf4
pop edi
and eax, 0xffff
pop esi
or eax, 0x80070000
pop ebx
pop ebp
ret 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x44e240
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
or eax, 0xffffffff
cmp dword [esi + 8], 0
jl 0x44e27d
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
mov dword [esi + 4], 0
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call fcn.004528e6
add esp, 0xc
cmp eax, 0xffffffff
jne 0x44e27d
mov dword [esi + 4], 0x80040081
pop esi
pop ebp
ret 8

Function at 0x44f6e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4806f0]
jne 0x44f6ea
repz ret
jmp fcn.0045c59c

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x44fc7d
call fcn.004560d4
mov dword [eax], esi
call fcn.004560c1
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044fdf2
add esp, 0x14
or eax, 0xffffffff
jmp 0x44fcb8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44fc9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004560e7
pop ecx
jmp 0x44fc78
test byte [ebp + 0xc], 0x80
je 0x44fca5
and eax, 0xfffffffe
jmp 0x44fca8
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x44fc8b
xor eax, eax
pop esi
pop ebp
ret
Function at 0x465103
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 0x465134
call fcn.004560d4
mov dword [eax], esi
call fcn.004560c1
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0044fdf2
add esp, 0x14
push 0x16
pop eax
jmp 0x465189
test dword [ebp + 0xc], 0xfffffff9
jne 0x465110
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x465161
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004560e7
pop ecx
call fcn.004560c1
mov eax, dword [eax]
jmp 0x465189
test al, 0x10
jne 0x465187
test al, 1
je 0x465187
test byte [ebp + 0xc], 2
je 0x465187
call fcn.004560d4
mov dword [eax], 5
call fcn.004560c1
mov dword [eax], 0xd
jmp 0x465158
xor eax, eax
pop esi
pop ebp
ret

Function at 0x46739d
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.0045bf87
and dword [ebp - 4], 0
cmp dword [0x497d2c], 0
mov ebx, eax
jne 0x46744e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4674ff
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x479734
push edi
call esi
test eax, eax
je 0x4674ff
push eax
call fcn.0045bf15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x497d2c], eax
call esi
push eax
call fcn.0045bf15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x497d30], eax
call esi
push eax
call fcn.0045bf15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x497d34], eax
call esi
push eax
call fcn.0045bf15
pop ecx
mov dword [0x497d3c], eax
test eax, eax
je 0x46744e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045bf15
pop ecx
mov dword [0x497d38], eax
mov eax, dword [0x497d38]
cmp eax, ebx
je 0x4674a6
cmp dword [0x497d3c], ebx
je 0x4674a6
push eax
call fcn.0045bf90
push dword [0x497d3c]
mov esi, eax
call fcn.0045bf90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4674a6
test edi, edi
je 0x4674a6
call esi
test eax, eax
je 0x46749d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46749d
test byte [ebp - 0xc], 1
jne 0x4674a6
or dword [ebp + 0x10], 0x200000
jmp 0x4674df
mov eax, dword [0x497d30]
cmp eax, ebx
je 0x4674df
push eax
call fcn.0045bf90
pop ecx
test eax, eax
je 0x4674df
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4674df
mov eax, dword [0x497d34]
cmp eax, ebx
je 0x4674df
push eax
call fcn.0045bf90
pop ecx
test eax, eax
je 0x4674df
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x497d2c]
call fcn.0045bf90
pop ecx
test eax, eax
je 0x4674ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x467501
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46fe30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x401ad0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0xffffffff
je 0x401b8c
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x401b62
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 8
call fcn.00401fe0
add esp, 0xc
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 7
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00402c80
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00401850
add esp, 4
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0xffffffff
jmp 0x401b8c
push 5
mov ecx, dword [ebp - 4]
call fcn.004020c0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x48], 0xffffffff
je 0x401b8c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret