joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7003f91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x7003fa0
pop dword [ebp - 0x38]
mov eax, 0x53424d4c
sub eax, 0x4c420dac
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x94a4288a
add dword [ebp - 0x48], 0xb9ae1cc1
mov dword [ebp - 0x44], 0x6cc5125d
sub dword [ebp - 0x44], 0x3a91c618
mov dword [ebp - 0x40], 0xb2fce3a2
sub dword [ebp - 0x40], 0x66b09f74
mov dword [ebp - 0x3c], 0x8de51f9
sub dword [ebp - 0x3c], 0x8de51f9
lea eax, [ebp - 0x48]
push eax
mov eax, 0x431eee62
sub eax, 0x3c1dce32
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xfbc90949
add dword [ebp - 0x48], 0x78a9600d
mov dword [ebp - 0x44], 0x127eeed1
add dword [ebp - 0x44], 0x2eed72a4
mov dword [ebp - 0x40], 0x496d71fe
sub dword [ebp - 0x40], 0xe5fe0592
mov dword [ebp - 0x3c], 0xd9c32ef6
sub dword [ebp - 0x3c], 0xd9c32ef6
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x8e4a962b
sub eax, 0x874975f7
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3b705
push 0
call eax
mov ecx, 0x4b3e
mov ebx, eax
mov edx, 0x48821600
sub edx, 0x41803600
add edx, dword [ebp - 0x38]
mov edi, 0x6477269d
add edi, 0xc3ce16aa
xor dword [ebp - 0x20], 0x30a991c8
mov esi, dword [edx]
sub dword [ebp - 0x20], esi
add esi, edi
sub dword [ebp - 0x20], 0x7b9fcdfb
mov dword [ebx], esi
add dword [ebp - 0x24], 0xdb1ef281
add ebx, 0x883ae1b4
add ebx, 0x77c51e50
add edx, 0xedcf84b9
sub edx, 0xedcf84b5
loop 0x70040bc
add eax, 0x5b6bd2bf
add eax, 0xa4954d0c
xor ebx, ebx
add ebx, eax
add eax, 0x254bc1cd
add eax, 0xdab43e38
mov ecx, 0xe3e4e5b1
add ecx, 0x231b1a4f
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x700c938
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x7010cdd
call fcn.07001ea6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700cc00
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700d3f5
lea ecx, [ebp - 0x10]
call fcn.0700c8d5
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700c9a5
mov eax, dword [eax + 0x14]
jmp 0x700c9aa
mov eax, 0x70127b2
push 0x701411c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700c9dc
mov ecx, dword [edi + 4]
call fcn.07007826
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003f91
mov eax, edi
call fcn.07002b7f
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003f91
int3
Function at 0x700d4d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700d534
cmp byte [esi + 0x10], 0
je 0x700d4f2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov eax, dword [esi + 0xc]
pop ecx
mov byte [esi + 0x10], 0
push edi
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d522
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
pop ecx
test eax, eax
je 0x700d53b
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700d536
xor eax, eax
pop esi
pop ebp
ret 8
push str.stream_read_error
push 0
call fcn.07003f91
int3

Function at 0x700d7e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 8], 0
jne 0x700d833
cmp dword [esi + 0xc], 0
je 0x700d82e
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d821
push str.stream_write_error
jmp 0x700d838
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
pop ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret 8
push str.Attempt_to_write_read_only_stream
push 0
call fcn.07003f91
int3

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x4561f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x45624d
test eax, edx
je 0x456250
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x45620b
movzx eax, word [eax]
sub eax, ecx
jmp 0x456232
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x456233
add ecx, 4
js 0x456223
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x456230
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x456232
xor eax, eax
ret
test eax, eax
je 0x45625c
test edx, edx
jne 0x4561fc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x460ecc
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00442c6c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4613d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], eax
lea esi, [esp + 8]
lea ebp, [esp + 0x18]
mov eax, dword [esp]
mov byte [eax], 0
mov edi, 0x3e8
mov byte [ebp], 0
mov ebx, 8
shl byte [ebp], 1
push esi
call fcn.0044cf34
lea eax, [esp + 0x10]
push eax
call fcn.0044cf34
mov eax, dword [esi]
mov edx, dword [esi + 4]
sub eax, dword [esp + 0x10]
sbb edx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], edx
push 0
push 2
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.004486a4
cmp edx, 0
jne 0x46144a
cmp eax, 0
jne 0x46144a
mov dword [esi], 0
mov dword [esi + 4], 0
jmp 0x461457
mov dword [esi], 1
mov dword [esi + 4], 0
movzx eax, byte [esi]
add byte [ebp], al
dec ebx
jne 0x4613fe
mov eax, dword [esp]
movzx edx, byte [ebp]
xor byte [eax], dl
dec edi
jne 0x4613f5
mov edi, 8
push esi
call fcn.0044cf34
push 1
call fcn.0044cf94
lea eax, [esp + 0x10]
push eax
call fcn.0044cf34
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub eax, dword [esi]
sbb edx, dword [esi + 4]
mov dword [esi], eax
mov dword [esi + 4], edx
movzx eax, byte [esi]
mov byte [ebp], al
mov eax, dword [esp]
movzx edx, byte [ebp]
xor byte [eax], dl
dec edi
jne 0x461471
mov dword [esi], 0
mov dword [esi + 4], 0
mov edx, ebp
mov eax, esi
mov ecx, 1
call fcn.00442338
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x462cd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
movzx ebx, cl
dec ebx
test ebx, ebx
jb 0x462d22
inc ebx
xor eax, eax
mov ecx, eax
add ecx, ecx
add ecx, ecx
movzx esi, byte [edx + ecx]
mov esi, dword [esi*4 + 0x443780]
movzx edi, byte [edx + ecx + 1]
xor esi, dword [edi*4 + 0x443b80]
movzx edi, byte [edx + ecx + 2]
xor esi, dword [edi*4 + 0x443f80]
movzx edi, byte [edx + ecx + 3]
xor esi, dword [edi*4 + 0x444380]
mov dword [edx + ecx], esi
inc eax
dec ebx
jne 0x462ce6
pop edi
pop esi
pop ebx
ret
Function at 0x4630d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4630e2
sub ecx, 4
mov ecx, dword [ecx]
mov edi, dword [edx]
mov esi, edi
test esi, esi
je 0x4630ef
sub esi, 4
mov esi, dword [esi]
cmp ecx, esi
jle 0x4630fe
mov ecx, edi
test ecx, ecx
je 0x4630fe
sub ecx, 4
mov ecx, dword [ecx]
mov esi, ecx
dec esi
test esi, esi
jl 0x463117
inc esi
xor ecx, ecx
mov ebx, dword [edx]
movzx ebx, byte [ebx + ecx]
mov edi, dword [eax]
xor byte [edi + ecx], bl
inc ecx
dec esi
jne 0x463108
pop edi
pop esi
pop ebx
ret
Function at 0x41a970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4696d7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x48a034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 3
mov eax, dword [esi]
call dword [eax + 4]
cmp dword [esi + 0x54], 0
jne 0x41aa8f
lea ecx, [esi + 4]
lea eax, [ebp + 8]
cmp ecx, eax
je 0x41a9ce
cmp dword [ebp + 0x1c], 0x10
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0040a480
lea ecx, [esi + 0x1c]
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x41a9e9
cmp dword [ebp + 0x34], 0x10
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.0040a480
lea edi, [esi + 0x34]
lea eax, [ebp + 0x38]
cmp edi, eax
je 0x41aa06
cmp dword [ebp + 0x4c], 0x10
mov ecx, edi
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
push eax
call fcn.0040a480
cmp dword [esi + 0x44], 0
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x4c], eax
jne 0x41aa20
push 7
push str.en___US
mov ecx, edi
call fcn.0040a480
push 0
push 0x47bbfb
lea ecx, [esi + 0x70]
call fcn.0040a480
mov al, byte [ebp + 0x54]
mov byte [esi + 0x88], al
lea eax, [ebp + 0x58]
push eax
call fcn.0041aca0
call dword [sym.imp.WINMM.dll_timeGetTime]
push 8
mov dword [esi + 0x50], eax
call fcn.0042eee1
mov edi, eax
mov dword [ebp - 0x18], edi
push 4
mov byte [ebp - 4], 4
call fcn.0042eee1
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ebx, [edi + 4]
mov byte [ebp - 4], 5
push ebx
push 0
push eax
push 0x41ef40
push 0
push 0
call fcn.00450964
add esp, 0x20
mov dword [edi], eax
test eax, eax
je 0x41ab93
mov dword [esi + 0x54], edi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x41aac3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aab9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aba0
push edx
push ecx
call fcn.0042ef11
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x41ab09
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aaff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aba0
push edx
push ecx
call fcn.0042ef11
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x41ab4b
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aba0
push edx
push ecx
call fcn.0042ef11
add esp, 8
mov ecx, dword [ebp + 0x7c]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
test ecx, ecx
je 0x41ab75
mov edx, dword [ecx]
lea eax, [ebp + 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eecb
mov esp, ebp
pop ebp
ret 0x78
push 6
mov dword [ebx], 0
call fcn.0042dec1
call fcn.00450732
int3
Function at 0x426040
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], edx
push esi
mov esi, ecx
push edi
test ebx, ebx
jne 0x426060
mov dword [esi], 1
jmp 0x426135
push 2
push 0
push 0
push ebx
call fcn.00451a5b
push ebx
call fcn.004514e9
add esp, 0x14
mov dword [ebp - 4], edx
mov edi, eax
push 0
push 0
push 0
push ebx
call fcn.00451a5b
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
jg 0x4260a0
jl 0x426096
test edi, edi
jae 0x4260a0
mov eax, 2
jmp 0x426133
xor ecx, ecx
cmp ecx, eax
jne 0x42612e
lea eax, [edi + 2]
push eax
call fcn.00451a76
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4260c4
mov dword [esi], 3
jmp 0x426135
push dword [ebp + 8]
push edi
push 1
push ebx
call fcn.004516e5
add esp, 0x10
cmp eax, edi
je 0x4260e8
push ebx
call fcn.00450393
add esp, 4
mov dword [esi], 2
jmp 0x426135
mov edx, edi
mov ecx, ebx
call fcn.00423000
mov ecx, eax
cmp ecx, 2
je 0x4260fd
cmp ecx, 3
jne 0x42610b
shr edi, 1
xor edx, edx
lea eax, [edi + edi]
mov word [eax + ebx], dx
lea edi, [eax + 2]
push dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov edx, eax
sub esp, 8
push ecx
push ecx
push edi
push ebx
push eax
mov ecx, esi
call fcn.00425e10
add esp, 0x20
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 3
mov dword [esi], eax
pop edi
mov dword [esi + 4], 0
mov eax, esi
mov dword [esi + 8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x428d00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x48a034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
push 0
mov dword [ebp - 0x234], edi
push eax
mov dword [ebp - 0x234], edi
call fcn.00429ab0
push 0
push 2
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x428da6
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x428d9f
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
cmp ebx, dword [ebp - 0x228]
je 0x428d95
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x428d70
jmp 0x428d9e
mov ecx, dword [ebp - 0x218]
mov dword [edi + 0x14], ecx
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042eecb
mov esp, ebp
pop ebp
ret 4
Function at 0x428e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46acd8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x48a034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
push 0x20219
push 0
push str.SoftwareWorking_SolutionsAcquire
push 0x80000002
mov dword [ebp - 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x428ec4
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x47bd54
mov word [esi], ax
call fcn.0040a1e0
jmp 0x429003
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x428fdb
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
shr ecx, 1
inc ecx
cmp ecx, eax
ja 0x428f23
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x428f30
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426a80
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004280b0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x428fd3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x428fa1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428f97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429020
push edx
push ecx
call fcn.0042ef11
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.00408340
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eecb
mov esp, ebp
pop ebp
ret
call fcn.00450732
int3
Function at 0x429030
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x14]
cmp eax, 1
jb 0x429092
push eax
push 0
push 0x100000
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x429092
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
push esi
sbb bl, bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and bl, byte [ebp - 1]
jne 0x42908f
push 0x46df98
push str.TMainControl
call dword [sym.imp.USER32.dll_FindWindowW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x429900
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebx + 0x14], 0
je 0x4290e6
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
cmp esi, edi
je 0x4290ec
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4290df
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x14]
je 0x429133
add esi, 4
cmp esi, edi
jne 0x4290c7
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
sub edi, esi
test edi, 0xfffffffc
je 0x42913a
mov eax, esi
mov edi, dword [eax]
test esi, esi
je 0x42912a
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x429120
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429173
push ecx
push esi
call fcn.0042ef11
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov esi, dword [ebp - 0x14]
jmp 0x4290f8
test esi, esi
je 0x42916a
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x429160
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429173
push ecx
push esi
call fcn.0042ef11
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00450732
int3
Function at 0x42a8d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46af4b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x48a034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
push eax
push 0
mov dword [ebp - 0x42c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, 1
jge 0x42a965
mov dword [esi + 0x10], 0
xor eax, eax
push 7
mov dword [esi + 0x14], 7
mov ecx, esi
push str.Unknown
mov word [esi], ax
call fcn.0040a1e0
jmp 0x42aa89
push ebx
call fcn.00451a76
mov edi, eax
add esp, 4
test edi, edi
je 0x42a93f
push edi
push ebx
push 0
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x46e0b8
push edi
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x434], 0x34
jae 0x42a9c0
push edi
call fcn.00450393
add esp, 4
mov ecx, esi
push str.Unknown
call fcn.00408430
jmp 0x42aa89
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x410]
push edx
push str.V_i._i._i._i
push eax
call fcn.0042a040
push edi
call fcn.00450393
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x418], 0
add esp, 0x1c
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42aa20
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0040a480
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.00427f20
mov edx, dword [ebp - 0x414]
add esp, 8
cmp edx, 0x10
jb 0x42aa89
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42aa7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42aaa7
push edx
push ecx
call fcn.0042ef11
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eecb
mov esp, ebp
pop ebp
ret
call fcn.00450732
int3
Function at 0x431ead
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x45c52a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045c3a0