joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4041200
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4041235
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.040039a4
jmp 0x404123f
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.04003910
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4042164
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x404219c
mov eax, esi
call fcn.04029e00
test al, al
je 0x404219c
mov eax, dword [ebx + 0x74]
call fcn.04029b04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x404219c
push 0
mov eax, dword [ebx + 0x74]
call fcn.04029b04
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4042d98
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.040429fc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.04003d00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4042df6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4045b80]
mov dl, 1
mov eax, dword [0x40428f4]
call fcn.04008f74
call fcn.0400338c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4042e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.04003d00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4042e58
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4045ce8]
mov dl, 1
mov eax, dword [0x40428f4]
call fcn.04008f74
call fcn.0400338c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.04042a2c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x402de4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402e3d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402c80
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402c80
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e27
inc ebx
jmp 0x402e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e44
lea eax, [ebp - 8]
call fcn.004048d0
ret

Function at 0x402e4c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004048d0
test esi, esi
jne 0x402e83
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004049c0
jmp 0x402ea4
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c80
mov dword [esp], eax
test esi, esi
je 0x402ea4
cmp dword [ebx], 0
je 0x402ea4
dec esi
jmp 0x402e8b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403928
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x427020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4039c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4039a0
xor eax, eax
push ebp
push 0x403999
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4039dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4039a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x427020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x427020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40474c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42904c], 0
je 0x4047ad
cmp word [0x429220], 0xd7b2
jne 0x404775
cmp dword [0x429228], 0
jbe 0x404775
mov eax, 0x42921c
call dword [0x429238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x427070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4047d4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x427030], 0
jne 0x4047c9
push 0
push 0x427068
push 0x427070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406994
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4069fa
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404b40
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403384
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4069e4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a01
lea eax, [ebp - 0x10]
call fcn.004048d0
ret

Function at 0x40b1c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b1f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049c0
jmp 0x40b202
mov eax, ebx
mov edx, esi
call fcn.00404924
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b20c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b22d
mov al, byte [esp]
jmp 0x40b22f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c714
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c778
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404b40
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004083c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c77f
lea eax, [ebp - 0xc]
call fcn.004048d0
ret

