joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 2
push edx
push eax
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x410], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4128e7
call fcn.0041142a
mov esi, eax
jmp 0x41299f
push 0
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
jne 0x412902
call fcn.0041142a
jmp 0x412996
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4128f8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x412928
mov esi, 0x8007000e
jmp 0x41299f
push 2
push eax
call fcn.00411897
cmp eax, 0x400
jbe 0x41294b
push eax
lea ecx, [ebp - 0x410]
call fcn.004113fd
mov eax, dword [ebp - 0x410]
jmp 0x412957
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], eax
test eax, eax
jne 0x412962
mov esi, 0x8007000e
jmp 0x412998
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4128f8
mov eax, dword [ebp - 0x410]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x41c]
push dword [ebp - 0x410]
call fcn.00412738
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x40c]
cmp dword [ebp - 0x410], eax
je 0x4129b8
lea ecx, [ebp - 0x410]
call fcn.004113ee
lea ecx, [ebp - 0x414]
call fcn.0041184b
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415a06
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
mov ebx, ecx
push edi
test esi, esi
je 0x415ae7
cmp dword [esi], edx
je 0x415ae7
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x415ae7
lea eax, [ebp + 8]
mov dword [ebp - 4], edx
push eax
lea eax, [ebp - 4]
mov dword [ebp + 8], edx
push eax
call fcn.00432c73
mov edi, eax
test edi, edi
jns 0x415a9e
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x415a84
test byte [eax + 0x1c], 1
je 0x415a84
cmp byte [eax + 0x19], 2
jb 0x415a84
push edi
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x401ef8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2e
pop ecx
call fcn.00412c68
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [ebp - 4]
mov ecx, eax
call fcn.00445895
jmp 0x415b28
push dword [esi + 4]
mov ecx, ebx
call fcn.00415421
mov edi, eax
test edi, edi
jns 0x415ae1
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x415b28
test byte [eax + 0x1c], 8
je 0x415b28
cmp byte [eax + 0x19], 2
jb 0x415b28
push edi
push 0x401e54
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2f
jmp 0x415b1d
xor edx, edx
mov edi, edx
jmp 0x415b2a
mov edi, 0x80070057
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x415b2a
test byte [eax + 0x1c], 8
je 0x415b2a
cmp byte [eax + 0x19], 2
jb 0x415b2a
push edi
push 0x401e3c
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2d
mov edx, 0x401ef8
pop ecx
call fcn.00410eec
xor edx, edx
test esi, esi
je 0x415b4c
mov eax, dword [esi]
test eax, eax
je 0x415b45
add eax, 0xe60
cmp word [eax], dx
je 0x415b45
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.00415f3a
xor eax, eax
test edi, edi
pop edi
pop esi
setns al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41620f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x46af24], 0
je 0x41623d
xor eax, eax
cmp dword [0x46af30], eax
setne al
jmp 0x41635e
push ebx
push esi
push edi
push 0x90
xor esi, esi
lea eax, [ebp - 0x94]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x88], 2
push 0x401f70
sete al
mov dword [0x46af20], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x416325
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401f80
push edi
call ebx
mov dword [0x46af40], eax
test eax, eax
je 0x416325
push 0x401f94
push edi
call ebx
mov dword [0x46af3c], eax
test eax, eax
je 0x416325
push 0x401fa8
push edi
call ebx
mov dword [0x46af38], eax
test eax, eax
je 0x416325
push 0x401fb8
push edi
call ebx
mov dword [0x46af34], eax
test eax, eax
je 0x416325
push 0x401fcc
push edi
call ebx
mov dword [0x46af2c], eax
test eax, eax
je 0x416325
push 0x401fe0
push edi
call ebx
mov dword [0x46af28], eax
test eax, eax
je 0x416325
cmp dword [0x46af20], esi
je 0x41630f
push 0x401ff4
jmp 0x416314
push 0x402004
push edi
call ebx
mov dword [0x46af30], eax
test eax, eax
je 0x416325
xor esi, esi
inc esi
jmp 0x41634f
mov dword [0x46af40], esi
mov dword [0x46af3c], esi
mov dword [0x46af38], esi
mov dword [0x46af34], esi
mov dword [0x46af30], esi
mov dword [0x46af2c], esi
mov dword [0x46af28], esi
pop edi
mov eax, esi
mov dword [0x46af24], 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468719
mov esp, ebp
pop ebp
ret
Function at 0x41bf52
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0
je 0x41bf92
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x41bf92
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x2c]
lea eax, [ebp - 0x208]
push 0x100
push eax
mov edx, 0xbb7
call fcn.004655b3
mov ebx, 0x402988
test eax, eax
jne 0x41bff3
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x41bfde
test byte [eax + 0x1c], 1
je 0x41bfde
cmp byte [eax + 0x19], 1
jb 0x41bfde
push dword [eax + 0x14]
mov edx, ebx
mov ecx, 0xa8
push dword [eax + 0x10]
call fcn.0041d776
push 0x402894
mov edx, 0x100
lea ecx, [ebp - 0x208]
call fcn.00414563
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x408]
push 0x100
push eax
call fcn.004145d2
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x408]
add esp, 0x10
mov edx, edi
push 0x10010
push eax
call fcn.004652de
mov esi, eax
mov eax, dword [0x46a020]
mov edi, 0x46a020
cmp eax, edi
je 0x41c068
test byte [eax + 0x1c], 1
je 0x41c068
cmp byte [eax + 0x19], 4
jb 0x41c068
push esi
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, ebx
mov ecx, 0xa9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00412c68
mov eax, dword [0x46a020]
dec esi
je 0x41c0a9
dec esi
dec esi
je 0x41c0a9
dec esi
je 0x41c0a1
cmp eax, edi
je 0x41c0b8
test byte [eax + 0x1c], 1
je 0x41c0b8
cmp byte [eax + 0x19], 3
jb 0x41c0b8
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, ebx
mov ecx, 0xaa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004110b1
jmp 0x41c0b8
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x41c0b8
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret 8

Function at 0x41c46e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x28c], 0
jne 0x41c4a9
push 5
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x48], 0
je 0x41c498
push 1
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x41c4a9
cmp dword [esi + 0x50], 0
je 0x41c4a9
push 0
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0xc], 0
pop esi
ret
Function at 0x4206f4
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax + 4]
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x420749
test byte [eax + 0x1c], 1
je 0x420749
cmp byte [eax + 0x19], 4
jb 0x420749
xor eax, eax
cmp dword [ebp + 8], eax
setne al
push eax
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x402da4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x46
pop ecx
call fcn.00412c68
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x420764
call fcn.004515e2
mov eax, dword [esi + 0xc]
mov ecx, esi
push ebx
and dword [eax + 0x28], 0
call fcn.00420b16
cmp dword [esi + 0x1c], 0
je 0x4208f2
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4208f2
mov edi, dword [ebp + 0xc]
xor edx, edx
and edi, 1
jne 0x4207d9
mov ecx, dword [ebp + 0xc]
and ecx, 2
je 0x4207d9
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x4207d4
test byte [eax + 0x1c], 1
je 0x4207d4
cmp byte [eax + 0x19], 4
jb 0x4207d4
xor eax, eax
cmp dword [ebp + 8], eax
push ecx
setne al
push eax
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x402da4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x47
pop ecx
call fcn.004166e3
mov eax, dword [0x46a020]
xor edx, edx
inc edx
jmp 0x4207de
mov eax, dword [0x46a020]
cmp dword [ebp + 8], 0
jne 0x4208d8
test edx, edx
jne 0x4208d8
cmp eax, 0x46a020
je 0x420825
test byte [eax + 0x1c], 1
je 0x420825
cmp byte [eax + 0x19], 5
jb 0x420825
push dword [ebp + 0xc]
push edx
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x402da4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x48
pop ecx
call fcn.004166e3
neg edi
mov ecx, esi
sbb edi, edi
and edi, 3
inc edi
mov dword [esi + 0x490], edi
call fcn.00420b6f
mov eax, dword [esi + 0x1c]
mov ecx, esi
push dword [eax + 4]
call fcn.00420ac3
mov ecx, dword [esi + 0x1c]
and dword [esi + 0x494], 0xfffffffd
call fcn.0041aae0
xor edi, edi
mov ecx, esi
inc edi
push edi
call fcn.0041f138
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x1c]
push ebx
mov dword [eax + 0x28c], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov ecx, esi
call fcn.00421182
mov ecx, esi
call fcn.004202ae
push eax
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
jne 0x4208f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x4208f2
test byte [ecx + 0x1c], 8
je 0x4208f2
cmp byte [ecx + 0x19], 2
jb 0x4208f2
push eax
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
mov edx, 0x402da4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x49
pop ecx
call fcn.00412c68
jmp 0x4208f2
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x1c]
or dword [esi + 0x494], 2
and dword [eax + 0x28c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x420dde
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x1c]
add eax, dword [ecx + 0x24]
cmp dword [ebp + 8], 0
mov dword [esi + 0x10], eax
je 0x420e4d
and dword [ebp - 0x18], 0
lea edi, [ebp - 0x14]
xor eax, eax
stosd dword es:[edi], eax
push 1
push dword [esi + 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
add dword [esi + 0x10], eax
or dword [esi + 0x494], 0x40
jmp 0x420e6a
push 0
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0x494], 0xffffffbf
push 0
push 0
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.004188bf
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00468719
mov esp, ebp
pop ebp
ret 4
Function at 0x42395d
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x128], eax
xor esi, esi
lea eax, [ebp - 0x124]
mov dword [ebp - 0x12c], esi
push eax
mov edi, esi
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4239ed
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x423b94
test byte [eax + 0x1c], 1
je 0x423b94
cmp byte [eax + 0x19], 2
jb 0x423b94
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x4030f4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2e
pop ecx
call fcn.004110b1
jmp 0x423b94
cmp dword [ebp - 0x114], 2
jne 0x423b86
cmp dword [ebp - 0x120], 5
jbe 0x423b74
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
jns 0x423a61
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x423b90
test byte [eax + 0x1c], 8
je 0x423b90
cmp byte [eax + 0x19], 2
jb 0x423b90
push esi
push 0x403034
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x4030f4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2f
pop ecx
call fcn.00410eec
jmp 0x423b90
lea eax, [ebp - 0x12c]
xor edi, edi
push eax
push 0x4030e4
push 0x17
push 0
push 0x40870c
inc edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x423ad2
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x423b8a
test byte [eax + 0x1c], 8
je 0x423b8a
cmp byte [eax + 0x19], 2
jb 0x423b8a
push esi
push 0x403050
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x30
mov edx, 0x4030f4
pop ecx
call fcn.00410eec
jmp 0x423b8a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x423b0d
xor ecx, ecx
mov dword [ebp - 0x130], ecx
cmp word [eax], cx
jne 0x423aeb
mov eax, 0x401f28
mov dword [ebp - 0x130], eax
mov edx, 0x38f
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 2
push eax
push edi
call fcn.004161b8
push dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
call fcn.00421a3a
mov ecx, dword [ebp - 0x12c]
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
push dword [ebp - 0x128]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x423b84
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x423b8a
test byte [eax + 0x1c], 8
je 0x423b8a
cmp byte [eax + 0x19], 2
jb 0x423b8a
push esi
push 0x403074
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x31
jmp 0x423ac2
push ecx
push ecx
mov edx, 0x403098
mov ecx, ebx
call fcn.0044a3cd
jmp 0x423b86
xor esi, esi
test edi, edi
je 0x423ba4
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
jns 0x423ba4
push dword [ebp + 0x14]
mov edx, 0x411
push ecx
mov ecx, ebx
call fcn.00461b4d
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret 0x14
Function at 0x423dd5
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebx
push esi
xor eax, eax
xor ebx, ebx
push edi
mov edi, ecx
inc ebx
mov esi, eax
call fcn.00423516
test eax, eax
jne 0x423f22
test edi, edi
je 0x423f22
push 0x5c
pop ecx
cmp word [edi], cx
jne 0x423e74
cmp word [edi + 2], cx
jne 0x423e74
push 2
pop esi
movzx eax, word [edi + esi*2]
test ax, ax
je 0x423e18
inc esi
cmp ax, cx
jne 0x423e09
xor eax, eax
cmp word [edi + esi*2], ax
jne 0x423e60
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x423e59
test byte [eax + 0x1c], 1
je 0x423e59
cmp byte [eax + 0x19], 2
jb 0x423e59
push edi
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x34
mov edx, 0x4030f4
pop ecx
call fcn.0041d606
xor eax, eax
jmp 0x423f24
cmp word [edi + esi*2 + 2], 0x24
jne 0x423e9a
cmp word [edi + esi*2 + 4], cx
jne 0x423e9a
add esi, 3
jmp 0x423e9a
movzx eax, word [edi + esi*2]
test ax, ax
je 0x423e83
inc esi
cmp eax, 0x3a
jne 0x423e74
movzx eax, word [edi + esi*2]
test ax, ax
je 0x423f28
cmp ax, cx
jne 0x423f28
inc esi
lea esi, [edi + esi*2]
movzx eax, word [esi]
test ax, ax
je 0x423ee8
cmp ax, cx
jne 0x423edf
xor eax, eax
mov ecx, edi
mov word [esi], ax
call fcn.00423516
test eax, eax
jne 0x423ed9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x423ed9
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
not eax
and ebx, eax
push 0x5c
pop ecx
mov word [esi], cx
add esi, 2
test ebx, ebx
jne 0x423e9d
jmp 0x423eec
test ebx, ebx
jne 0x423f22
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x423f22
test byte [eax + 0x1c], 1
je 0x423f22
cmp byte [eax + 0x19], 2
jb 0x423f22
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x4030f4
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x36
pop ecx
call fcn.004110b1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x423e59
test byte [eax + 0x1c], 1
je 0x423e59
cmp byte [eax + 0x19], 2
jb 0x423e59
push edi
push ecx
call fcn.00411040
pop ecx
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x35
jmp 0x423e4e

Function at 0x4243b0
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4243fb
cmp dword [ebp - 0x11c], 5
jb 0x4243f6
jne 0x42443b
cmp dword [ebp - 0x118], esi
jne 0x42443b
xor esi, esi
inc esi
jmp 0x42443b
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x42443b
test byte [eax + 0x1c], 1
je 0x42443b
cmp byte [eax + 0x19], 2
jb 0x42443b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
call fcn.00411040
pop ecx
mov ecx, dword [0x46a020]
mov edx, 0x4030f4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x3a
pop ecx
call fcn.00412c68
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00468719
mov esp, ebp
pop ebp
ret
Function at 0x435c7d
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
sub edi, dword [ebx]
xor edx, edx
mov dword [ebp - 0xc], ecx
mov eax, edx
mov dword [ebp - 8], edx
cmp edi, dword [eax + 0x406974]
jne 0x435cb0
cmp ecx, dword [eax + 0x406978]
je 0x435cbc
add eax, 0xc
cmp eax, 0xcc
jb 0x435ca0
jmp 0x435cc3
mov dword [ebp - 8], 1
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi]
cmp ecx, 0x20
jae 0x435da0
test ecx, ecx
je 0x435d35
lea eax, [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp ebx, edi
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x10]
jne 0x435d06
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 4]
cmp ebx, eax
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x10]
je 0x435da0
cmp dword [ebp - 0xc], eax
jmp 0x435d09
cmp dword [ebp - 0xc], edi
ja 0x435d16
add dword [ebp - 4], 0xc
inc edx
cmp edx, ecx
jb 0x435cde
jmp 0x435d35
cmp ecx, edx
jbe 0x435d35
imul eax, ecx, 0xc
add eax, 4
add eax, esi
sub ecx, edx
mov edi, eax
lea esi, [eax - 0xc]
sub eax, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec ecx
jne 0x435d24
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov edi, dword [ebp - 8]
imul ecx, edx, 0xc
mov dword [ecx + esi + 4], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov dword [ecx + esi + 8], eax
mov dword [ecx + esi + 0xc], edi
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x435d9e
test byte [eax + 0x1c], 1
je 0x435d9e
cmp byte [eax + 0x19], 5
jb 0x435d9e
mov eax, 0x4068c4
test edi, edi
jne 0x435d78
mov eax, 0x4068d8
push edx
push eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push eax
call fcn.00411040
mov ecx, dword [0x46a020]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0043541a
inc dword [esi]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436e90
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.004243b0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jne 0x436ece
push 1
push 0x3334
push dword [esi + 0x1c]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x436f1a
push 0
push 0x3334
push dword [esi + 0x1c]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x808]
push 0x400
push eax
mov edx, 0x3424
call fcn.004655b3
test eax, eax
jne 0x436f05
xor ebx, ebx
jmp 0x437000
lea eax, [ebp - 0x808]
push eax
push 0x3aa1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, esi
call fcn.004372c9
mov ebx, eax
mov dword [ebp - 0x818], ebx
test ebx, ebx
jne 0x436f76
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x437000
test byte [ecx + 0x1c], 1
je 0x437000
cmp byte [ecx + 0x19], 2
jb 0x437000
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x406d80
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.004110b1
jmp 0x437000
push 0
push 0x3337
push dword [esi + 0x1c]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [eax + 0x2e450]
lea eax, [eax*4 + 0x406d34]
mov dword [ebp - 0x80c], eax
xor eax, eax
mov dword [ebp - 0x810], eax
push dword [eax + 0x406d30]
push dword [esi + 0x1c]
call edi
mov ecx, eax
mov eax, dword [ebp - 0x80c]
mov dword [ebp - 0x814], ecx
cmp dword [eax], 0
jne 0x436fdf
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x436fdf
push 0
push dword [ebp - 0x814]
call ebx
mov eax, dword [ebp - 0x810]
add dword [ebp - 0x80c], 0x1c
add eax, 0x1c
mov dword [ebp - 0x810], eax
cmp eax, 0x38
jb 0x436fac
mov ebx, dword [ebp - 0x818]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret