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

Disassembly:
push 0xffffffffffffffff
push 0x47e0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call fcn.00459a40
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], ebx
call fcn.0043a8f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0043a8f0
add esi, 0x1b8
push ebx
mov ecx, esi
mov byte [esp + 0x74], 2
call fcn.0043baa0
mov ecx, esi
call fcn.0043baf0
test eax, eax
je 0x41ca28
push ebx
mov ecx, esi
call fcn.0043ba70
movsx eax, al
push eax
lea ecx, [esp + 0x40]
push str._c:_
push ecx
call fcn.0043bde0
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0043bb30
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.0043baa0
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x5c]
call fcn.0043baa0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41ca28
lea ecx, [esp + 0x10]
call fcn.0043acd0
push str.fmifs.dll
lea ecx, [esp + 0xc]
call fcn.00459a70
test eax, eax
jne 0x41ca69
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0043a990
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], bl
call fcn.0043a990
lea ecx, [esp + 8]
mov dword [esp + 0x70], 0xffffffff
call fcn.00459a50
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
push ebx
mov ecx, esi
mov dword [0x4a3368], ebx
call fcn.0043ba70
movsx edx, al
push edx
lea eax, [esp + 0x40]
push str._c:_
push eax
call fcn.0043bde0
add esp, 0xc
lea ecx, [esp + 8]
push str.Chkdsk
call fcn.00459b10
mov esi, eax
cmp esi, ebx
je 0x41cac5
push 0x41c920
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [esp + 0x30]
call fcn.0043bb40
push eax
push ebx
lea ecx, [esp + 0x60]
call fcn.0043bb40
push eax
call esi
lea ecx, [esp + 8]
call fcn.00459ac0
mov eax, dword [esp + 0x78]
cmp eax, ebx
je 0x41cade
mov ecx, dword [0x4a3368]
mov dword [eax], ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.0043a990
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], bl
call fcn.0043a990
lea ecx, [esp + 8]
mov dword [esp + 0x70], 0xffffffff
call fcn.00459a50
mov ecx, dword [esp + 0x68]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
Function at 0x425cf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47e5ab
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push eax
push 0xc
push ebx
push 0x8002
push 2
push ebp
call fcn.00425bd0
add esp, 0x20
test eax, eax
je 0x425e38
mov eax, dword [esp + 0x11]
xor ecx, ecx
mov ch, byte [esp + 0x10]
mov edx, eax
and ecx, 0xffff
and edx, 0xff
or ecx, edx
xor edx, edx
mov dh, ah
shl ecx, 0x10
and edx, 0xffff
or ecx, edx
mov edx, dword [esp + 0x13]
and edx, 0xff
mov eax, ecx
or eax, edx
cmp eax, 0x6a333339
ja 0x425d9b
je 0x425d94
cmp eax, 0x4a353639
je 0x425d8d
cmp eax, 0x6a333239
jne 0x425e38
mov edi, 5
jmp 0x425db9
mov edi, 0x12
jmp 0x425db9
mov edi, 0xe
jmp 0x425db9
cmp eax, 0x6a353339
je 0x425db4
cmp eax, 0x6a353531
jne 0x425e38
mov edi, 0x11
jmp 0x425db9
mov edi, 0x10
push 0x14
call fcn.004708ca
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov dword [esp + 0x24], 0
je 0x425de4
mov ecx, esi
call fcn.0042c770
mov dword [esi], 0x483bec
jmp 0x425de6
xor esi, esi
test esi, esi
mov dword [esp + 0x24], 0xffffffff
je 0x425e38
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x20]
push esi
or edi, 0x8000
push ebp
mov dword [ebp + 0x20], edi
call fcn.00416500
add esp, 8
mov ecx, esi
call fcn.00425ae0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x42f240
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 1
je 0x42f250
xor eax, eax
pop esi
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
and al, 0xfd
push 0
or al, 1
push 0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi], ecx
push 0
push 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 4], edx
call fcn.00451280
lea eax, [esi + 0x34]
push eax
push 0
push esi
push 0x42f180
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x42f2a6
mov eax, dword [esi + 0xc]
and al, 0xfe
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
ret 0xc
mov eax, 1
pop esi
ret 0xc

Function at 0x42f2b0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 1
je 0x42f2d9
and al, 0xfe
push 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
lea ecx, [esi + 0x18]
mov dword [esi + 8], 0
call fcn.004513e0
pop esi
ret
Function at 0x430900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ea58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0043a8f0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x430955
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x6c696e6b
lea ecx, [esp + 8]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0043bde0
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.0043baa0
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropA]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
push ebx
cmp esi, 0xffffffff
jne 0x430aef
call edi
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
call edi
mov eax, esi
pop edi
not al
and eax, 0xff
pop esi
shr eax, 4
and eax, 1
pop ebx
ret 4

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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
push ebx
cmp esi, 0xffffffff
jne 0x430b3f
call edi
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
call edi
mov eax, esi
pop edi
and eax, 0xff
pop esi
shr eax, 4
and eax, 1
pop ebx
ret 4

Function at 0x430b60
Capabilities:
Get file size

Disassembly:
sub esp, 0x140
push esi
push edi
mov edi, dword [esp + 0x14c]
push 0
push 0x80
push 3
push 0
push 3
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x430bd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x430bf5
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, esi
je 0x430bf5
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x28]
push eax
mov dword [ecx], edx
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x28]
mov dword [ecx], edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, 1
pop esi
add esp, 0x140
ret 0xc
mov eax, dword [esp + 0x154]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x430c02
pop edi
xor eax, eax
pop esi
add esp, 0x140
ret 0xc
mov eax, dword [esp + 0x150]
test eax, eax
je 0x430c0f
mov dword [eax], edi
pop edi
mov eax, 1
pop esi
add esp, 0x140
ret 0xc
Function at 0x431e50
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x47ecb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.0043a8f0
mov eax, dword [esp + 0x50]
xor edi, edi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], edi
mov ebp, 1
call fcn.0043ae00
push 0x494da8
lea ecx, [esp + 0x18]
call fcn.0043b8e0
cmp eax, ebp
jne 0x431eaa
mov dword [esp + 0x10], 2
jmp 0x431ec3
push 2
push 0x494da4
lea ecx, [esp + 0x1c]
call fcn.0043af20
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call fcn.0043ae00
inc ebx
lea ecx, [esp + 0x14]
push ebx
push 0x5c
call fcn.0043b730
mov ebx, eax
cmp ebx, 0xffffffff
je 0x431efb
push ebx
lea ecx, [esp + 0x18]
call fcn.0043b220
jmp 0x431f21
cmp dword [esp + 0x54], 1
je 0x431fc9
cmp ebp, 1
jne 0x431f21
lea ecx, [esp + 0x14]
call fcn.0043baf0
mov edx, dword [esp + 0x10]
inc edx
cmp eax, edx
je 0x431fc4
push 0
lea ecx, [esp + 0x18]
call fcn.0043baa0
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.0043baa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x431f6d
call esi
cmp eax, 0xb7
je 0x431f6d
push 0
lea ecx, [esp + 0x18]
call fcn.0043baa0
call esi
push 0
call esi
push eax
mov ecx, 0x4a2a80
call fcn.0043dd60
xor edi, edi
jmp 0x431fb8
push 0
lea ecx, [esp + 0x18]
call fcn.0043baa0
call esi
push 0
call esi
push eax
mov ecx, 0x4a2a80
call fcn.0043dd60
push 0
lea ecx, [esp + 0x18]
call fcn.0043baa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 2
lea ecx, [esp + 0x14]
or al, 0x20
push eax
push 0
call fcn.0043baa0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, 1
cmp ebx, 0xffffffff
je 0x431fc9
xor ebp, ebp
jmp 0x431ecd
mov edi, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8

Function at 0x432000
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
pop esi
neg eax
ret 4
Function at 0x4320f0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebp, ecx
lea eax, [esp + 0x14]
push 0
push eax
mov ecx, dword [ebp]
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x432128
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
pop edi
pop esi
pop ebp
sete al
pop ebx
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5aa
je 0x43213e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
test esi, esi
jbe 0x43217c
cmp esi, 0x100000
mov edi, esi
jb 0x432151
mov edi, 0x100000
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push 0
push edx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432135
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x432135
sub esi, eax
add ebx, 0x100000
test esi, esi
ja 0x432142
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8

Function at 0x4321f0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edx, dword [ebp]
lea ecx, [esp + 0x20]
push eax
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
mov eax, dword [esp + 0x18]
jne 0x432242
test eax, eax
je 0x432233
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
mov eax, 1
pop ebx
ret 0x10
cmp dword [esp + 0x20], esi
je 0x4322a3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
test eax, eax
je 0x43224f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5aa
je 0x432265
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
test esi, esi
jbe 0x4322a3
cmp esi, 0x100000
mov edi, esi
jb 0x432278
mov edi, 0x100000
mov eax, dword [ebp]
lea edx, [esp + 0x20]
push 0
push edx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43225c
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x43225c
sub esi, eax
add ebx, 0x100000
test esi, esi
ja 0x432269
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10

Function at 0x4322c0
Capabilities:
Get file size

Disassembly:
mov ecx, dword [ecx]
sub esp, 8
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
add esp, 8
ret
Function at 0x433100
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004339d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x30]
and al, 0xef
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0xc0], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc4], ecx
lea ecx, [esi + 0x34]
mov dword [esi + 0xf8], ebp
mov dword [esi + 0xc8], edx
mov dword [esi + 0xcc], eax
call fcn.0043ff60
mov ecx, dword [esi + 0xf8]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000
jne 0x43317f
or dword [esi + 0xc0], 0x100000
mov edx, dword [esp + 0x18]
push 0
push edx
mov ecx, esi
call fcn.00433780
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea edi, [esi + 0x64]
mov ecx, edi
lea eax, [ebx + 2]
push eax
call fcn.0043aa80
inc ebx
mov ecx, edi
push ebx
push 0
call fcn.0043baa0
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
push ebx
mov ecx, edi
call fcn.0043bb00
mov ecx, edi
call fcn.0043acd0
push 0x4a3290
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
test dword [esi + 0xc0], 0x10000
jne 0x4331fe
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push ebp
call edi
test al, 0x20
je 0x433204
mov eax, dword [esi + 0xc0]
or ah, 1
mov dword [esi + 0xc0], eax
jmp 0x433204
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
mov al, byte [esi + 0xc0]
mov ebx, 1
test bl, al
je 0x433224
push 0xfffffffffffffff0
push ebp
call edi
or ah, bl
push eax
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0xc0]
test al, 0x40
je 0x43323a
mov dword [esi + 0xbc], 0x10
jmp 0x433244
mov dword [esi + 0xbc], 0x20
test eax, 0x40000
je 0x43325a
mov eax, dword [esi + 0xbc]
or ah, 0x80
mov dword [esi + 0xbc], eax
push 0xfffffffffffffff0
push ebp
call edi
test bl, al
je 0x433269
or dword [esi + 0xbc], ebx
test al, 2
je 0x433274
or dword [esi + 0xbc], 2
test ah, 2
mov ecx, 4
je 0x433284
or dword [esi + 0xbc], ecx
test al, 0x80
je 0x433297
mov eax, dword [esi + 0xbc]
or ah, 8
mov dword [esi + 0xbc], eax
test dword [esi + 0xc0], 0x800000
je 0x4332a9
or dword [esi + 0xbc], ecx
mov ecx, esi
call fcn.00433530
push esi
push 0x4324b0
push ebp
mov ecx, esi
call fcn.00405020
push ebx
mov ecx, esi
call fcn.00433920
pop edi
pop esi
pop ebp
pop ebx
ret 0x24
Function at 0x436d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ef18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0043a8f0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x436db5
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x6c697331
lea ecx, [esp + 8]
push str._C_SubClassing_Property__08X
push ecx
call fcn.0043bde0
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.0043baa0
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropA]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.0043a990
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43dc30
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4a3398]
test eax, eax
jne 0x43dc62
push 0
push edi
mov ecx, esi
mov dword [0x4a3398], 1
call fcn.0043da40
dec dword [0x4a3398]
pop edi
pop esi
ret 4

Function at 0x43dea0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push 0xf0000000
push 1
push 0
lea eax, [esp + 0xc]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x43debf
pop ecx
ret 0xc
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, ebx
push esi
mov esi, dword [esp + 0x14]
mov edx, ecx
push edi
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
xor ebp, ebp
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x43df42
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43df3d
cmp eax, 1
jne 0x43df06
mov edi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____________:___.__
jmp 0x43df15
cmp eax, 2
mov edi, str.0123456789abcdef
je 0x43df15
mov edi, str.abcdefghijklmnopqrstuvwxyz0123456789
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
mov ebp, eax
test ebx, ebx
jle 0x43df38
xor eax, eax
mov al, byte [ecx + esi]
cdq
idiv ebp
inc ecx
cmp ecx, ebx
mov dl, byte [edx + edi]
mov byte [ecx + esi - 1], dl
jl 0x43df24
mov byte [esi + ebx - 1], 0
mov ebp, 1
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x43eaa0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
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
ret 4
Function at 0x43ed90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push edi
lea eax, [ebp + ebp + 4]
push eax
call fcn.0046fea8
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [edi], eax
jne 0x43edb2
pop edi
pop ebp
ret 0xc
push ebx
push esi
xor ecx, ecx
xor ebx, ebx
xor esi, esi
test ebp, ebp
jbe 0x43ee3c
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x14]
xor edx, edx
mov ebp, 3
mov dl, byte [ebx + eax]
mov eax, ebx
or ecx, edx
xor edx, edx
div ebp
cmp edx, 2
jne 0x43ee2d
mov eax, dword [edi]
mov edx, ecx
and edx, 0x3f
add esi, 4
shr ecx, 6
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi - 1], dl
mov edx, dword [edi]
mov eax, ecx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi - 2], al
mov eax, dword [edi]
mov edx, ecx
and edx, 0x3f
shr ecx, 6
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ecx, 0x3f
mov byte [eax + esi - 3], dl
mov eax, dword [edi]
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi - 4], cl
xor ecx, ecx
mov eax, dword [esp + 0x18]
shl ecx, 8
inc ebx
dec eax
mov dword [esp + 0x18], eax
jne 0x43edc2
mov eax, ebx
xor edx, edx
mov ebx, 3
div ebx
cmp edx, 1
jne 0x43ee83
shr ecx, 8
mov eax, dword [edi]
mov edx, ecx
and edx, ebx
shl edx, 4
shr ecx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ecx, 0x3f
mov byte [eax + esi + 1], dl
mov eax, dword [edi]
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi], cl
mov edx, dword [edi]
mov al, 0x3d
mov byte [edx + esi + 2], al
mov ecx, dword [edi]
mov byte [ecx + esi + 3], al
jmp 0x43eec9
cmp edx, 2
jne 0x43eecc
mov eax, dword [edi]
shr ecx, 8
mov edx, ecx
and edx, 0xf
shr ecx, 4
mov dl, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + esi + 2], dl
mov edx, dword [edi]
mov eax, ecx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ecx, 0x3f
mov byte [edx + esi + 1], al
mov edx, dword [edi]
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + esi], al
mov ecx, dword [edi]
mov byte [ecx + esi + 3], 0x3d
add esi, 4
mov edx, dword [edi]
mov eax, 1
mov byte [edx + esi], 0
pop esi
pop ebx
pop edi
pop ebp
ret 0xc
Function at 0x440130
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x330
push esi
push edi
mov esi, ecx
call fcn.004402b0
mov eax, dword [esp + 0x33c]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
test al, 4
mov dword [esi], eax
je 0x440168
push 0x31
call edi
push 0x32
mov dword [esi + 0x234], eax
call edi
mov dword [esi + 0x238], eax
jmp 0x44019c
test al, 8
je 0x440182
push 0xb
call edi
push 0xc
mov dword [esi + 0x234], eax
call edi
mov dword [esi + 0x238], eax
jmp 0x44019c
mov eax, dword [esp + 0x340]
mov ecx, dword [esp + 0x344]
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], ecx
mov eax, dword [esi]
test al, 1
je 0x4401b9
mov edx, dword [esp + 0x34c]
mov eax, dword [esp + 0x348]
push edx
push eax
push 0x21
jmp 0x440274
test al, 2
je 0x440220
test al, 4
je 0x4401c8
mov edi, 1
jmp 0x4401e3
test al, 8
je 0x4401d0
xor edi, edi
jmp 0x4401e3
push 0x32
call edi
mov edx, dword [esi + 0x238]
xor ecx, ecx
cmp edx, eax
sete cl
mov edi, ecx
lea edx, [esp + 8]
push 0x104
push edx
mov byte [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or edi, 0x4000
lea eax, [esp + 0x1d8]
push edi
push 0x160
push eax
lea ecx, [esp + 0x14]
push 0
push ecx
mov byte [esp + 0x1f], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
jmp 0x440288
mov ecx, esi
call fcn.004402e0
mov edi, eax
cmp edi, 0x20
jne 0x440246
lea ecx, [esp + 0x10c]
call fcn.00444910
cmp eax, 0x60000
jae 0x440246
mov edi, 0x10
lea ecx, [esp + 0x10c]
call fcn.00443920
and eax, 2
xor ecx, ecx
or eax, ecx
je 0x440260
mov edi, 8
mov edx, dword [esp + 0x34c]
mov eax, dword [esp + 0x348]
push edx
or edi, 1
push eax
push edi
mov ecx, dword [esi + 0x238]
mov edx, dword [esi + 0x234]
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi + 0x230], eax
mov ecx, dword [esi + 0x230]
xor eax, eax
pop edi
test ecx, ecx
setne al
pop esi
add esp, 0x330
ret 0x14

Function at 0x4422f0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push edi
mov edi, ecx
call fcn.00460690
lea eax, [esp + 4]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x442315
xor eax, eax
pop edi
add esp, 8
ret
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x44232b
xor eax, eax
pop edi
add esp, 8
ret
push esi
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [esp + 8]
mov esi, eax
mov ecx, edi
mov dword [esi + 8], edx
mov eax, dword [esp + 8]
push eax
call fcn.004424c0
push esi
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffff0002
push 0xffff0000
mov ecx, edi
mov dword [esi + 4], eax
mov dword [esi], 0
call fcn.004606c0
mov esi, eax
push 2
push esi
mov ecx, edi
call fcn.00460880
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
pop edi
add esp, 8
ret