Function at 0x41c878
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x429884
cmp dword [edi], 0
jne 0x41c8f4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x429880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x427460
mov ecx, 2
call fcn.00402c40
mov edx, 0x41c850
lea eax, [esi + 5]
call fcn.0041c870
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c870
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41c8c9
mov dword [0x429880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41eea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x41ef34
push 0
mov eax, ebx
call fcn.00404d90
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x41ef0f
mov eax, esi
call fcn.00404b90
inc eax
push eax
mov eax, esi
call fcn.00404d90
push eax
push 1
push 0
mov eax, edi
call fcn.00404d90
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x41ef2a
mov ecx, dword [0x4286cc]
mov dl, 1
mov eax, dword [0x41d494]
call fcn.0040ba48
call fcn.00404308
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x424884
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004064d0
xor eax, eax
push ebp
push 0x4249bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.0041ee00
xor eax, eax
push ebp
push 0x42498e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
movzx ebx, word [eax + 0x30]
dec ebx
test ebx, ebx
jl 0x424973
inc ebx
xor esi, esi
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.0041ee00
mov eax, dword [ebp - 0x18]
and eax, 2
cmp eax, 2
jne 0x42496b
mov eax, dword [ebp - 0x18]
and eax, 1
dec eax
jne 0x42496b
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.0041ee00
lea eax, [ebp - 0x14]
call fcn.0040645c
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.0041ee00
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0041ee00
lea eax, [edi + 4]
mov edx, dword [ebp - 0x14]
call fcn.00406474
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004247ec
inc esi
dec ebx
jne 0x4248e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424995
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret
Function at 0x4256a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x42a9ac]
shl edi, 2
xor edx, dword [esi + 0x429924]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x4299ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x429dac]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x42a1ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x42a5ac]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x4256c1
xchg edx, eax
xor eax, dword [esi + 0x429924]
xor edx, dword [esi + 0x429928]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x42571c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x42a9ac]
inc esi
shl esi, 2
xor edx, dword [esi + 0x429924]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x4299ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x429dac]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x42a1ac]
mov bl, dl
add ecx, dword [ebx*4 + 0x42a5ac]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x425734
xchg edx, eax
xor eax, dword [0x429928]
xor edx, dword [0x429924]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x425a14
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x42a9ac], 0x10
mov esi, 0x427560
mov edi, 0x429924
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x425cd8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffffc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1004], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x425d7e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1000]
mov ecx, 0x20
mov edx, 0x1000
call fcn.00403364
cmp ebx, 0xff
jne 0x425d31
lea eax, [ebp - 0x1000]
push eax
push 0x1000
call sub.kernel32.dll_GetTempPathA
jmp 0x425d42
push 0
push ebx
lea eax, [ebp - 0x1000]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 0x1004]
lea edx, [ebp - 0x1000]
mov ecx, 0x1000
call fcn.004049c0
mov eax, dword [ebp - 0x1004]
mov edx, esi
call fcn.0040814c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425d85
lea eax, [ebp - 0x1004]
call fcn.004048d0
ret
Function at 0x4025e4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402613
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00402ed4
jmp 0x402631
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402578
mov edi, eax
test ebx, ebx
je 0x402631
cmp dword [esi], 0
je 0x402631
dec ebx
jmp 0x40261a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402674
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40270c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4026ec
xor eax, eax
push ebp
push 0x4026e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402728
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4026ec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x4031d0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403388
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403231
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4033a4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40329e
xor eax, eax
push ebp
push 0x403297
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403280
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4033c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40329e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40337f
cmp byte [ebp - 0xd], 0
jne 0x4032e0
cmp byte [ebp - 0x12], 0
je 0x40337f
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4032f9
dec ebx
cmp byte [ebx], 0x2e
je 0x403308
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4032f8
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40337f
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403335
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40337f
cmp byte [ebp - 0xd], 0
je 0x40337f
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40337f
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405c90
Capabilities:
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x8a6e1c], 0x594
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], eax
jne 0x405cd1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0x405808
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x4444c8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4444cc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00405c86
mov eax, dword [0x4444d0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4444d4]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
jmp 0x405d11
mov esi, dword [ebp - 0x14]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, esi
shl eax, 4
cmp dword [0x8a6e1c], 0xc
mov dword [ebp - 4], eax
jne 0x405d4f
push edi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x8a6e1c]
cmp eax, 0xfa9
jne 0x405d6b
mov dword [0x8a6e18], 0xedeb2e40
cmp eax, 0x3eb
jne 0x405d78
mov dword [0x87ffb8], edi
mov ecx, dword [ebp - 8]
lea eax, [ebx + esi]
shr esi, cl
mov dword [ebp - 0x10], eax
mov dword [0x8a6e14], 0xf4ea3dee
add esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor esi, dword [ebp - 4]
cmp dword [0x8a6e1c], 0x213
mov dword [ebp - 0x10], esi
jne 0x405db0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x8a6e1c], 0xc
jne 0x405df0
lea eax, [ebp - 0x10]
push eax
push edi
push edi
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_BackupRead]
push edi
lea eax, [ebp - 0x430]
push eax
push 0x405820
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, edx
shr esi, cl
lea eax, [ebx + edx]
xor dword [ebp - 4], eax
add esi, dword [ebp - 0x20]
cmp dword [0x8a6e1c], 0x121
jne 0x405e2b
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
mov edx, dword [ebp - 0xc]
xor dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x14]
call fcn.00405c8d
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x405d0e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
leave
ret 4
Function at 0x40977e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4436b0]
jne 0x409788
repz ret
jmp fcn.0040f2ce

Function at 0x410f82
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004080d3
and dword [ebp - 4], 0
cmp dword [0x4458ac], 0
mov ebx, eax
jne 0x411033
push 0x405784
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4110e4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x405778
push edi
call esi
test eax, eax
je 0x4110e4
push eax
call fcn.00408061
mov dword [esp], 0x405768
push edi
mov dword [0x4458ac], eax
call esi
push eax
call fcn.00408061
mov dword [esp], 0x405754
push edi
mov dword [0x4458b0], eax
call esi
push eax
call fcn.00408061
mov dword [esp], 0x405738
push edi
mov dword [0x4458b4], eax
call esi
push eax
call fcn.00408061
pop ecx
mov dword [0x4458bc], eax
test eax, eax
je 0x411033
push 0x405720
push edi
call esi
push eax
call fcn.00408061
pop ecx
mov dword [0x4458b8], eax
mov eax, dword [0x4458b8]
cmp eax, ebx
je 0x41108b
cmp dword [0x4458bc], ebx
je 0x41108b
push eax
call fcn.004080dc
push dword [0x4458bc]
mov esi, eax
call fcn.004080dc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41108b
test edi, edi
je 0x41108b
call esi
test eax, eax
je 0x411082
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411082
test byte [ebp - 0xc], 1
jne 0x41108b
or dword [ebp + 0x10], 0x200000
jmp 0x4110c4
mov eax, dword [0x4458b0]
cmp eax, ebx
je 0x4110c4
push eax
call fcn.004080dc
pop ecx
test eax, eax
je 0x4110c4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4110c4
mov eax, dword [0x4458b4]
cmp eax, ebx
je 0x4110c4
push eax
call fcn.004080dc
pop ecx
test eax, eax
je 0x4110c4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4458ac]
call fcn.004080dc
pop ecx
test eax, eax
je 0x4110e4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4110e6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret