joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ac4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
xor ecx, dword [ebx + 0x204]
mov dword [esp], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
xor ecx, dword [ebx + 0x208]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + 0x20c]
mov edi, dword [eax + 0xc]
xor edi, dword [ebx + 0x210]
push 0x10
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00494c74
add esp, 0xc
mov edx, 0x1f
mov eax, edi
mov ecx, edi
shr ecx, 0x15
shl eax, 0xb
or eax, ecx
mov ecx, edx
and ecx, 3
add eax, esi
xor eax, dword [ebx + ecx*4 + 0x204]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
mov eax, esi
xor ecx, dword [esp]
mov dword [esp + 8], ecx
mov ecx, esi
shr ecx, 0xf
shl eax, 0x11
or eax, ecx
mov ecx, edx
and ecx, 3
xor eax, edi
add eax, dword [ebx + ecx*4 + 0x204]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
xor ecx, dword [esp + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
mov eax, ecx
mov edi, eax
mov esi, dword [esp + 8]
dec edx
test edx, edx
jge 0x410b20
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + 0x204]
mov dword [eax], esi
xor edi, dword [ebx + 0x208]
mov edx, dword [esp + 0xc]
mov dword [edx + 4], edi
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
xor ecx, dword [ebx + 0x20c]
mov dword [eax + 8], ecx
mov eax, ebx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor edx, dword [ebx + 0x210]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x10]
call fcn.00410c70
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x410c70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, 0x4b0f70
xor ecx, ecx
movzx esi, byte [edx + ecx]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x204], esi
movzx esi, byte [edx + ecx + 1]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x208], esi
movzx esi, byte [edx + ecx + 2]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x20c], esi
movzx esi, byte [edx + ecx + 3]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x210], esi
add ecx, 4
cmp ecx, 0x10
jl 0x410c79
pop esi
pop ebx
ret
Function at 0x416938
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffff70
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor edx, edx
mov dword [esp + 8], edx
mov esi, dword [esp + 8]
jmp 0x4169b5
xor eax, eax
mov edx, dword [esp]
add edx, esi
add edx, eax
mov cl, byte [edx + 1]
mov byte [esp + eax + 0x19], cl
mov bl, byte [edx]
sub bl, cl
mov byte [esp + eax + 0x18], bl
mov dl, byte [edx + 2]
sub dl, cl
mov byte [esp + eax + 0x1a], dl
add eax, 3
cmp eax, 0x78
jl 0x416963
mov ebx, 3
mov cl, byte [esp + ebx + 0x18]
sub cl, byte [esp + ebx + 0x15]
movsx ecx, cl
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 8]
add dword [esp + edx*4 + 0xc], eax
inc ebx
cmp ebx, 0x78
jl 0x41698f
add esi, 0x780
mov eax, dword [esp + 4]
add eax, 0xffffff88
cmp esi, eax
jl 0x416961
inc dword [esp + 8]
cmp dword [esp + 8], 2
jle 0x41695b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, eax
jb 0x4169e1
cmp eax, dword [esp + 0x14]
ja 0x4169e1
xor eax, eax
jmp 0x4169f3
cmp edx, dword [esp + 0x14]
ja 0x4169ee
mov eax, 1
jmp 0x4169f3
mov eax, 2
add esp, 0x90
pop esi
pop ebx
ret

Function at 0x416ffc
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
push esp
push 0
push edx
push eax
push 0x10000
push 0
call sub.KERNEL32.DLL_CreateThread
mov ebx, eax
test ebx, ebx
jne 0x41703d
mov edx, 0x4a2464
mov eax, 0x4af020
call fcn.0042cd88
mov eax, 0x4af020
call fcn.0042cfac
mov eax, 0x4af020
mov edx, 2
call fcn.0042cf0c
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x428694
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffbf0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
push 5
push dword [esp + 4]
push dword [0x4af654]
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
push dword [0x4af654]
call sub.KERNEL32.DLL_LoadResource
mov ebp, eax
push ebx
push dword [0x4af654]
call sub.KERNEL32.DLL_SizeofResource
mov ebx, eax
push ebx
call fcn.00493bf4
pop ecx
mov esi, eax
test esi, esi
jne 0x4286f2
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x42880b
push ebx
push ebp
push esi
call fcn.00494c74
add esp, 0xc
xor edx, edx
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov eax, dword [esi]
shr eax, 0x10
cmp eax, 0xffff
lea eax, [esp + 0xc]
sete bl
push eax
mov eax, edi
lea ecx, [esp + 0xc]
mov edx, dword [esp + 4]
and ebx, 1
call fcn.004288cc
test al, al
je 0x428766
mov ecx, esi
test bl, bl
je 0x42873e
mov eax, ecx
add eax, 8
mov ecx, eax
movsx eax, word [ecx + 0xe]
imul dword [esp + 8]
mov ebp, 0x64
cdq
idiv ebp
mov word [ecx + 0xe], ax
movsx eax, word [ecx + 0x10]
imul dword [esp + 0xc]
mov ebp, 0x64
cdq
idiv ebp
mov word [ecx + 0x10], ax
mov ebp, esi
test bl, bl
je 0x428773
mov eax, 0xd
jmp 0x428778
mov eax, 9
add eax, eax
add ebp, eax
cmp word [ebp], 0xffff
jne 0x42878b
mov edx, 2
jmp 0x428795
mov eax, ebp
call fcn.00410228
mov edx, eax
inc edx
add edx, edx
add ebp, edx
cmp word [ebp], 0xffff
jne 0x4287a8
mov ecx, 2
jmp 0x4287b2
mov eax, ebp
call fcn.00410228
mov ecx, eax
inc ecx
add ecx, ecx
lea edx, [esp + 0x10]
add ebp, ecx
mov ecx, 0x10000000
mov eax, ebp
call fcn.0041001c
push 1
push dword [esp + 4]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x18]
mov eax, edi
call fcn.00428250
lea eax, [esp + 0x210]
push eax
call fcn.00494fc8
pop ecx
mov edx, dword [esp + 4]
mov dword [edx], eax
cmp dword [esp + 8], 0x64
jne 0x428809
cmp dword [esp + 0xc], 0x64
jne 0x428809
push esi
call fcn.00493c04
pop ecx
xor esi, esi
mov eax, esi
add esp, 0x410
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42ce04
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffa00
mov esi, ecx
mov ebx, edx
mov edi, eax
push esi
mov eax, 0x1f6
call fcn.0041202c
push eax
test ebx, ebx
je 0x42ce28
cmp byte [ebx], 0
jne 0x42ce2a
xor ebx, ebx
push ebx
call fcn.00448a00
add esp, 0xc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 3
jne 0x42cea1
push esi
call fcn.00494e94
pop ecx
mov ebx, eax
mov eax, esi
call fcn.0040c494
test al, al
jne 0x42ce68
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.00494e94
pop ecx
add eax, ebx
inc eax
mov ebx, eax
cmp ebx, 0x104
jle 0x42cea1
push 0x104
mov eax, 0x564
call fcn.0041202c
push eax
lea edx, [esp + 0x408]
push edx
call fcn.00497dc4
add esp, 0xc
mov edx, 1
lea eax, [esp + 0x400]
call fcn.0044e458
mov eax, edi
call fcn.0042cfac
add esp, 0x600
pop edi
pop esi
pop ebx
ret
Function at 0x42d0d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
jg 0x42d0f8
xor eax, eax
jmp 0x42d1b9
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x42d102
add edx, 0xf
sar edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, 4
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.0042d554
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x42d195
mov eax, ebx
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
add ebx, 0x10
lea edx, [ebp - 0x24]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0042d554
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x42d151
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x42d1d7
test esi, esi
jg 0x42d1de
xor eax, eax
jmp 0x42d294
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00494c74
add esp, 0xc
test esi, esi
jns 0x42d1fa
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x42d279
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042db84
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x14], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x10], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x42d20c
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00494c74
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d4b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
shl ebx, 2
add edx, edi
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx ebp, byte [edx + 1]
mov bl, byte [edx]
lea ebp, [ebp*4 + 0x4b6156]
lea ebx, [ebx*4 + 0x4b5d56]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x4b6556]
lea edx, [edx*4 + 0x4b6956]
xor bl, byte [ebp + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x42d4ca
inc eax
cmp eax, 4
jl 0x42d4c8
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.00494c74
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x42d4c6
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43011c
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x43ddb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov eax, dword [0x4bb9b4]
push esi
add esp, 0xfffffbe8
cmp dword [eax + 0x30], 0
je 0x43df50
push 1
push 0
mov edx, 0x4badb4
mov eax, 0x4c309c
xor ecx, ecx
call fcn.0046109c
dec eax
jne 0x43df50
xor edx, edx
xor eax, eax
mov dword [esp], edx
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
cmp byte [0x4b86d4], 0
je 0x43de13
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
mov eax, 0x4c309c
call fcn.00462b94
jmp 0x43de27
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
mov eax, 0x4c309c
call fcn.00462a94
cmp dword [esp + 8], 0
je 0x43df50
push 0x400
push 0
lea edx, [esp + 0x20]
xor ecx, ecx
mov eax, dword [0x4bb9b4]
call fcn.0040f868
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43de83
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
call fcn.0045e884
xor eax, eax
mov al, byte [esp + 0xc]
cmp eax, 0x43
je 0x43de75
cmp eax, 0x4e
jne 0x43de83
push dword [esp]
call fcn.00493468
pop ecx
jmp 0x43df50
push 0x4a4e15
lea edx, [esp + 0x1c]
push edx
call fcn.00496d9c
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x43dec6
lea eax, [esp + 0x18]
push eax
mov eax, 0x1f6
call fcn.0041202c
push eax
push 0x4badb4
call fcn.00448a00
add esp, 0xc
push dword [esp]
call fcn.00493468
pop ecx
jmp 0x43df50
cmp byte [0x4b86d4], 0
je 0x43df23
push ebx
push 0xff
call fcn.00498b24
add esp, 8
push ebx
push 0xfe
call fcn.00498b24
add esp, 8
xor esi, esi
cmp esi, dword [esp + 8]
jge 0x43df36
push ebx
mov eax, dword [esp + 8]
movzx edx, word [eax + esi*2]
push edx
call fcn.00498b24
add esp, 8
push ebx
mov ecx, dword [esp + 8]
movzx eax, word [ecx + esi*2]
sar eax, 8
push eax
call fcn.00498b24
add esp, 8
inc esi
cmp esi, dword [esp + 8]
jl 0x43def3
jmp 0x43df36
push ebx
push dword [esp + 0xc]
push 1
push dword [esp + 0xc]
call fcn.004971b4
add esp, 0x10
push ebx
call fcn.004968a0
pop ecx
push dword [esp]
call fcn.00493478
pop ecx
push dword [esp + 4]
call fcn.00493478
pop ecx
add esp, 0x418
pop esi
pop ebx
ret
Function at 0x4423a8
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4423b1
mov eax, dword [ebp - 4]
add esp, 0xfffffb1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc30], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, 0x4a4bc8
call fcn.00495294
lea edx, [ebp - 0x1034]
mov eax, 0x4a5812
call fcn.0046e748
test al, al
jne 0x442406
xor eax, eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
jmp 0x442591
lea ecx, [ebp - 0x1434]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x1034]
push eax
call fcn.004967f8
pop ecx
call fcn.00456d34
mov ecx, 0x4bb1b4
mov edx, 0x4badb4
mov eax, 0x4c309c
call fcn.00462684
mov edx, dword [0x4c32a4]
mov dword [0x4b996c], edx
call fcn.00457894
mov dword [0x4b8f84], 2
mov ecx, dword [ebp - 0xc30]
mov edx, ebx
mov eax, dword [0x4bb9b4]
call fcn.0040f784
mov eax, 0x4c309c
xor ecx, ecx
xor edx, edx
call fcn.0045d68c
xor ebx, ebx
mov word [ebp - 0xc1c], 8
lea eax, [ebp - 0xc08]
call fcn.004126ec
inc dword [ebp - 0xc10]
mov edx, 0x4a4ddd
mov word [ebp - 0xc1c], 0x14
lea eax, [ebp - 0xc08]
call fcn.0041278c
lea eax, [ebp - 0x18d4]
call fcn.004137a4
lea eax, [ebp - 0x18a8]
call fcn.004137a4
lea eax, [ebp - 0x187c]
call fcn.004137a4
jmp 0x442525
cmp byte [ebp - 0x18d8], 0
jne 0x442525
call fcn.0040ffc8
test eax, eax
je 0x44250b
cmp word [ebp - 0x20e8], 0
je 0x44250b
test esi, esi
je 0x44250b
lea edx, [ebp - 0xc34]
push edx
push esi
push 0x400
lea ecx, [ebp - 0x20e8]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameW
jmp 0x442514
test esi, esi
je 0x442514
mov word [esi], 0
lea eax, [ebp - 0x24e8]
mov edx, edi
call fcn.0040a9a4
mov bl, 1
jmp 0x44253c
lea edx, [ebp - 0x24e8]
lea eax, [ebp - 0xc08]
xor ecx, ecx
call fcn.00412800
test al, al
jne 0x4424d0
lea eax, [ebp - 0x1434]
push eax
call fcn.004967f8
pop ecx
test bl, bl
jne 0x442559
lea edx, [ebp - 0x1034]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
mov byte [0x4c28f0], 0
mov eax, 0x4c28c4
call fcn.004495b8
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 0xc08]
dec dword [ebp - 0xc10]
call fcn.0041275c
pop eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x444eb5
Capabilities:
Read .ini file

Disassembly:
add esp, 0xfffffb38
cmp byte [0x4af630], 0
jne 0x444f8a
push 0x400
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4a5a25
lea eax, [esp + 4]
call fcn.0040ba60
push eax
call fcn.00494e64
add esp, 8
push esp
push 0x64
lea edx, [esp + 0x408]
push edx
push 0x4a4c39
push 0x4a5a3a
push 0x4a5a2d
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x64
lea ecx, [esp + 0x46c]
push ecx
push 0x4a4c39
push 0x4a5a42
push 0x4a5a2d
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0
push 0x4a5a4a
push 0x4a5a2d
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp byte [esp + 0x400], 0
je 0x444f8a
cmp byte [esp + 0x464], 0
je 0x444f8a
test eax, eax
jne 0x444f8a
push esp
push 0x4a4f00
push 0x4a5a4a
push 0x4a5a2d
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x44a1cc
push dword [0x4c2340]
push 0x4a4f5e
push dword [0x4af654]
call sub.USER32.DLL_DialogBoxParamA
add esp, 0x4c8
ret

Function at 0x44813c
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x44840c
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
mov eax, ebx
call fcn.0046e968
test al, al
jne 0x448424
xor eax, eax
jmp 0x44845f
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
push ebx
call fcn.00497a28
pop ecx
push ebx
lea edx, [esp + 4]
push edx
call fcn.00494e64
add esp, 8
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.00494f49
add esp, 8
mov ebx, eax
test eax, eax
je 0x448459
mov byte [ebx], 0
push esp
call sub.KERNEL32.DLL_RemoveDirectoryA
add esp, 0x400
pop ebx
ret
Function at 0x4484c4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
test esi, esi
je 0x4485c6
push esi
call fcn.00494e94
pop ecx
mov dword [esp], eax
test eax, eax
je 0x4485c6
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x4484f7
xor eax, eax
jmp 0x4485cb
call sub.USER32.DLL_EmptyClipboard
mov edi, dword [esp]
inc edi
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x44853a
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x44853a
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.00494c74
add esp, 0xc
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 1
call sub.USER32.DLL_SetClipboardData
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x44857b
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x44857b
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.00494c74
add esp, 0xc
push ebp
push ebp
call sub.USER32.DLL_CharToOemA
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 7
call sub.USER32.DLL_SetClipboardData
call fcn.0040ffc8
test eax, eax
je 0x4485c1
mov ecx, edi
add ecx, ecx
push ecx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x4485c1
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x4485c1
push edi
push ebp
push 0xffffffffffffffff
push esi
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 0xd
call sub.USER32.DLL_SetClipboardData
call sub.USER32.DLL_CloseClipboard
mov eax, 1
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x449010
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffff79c
mov ebx, eax
lea esi, [esp + 0x464]
push ebx
mov eax, 0x6c
call fcn.0041202c
push eax
lea edx, [esp + 8]
push edx
call fcn.00497dc4
add esp, 0xc
jmp 0x449089
push 0x400
push esi
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
je 0x449067
push esi
push ebx
call fcn.00494e18
add esp, 8
test eax, eax
je 0x449067
mov eax, esi
xor edx, edx
call fcn.0046ec30
test al, al
jne 0x449096
push 0x15
mov eax, 0x66
call fcn.0041202c
push eax
lea edx, [esp + 8]
push edx
push dword [0x4c2340]
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
je 0x4490b0
xor edx, edx
mov eax, ebx
call fcn.0046ec30
test al, al
je 0x44903c
mov eax, 0x4c2354
call fcn.004691b8
test al, al
je 0x4490b0
mov eax, 0x4c2354
xor edx, edx
call fcn.004638e8
add esp, 0x864
pop esi
pop ebx
ret

Function at 0x4490bc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
add esp, 0xfffffe94
mov eax, dword [ebx + 0x2c]
add eax, 0x41
push eax
push 0x4a4cb5
lea edx, [esp + 8]
push edx
call fcn.00497dc4
add esp, 0xc
push 0x301
push 0x160
lea ecx, [esp + 0x14]
push ecx
push 0
lea eax, [esp + 0x10]
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
test byte [ebx + 0x10], 1
je 0x449126
push 0xd
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
mov edi, eax
push 0xe
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
mov ebp, eax
push 0
push 0
push 0x4a4c39
lea eax, [ebx + 0x1c]
push eax
push 2
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.GDI32.DLL_ExtTextOutA
push 0x31
call sub.USER32.DLL_GetSystemMetrics
mov esi, eax
push 0x32
call sub.USER32.DLL_GetSystemMetrics
push 3
push 0
push 0
push eax
push esi
push dword [esp + 0x20]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.USER32.DLL_DrawIconEx
push dword [esp + 0xc]
call sub.USER32.DLL_DestroyIcon
lea eax, [esp + 0x18]
push eax
call fcn.00494e94
pop ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [ebx + 0x20]
add ecx, 2
push ecx
add esi, dword [ebx + 0x1c]
add esi, 7
push esi
push dword [ebx + 0x18]
call sub.GDI32.DLL_TextOutA
test byte [ebx + 0x10], 1
je 0x4491b5
push edi
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
push ebp
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
add esp, 0x16c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44a354
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xffffffb0
mov ebp, eax
call fcn.0040ffc8
test eax, eax
je 0x44a379
mov eax, ebp
call fcn.0043e4c4
jmp 0x44a493
xor ebx, ebx
xor esi, esi
mov eax, 0x4c2354
xor ecx, ecx
xor edx, edx
call fcn.00468d6c
jmp 0x44a3da
lea edx, [esp + 0xc30]
mov eax, esp
call fcn.0040a9a4
lea ecx, [esp + 0xc30]
push ecx
call fcn.00494e94
pop ecx
mov edi, eax
inc edi
lea eax, [edi + esi + 1]
push eax
push ebx
call fcn.00493c14
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x44a493
lea edx, [esp + 0xc30]
push edx
lea ecx, [esi + ebx]
push ecx
call fcn.00494e64
add esp, 8
add esi, edi
mov edx, esp
mov eax, 0x4c2354
xor ecx, ecx
call fcn.00468d6c
test al, al
jne 0x44a38d
test esi, esi
jne 0x44a415
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x14c
call fcn.0041202c
push eax
push dword [0x4c2340]
call sub.USER32.DLL_MessageBoxA
jmp 0x44a493
mov byte [ebx + esi], 0
push 0x1e
push 0
lea edx, [esp + 0x1038]
push edx
call fcn.00494ce4
add esp, 0xc
mov ecx, dword [0x4c2340]
mov dword [esp + 0x1030], ecx
mov dword [esp + 0x1034], 3
test ebp, ebp
je 0x44a453
mov word [esp + 0x1040], 0x40
mov dword [esp + 0x1038], ebx
lea eax, [esp + 0x1030]
push eax
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
sete dl
and edx, 1
test ebx, ebx
je 0x44a47a
push ebx
call fcn.00493c04
pop ecx
mov eax, 0x4c287c
call fcn.004699c4
mov edx, 0x4a4c39
mov eax, 0x4c2354
call fcn.004638e8
add esp, 0x1050
pop ebp
pop edi
pop esi
pop ebx
ret