joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428d88
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 [0x4b2148]
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
push dword [0x4b2148]
call sub.KERNEL32.DLL_LoadResource
mov ebp, eax
push ebx
push dword [0x4b2148]
call sub.KERNEL32.DLL_SizeofResource
mov ebx, eax
push ebx
call fcn.00496a44
pop ecx
mov esi, eax
test esi, esi
jne 0x428de6
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x428efb
push ebx
push ebp
push esi
call fcn.00497a90
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.00428fbc
test al, al
je 0x428e5a
mov ecx, esi
test bl, bl
je 0x428e32
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
mov eax, 0xd
test bl, bl
jne 0x428e68
add eax, 0xfffffffc
add eax, eax
add ebp, eax
cmp word [ebp], 0xffff
jne 0x428e7b
mov edx, 2
jmp 0x428e85
mov eax, ebp
call fcn.00410768
mov edx, eax
inc edx
add edx, edx
add ebp, edx
cmp word [ebp], 0xffff
jne 0x428e98
mov ecx, 2
jmp 0x428ea2
mov eax, ebp
call fcn.00410768
mov ecx, eax
inc ecx
add ecx, ecx
lea edx, [esp + 0x10]
add ebp, ecx
mov ecx, 0x1000000
mov eax, ebp
call fcn.00410490
push 1
push dword [esp + 4]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x18]
mov eax, edi
call fcn.00428944
lea eax, [esp + 0x210]
push eax
call fcn.00497de4
pop ecx
mov edx, dword [esp + 4]
mov dword [edx], eax
cmp dword [esp + 8], 0x64
jne 0x428ef9
cmp dword [esp + 0xc], 0x64
jne 0x428ef9
push esi
call fcn.00496a54
pop ecx
xor esi, esi
mov eax, esi
add esp, 0x410
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42d600
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.004125d0
push eax
test ebx, ebx
je 0x42d624
cmp byte [ebx], 0
jne 0x42d626
xor ebx, ebx
push ebx
call fcn.0047d240
add esp, 0xc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 3
jne 0x42d69d
push esi
call fcn.00497cb0
pop ecx
mov ebx, eax
mov eax, esi
call fcn.0040c8ac
test al, al
jne 0x42d664
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call fcn.00497cb0
pop ecx
add eax, ebx
inc eax
mov ebx, eax
cmp ebx, 0x104
jle 0x42d69d
push 0x104
mov eax, 0x564
call fcn.004125d0
push eax
lea edx, [esp + 0x408]
push edx
call fcn.0049abd0
add esp, 0xc
mov edx, 1
lea eax, [esp + 0x400]
call fcn.00486a28
mov eax, edi
call fcn.0042d7a8
add esp, 0x600
pop edi
pop esi
pop ebx
ret
Function at 0x42d8d4
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 0x42d8f4
xor eax, eax
jmp 0x42d9b5
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x42d8fe
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.0042dd38
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x42d991
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.0042dd38
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x42d94d
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 0x42d9bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x42d9d3
test esi, esi
jg 0x42d9da
xor eax, eax
jmp 0x42da82
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.00497a90
add esp, 0xc
test esi, esi
jns 0x42d9f6
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
test esi, esi
jle 0x42da67
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0042e2b4
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
xor dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
xor dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec esi
test esi, esi
jg 0x42da03
push 0x10
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00497a90
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42da8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 4
push 0x20
push edx
lea edx, [esp + 0x14]
push edx
call fcn.00497a90
add esp, 0xc
xor esi, esi
xor ecx, ecx
xor edx, edx
jmp 0x42daf5
xor eax, eax
mov edi, esi
mov ebp, dword [esp]
shl edi, 4
lea ebx, [esp + edx*4 + 0xc]
lea edi, [ebp + edi]
mov bl, byte [ebx + eax]
lea edi, [edi + ecx*4]
mov byte [edi + eax + 0x14], bl
inc eax
cmp eax, 4
jl 0x42dac0
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42daed
cmp ecx, 4
jl 0x42dabe
cmp ecx, 4
jne 0x42daf5
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42db00
cmp esi, 0xa
jle 0x42dae2
cmp esi, 0xa
jg 0x42dc93
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov al, byte [edx + 0x4b662c]
xor byte [esp + 0xc], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 0xa]
mov dl, byte [eax + 0x4b662c]
xor byte [esp + 0xd], dl
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov al, byte [edx + 0x4b662c]
xor byte [esp + 0xe], al
mov edx, dword [esp + 8]
xor eax, eax
mov al, byte [esp + edx*4 + 8]
mov dl, byte [eax + 0x4b662c]
xor byte [esp + 0xf], dl
mov eax, dword [esp + 4]
mov dl, byte [eax + 0x4b682c]
xor byte [esp + 0xc], dl
inc dword [esp + 4]
cmp dword [esp + 8], 8
je 0x42dba3
mov edx, 1
cmp edx, dword [esp + 8]
jge 0x42dc41
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42db83
inc edx
cmp edx, dword [esp + 8]
jl 0x42db81
jmp 0x42dc41
mov edx, 1
jmp 0x42dbc1
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42dbac
inc edx
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42dbcc
adc eax, 0
cmp edx, eax
jl 0x42dbaa
mov eax, dword [esp + 8]
sar eax, 1
jns 0x42dbdb
adc eax, 0
xor edx, edx
mov dl, byte [esp + eax*4 + 8]
mov dl, byte [edx + 0x4b662c]
xor byte [esp + eax*4 + 0xc], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 9]
mov dl, byte [edx + 0x4b662c]
xor byte [esp + eax*4 + 0xd], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xa]
mov dl, byte [edx + 0x4b662c]
xor byte [esp + eax*4 + 0xe], dl
xor edx, edx
mov dl, byte [esp + eax*4 + 0xb]
mov dl, byte [edx + 0x4b662c]
xor byte [esp + eax*4 + 0xf], dl
mov edx, eax
inc edx
cmp edx, dword [esp + 8]
jge 0x42dc41
xor eax, eax
lea ebx, [esp + edx*4 + 8]
lea edi, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
xor byte [edi + eax], bl
inc eax
cmp eax, 4
jl 0x42dc26
inc edx
cmp edx, dword [esp + 8]
jl 0x42dc24
xor edx, edx
jmp 0x42dc7f
xor eax, eax
mov ebx, esi
shl ebx, 4
mov edi, dword [esp]
lea ebx, [edi + ebx]
lea ebx, [ebx + ecx*4]
lea edi, [ebx + eax + 0x14]
lea ebx, [esp + edx*4 + 0xc]
mov bl, byte [ebx + eax]
mov byte [edi], bl
inc eax
cmp eax, 4
jl 0x42dc49
inc edx
inc ecx
cmp edx, dword [esp + 8]
jge 0x42dc77
cmp ecx, 4
jl 0x42dc47
cmp ecx, 4
jne 0x42dc7f
inc esi
xor ecx, ecx
cmp edx, dword [esp + 8]
jge 0x42dc8a
cmp esi, 0xa
jle 0x42dc6c
cmp esi, 0xa
jle 0x42db09
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42dc9c
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 + 0x4b8c4a]
lea ebx, [ebx*4 + 0x4b884a]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x4b904a]
lea edx, [edx*4 + 0x4b944a]
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 0x42dcae
inc eax
cmp eax, 4
jl 0x42dcac
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.00497a90
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x42dcaa
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4307ec
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 0x43e746
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov eax, dword [0x4be4b8]
push esi
add esp, 0xfffffbe8
cmp dword [eax + 0x30], 0
je 0x43e900
push 1
push 0
mov edx, 0x4bd8b8
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.00455fa0
dec eax
jne 0x43e900
xor edx, edx
xor eax, eax
mov dword [esp], edx
xor edx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
cmp dword [0x4bb1c8], 3
jne 0x43e7a9
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
mov eax, 0x4c5bc4
call fcn.00457b0c
jmp 0x43e7bd
push 1
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
mov eax, 0x4c5bc4
call fcn.00457a0c
cmp dword [esp + 8], 0
je 0x43e900
push 0x400
push 0
lea edx, [esp + 0x20]
xor ecx, ecx
mov eax, dword [0x4be4b8]
call fcn.0040fce0
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x43e819
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
call fcn.004537b4
xor eax, eax
mov al, byte [esp + 0xc]
cmp eax, 0x43
je 0x43e80b
cmp eax, 0x4e
jne 0x43e819
push dword [esp]
call fcn.004962cc
pop ecx
jmp 0x43e900
push 0x4a6ba3
lea edx, [esp + 0x1c]
push edx
call fcn.00499bb0
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x43e85c
lea eax, [esp + 0x18]
push eax
mov eax, 0x1f6
call fcn.004125d0
push eax
push 0x4bd8b8
call fcn.0047d240
add esp, 0xc
push dword [esp]
call fcn.004962cc
pop ecx
jmp 0x43e900
cmp dword [0x4bb1c8], 3
jne 0x43e8b9
push ebx
push 0xff
call fcn.0049b914
add esp, 8
push ebx
push 0xfe
call fcn.0049b914
add esp, 8
xor esi, esi
cmp esi, dword [esp + 8]
jge 0x43e8e6
push ebx
mov eax, dword [esp + 8]
movzx edx, word [eax + esi*2]
push edx
call fcn.0049b914
add esp, 8
push ebx
mov ecx, dword [esp + 8]
movzx eax, word [ecx + esi*2]
sar eax, 8
push eax
call fcn.0049b914
add esp, 8
inc esi
cmp esi, dword [esp + 8]
jl 0x43e889
jmp 0x43e8e6
cmp dword [0x4bb1c8], 2
jne 0x43e8d3
push dword [esp + 8]
push dword [esp + 4]
push dword [esp + 8]
call sub.USER32.DLL_CharToOemBuffA
push ebx
push dword [esp + 0xc]
push 1
push dword [esp + 0xc]
call fcn.00499fc8
add esp, 0x10
push ebx
call fcn.004996b8
pop ecx
push dword [esp]
call fcn.004962cc
pop ecx
push dword [esp + 4]
call fcn.004962cc
pop ecx
add esp, 0x418
pop esi
pop ebx
ret

Function at 0x43eb75
Capabilities:
Read .ini file

Disassembly:
add esp, 0xfffffb38
cmp byte [0x4b2124], 0
jne 0x43ec4a
push 0x400
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4a6cc0
lea eax, [esp + 4]
call fcn.0040bd28
push eax
call fcn.00497c80
add esp, 8
push esp
push 0x64
lea edx, [esp + 0x408]
push edx
push 0x4a695e
push 0x4a6cd5
push 0x4a6cc8
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x64
lea ecx, [esp + 0x46c]
push ecx
push 0x4a695e
push 0x4a6cdd
push 0x4a6cc8
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0
push 0x4a6ce5
push 0x4a6cc8
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp byte [esp + 0x400], 0
je 0x43ec4a
cmp byte [esp + 0x464], 0
je 0x43ec4a
test eax, eax
jne 0x43ec4a
push esp
push 0x4a6cee
push 0x4a6ce5
push 0x4a6cc8
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x48359c
push dword [0x4c4e64]
push 0x4a6cf0
push dword [0x4b2148]
call sub.USER32.DLL_DialogBoxParamA
add esp, 0x4c8
ret
Function at 0x43f03d
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, 0x4a6955
add esp, 0xfffff3d8
xor ecx, ecx
lea edx, [ebx + 0x41f]
lea eax, [ebx + 0x62]
call fcn.0046139c
test eax, eax
jne 0x43f16f
push 0x401
lea eax, [esp + 0x404]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
lea edx, [ebx + 0x42d]
push edx
lea eax, [esp + 0x404]
call fcn.0040bd28
push eax
call fcn.00497c80
add esp, 8
mov eax, esp
call fcn.0046445c
push esp
lea edx, [esp + 0x808]
push edx
call fcn.00497c80
add esp, 8
lea eax, [esp + 0x804]
call fcn.0040c22c
lea edx, [ebx + 0x42d]
push edx
lea ecx, [esp + 0x808]
push ecx
call fcn.00497ba4
add esp, 8
xor edx, edx
lea eax, [esp + 0x804]
call fcn.0040a72c
test al, al
jne 0x43f15c
lea ecx, [esp + 0x400]
push ecx
call fcn.00497cb0
pop ecx
mov byte [esp + eax + 0x401], 0
lea eax, [esp + 0x804]
push eax
call fcn.00497cb0
pop ecx
mov byte [esp + eax + 0x805], 0
push 0x1e
push 0
lea edx, [esp + 0xc10]
push edx
call fcn.00497b00
add esp, 0xc
mov dword [esp + 0xc0c], 2
lea ecx, [esp + 0x400]
lea eax, [esp + 0x804]
mov dword [esp + 0xc10], ecx
mov dword [esp + 0xc14], eax
mov word [esp + 0xc18], 0x14
lea edx, [esp + 0xc08]
push edx
call sub.SHELL32.DLL_SHFileOperationA
lea edx, [ebx + 0x41f]
lea eax, [ebx + 0x62]
mov ecx, 1
call fcn.004610d0
add esp, 0xc28
pop ebx
ret
Function at 0x4451c7
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
cmp dword [0x4a709c], 0
jne 0x445209
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov dword [0x4a709c], 0x400000
mov eax, dword [esp + 8]
cmp eax, 0x8000000
ja 0x4451f8
mov dword [0x4a709c], 0x200000
cmp eax, 0x4000000
ja 0x445209
mov dword [0x4a709c], 0x100000
mov eax, dword [0x4a709c]
add esp, 0x20
ret

Function at 0x446005
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff200
mov esi, edx
mov ebx, eax
mov eax, esi
lea ebp, [esp + 0x400]
call fcn.0040bd28
mov edi, eax
cmp byte [0x4b3a60], 0
je 0x44603f
mov eax, 0x4b3960
mov ecx, 0x3a
mov edx, edi
call fcn.00410c04
jmp 0x44604a
push 0x3a
push edi
call fcn.00497d48
add esp, 8
test eax, eax
je 0x446088
cmp byte [0x4a7168], 0
jne 0x446088
push 0x31
mov eax, 0x65
call fcn.004125d0
push eax
mov eax, 0x528
call fcn.004125d0
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
dec eax
jne 0x446081
mov byte [0x4a7168], 1
jmp 0x446088
xor eax, eax
jmp 0x446156
mov edi, esi
cmp byte [0x4b3a60], 0
je 0x4460a6
mov eax, 0x4b3960
mov ecx, 0x5c
mov edx, edi
call fcn.00410c48
jmp 0x4460b1
push 0x5c
push edi
call fcn.00497d60
add esp, 8
mov edi, eax
test edi, edi
je 0x4460c5
cmp esi, edi
je 0x4460c5
xor eax, eax
mov al, byte [edi - 1]
cmp eax, 0x3a
jne 0x4460cc
mov al, 1
jmp 0x446156
push esi
lea edx, [esp + 4]
push edx
call fcn.00497c80
add esp, 8
sub edi, esi
mov byte [esp + edi], 0
push 0x400
push ebp
lea ecx, [esp + 8]
push ecx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov byte [ebp + 0x3ff], 0
jmp 0x446149
mov eax, 0x14d
call fcn.004125d0
push eax
push ebp
push 0x4a75ee
lea edx, [esp + 0x80c]
push edx
call fcn.0049abd0
add esp, 0x10
mov eax, 0x65
push 0x34
call fcn.004125d0
push eax
lea edx, [esp + 0x808]
push edx
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
je 0x44613e
xor eax, eax
jmp 0x446156
mov eax, ebp
xor ecx, ecx
xor edx, edx
call fcn.0040a2c4
push ebp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4460f9
mov al, 1
add esp, 0xe00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x448ec3
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff400
mov esi, edx
xor ebx, ebx
mov byte [esi], 0
mov eax, dword [0x4be4b8]
cmp dword [eax + 0x30], 0
jbe 0x448f3d
push 0x400
push 0
lea edx, [esp + 8]
xor ecx, ecx
call fcn.0040fce0
mov edx, dword [0x4be4b8]
cmp dword [edx + 0x30], 1
jne 0x448f25
mov eax, esp
xor edx, edx
call fcn.0040a72c
test al, al
je 0x448f1e
mov eax, esp
xor edx, edx
call fcn.0040ab60
call fcn.0040a8a4
test al, al
je 0x448f1e
xor ebx, ebx
jmp 0x448f2c
mov ebx, 1
jmp 0x448f2c
mov eax, esp
call fcn.0040c2fc
mov eax, esp
call fcn.0040bd28
push eax
push esi
call fcn.00497c80
add esp, 8
cmp byte [esi], 0
jne 0x448fb8
lea edx, [esp + 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x400]
call fcn.0040bd28
push eax
push esi
call fcn.00497c80
add esp, 8
cmp byte [esi], 0
jne 0x448fa5
push 0x400
push 0
lea edx, [esp + 0x808]
xor ecx, ecx
mov eax, dword [0x4be4b8]
call fcn.0040fce0
test al, al
je 0x448fa5
lea eax, [esp + 0x800]
call fcn.0040bd28
push eax
push esi
call fcn.00497c80
add esp, 8
mov bl, 1
cmp byte [esi], 0
jne 0x448fb8
push 0x4a7751
push esi
call fcn.00497c80
add esp, 8
test bl, bl
je 0x448fd9
mov eax, esi
call fcn.0040c118
mov ebx, eax
mov eax, esi
call fcn.0040bd28
cmp ebx, eax
je 0x448fd9
xor edx, edx
mov eax, esi
call fcn.0040c05c
add esp, 0xc00
pop esi
pop ebx
ret
Function at 0x44b1e8
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 0x44b1f1
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, 0x4a78fc
call fcn.004980b0
lea edx, [ebp - 0x1034]
mov eax, 0x4a7a3b
call fcn.00463a04
test al, al
jne 0x44b246
xor eax, eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
jmp 0x44b3d1
lea ecx, [ebp - 0x1434]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x1034]
push eax
call fcn.00499610
pop ecx
call fcn.00449558
mov ecx, 0x4bdcb8
mov edx, 0x4bd8b8
mov eax, 0x4c5bc4
call fcn.00457598
mov edx, dword [0x4c5dcc]
mov dword [0x4bc468], edx
call fcn.0044a0dc
mov dword [0x4bba80], 2
mov ecx, dword [ebp - 0xc30]
mov edx, ebx
mov eax, dword [0x4be4b8]
call fcn.0040fbfc
mov eax, 0x4c5bc4
xor ecx, ecx
xor edx, edx
call fcn.0045249c
xor ebx, ebx
mov word [ebp - 0xc1c], 8
lea eax, [ebp - 0xc08]
call fcn.00412ca8
inc dword [ebp - 0xc10]
mov edx, 0x4a7941
mov word [ebp - 0xc1c], 0x14
lea eax, [ebp - 0xc08]
call fcn.00412d48
lea eax, [ebp - 0x18d4]
call fcn.00413d60
lea eax, [ebp - 0x18a8]
call fcn.00413d60
lea eax, [ebp - 0x187c]
call fcn.00413d60
jmp 0x44b365
cmp byte [ebp - 0x18d8], 0
jne 0x44b365
call fcn.0041043c
test eax, eax
je 0x44b34b
cmp word [ebp - 0x20e8], 0
je 0x44b34b
test esi, esi
je 0x44b34b
lea edx, [ebp - 0xc34]
push edx
push esi
push 0x400
lea ecx, [ebp - 0x20e8]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameW
jmp 0x44b354
test esi, esi
je 0x44b354
mov word [esi], 0
lea eax, [ebp - 0x24e8]
mov edx, edi
call fcn.0040abcc
mov bl, 1
jmp 0x44b37c
lea edx, [ebp - 0x24e8]
lea eax, [ebp - 0xc08]
xor ecx, ecx
call fcn.00412dbc
test al, al
jne 0x44b310
lea eax, [ebp - 0x1434]
push eax
call fcn.00499610
pop ecx
test bl, bl
jne 0x44b399
lea edx, [ebp - 0x1034]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
mov byte [0x4c5414], 0
mov eax, 0x4c53e8
call fcn.0047c924
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 0xc08]
dec dword [ebp - 0xc10]
call fcn.00412d18
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 0x44ce14
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
cmp byte [ebp + 8], 0
je 0x44ce7c
push ebx
push 0x400
mov edx, 0x4a7a92
mov eax, 0x4a7a87
mov ecx, edi
call fcn.004611c4
cmp byte [edi], 0
jne 0x44ce54
push ebx
push edi
call fcn.00497c80
add esp, 8
jmp 0x44ce7f
push 0x400
lea eax, [ebp - 0x400]
push eax
push edi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov byte [ebp - 1], 0
lea edx, [ebp - 0x400]
push edx
push edi
call fcn.00497c80
add esp, 8
jmp 0x44ce7f
mov byte [edi], 0
mov al, byte [edi]
test al, al
setne bl
and ebx, 1
test al, al
jne 0x44ce98
push edi
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, edi
call fcn.0040c22c
cmp byte [ebp + 0x10], 0
jne 0x44cead
test bl, bl
je 0x44cf52
mov edx, 0x4a7a9c
mov eax, 0x4a7a87
mov ecx, 1
call fcn.0046139c
test eax, eax
je 0x44cf52
mov eax, esi
call fcn.0040bd28
push eax
push edi
call fcn.00497ba4
add esp, 8
mov eax, edi
call fcn.0040c118
mov esi, eax
test esi, esi
je 0x44cf52
cmp edi, esi
jae 0x44cf52
mov byte [esi], 0
mov eax, edi
call fcn.0040c118
mov ebx, eax
test ebx, ebx
je 0x44cf3e
cmp edi, ebx
jae 0x44cf3e
cmp byte [ebp + 0xc], 0
je 0x44cf2b
cmp byte [esi + 1], 0
je 0x44cf2b
xor eax, eax
mov al, byte [esi + 2]
push eax
call fcn.0049b9ec
pop ecx
test eax, eax
jne 0x44cf2b
xor edx, edx
mov dl, byte [esi - 1]
push edx
call fcn.0049b9ec
pop ecx
test eax, eax
jne 0x44cf3b
mov edx, 0x4a7aa7
mov eax, ebx
call fcn.0040f224
test eax, eax
jne 0x44cf3e
mov byte [ebx], 0
dec esi
jmp 0x44cf45
mov byte [esi], 0
dec esi
cmp edi, esi
jae 0x44cf52
xor ecx, ecx
mov cl, byte [esi]
cmp ecx, 0x2e
je 0x44cf41
xor edx, edx
mov eax, edi
call fcn.0040c6b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc