joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4019b2
Capabilities:
Terminate process

Disassembly:
push 0x3c
mov eax, 0x4b2d6b
call fcn.0049174a
mov esi, ecx
push str.lblTitle
lea eax, [esi + 0x14]
call fcn.0045bfef
mov edx, dword [eax]
push 0x4b80e0
mov ecx, eax
call dword [edx + 0x3c]
lea edi, [ebp - 0x2c]
call fcn.0042a925
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x4019f1
lea edx, [ebp - 0x28]
call fcn.00425db7
mov ebx, str.127.0.0.1
test eax, eax
je 0x401a1d
mov edx, dword [ebp - 0x18]
push 9
push ebx
lea eax, [ebp - 0x2c]
call fcn.00402a6a
test eax, eax
je 0x401a1d
mov eax, esi
call fcn.00401ad3
jmp 0x401ac1
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x24
push 0x4b80f8
push 0x4b8108
push dword [esi + 4]
call edi
cmp eax, 6
je 0x401a41
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x48]
call fcn.0040168e
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
jne 0x401a66
push 0x10
push 0x4b8140
push 0x4b8148
push dword [esi + 4]
call edi
jmp 0x401a39
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x401a72
lea eax, [ebp - 0x44]
push eax
call fcn.0042672b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push 9
push ebx
lea eax, [ebp - 0x2c]
call fcn.00402a6a
test eax, eax
mov eax, 0x4b8160
je 0x401a9b
mov eax, 0x4b8188
push eax
xor edi, edi
push edi
push esi
call fcn.00401b3a
push edi
push 0x3e8
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.00402bb8
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402abb
call fcn.004917cd
ret
Function at 0x402223
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xb4
mov eax, 0x4b1f29
call fcn.0049174a
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
push 0x10000000
mov esi, ecx
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x68], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x40226b
cmp edi, 0xffffffff
jne 0x402288
push 0x4b828c
push esi
call fcn.00402b91
lea eax, [ebp - 0x5c]
call fcn.004011d5
xor eax, eax
call fcn.004917cd
ret 8
push ebx
push ebx
lea eax, [ebp - 0x88]
call fcn.00431ce9
mov ecx, dword [ebp - 0x58]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.004012ce
test al, al
je 0x4022db
push str.desc:
lea ecx, [ebp - 0xa4]
call fcn.004026bb
lea eax, [ebp - 0xa4]
push eax
mov eax, esi
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x68], 1
call fcn.004014e5
pop ecx
pop ecx
mov byte [ebp - 0x51], 1
test al, al
jne 0x4022de
mov byte [ebp - 0x51], bl
mov dword [ebp - 4], 3
test byte [ebp - 0x68], 1
je 0x4022f9
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00402abb
cmp byte [ebp - 0x51], bl
je 0x40236d
lea eax, [ebp - 0xc0]
push eax
push ecx
lea eax, [ebp - 0x88]
push eax
mov edx, str.desc
call fcn.00431fdf
pop ecx
push eax
call fcn.0043121e
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.004011eb
pop ecx
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00402b06
push ebx
push 1
lea esi, [ebp - 0xa4]
call fcn.00402bb8
push ebx
push 1
lea ecx, [ebp - 0xc0]
call fcn.00402abb
lea esi, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.0043102f
jmp 0x402276
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push edi
call esi
push ebx
push edi
mov dword [ebp - 0x58], eax
call esi
cmp eax, 0x80
jae 0x402394
push 0x4b82b4
push dword [ebp - 0x60]
call fcn.00402b91
jmp 0x40235a
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
add eax, 0xfffffff4
push ebx
push eax
push edi
mov dword [ebp - 0x58], eax
call esi
push 0x3f
lea eax, [ebp - 0x4f]
push ebx
push eax
mov byte [ebp - 0x50], bl
call fcn.00492360
add esp, 0xc
push ebx
lea eax, [ebp - 0x64]
push eax
push 0xc
lea eax, [ebp - 0x50]
push eax
push edi
mov dword [ebp - 0x64], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x64], 0xc
je 0x4023dd
push 0x4b82c8
jmp 0x40238a
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0xc
je 0x402418
push 0x4b82e0
push dword [ebp - 0x60]
call fcn.00402b91
xor edi, edi
lea esi, [ebp - 0x88]
mov byte [ebp - 4], bl
call fcn.0043102f
lea eax, [ebp - 0x5c]
call fcn.004011d5
mov eax, edi
jmp 0x402280
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x50]
push eax
add ecx, 0x4a0
call fcn.00402a23
push ebx
push ebx
push dword [ebp - 0x58]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor edi, edi
inc edi
jmp 0x4023fb
Function at 0x405133
Capabilities:
Terminate process

Disassembly:
push 0x16c
mov eax, 0x4b3a2d
call fcn.0049174a
mov edi, ecx
push dword [edi + 4]
lea esi, [edi + 0x98]
mov eax, esi
call fcn.004577f9
lea eax, [ebp - 0x158]
call fcn.0045c2bb
xor eax, eax
push eax
push esi
push eax
mov dword [ebp - 4], eax
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], esp
call fcn.0045c2d9
push eax
mov eax, esi
call fcn.00459f88
lea eax, [edi + 0x10]
push eax
mov ecx, esi
call fcn.0045a8ca
push 0x65
call fcn.004561bb
push str.lblTitle
mov eax, esi
call fcn.0045bfef
mov ebx, eax
mov esi, dword [ebx]
mov eax, dword [edi]
mov ecx, edi
add esi, 0x3c
call dword [eax + 0x20]
push eax
mov ecx, ebx
call dword [esi]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
test eax, eax
jne 0x4051d1
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
push eax
lea ecx, [ebp - 0x178]
call fcn.004026bb
mov byte [ebp - 4], 1
push dword [edi + 4]
add edi, 0x14
lea ecx, [ebp - 0x178]
call fcn.004046cb
push 0
push 1
lea ecx, [ebp - 0x178]
call fcn.00402abb
lea esi, [ebp - 0x158]
call fcn.00455622
xor eax, eax
call fcn.004917cd
ret
Function at 0x406ad2
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aee28
mov eax, dword fs:[0]
push eax
mov eax, 0x1068
call fcn.0049bf00
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
push SysReAllocString
mov edi, ecx
push eax
mov dword [ebp - 0x1048], edi
mov dword [ebp - 0x1054], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x104c], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x406b3e
cmp esi, 0xffffffff
jne 0x406b5c
push 0x4b8448
mov ecx, edi
call fcn.004026bb
lea eax, [ebp - 0x104c]
call fcn.004011d5
mov eax, edi
jmp 0x406be9
lea eax, [ebp - 0x1054]
push eax
push esi
mov dword [ebp - 0x1054], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push 0x100f
lea eax, [ebp - 0x1043]
push ebx
push eax
mov dword [ebp - 0x1058], edi
mov byte [ebp - 0x1044], bl
call fcn.00492360
add esp, 0xc
lea eax, [ebp - 0x1050]
push ebx
push eax
mov dword [ebp - 0x1050], ebx
lea eax, [ebp - 0x1044]
cmp edi, 0x1000
ja 0x406c03
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406bc8
cmp dword [ebp - 0x1050], edi
je 0x406c56
mov ecx, dword [ebp - 0x1048]
push 0x4b8448
call fcn.004026bb
lea eax, [ebp - 0x104c]
call fcn.004011d5
mov eax, dword [ebp - 0x1048]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048ff11
leave
ret
mov edi, 0x800
push edi
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
call esi
test eax, eax
je 0x406bc8
cmp dword [ebp - 0x1050], edi
jne 0x406bc8
mov eax, dword [ebp - 0x1058]
push ebx
push ebx
add eax, 0xfffff800
push eax
push dword [ebp - 0x104c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x1050]
push eax
push edi
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x104c]
call esi
jmp 0x406bb8
push 7
pop ecx
push dword [ebp - 0x1058]
xor eax, eax
push dword [ebp - 0x1054]
mov byte [ebp - 0x34], bl
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push str._08x_08x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1074]
push 0x1010
push eax
lea ecx, [ebp - 0x1044]
movsd dword es:[edi], dword [esi]
call fcn.00448ae7
add esp, 0x18
mov esi, dword [ebp - 0x1048]
push 0x20
push 0xa
push eax
mov byte [ebp - 4], 1
call fcn.0040ba64
push ebx
push 1
lea ecx, [ebp - 0x1074]
call fcn.00402abb
lea eax, [ebp - 0x104c]
call fcn.004011d5
mov eax, esi
jmp 0x406be9
Function at 0x4075f4
Capabilities:
Delete registry value

Disassembly:
push 0x100
mov eax, 0x4b1e43
call fcn.0049174a
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
push ecx
push eax
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
mov edi, edx
call fcn.00427ab0
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], eax
jne 0x40763f
push eax
push 1
call fcn.00402bb8
xor eax, eax
call fcn.004917cd
ret
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00403ea7
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x34], 1
call fcn.0042db99
push 3
pop esi
push edi
push dword [ebp - 0x3c]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x34], esi
call fcn.0042dbfd
test al, al
je 0x4076b4
cmp byte [edi + 8], 7
jne 0x4076b4
push str.state:1__caseId:__time:__type:__reason:
lea ecx, [ebp - 0x5c]
call fcn.004026bb
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 4], esi
push edi
mov dword [ebp - 0x34], 7
call fcn.004014e5
pop ecx
pop ecx
mov byte [ebp - 0x2d], 0
test al, al
jne 0x4076b8
mov byte [ebp - 0x2d], 1
test byte [ebp - 0x34], 4
je 0x4076ce
and dword [ebp - 0x34], 0xfffffffb
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.00402abb
test byte [ebp - 0x34], 2
je 0x4076e3
and dword [ebp - 0x34], 0xfffffffd
lea eax, [ebp - 0x10c]
call fcn.004303b7
test byte [ebp - 0x34], 1
je 0x4076f5
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.00402abb
cmp byte [ebp - 0x2d], 0
je 0x40771d
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor edi, edi
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00402bb8
mov eax, edi
jmp 0x407639
xor edi, edi
inc edi
jmp 0x40770a
Function at 0x407722
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x4aedf7
call fcn.004916e1
push dword [ebp + 0xc]
mov esi, str.attachment
mov edx, esi
call fcn.00431f7c
cmp byte [eax + 8], 4
jne 0x4077fc
push dword [ebp + 0xc]
mov edx, 0x4b8bbc
call fcn.00431f7c
cmp byte [eax + 8], 4
jne 0x4077fc
lea eax, [ebp - 0x48]
push eax
push ecx
push dword [ebp + 0xc]
mov edx, esi
call fcn.00431f7c
pop ecx
push eax
call fcn.0043121e
xor ebx, ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004011eb
pop ecx
push 0xffffffffffffffff
push ebx
push edi
mov byte [ebp - 4], 1
call fcn.00402b06
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00402bb8
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00402abb
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x4077b7
mov eax, dword [esi]
jmp 0x4077b9
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407804
push 0x3e9
lea eax, [ebp - 0x48]
call fcn.00407132
cmp dword [eax + 0x18], 8
pop ecx
jb 0x4077dd
mov eax, dword [eax + 4]
jmp 0x4077e0
add eax, 4
push 0x10
push 0x4b8140
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00402bb8
xor eax, eax
call fcn.004917b9
ret
cmp dword [edi + 0x18], 8
jb 0x40780c
mov esi, dword [esi]
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00448a5f
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x48]
push eax
push ecx
push dword [ebp + 0xc]
mov edx, 0x4b8bbc
mov dword [ebp - 4], 2
call fcn.00431f7c
pop ecx
push eax
call fcn.0043121e
push esi
push eax
mov byte [ebp - 4], 3
call fcn.0040be8a
pop ecx
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 0xd], al
call fcn.00402abb
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402abb
cmp byte [ebp - 0xd], bl
je 0x4078a1
push 0x3ea
lea eax, [ebp - 0x64]
call fcn.00407132
cmp dword [eax + 0x18], 8
pop ecx
jb 0x407883
mov eax, dword [eax + 4]
jmp 0x407886
add eax, 4
push 0x10
push 0x4b8140
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push esi
lea esi, [ebp - 0x64]
jmp 0x4077f7
mov eax, esi
jmp 0x4077fe
Function at 0x40ed75
Capabilities:
Terminate process

Disassembly:
push 0x88
mov eax, 0x4aaa42
call fcn.0049174a
mov esi, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
call dword [eax + 8]
and dword [ebp - 4], 0
mov ecx, str.click
mov eax, esi
call fcn.004569b7
test eax, eax
jne 0x40edea
mov ecx, str.btnClose
lea eax, [ebp - 0x94]
call fcn.004569b7
test eax, eax
jne 0x40edcf
push 2
lea esi, [edi - 0x10]
call fcn.0045606b
jmp 0x40ee1c
mov ecx, str.btnOk
lea eax, [ebp - 0x94]
call fcn.004569b7
test eax, eax
jne 0x40ee1c
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, str.itemdbclick
mov eax, esi
call fcn.004569b7
test eax, eax
jne 0x40ee1c
push dword [ebp - 0x94]
mov esi, str.item_
call fcn.0042788c
test eax, eax
je 0x40ee1c
push dword [ebp - 0x94]
lea eax, [edi - 0x10]
call fcn.0040ee2f
lea ecx, [ebp - 0x94]
call fcn.0045671f
call fcn.004917cd
ret 4
Function at 0x410c35
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push 8
mov esi, eax
pop edi
cmp dword [esi + 0x6a8], edi
jb 0x410c4c
mov eax, dword [esi + 0x694]
jmp 0x410c52
lea eax, [esi + 0x694]
test eax, eax
je 0x410c86
cmp dword [esi + 0x6a8], edi
jb 0x410c66
mov eax, dword [esi + 0x694]
jmp 0x410c6c
lea eax, [esi + 0x694]
push 0x4b9f84
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x410c86
mov eax, 0x4b9ff8
jmp 0x410e7b
cmp dword [esi + 0x6a8], edi
jb 0x410c96
mov eax, dword [esi + 0x694]
jmp 0x410c9c
lea eax, [esi + 0x694]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410cb6
test al, 0x10
je 0x410cb6
mov eax, str.folder.png
jmp 0x410e7b
cmp dword [esi + 0x6a8], edi
jb 0x410cc6
mov esi, dword [esi + 0x694]
jmp 0x410ccc
add esi, 0x694
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edi, eax
test edi, edi
je 0x410e75
cmp word [edi], 0
je 0x410e75
inc edi
inc edi
je 0x410e75
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x4ba020
push edi
call esi
test eax, eax
je 0x410d32
push 0x4ba028
push edi
call esi
test eax, eax
je 0x410d32
push 0x4ba030
push edi
call esi
test eax, eax
je 0x410d32
push 0x4ba038
push edi
call esi
test eax, eax
je 0x410d32
push str.jpeg
push edi
call esi
test eax, eax
jne 0x410d3c
mov eax, str.image.png
jmp 0x410e7a
push 0x4ba060
push edi
call esi
test eax, eax
jne 0x410d52
mov eax, str.pdf.png
jmp 0x410e7a
push 0x4ba078
push edi
call esi
test eax, eax
je 0x410d76
push str.pptx
push edi
call esi
test eax, eax
je 0x410d76
push 0x4ba08c
push edi
call esi
test eax, eax
jne 0x410d80
mov eax, str.ppt.png
jmp 0x410e7a
push 0x4ba0a4
push edi
call esi
test eax, eax
je 0x410da4
push str.xlsx
push edi
call esi
test eax, eax
je 0x410da4
push 0x4ba0b8
push edi
call esi
test eax, eax
jne 0x410dae
mov eax, str.xls.png
jmp 0x410e7a
push 0x4ba0d0
push edi
call esi
test eax, eax
je 0x410dd2
push str.docx
push edi
call esi
test eax, eax
je 0x410dd2
push 0x4ba0e4
push edi
call esi
test eax, eax
jne 0x410ddc
mov eax, str.doc.png
jmp 0x410e7a
push 0x4ba0fc
push edi
call esi
test eax, eax
jne 0x410df2
mov eax, str.txt.png
jmp 0x410e7a
push 0x4ba114
push edi
call esi
test eax, eax
je 0x410e3a
push 0x4ba11c
push edi
call esi
test eax, eax
je 0x410e3a
push 0x4ba120
push edi
call esi
test eax, eax
je 0x410e3a
push 0x4ba12c
push edi
call esi
test eax, eax
je 0x410e3a
push 0x4ba130
push edi
call esi
test eax, eax
je 0x410e3a
push 0x4ba138
push edi
call esi
test eax, eax
jne 0x410e41
mov eax, str.code.png
jmp 0x410e7a
push 0x4ba154
push edi
call esi
test eax, eax
je 0x410e6e
mov ebx, 0x4ba15c
push ebx
push edi
call esi
test eax, eax
je 0x410e6e
push 0x4ba164
push edi
call esi
test eax, eax
je 0x410e6e
push ebx
push edi
call esi
test eax, eax
jne 0x410e75
mov eax, str.archive.png
jmp 0x410e7a
mov eax, str.unknown.png
pop ebx
pop edi
pop esi
ret
Function at 0x4112ec
Capabilities:
Terminate process

Disassembly:
push 0x48
mov eax, 0x4b4382
call fcn.004916e1
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x574]
mov esi, dword [ebx + 4]
call fcn.0040e78b
test eax, eax
jne 0x411315
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx + 0x574]
cmp eax, 3
je 0x41132a
cmp eax, 4
je 0x41132a
cmp eax, 5
jne 0x411346
call fcn.0044b119
test al, al
jne 0x411346
push 0x4b9ee0
push dword [ebx + 4]
call fcn.0044707a
pop ecx
pop ecx
push 0
jmp 0x41130f
call fcn.004125a6
call fcn.00443fbb
mov eax, dword [ebx + 0x574]
cmp eax, 2
je 0x411360
cmp eax, 5
jne 0x41138c
lea eax, [ebp - 0x54]
push eax
mov eax, ebx
call fcn.0041340e
and dword [ebp - 4], 0
push dword [ebx + 4]
lea edi, [ebx + 0x14]
mov ecx, eax
call fcn.004046cb
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00402abb
lea edi, [ebx + 0x98]
push str.lblTitle
mov eax, edi
call fcn.0045bfef
mov esi, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x574]
call fcn.00410ead
mov ecx, dword [ebp + 8]
push eax
call dword [esi + 0x3c]
push str.fileContainer
mov eax, edi
call fcn.0045bfef
mov dword [ebx + 0x528], eax
push str.approveContainer
mov eax, edi
call fcn.0045bfef
cmp byte [0x4e2e54], 0
mov dword [ebx + 0x52c], eax
je 0x411459
lea eax, [ebp - 0x38]
push eax
call fcn.0044cec2
pop ecx
mov dword [ebp - 4], 1
push dword [ebp - 0x2c]
lea edi, [ebp - 0x38]
lea esi, [ebp - 0x18]
call fcn.0042015e
jmp 0x411428
lea esi, [ebp - 0x18]
call fcn.0041fa4c
cmp dword [eax + 0x18], 8
jb 0x411416
mov eax, dword [eax + 4]
jmp 0x411419
add eax, 4
push eax
push ebx
call fcn.00411993
lea esi, [ebp - 0x18]
call fcn.0040baee
push dword [ebp - 0x28]
lea edi, [ebp - 0x38]
lea esi, [ebp - 0x20]
call fcn.0042015e
mov edi, esi
lea esi, [ebp - 0x18]
call fcn.0041356a
test al, al
jne 0x411403
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x38]
call fcn.0040bb61
push dword [ebp - 0x38]
call fcn.004903c0
pop ecx
push 0
mov eax, ebx
call fcn.00411470
push ebx
call fcn.004116a7
call fcn.004917b9
ret 4
Function at 0x412191
Capabilities:
Copy file

Disassembly:
push 0x6ac
mov eax, 0x4af359
call fcn.0049174a
mov eax, dword [ebp + 8]
and dword [ebp - 0x650], 0
mov dword [ebp - 0x640], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64c], eax
lea eax, [ebp - 0x678]
push eax
mov esi, ecx
call fcn.004055c3
xor ebx, ebx
lea eax, [esi + 0x530]
inc ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [ebp - 0x644], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x648], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x654], ecx
mov dword [ebp - 0x658], eax
jmp 0x4123b5
lea esi, [ebp - 0x648]
call fcn.00423dd9
cmp byte [eax + 0x28], 0
je 0x4122b0
call fcn.00423dd9
cmp dword [eax + 0x18], 8
jb 0x412221
mov eax, dword [eax + 4]
jmp 0x412224
add eax, 4
push dword [ebp - 0x64c]
lea esi, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x678]
call fcn.00412422
lea esi, [ebp - 0x648]
call fcn.00423dd9
cmp dword [eax + 0x18], 8
jb 0x412252
mov eax, dword [eax + 4]
jmp 0x412255
add eax, 4
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x63c]
push ecx
push 0x4124b1
push ebx
push eax
call fcn.00424aed
cmp byte [ebp - 0x224], 0
jne 0x4123d0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x64c], edi
jne 0x4123aa
lea eax, [ebp - 0x434]
push eax
lea esi, [ebp - 0x694]
call fcn.00402703
mov eax, esi
push eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6a0]
jmp 0x41236c
xor edi, edi
cmp dword [ebp - 0x64c], edi
je 0x41238b
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00492360
add esp, 0xc
push dword [ebp - 0x64c]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea esi, [ebp - 0x648]
call fcn.00423dd9
cmp dword [eax + 0x18], 8
jb 0x412305
mov eax, dword [eax + 4]
jmp 0x412308
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [ebp - 0x648]
call fcn.00423dd9
cmp dword [eax + 0x18], 8
jb 0x412333
mov eax, dword [eax + 4]
jmp 0x412336
add eax, 4
push edi
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4123e4
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x694]
call fcn.00402703
mov eax, esi
push eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x678]
push eax
call fcn.0040d4ad
push edi
push ebx
lea esi, [ebp - 0x694]
mov byte [ebp - 4], bl
call fcn.00402bb8
jmp 0x4123aa
lea esi, [ebp - 0x648]
call fcn.00423dd9
push eax
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x678]
push eax
call fcn.0040d4ad
lea esi, [ebp - 0x648]
call fcn.0041629e
lea edi, [ebp - 0x658]
lea esi, [ebp - 0x648]
call fcn.0041356a
test al, al
jne 0x4121fc
jmp 0x4123ec
lea eax, [ebp - 0x678]
push eax
push dword [ebp - 0x640]
call fcn.00413439
jmp 0x4123fe
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x678]
push eax
push dword [ebp - 0x640]
call fcn.00413439
lea eax, [ebp - 0x678]
push eax
mov dword [ebp - 0x650], ebx
mov byte [ebp - 4], 0
call fcn.0040d485
mov eax, dword [ebp - 0x640]
call fcn.004917cd
ret 8
Function at 0x4124fb
Capabilities:
Copy file

Disassembly:
push 0x238
mov eax, 0x4ab826
call fcn.0049174a
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov esi, ecx
call fcn.00492360
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebx + 0x208]
push eax
push ebx
push esi
call fcn.0042778f
lea edi, [ebp - 0x21c]
call fcn.00424f01
push 0
mov eax, edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
test edi, edi
je 0x41259c
cmp byte [ebx + 0x410], 0
jne 0x41259c
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x238]
call fcn.00402703
and dword [ebp - 4], 0
mov eax, esi
push eax
lea eax, [ebp - 0x244]
push eax
push dword [ebx + 0x414]
call fcn.0040d4ad
push 0
push 1
call fcn.00402bb8
mov eax, edi
call fcn.004917cd
ret 4

Function at 0x4125a6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00492360
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x210], 0
je 0x412611
push str.gxdte_decrypt
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call fcn.004255f3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ff11
leave
ret

Function at 0x41261d
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x570], 8
jb 0x412631
mov eax, dword [esi + 0x55c]
jmp 0x412637
lea eax, [esi + 0x55c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41269f
cmp dword [esi + 0x570], 8
jb 0x412653
mov eax, dword [esi + 0x55c]
jmp 0x412659
lea eax, [esi + 0x55c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x412683
cmp dword [esi + 0x570], 8
jb 0x412675
mov esi, dword [esi + 0x55c]
jmp 0x41267b
add esi, 0x55c
push esi
call fcn.004255f3
pop esi
ret
cmp dword [esi + 0x570], 8
jb 0x412694
mov esi, dword [esi + 0x55c]
jmp 0x41269a
add esi, 0x55c
call fcn.004255c5
pop esi
ret