joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40670b
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 4
push ebx
push esi
jmp 0x40671f
inc word [esi - 6]
mov esi, dword [ebp - 4]
mov bx, word [esi + 8]
movzx eax, word [esi - 6]
cmp ax, bx
ja 0x4069e3
mov ecx, dword [esi + 0xc]
cmp byte [ecx + eax], 0x14
je 0x40671b
cmp ax, bx
ja 0x4069e3
mov ecx, dword [esi + 0xc]
mov edx, eax
movzx edx, byte [ecx + edx]
cmp edx, 0x15
je 0x4068d4
cmp edx, 0x1c
je 0x4068e2
cmp edx, 0x50
je 0x4068f6
cmp edx, 0x3c
jb 0x406777
cmp edx, 0x48
jbe 0x4068f6
cmp edx, 0x9d
jb 0x40678b
cmp edx, 0x9e
jbe 0x406932
cmp edx, 0x99
je 0x406932
cmp edx, 0x64
je 0x406932
cmp edx, 0x3b
je 0x406932
cmp edx, 0x38
jb 0x4067b7
cmp edx, 0x39
jbe 0x406932
cmp edx, 0x27
je 0x406936
cmp edx, 0xc2
je 0x40693a
cmp edx, 0xb9
jb 0x4067e0
cmp edx, 0xbb
jbe 0x40693a
cmp edx, 0xa8
jb 0x4067f4
cmp edx, 0xa9
jbe 0x40693a
cmp edx, 0xa0
je 0x40693a
cmp edx, 0x90
jb 0x406814
cmp edx, 0x93
jbe 0x40693a
cmp edx, 0x83
jb 0x406828
cmp edx, 0x84
jbe 0x40693a
cmp edx, 0x65
je 0x40693a
cmp edx, 0x28
jb 0x40683f
cmp edx, 0x37
jbe 0x40693a
cmp edx, 0xb4
jb 0x406853
cmp edx, 0xb7
jbe 0x406946
cmp edx, 0xb1
jb 0x406867
cmp edx, 0xb2
jbe 0x406946
cmp edx, 0xae
jb 0x40687b
cmp edx, 0xaf
jbe 0x406946
cmp edx, 0xc7
jb 0x40688f
cmp edx, 0xc8
jbe 0x40694c
cmp edx, 0xcb
jb 0x4068a3
cmp edx, 0xcc
jbe 0x40694c
cmp edx, 0xc9
jb 0x4068b7
cmp edx, 0xca
jbe 0x40697c
cmp edx, 0xcd
je 0x40699c
cmp edx, 0xce
je 0x4069a2
jmp 0x4069c7
inc word [esi - 6]
call fcn.004069e7
jmp 0x4069c0
inc word [esi - 6]
inc word [esi - 6]
add word [esi - 6], 2
mov ecx, esi
jmp 0x4069c3
inc word [esi - 6]
call fcn.004066f0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
movzx eax, word [edx - 6]
cmp byte [ecx + eax], 0x1a
jne 0x40691b
inc word [edx - 6]
call fcn.004066f0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
movzx eax, word [edx - 6]
cmp byte [ecx + eax], 0x19
jne 0x4069c7
inc word [edx - 6]
jmp 0x4068fa
push 2
jmp 0x40693c
push 3
jmp 0x40693c
push 1
call fcn.004066be
jmp 0x4069c7
inc word [esi - 6]
jmp 0x4069c7
inc word [esi - 6]
cmp dx, 0xc7
jl 0x40695e
cmp dx, 0xc8
jle 0x40696e
cmp dx, 0xcb
je 0x406975
cmp dx, 0xcc
je 0x4069b9
jmp 0x4069c7
add word [esi - 6], 9
jmp 0x4069c7
add word [esi - 6], 4
jmp 0x4069c7
inc word [esi - 6]
jmp 0x406986
inc word [edx - 6]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
movzx eax, word [edx - 6]
cmp byte [ecx + eax], 0
jne 0x406982
inc word [edx - 6]
jmp 0x4069c7
mov byte [esi - 7], 0
jmp 0x4069c7
inc word [esi - 6]
mov ax, word [esi - 6]
add eax, dword [esi + 0xc]
push eax
lea eax, [ebp - 6]
push eax
push 2
call fcn.00405e12
add word [esi - 6], 2
jmp 0x4069c7
mov ecx, dword [ebp - 4]
inc word [ecx - 6]
mov ebx, dword [ebp - 4]
cmp byte [ebx - 7], 0
je 0x4069e3
movzx edx, word [ebx - 6]
cmp dx, word [ebx + 8]
ja 0x4069e3
mov ecx, dword [ebx + 0xc]
cmp byte [ecx + edx], 0x14
je 0x4069c0
pop esi
pop ebx
leave
ret
Function at 0x409f20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebp + 0xc]
mov edx, 2
push 0x57618c
push ebx
lea eax, [eax + eax + 2]
call fcn.0056d024
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x57618e
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409fe0
mov dword [ebp - 0xc], reloc.gdi32.dll_AbortDoc
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
sub eax, 0x212
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x57618c
push edi
call sub.advapi32.dll_RegQueryValueExW
push edi
mov esi, eax
call sub.advapi32.dll_RegCloseKey
test esi, esi
jne 0x409fe0
cmp dword [ebp - 0x10], 1
jne 0x409fe0
cmp word [ebp - 0x21e], 0x22
jne 0x409fb9
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push esi
push 1
call fcn.00415c6f
push 4
push 0x5761be
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push esi
lea eax, [ebp - 1]
push eax
sub eax, 0x13
push eax
call fcn.00415ac8
cmp byte [ebp - 1], 0
jne 0x409fe4
mov al, 0
jmp 0x40a006
mov eax, dword [ebp - 0x14]
mov word [ebp + eax*2 - 0x216], si
push dword [ebp + 0xc]
push ebx
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00415c57
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40a206
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0xe54
xor ecx, ecx
mov word [ebp - 0x834], cx
mov word [ebp - 0x62a], cx
mov word [ebp - 0x420], cx
mov word [ebp - 0x216], cx
cmp word [edx], cx
je 0x40a268
push 0x105
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x105
sub eax, 0x20a
push eax
push 0x105
sub eax, 0x20a
push eax
push 0x105
sub eax, 0x20a
push eax
push edx
call sub.mclib32.dll__SplitPath_36
mov dword [ebp - 4], 0
lea eax, reloc.gdi32.dll_AbortDoc
push eax
sub eax, 0x20a
push eax
mov eax, 0x20a
call fcn.0056cfd2
cmp word [ebp - 0xa3e], 0
jne 0x40a296
xor eax, eax
leave
ret 8
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0056e571
cmp word [ebp + eax*2 - 0xa40], 0x5c
je 0x40a2ca
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 1
push 0x576330
call fcn.00415c3f
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, [ebp - 0xc]
push eax
add eax, 4
push eax
add eax, 4
push eax
push 0x104
sub eax, 0xc44
push eax
add eax, 0x20a
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x40a2ff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 8
Function at 0x40c820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.004115eb
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xb
push 0x576f40
call fcn.00415c3f
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x576f58
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
cmp eax, 1
sete byte [0x5cb585]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x186a1
push 0x576f78
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
mov dword [0x5cb5d8], eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x576f88
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
cmp eax, 1
sete byte [0x5cb581]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x576faa
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
cmp eax, 1
sete byte [0x5cb582]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 1
push 0x576fbc
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
cmp eax, 1
sete byte [0x5cb583]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x576fd2
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
cmp eax, 1
sete byte [0x5cb584]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
sub eax, 0x210
push eax
push 0x576ff4
push 0x577000
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileStringW
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 4
push 0x57702e
call fcn.00415a8f
test al, al
je 0x40c96a
mov dword [0x5cd648], 1
jmp 0x40c99c
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 6
push 0x577038
call fcn.00415a8f
test al, al
je 0x40c992
mov dword [0x5cd648], 2
jmp 0x40c99c
mov dword [0x5cd648], 0
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xa
push 0x577046
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
mov dword [0x5cd64c], eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xffffffffffffffff
push 0x57706c
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
mov dword [0x5cd650], eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x57709a
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
cmp eax, 1
sete byte [0x5cd675]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xa
push 0x5770b4
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileIntW
mov dword [0x5cd678], eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
sub eax, 0x210
push eax
push 0x5770d6
push 0x5770d8
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileStringW
cmp word [ebp - 0x41a], 0
je 0x40cacb
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
sub eax, 0x420
push eax
push 0x5770d6
push 0x5770ea
push 0x576f68
call sub.kernel32.dll_GetPrivateProfileStringW
cmp word [ebp - 0x62a], 0
je 0x40cacb
mov edx, dword [0x5cd030]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
mov eax, 0x210
call fcn.0056cfd2
lea eax, reloc.gdi32.dll_AbortDoc
push eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
mov eax, 0x210
call fcn.0056cfd2
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x107
add eax, 0x210
push eax
call fcn.0040b68a
leave
ret
Function at 0x40ebf1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
mov ebx, dword [ebp + 0xc]
push esi
call fcn.0040ecf1
push ebx
push dword [ebp + 8]
call fcn.0040ead1
test al, al
je 0x40ec34
mov dword [0x5cb730], 0x40e9fe
mov dword [0x5cb734], 0x40ea2b
mov dword [0x5cb738], 0x40ea52
jmp 0x40ece9
lea eax, [ebx*4 + 8]
push eax
push 0x5cb73c
call sub.mclib32.dll__ALLOCATE_8
cmp dword [0x5cb73c], 0
je 0x40ec5f
add dword [0x5cb73c], 4
mov ecx, dword [0x5cb73c]
mov dword [ecx - 4], ebx
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x103
call sub.kernel32.dll_GetTempPathW
xor esi, esi
mov ebx, esi
mov ecx, dword [0x5cb73c]
mov eax, dword [ecx - 4]
mov dword [ebp - 4], eax
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0
push 0x577310
add eax, 0x20a
push eax
call sub.kernel32.dll_GetTempFileNameW
push 0
push 0x4000100
push 2
push 0
push 0
push 0xc0000000
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call sub.kernel32.dll_CreateFileW
mov ecx, dword [0x5cb73c]
mov dword [ecx + esi], eax
add esi, 4
inc ebx
je 0x40eccb
cmp ebx, dword [ebp - 4]
jbe 0x40ec80
mov dword [0x5cb730], 0x40e8da
mov dword [0x5cb734], 0x40e904
mov dword [0x5cb738], 0x40e92b
mov al, 1
pop esi
pop ebx
leave
ret 8

Function at 0x40ff41
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ebx
lea eax, [esi - 1]
push eax
call sub.kernel32.dll_GetTempPathW
mov word [ebp - 0x210], 0
cmp byte [0x5cb5cc], 0
je 0x40ffe2
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0040ff04
xor edx, edx
cmp edx, 0x107
ja 0x40ffe2
lea ecx, [edx + edx]
mov ax, word [ebp + ecx - 0x210]
test ax, ax
je 0x40ffe2
cmp ax, 0x2e
jb 0x40ffa5
cmp ax, 0x2f
jbe 0x40ffd5
cmp ax, 0x7c
je 0x40ffd5
cmp ax, 0x3e
jb 0x40ffb7
cmp ax, 0x3f
jbe 0x40ffd5
cmp ax, 0x3c
je 0x40ffd5
cmp ax, 0x22
je 0x40ffd5
cmp ax, 0x2a
je 0x40ffd5
cmp ax, 0x3a
je 0x40ffd5
cmp ax, 0x5c
jne 0x40ffdf
mov word [ebp + ecx - 0x210], 0x5f
inc edx
jmp 0x40ff81
cmp word [ebp - 0x210], 0
jne 0x40ffff
push 1
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00417dff
push esi
push ebx
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00415c3f
push esi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00415c3f
pop esi
pop ebx
leave
ret 0x10
Function at 0x41084a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push dword [ebp - 4]
mov ebp, esp
add ebp, 4
sub esp, 0x210
push ebx
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0x18]
call sub.user32.dll_GetKeyState
test al, 1
setne dl
mov ecx, dword [ebp - 4]
cmp byte [ecx + 8], 0
jne 0x410877
cmp dl, byte [ebx]
je 0x4108d0
mov byte [ebx], dl
mov eax, dword [0x58e600]
cmp byte [eax + 0x5cd53c], 0
je 0x4108d0
mov ecx, dword [0x577a10]
test ecx, ecx
je 0x4108d0
test dl, dl
je 0x4108b2
push dword [ebp + 8]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
mov eax, 0x210
mov edx, dword [ebp + 0xc]
lea edx, [edx + edx + 2]
call fcn.0056d024
jmp 0x4108bb
mov word [ebp - 0x214], 0
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push dword [ebp + 0x10]
push 0x40b
push ecx
call sub.user32.dll_SendMessageW
pop ebx
leave
ret 0x14

Function at 0x41094e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
push esi
push edi
mov edx, dword [ebp + 8]
dec edx
cmp edx, 8
ja case.0x410966.1
jmp dword [edx*4 + 0x41096d]
mov esi, 0x577ac2
lea edi, reloc.gdi32.dll_AbortDoc
cld
mov ecx, 0xf
jmp 0x410a37
mov esi, 0x577b00
jmp 0x410a18
mov esi, 0x577b46
lea edi, reloc.gdi32.dll_AbortDoc
cld
mov ecx, 0x14
jmp 0x410a08
mov esi, 0x577b96
lea edi, reloc.gdi32.dll_AbortDoc
cld
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xf
push 0x5cb04c
call fcn.00415c3f
jmp 0x410a3b
mov esi, 0x577bec
jmp 0x410a2b
mov esi, 0x577c2e
lea edi, reloc.gdi32.dll_AbortDoc
cld
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
jmp 0x410a3b
mov esi, 0x577c76
jmp 0x410a18
mov esi, 0x577cbc
lea edi, reloc.gdi32.dll_AbortDoc
cld
mov ecx, 0x11
jmp 0x410a37
mov esi, 0x577a80
lea edi, reloc.gdi32.dll_AbortDoc
cld
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00409f20
test al, al
je 0x410a72
push 1
push 0
lea eax, reloc.gdi32.dll_AbortDoc
push eax
sub eax, 0x20a
push eax
push 0x577d02
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x410ae9
lea eax, reloc.gdi32.dll_AbortDoc
push eax
add eax, 0x210
push eax
mov eax, 0x210
call fcn.0056cfd2
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00415bd8
push 1
push 0
push 0
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x577d02
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x410ae9
push 1
push 0
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x577d0c
push 0x577d02
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x410ae9
push dword [0x5cbb00]
push 0x104
call fcn.00418038
pop edi
pop esi
leave
ret 4
Function at 0x410cad
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 2
push 0
call fcn.00410aef
mov al, byte [ebp + 0xc]
test al, al
je 0x410cd5
cmp al, 1
je 0x410cdc
cmp al, 2
je 0x410ce3
cmp al, 3
je 0x410cf7
mov esi, 1
jmp 0x410cf9
mov ebx, 0x40000000
jmp 0x410ce8
mov ebx, 0xc0000000
xor esi, esi
push 0x80
push edi
call sub.kernel32.dll_SetFileAttributesW
jmp 0x410cfe
xor esi, esi
mov ebx, 0x80000000
push 0
push 0x80
push 3
push 0
push esi
push ebx
push edi
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp eax, reloc.gdi32.dll_AbortDoc
jne 0x410d29
push 0
call sub.kernel32.dll_GetLastError
push eax
call fcn.00410aef
xor eax, eax
jmp 0x410d47
push 8
lea eax, [ebp - 4]
push eax
call sub.mclib32.dll__ALLOCATE_8
mov edx, dword [ebp - 4]
mov dword [edx], ebx
mov word [edx + 4], 1
mov al, byte [ebp + 8]
mov byte [edx + 6], al
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x410d8c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov ebx, dword [ebp + 0x14]
push 2
push 0
call fcn.00410aef
test ebx, ebx
je 0x410dba
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebx]
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x410dbe
xor eax, eax
jmp 0x410dc7
mov eax, dword [ebp - 4]
test eax, eax
sete byte [ebx + 5]
pop ebx
leave
ret 0x10

