joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410cfd
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, dword [esp + 0x224]
push ebp
push esi
mov dword [ebx + 4], 7
call fcn.0041111f
and dword [esp + 0xc], 0
lea edx, [esp + 0x1c]
push 0x23
pop ecx
call fcn.0040fdee
push 0x6fc48f4a
mov edx, 0xf5506839
mov ecx, 0x82db75e5
mov esi, eax
call fcn.0040173e
pop ecx
push eax
lea eax, [esp + 0x20]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push eax
push 0x80
push 3
pop ebp
push ebp
push eax
push 1
push 0x80000000
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x410e2f
push edi
xor eax, eax
lea edi, [esp + 0x19]
xor ecx, ecx
mov byte [esp + 0x18], cl
stosd dword es:[edi], eax
push ecx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push 8
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], 8
pop edi
jne 0x410e28
mov al, byte [esp + 0x14]
push 2
pop ecx
cmp al, 0x88
jne 0x410dc9
mov dword [ebx + 8], 1
jmp 0x410dd9
cmp al, 0x8b
jne 0x410dd2
mov dword [ebx + 8], ecx
jmp 0x410dd9
cmp al, 0x8d
jne 0x410dd9
mov dword [ebx + 8], ebp
mov al, byte [esp + 0x18]
cmp al, 0x8f
je 0x410e1c
cmp al, 0x8c
je 0x410e1c
cmp al, 0x8d
jne 0x410df2
mov dword [ebx + 0xc], 4
jmp 0x410e23
cmp al, 0x8b
jne 0x410dfb
mov dword [ebx + 0xc], ecx
jmp 0x410e23
cmp al, 0x8a
jne 0x410e04
mov dword [ebx + 0xc], ebp
jmp 0x410e23
cmp al, 0x88
jne 0x410e11
mov dword [ebx + 0xc], 1
jmp 0x410e23
cmp al, 0x89
jne 0x410e23
xor eax, eax
mov dword [ebx + 0xc], eax
jmp 0x410e23
mov dword [ebx + 0xc], 5
mov byte [esp + 0xc], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x21c
ret 4
Function at 0x410fbd
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x218
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
push edi
call fcn.0041111f
push 0x23
lea edx, [ebp - 0x70]
pop ecx
call fcn.0040fdee
push 0x435ac68
mov edx, 0x9ea14b1b
mov ecx, 0xe92a553f
mov esi, eax
call fcn.0040173e
pop ecx
push eax
lea eax, [ebp - 0x70]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor ebx, ebx
lea eax, [ebp - 0x70]
push ebx
push 0x80
push 3
push ebx
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x411091
mov ecx, dword [ebp + 0x1a4]
mov word [ebp - 0x77], bx
mov byte [ebp - 0x75], bl
mov word [ebp - 0x74], 0x8b88
lea eax, [ecx - 1]
mov byte [ebp - 0x72], 0x8d
cmp eax, 2
ja 0x411058
mov al, byte [ebp + ecx - 0x75]
jmp 0x41105a
mov al, 1
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x78]
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0x7c]
mov word [ebp - 0x73], bx
push eax
push 4
lea eax, [ebp - 0x74]
mov byte [ebp - 0x71], bl
push eax
push edi
mov byte [ebp - 0x74], 0x8c
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b9a6c
lea esp, [ebp + 0x19c]
pop ebp
ret 4

Function at 0x41111f
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x4110ab
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x411155
push 0
push 0
push 2
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor eax, eax
test ecx, ecx
setne al
mov esp, ebp
pop ebp
ret
Function at 0x411160
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x120
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x11c], eax
push edi
mov edi, dword [esp + 0x128]
xor eax, eax
push 0x10c
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov dword [edi + 4], 6
mov dword [esp + 0x18], 0x114
call fcn.004bf040
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 5
jne 0x411246
push ebx
push ebp
push 4
pop ebp
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebp
push eax
lea eax, [edi + 0xc]
mov edx, 0xf57a56b5
push eax
push 0x6feeb1f3
mov ecx, 0x82f1484f
call fcn.0040173e
pop ecx
push eax
mov ebx, 0x80000000
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebp
push eax
lea eax, [esp + 0x14]
mov edx, 0x422775b3
push eax
push 0xd8b392f5
mov ecx, 0x35ac6b25
call fcn.0040173e
pop ecx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
dec eax
je 0x41123f
dec eax
je 0x411236
dec eax
dec eax
jne 0x411246
mov dword [edi + 8], 3
jmp 0x411246
mov dword [edi + 8], 2
jmp 0x411246
mov dword [edi + 8], 1
mov ecx, dword [esp + 0x120]
mov al, 1
pop edi
xor ecx, esp
call fcn.004b9a6c
add esp, 0x120
ret 4
Function at 0x411260
Capabilities:
Delete file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2b4]
sub esp, 0x334
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp + 0x2b0], eax
and dword [ebp - 0x74], 0
lea eax, [ebp - 0x70]
push ebx
push esi
push 0x10c
push 0
push eax
mov dword [ebp - 0x78], 0x114
call fcn.004bf040
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 5
pop eax
cmp dword [ebp - 0x74], eax
jne 0x4113a2
push 0x1e85bee1
mov edx, 0x8411598b
mov dword [ebp - 0x80], eax
mov ecx, 0xf39a41fb
call fcn.0040173e
push 0xd361a14d
mov edx, 0x49f5460b
mov ecx, 0x3e7e59df
mov ebx, eax
call fcn.0040173e
pop ecx
pop ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x411313
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push 0
push ebx
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x2bc]
xor ecx, ecx
push 2
pop ebx
inc ecx
mov dword [ebp + 0xa0], ebx
lea eax, [edx - 1]
mov dword [ebp + 0x9c], ecx
mov dword [ebp + 0xa4], 4
cmp eax, ebx
ja 0x411343
mov ecx, dword [ebp + edx*4 + 0x98]
mov dword [ebp - 0x80], ecx
mov edx, 0x2d779fe9
push 0xb7e37883
mov ecx, 0x5afc87f9
call fcn.0040173e
mov edx, 0x8dce5c1c
mov dword [esp], 0x175abb5a
mov ecx, 0xfa454468
mov ebx, eax
call fcn.0040173e
pop ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4113e5
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push 0
push ebx
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4113e5
push 0x23
lea edx, [ebp + 0xa8]
pop ecx
call fcn.0040fdee
push 0x933b32c4
mov edx, 0x9afd58f
mov ecx, 0x7e24cd9b
mov esi, eax
call fcn.0040173e
pop ecx
push eax
lea eax, [ebp + 0xa8]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x2b0]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b9a6c
lea esp, [ebp + 0x2b4]
pop ebp
ret 4
Function at 0x41141c
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x414
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x428]
lea edx, [esp + 0x218]
push 0x1a
pop ecx
call fcn.0040fdee
push dword [esp + 0x42c]
mov esi, eax
mov edx, 0x8017a430
xor eax, eax
mov ecx, 0xf79cbcea
push 0x1a83437d
xor ebp, ebp
mov word [esp + 0x18], ax
xor ebx, ebx
call fcn.0040173e
pop ecx
push eax
lea eax, [esp + 0x220]
lea eax, [eax + esi*2]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
xor esi, esi
mov edx, 0x72392d8
inc esi
mov ecx, 0x70a88a5c
push ebx
push eax
push 0x4113fe
push esi
push 0x9db775bf
call fcn.0040173e
pop ecx
push eax
lea eax, [esp + 0x22c]
push eax
call fcn.0041fc37
add esp, 0x18
cmp word [esp + 0x10], bx
je 0x411548
lea eax, [esp + 0x10]
push eax
call fcn.0041fe91
pop ecx
test al, al
je 0x411548
cmp dword [esp + 0x42c], 6
jne 0x4114ea
mov dword [edi + 4], 3
jmp 0x41150a
cmp dword [esp + 0x42c], 5
jne 0x4114fd
mov dword [edi + 4], 2
jmp 0x41150a
cmp dword [esp + 0x42c], 3
jne 0x41150a
mov dword [edi + 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [esp + 0x10]
push eax
push 0
push 0x4ef9f4
mov ebx, str.General
push ebx
call esi
mov ebp, eax
mov edx, 0xaa514b7c
lea eax, [esp + 0x10]
mov ecx, 0xddda521e
push eax
push 0
push 0x30c5ac1b
call fcn.0040173e
pop ecx
push eax
push ebx
call esi
mov ebx, eax
dec ebp
je 0x411564
dec ebp
je 0x41155b
dec ebp
dec ebp
jne 0x41156b
mov dword [edi + 8], 3
jmp 0x41156b
mov dword [edi + 8], 2
jmp 0x41156b
mov dword [edi + 8], 1
cmp ebx, 0xaf01cec2
je 0x4115c0
cmp ebx, 0xbc110012
je 0x4115b7
cmp ebx, 0xd3a535fb
je 0x4115ae
cmp ebx, 0xdcab1f36
je 0x4115a5
cmp ebx, 0xf0cc1274
je 0x41159c
test ebx, ebx
jne 0x4115c7
and dword [edi + 0xc], ebx
jmp 0x4115c7
mov dword [edi + 0xc], 3
jmp 0x4115c7
mov dword [edi + 0xc], 4
jmp 0x4115c7
mov dword [edi + 0xc], 5
jmp 0x4115c7
mov dword [edi + 0xc], 1
jmp 0x4115c7
mov dword [edi + 0xc], 2
mov ecx, dword [esp + 0x420]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x414
ret 8
Function at 0x4118c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebx + 4], eax
cmp eax, 4
jne 0x411965
xor eax, eax
mov edx, 0xc0eb5e7b
push eax
push eax
push 3
pop ecx
push ecx
push eax
push ecx
push eax
push 0x5a7fb91d
mov ecx, 0xb760449f
call fcn.0040173e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411ac9
push 0x27
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x3c], 0
push 0
push eax
call fcn.004bf040
add esp, 0xc
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x40], eax
push eax
push ecx
push 0x28
lea ecx, [ebp - 0x3c]
push ecx
push eax
push eax
push 0x11700810
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx eax, byte [ebp - 0x3c]
mov dword [ebx + 8], eax
movzx eax, byte [ebp - 0x3b]
push esi
mov dword [ebx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411ac9
cmp eax, 5
jne 0x411ac9
lea eax, [ebp - 0x44]
mov edx, 0xf7b4fe39
push eax
push 0x6d20195f
mov ecx, 0x803fe4f9
call fcn.0040173e
pop ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x411ac9
push edi
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
mov edx, 0x9877e153
mov ecx, 0xeffcfbef
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x48], 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0x2e3063e
call fcn.0040173e
pop ecx
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
test esi, esi
je 0x4119fd
cmp dword [ebp - 0x40], 1
jne 0x411ac9
movzx eax, word [ebp - 0xc]
push 3
pop ecx
push 2
pop edx
push 0x31
pop esi
cmp eax, esi
je 0x411a2d
cmp eax, 0x37
je 0x411a28
cmp eax, 0x42
je 0x411a23
cmp eax, 0x54
jne 0x411a34
and dword [ebx + 8], 0
jmp 0x411a34
mov dword [ebx + 8], ecx
jmp 0x411a34
mov dword [ebx + 8], edx
jmp 0x411a34
mov dword [ebx + 8], 1
mov ax, word [ebp - 0x12]
cmp ax, 0x33
jne 0x411a59
cmp word [ebp - 0x10], 0x50
jne 0x411ac9
cmp word [ebp - 0xe], 0x46
jne 0x411ac9
mov dword [ebx + 0xc], 5
jmp 0x411ac9
cmp ax, 0x32
jne 0x411a95
cmp word [ebp - 0x10], 0x50
jne 0x411a76
cmp word [ebp - 0xe], 0x47
jne 0x411ac9
mov dword [ebx + 0xc], 4
jmp 0x411ac9
cmp word [ebp - 0x10], 0x51
jne 0x411ac9
cmp word [ebp - 0xe], 0x30
jne 0x411a89
mov dword [ebx + 0xc], ecx
jmp 0x411ac9
cmp word [ebp - 0xe], 0x47
jne 0x411ac9
mov dword [ebx + 0xc], edx
jmp 0x411ac9
cmp ax, si
jne 0x411ab1
cmp word [ebp - 0x10], 0x52
jne 0x411ac9
cmp word [ebp - 0xe], 0x30
jne 0x411ac9
mov dword [ebx + 0xc], 1
jmp 0x411ac9
cmp ax, 0x30
jne 0x411ac9
cmp word [ebp - 0x10], 0x52
jne 0x411ac9
cmp word [ebp - 0xe], 0x47
jne 0x411ac9
and dword [ebx + 0xc], 0
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret 8
Function at 0x411daf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 4
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x411ddc
push ecx
mov cl, byte [ebp + 0x10]
call fcn.0040fd5e
pop ecx
push 5
pop eax
jmp 0x411ebf
cmp dword [ebp + 0xc], 5
jne 0x411ebd
push 0x30
pop ecx
push 0x32
pop eax
push 0x50
mov word [ebp - 0x16], ax
pop eax
push 0x47
mov word [ebp - 0x14], ax
pop eax
push 0x31
mov word [ebp - 0x12], ax
pop eax
mov word [ebp - 0x10], ax
push 0x56
pop eax
mov word [ebp - 0xe], ax
xor eax, eax
cmp dword [ebp + 0x10], 1
mov word [ebp - 0x18], cx
mov word [ebp - 0xc], cx
mov word [ebp - 0xa], ax
je 0x411e37
cmp dword [ebp + 0x10], 2
jne 0x411e2a
push 0x37
jmp 0x411e32
cmp dword [ebp + 0x10], 3
jne 0x411e37
push 0x42
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1c]
mov edx, 0xcf062f28
push eax
push 0x5592c84e
mov ecx, 0xb88d34bc
call fcn.0040173e
pop ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x411ed1
push 0x10
lea eax, [ebp - 0x18]
mov edx, 0xe45c1e2d
push eax
push 1
push 0
push 0x7ec8f940
mov ecx, 0x93d70a5d
call fcn.0040173e
pop ecx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 5
jne 0x411ed1
push 0x10
push 0x4ef5ec
push 0x7252ebba
mov edx, 0xe8c60cfc
mov ecx, 0x9f4d189e
call fcn.0040173e
pop ecx
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret 0xc
push 4
jmp 0x411dd6
Function at 0x4123b9
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x84
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push 0x3c
pop esi
push 0x61
pop eax
push 0x3e
mov word [esp + 0x12], ax
mov ebx, ecx
mov ecx, dword [0x52aa50]
pop eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push esi
push eax
push 0x42
mov word [esp + 0x18], si
call fcn.0042126e
test eax, eax
jne 0x412420
movzx edx, word [0x51fd8e]
lea eax, [esp + 0x12]
push esi
push eax
xor edx, 0x9191
mov ecx, 0x51fd90
call fcn.00412903
pop ecx
pop ecx
push 0xb64084bd
mov edx, 0x97ba26ef
mov ecx, 0xb4096c7e
call fcn.004017e3
mov edx, eax
xor ebp, ebp
pop ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bp
jne 0x41243b
push edi
lea edi, [esp + 0x10]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x412450
mov ecx, edx
lea eax, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
and ecx, 3
push 0x33
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4124bb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
lea edi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x412499
sub edx, edi
cmp edx, 0xac
jb 0x4124b4
push eax
push 0x32
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [0x52aba4]
pop edi
test esi, esi
jne 0x4124d3
call fcn.00408b24
mov esi, eax
push 0x32
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x8c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x84
ret
Function at 0x4125dd
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x204
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0x32
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x400
mov edi, eax
push ebx
call fcn.00405090
pop ecx
push ebx
mov esi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
call fcn.004642e4
cmp byte [esi], 0
pop ecx
je 0x4126dc
mov ecx, esi
call fcn.0041209e
mov ecx, dword [0x52aa50]
mov ebx, 0x100
test eax, eax
lea eax, [esp + 0x10]
push ebx
push eax
jne 0x412694
push 0x46
call fcn.0042126e
test eax, eax
jne 0x41266f
movzx edx, word [0x51fe40]
lea eax, [esp + 0x10]
push ebx
push eax
xor edx, 0x9191
mov ecx, 0x51fe42
call fcn.00412903
pop ecx
pop ecx
push 0x40
push 0x4ef5ec
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push ebp
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, esi
call fcn.00412584
jmp 0x4126ec
push 0x47
call fcn.0042126e
test eax, eax
jne 0x4126be
movzx edx, word [0x51fe72]
lea eax, [esp + 0x10]
push ebx
push eax
xor edx, 0x9191
mov ecx, 0x51fe74
call fcn.00412903
pop ecx
pop ecx
push 0x10
push 0x4ef5ec
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4126ec
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.0040507c
pop ecx
mov ecx, dword [esp + 0x210]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x204
ret

Function at 0x4127e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0xff91
mov ebx, edx
movzx esi, byte [edi + 1]
xor si, ax
mov al, byte [edi]
xor al, 0x91
shl si, 8
movzx eax, al
or si, ax
movzx esi, si
mov eax, esi
call fcn.004c07b0
xor ecx, ecx
mov edx, esp
test esi, esi
jle 0x412832
mov al, byte [edi + ecx + 2]
xor al, 0x91
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x412824
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push edx
push dword [0x52aa54]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret
Function at 0x41285a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0xff91
mov ebx, edx
movzx esi, byte [edi + 1]
xor si, ax
mov al, byte [edi]
xor al, 0x91
shl si, 8
movzx eax, al
or si, ax
movzx esi, si
mov eax, esi
call fcn.004c07b0
xor ecx, ecx
mov edx, esp
test esi, esi
jle 0x4128a9
mov al, byte [edi + ecx + 2]
xor al, 0x91
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x41289b
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push edx
push dword [0x52aa54]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret

Function at 0x412903
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
dec eax
cmp edx, eax
push ebp
cmovle eax, edx
push esi
mov esi, dword [esp + 0xc]
push edi
lea ebp, [eax + eax]
mov edi, ecx
test ebp, ebp
jle 0x412931
push ebx
mov edx, esi
sub edi, esi
mov ebx, ebp
mov cl, byte [edi + edx]
xor cl, 0x91
mov byte [edx], cl
inc edx
dec ebx
jne 0x412924
pop ebx
xor ecx, ecx
pop edi
mov word [esi + ebp], cx
pop esi
pop ebp
ret

Function at 0x41293b
Capabilities:
Get disk size

Disassembly:
sub esp, 0x220
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov ebx, edx
push 0x5c
pop eax
push eax
push ebx
mov ebp, ecx
call fcn.004bb2a8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x412975
xor eax, eax
mov word [esi], ax
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x412a1c
test esi, esi
je 0x41299a
push 0x5c
pop eax
mov word [esi], ax
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x238]
jb 0x4129bb
ja 0x4129b6
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x234]
jbe 0x4129bb
xor eax, eax
inc eax
jmp 0x412a1e
test edi, edi
je 0x412a1c
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x20]
mov esi, 0x104
push esi
push eax
push 0x16
call fcn.0042126e
test eax, eax
jne 0x4129fa
movzx edx, word [0x51f764]
lea eax, [esp + 0x20]
push esi
push eax
xor edx, 0x9191
mov ecx, 0x51f766
call fcn.00412903
pop ecx
pop ecx
movzx eax, word [ebx]
push eax
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x10
push 0x4ef5ec
push edi
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0x220
ret
Function at 0x4134c7
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.004137e6
test al, al
je 0x413535
xor ebx, ebx
lea esi, [edi + 0x102]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [edi + 0x574]
push ebx
push ebx
call fcn.0044572d
mov edx, eax
lea eax, [esi + 2]
mov cx, word [esi]
add esi, 2
cmp cx, bx
jne 0x4134f7
sub esi, eax
lea ecx, [edi + 0x102]
sar esi, 1
lea ecx, [ecx + esi*2]
push ecx
lea eax, [ecx + 2]
mov ecx, edi
push edx
mov dword [edi + 0x564], eax
call fcn.004135ae
mov ecx, edi
call fcn.0041382a
xor eax, eax
cmp byte [edi + 0x310], al
sete al
jmp 0x413537
xor al, al
pop edi
pop esi
pop ebx
ret