Function at 0x410dcc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov ebx, dword [ebp + 0x14]
push 2
push 0
call fcn.00410aef
test ebx, ebx
je 0x410dfa
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebx]
call sub.kernel32.dll_WriteFile
test eax, eax
jne 0x410dfe
xor eax, eax
jmp 0x410e01
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0x10

Function at 0x410e34
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
mov ebx, dword [ebp + 8]
push 2
push 0
call fcn.00410aef
test ebx, ebx
jne 0x410e4f
mov eax, ebx
jmp 0x410e5a
lea eax, [ebp - 4]
push eax
push dword [ebx]
call sub.kernel32.dll_GetFileSize
xor edx, edx
pop ebx
leave
ret 4

Function at 0x410e61
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 2
push 0
call fcn.00410aef
push dword [ebp + 8]
call sub.kernel32.dll_DeleteFileW
pop ebp
ret 8
Function at 0x411684
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 2
push 0
call fcn.00410aef
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
push dword [ebp + 0x14]
push ebx
push 0
push 0
call fcn.00410cad
mov dword [ebp - 8], eax
mov esi, eax
test eax, eax
jne 0x4116d1
push 0x1f4
call fcn.00405e27
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x10]
cmp eax, 0x2710
jbe 0x4116a0
jmp 0x4116f0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call fcn.00410c93
mov dword [ebp - 0xc], eax
mov ebx, eax
test eax, eax
jne 0x4116f4
lea eax, [ebp - 8]
push eax
call fcn.00410d4e
mov al, 0
jmp 0x411713
push esi
push ebx
call fcn.00411630
mov byte [ebp - 1], al
lea eax, [ebp - 8]
push eax
call fcn.00410d4e
lea eax, [ebp - 0xc]
push eax
call fcn.00410d4e
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 0x10

Function at 0x411e98
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesW
push 2
push 0
call fcn.00410aef
mov dword [ebp - 4], 0
push ebx
call sub.ole32.dll_StgIsStorageFile
test eax, eax
je 0x411ed4
xor eax, eax
mov byte [esi], al
jmp 0x411f1d
mov byte [esi], 1
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x12
push 0
push ebx
call sub.ole32.dll_StgOpenStorage
mov edx, eax
test eax, 0x80000000
setne al
movzx eax, al
test eax, eax
je 0x411f1a
mov dword [ebp - 4], 0
push 1
push edx
call fcn.00410aef
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00410b08
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x41475e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebp
sub esp, 0x414
push ebx
mov ebx, 0x5781b6
cmp byte [0x5cb586], 0
je 0x4147ab
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.004115eb
push 0x104
push 0x5cb870
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xb
push ebx
call fcn.00415c21
jmp 0x41485a
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x103
call sub.kernel32.dll_GetTempPathW
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 8
push 0x5781ce
call fcn.00415c3f
push 0x104
push 0x5cb870
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xb
push ebx
call fcn.00415c21
cmp byte [ebp + 8], 0
jne 0x41480b
push 0x104
push 0x5cb870
call fcn.00410e79
test al, al
jne 0x41485a
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.004115eb
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0xb
push ebx
call fcn.00415c3f
push 0x104
push 0x5cb870
call fcn.00411c6c
push 0x104
lea eax, reloc.gdi32.dll_AbortDoc
push eax
push 0x104
push 0x5cb870
call fcn.00411684
pop ebx
leave
ret 4
Function at 0x415619
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push ebx
push esi
push edi
call fcn.0040cc3b
test al, al
jne 0x415693
push 0xb96
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.00417dff
mov esi, 0x57a4c0
lea edi, reloc.gdi32.dll_AbortDoc
cld
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
lea eax, reloc.gdi32.dll_AbortDoc
push eax
add eax, 0x210
push eax
push 0x108
add eax, 0x210
push eax
call sub.mclib32.dll_my_wsprintf
add esp, 0x10
push dword [0x5cbb00]
push 0x107
lea eax, reloc.gdi32.dll_AbortDoc
push eax
call fcn.0041801a
jmp 0x41572f
cmp dword [0x5cb604], 0x56d4cf
je 0x41572f
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0x1f42
mov dword [ebp - 0x18], 0x1f40
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [0x578134]
call sub.kernel32.dll_FindResourceW
mov esi, eax
push eax
push dword [0x578134]
call sub.kernel32.dll_LoadResource
mov ebx, eax
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
push esi
push dword [0x578134]
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0xc], eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0
call fcn.00410c93
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41571d
push eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00410dcc
lea eax, [ebp - 0x10]
push eax
call fcn.00410d4e
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_GlobalUnlock
push ebx
call sub.kernel32.dll_FreeResource
cmp byte [ebp - 1], 0
jne 0x415733
mov al, 0
jmp 0x415742
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [0x5cb604]
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x417898
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
lea eax, [ebp - 0xa]
push eax
push 0xf
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
cmp eax, 0
jle 0x4178c1
mov ax, word [ebp - 0xa]
mov word [0x5cbaec], ax
jmp 0x4178ca
mov word [0x5cbaec], 0
cmp word [0x5cbaec], 0
jne 0x4178f8
push 2
lea eax, [ebp - 0xa]
push eax
push 0x57a6b0
push 0x57a6b4
push 0x57a6c8
call sub.kernel32.dll_GetProfileStringW
mov ax, word [ebp - 0xa]
mov word [0x5cbaec], ax
cmp byte [0x5cbae0], 0
je 0x4179bb
push 4
lea eax, [ebp - 0xa]
push eax
push 0xe
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
cmp eax, 0
jle 0x417928
mov ax, word [ebp - 0xa]
mov word [0x5cbaee], ax
jmp 0x417931
mov word [0x5cbaee], 0
cmp word [0x5cbaee], 0
jne 0x41795f
push 2
lea eax, [ebp - 0xa]
push eax
push 0x57a6d2
push 0x57a6d6
push 0x57a6c8
call sub.kernel32.dll_GetProfileStringW
mov ax, word [ebp - 0xa]
mov word [0x5cbaee], ax
push 4
lea eax, [ebp - 0xa]
push eax
push 0xc
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
cmp eax, 0
jle 0x417982
mov ax, word [ebp - 0xa]
mov word [0x5cbaf0], ax
jmp 0x41798b
mov word [0x5cbaf0], 0
cmp word [0x5cbaf0], 0
jne 0x4179df
push 2
lea eax, [ebp - 0xa]
push eax
push 0x57a6e8
push 0x57a6ec
push 0x57a6c8
call sub.kernel32.dll_GetProfileStringW
mov ax, word [ebp - 0xa]
mov word [0x5cbaf0], ax
jmp 0x4179df
mov ax, word [0x5cbae2]
mov word [0x5cbaee], ax
mov ax, word [0x5cbae4]
mov word [0x5cbaf0], ax
mov ax, word [0x5cbaea]
mov word [0x5cbaec], ax
cmp word [0x5cbaee], 0
jne 0x4179f2
mov word [0x5cbaee], 0x2e
cmp word [0x5cbaf0], 0
jne 0x417a05
mov word [0x5cbaf0], 0x2c
mov dx, word [0x5cbaee]
cmp word [0x5cbaf0], dx
jne 0x417a35
cmp dx, 0x2e
je 0x417a2c
cmp dx, 0x2c
jne 0x417a2c
mov word [0x5cbaf0], 0x3b
leave
ret
mov word [0x5cbaf0], 0x2c
leave
ret