joyce8/EMBER2024-capa huggingface dataset:
Function at 0x507dc0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x551d48]
test eax, eax
jge 0x507dcd
xor eax, eax
jmp 0x507dd4
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp dword [eax + 8], 0
je 0x507df9
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x507de4
xor eax, eax
ret
mov edx, dword [ecx]
mov dword [eax + 8], edx
test edx, edx
jne 0x507df0
mov dword [eax + 0xc], edx
mov dword [ecx], 0xfefefefe
mov eax, ecx
ret
mov ecx, dword [eax + 4]
push 0x10
push 0xf0
call fcn.005334e0
ret

Function at 0x507e10
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x507e59
mov eax, dword [0x551d48]
push edi
test eax, eax
jge 0x507e22
xor edi, edi
jmp 0x507e2b
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
push 0xf0
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
je 0x507e52
mov dword [eax], esi
mov dword [edi + 0xc], esi
pop edi
ret
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
pop edi
ret

Function at 0x50a890
Capabilities:
Get thread local storage value

Disassembly:
cmp word [esi + 0x40], 0
push edi
mov edi, dword [sym.imp.kernel32.dll_TlsGetValue]
je 0x50a8df
mov eax, dword [0x551d48]
test eax, eax
jge 0x50a8ab
xor eax, eax
jmp 0x50a8ae
push eax
call edi
movzx ecx, word [esi + 0x40]
cmp ecx, dword [eax + 0x124]
ja 0x50a8d6
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x120]
shl ecx, 4
lea eax, [ecx + eax - 0x10]
test edx, edx
je 0x50a8d6
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov dword [eax + 4], edx
xor edx, edx
mov word [esi + 0x40], dx
mov dword [esi + 4], edx
cmp word [esi + 0x42], 0
je 0x50a927
mov eax, dword [0x551d48]
test eax, eax
jge 0x50a8f3
xor eax, eax
jmp 0x50a8f6
push eax
call edi
movzx ecx, word [esi + 0x42]
cmp ecx, dword [eax + 0x124]
ja 0x50a91e
mov edx, dword [esi + 0xc]
mov eax, dword [eax + 0x120]
shl ecx, 4
lea eax, [ecx + eax - 0x10]
test edx, edx
je 0x50a91e
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov dword [eax + 4], edx
xor edx, edx
mov word [esi + 0x42], dx
mov dword [esi + 0xc], edx
pop edi
ret

Function at 0x50cb90
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x50cbd6
mov eax, dword [0x551d48]
test eax, eax
jl 0x50cbd6
push edi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x50cbd5
push 0x44
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0x18]
add esp, 0xc
test eax, eax
je 0x50cbcf
mov dword [eax], esi
mov dword [edi + 0x18], esi
pop edi
ret
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
pop edi
ret
Function at 0x100511a
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002e90
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10051af
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x10068d0]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x10051af
cmp eax, 1
je 0x10051c7
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10051af
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x1005184
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x10051ab
xor eax, eax
inc eax
jmp 0x10051e3
cmp esi, ebx
jae 0x10051b3
xor eax, eax
jmp 0x10051e3
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x10068d0]
jmp 0x10051c9
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000671c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000672b
pop dword [ebp - 0xc]
mov eax, 0x9a937168
sub eax, 0x8a930a3d
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x656263bb
add dword [ebp - 0x1c], 0xe8efe190
mov dword [ebp - 0x18], 0xf28c60ed
sub dword [ebp - 0x18], 0xc05914a8
mov dword [ebp - 0x14], 0x7a1b5ce7
add dword [ebp - 0x14], 0xd230e747
mov dword [ebp - 0x10], 0x54456c87
sub dword [ebp - 0x10], 0x54456c87
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x884304d5
sub eax, 0x78421425
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xdaca7fd8
sub dword [ebp - 0x1c], 0x66581682
mov dword [ebp - 0x18], 0xae55b93c
sub dword [ebp - 0x18], 0x6ce957c7
mov dword [ebp - 0x14], 0x66a3b418
sub dword [ebp - 0x14], 0x33447ac
mov dword [ebp - 0x10], 0x4eae43b0
sub dword [ebp - 0x10], 0x4eae43b0
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xefe52fed
sub eax, 0xdfe43f45
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x39394
push 0
call eax
mov ecx, 0xf6da088e
sub ecx, 0xf6d9bf1d
mov edi, eax
mov ebx, 0x2e0c62b1
add ebx, 0xe1f5d54f
add ebx, dword [ebp - 0xc]
mov edx, 0x937645ab
sub dword [ebp - 4], edx
mov esi, dword [ebx]
sub dword [ebp - 8], edx
xor esi, edx
sub dword [ebp - 4], 0x4584394a
mov dword [edi], esi
add dword [ebp - 4], edi
add edi, 0x72b27ddf
add edi, 0x8d4d8225
add ebx, 4
loop 0x10006847
add eax, 0xe2951df2
sub eax, 0xe294055b
mov ebx, eax
add eax, 5
mov ecx, 0xc19d576e
add ecx, 0x4e62a892
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x1000b110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
cmp eax, 0x1a
jl 0x1000b168
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x1000b168
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push 0x10
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push dword [esi + 4]
push dword [esi]
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.1000671c
push 1
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4

Function at 0x1000b700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40288e
pop dword [ebp - 0x24]
mov eax, 0x40288e
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x735cd392
add dword [ebp - 0x34], 0xdaf571b9
mov dword [ebp - 0x30], 0xbc1b34af
add dword [ebp - 0x30], 0x76181796
mov dword [ebp - 0x2c], 0x6266163
sub dword [ebp - 0x2c], 0xb9da1d35
mov dword [ebp - 0x28], 0xce7fc99b
add dword [ebp - 0x28], 0x31803665
lea eax, [ebp - 0x34]
push eax
mov eax, 0x40c977c
add eax, 0xfc33d8e8
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x61d2e786
sub dword [ebp - 0x34], 0xed607e30
mov dword [ebp - 0x30], 0xfe3e1482
add dword [ebp - 0x30], 0x432e4cf3
mov dword [ebp - 0x2c], 0x50e5bc91
sub dword [ebp - 0x2c], 0xed765025
mov dword [ebp - 0x28], 0xdc9204a9
add dword [ebp - 0x28], 0x236dfb57
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xf1261f4c
sub eax, 0xf0e5aea4
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x357d6
push 0
call eax
mov ecx, 0x3663c990
sub ecx, 0x366385fd
mov esi, eax
mov edi, 0x410000
add edi, dword [ebp - 0x24]
mov ebx, 0x42b3964f
add ebx, 0xd3348742
add dword [ebp - 0xc], 0x8caedc3e
mov edx, dword [edi]
add dword [ebp - 8], ebx
sub edx, ebx
mov dword [ebp - 4], 0xbd73454a
mov dword [esi], edx
xor dword [ebp - 4], 0xc21fc9cb
add esi, 0x8c63bfb1
add esi, 0x739c4053
add edi, 0x26451b6d
add edi, 0xd9bae497
loop 0x4029a5
add eax, 0x1011f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x865efb05
add ecx, 0x79e104fb
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x100530f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 1
call fcn.0100d8b6
xor esi, esi
test eax, eax
jne 0x100537e
push 0x3ec
call fcn.0100471e
mov eax, dword [0x1016808]
cmp eax, esi
je 0x1005342
lea ecx, [eax + 0x38]
call fcn.0100aabf
push dword [0x101681c]
push dword [0x1016818]
push dword [0x1016810]
push dword [0x1016814]
call fcn.01004647
cmp dword [0x1016074], 0xffffffff
jne 0x1005372
push 0x3e8
call fcn.0100471e
push dword [0x1016074]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x1016218
call fcn.0100d054
test eax, eax
je 0x1005327
cmp dword [0x1016218], esi
je 0x10053ad
push 0x1016818
push 0x1016810
push 0x1016814
push dword [ebp + 8]
call fcn.01004cda
jmp 0x10053c9
push 0x101681c
push 0x1016818
push 0x1016810
push 0x1016814
push dword [ebp + 8]
call fcn.01004d7d
test eax, eax
je 0x1005327
mov edi, str.Auto_Update_Client_Window
push edi
push 0x1004e9b
call fcn.010041b5
test ax, ax
je 0x1005331
push 0x1001650
push 0x1009a72
call fcn.010041b5
test ax, ax
je 0x1005331
push esi
push dword [ebp + 8]
push esi
push esi
push esi
push esi
push esi
push esi
push 0xc00000
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x1005331
push esi
push dword [0x1016320]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1016218], esi
je 0x1005469
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1016228]
xor edx, edx
mov ecx, 0x3e8
div ecx
push eax
push dword [0x1016224]
push dword [0x1016220]
push dword [0x101621c]
call fcn.01004862
jmp 0x1005331
push esi
push 1
push 0x3840
call fcn.0100d70a
push eax
push 1
push dword [0x1016320]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x1016324]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [ebp - 4], eax
push 4
push 0x4ff
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp eax, esi
jne 0x10054c9
call fcn.01004a3c
test eax, eax
jne 0x1005499
push esi
push esi
push 0x10
push dword [0x1016320]
call ebx
jmp 0x1005499
cmp eax, 1
je 0x100550c
cmp eax, 0x80
je 0x10054bb
cmp eax, 0xffffffff
jne 0x10054bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10054bb
cmp dword [0x1016820], esi
jne 0x1005331
cmp dword [ebp - 0x1c], 0x12
je 0x1005331
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
call edi
test eax, eax
jne 0x10054e2
cmp dword [0x1016820], esi
je 0x1005499
jmp 0x1005331

Function at 0x1006228
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
cmp dword [ecx], 1
jne 0x100623c
push eax
push eax
push dword [ecx + 0x10]
push eax
call fcn.0100c87d
jmp 0x100624f
push 1
push eax
push eax
push dword [ecx + 0x10]
push 0x1001894
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
inc eax
ret
Function at 0x1006f56
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x10161d4]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x80], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.010068aa
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xe
push edi
call esi
mov ebx, eax
lea eax, [ebx + ebx + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x7c], eax
je 0x1006ff8
push eax
inc ebx
push ebx
push 0xd
push edi
call esi
push 0x10016b8
xor ebx, ebx
push ebx
push 0xc
push edi
call esi
push ebx
push ebx
push 0x479
push edi
call esi
and eax, 0xfffffffd
push eax
push ebx
push 0x478
push edi
call esi
push 1
push dword [ebp - 0x80]
push 0x30
push edi
call esi
push dword [ebp - 0x7c]
push ebx
push 0xc
push edi
call esi
push dword [ebp - 0x7c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x2d9
je 0x1007025
cmp eax, 0x2db
jbe 0x1007052
cmp eax, 0x2dd
jbe 0x1007061
cmp eax, 0x2df
jbe 0x1007025
cmp eax, 0x2e0
je 0x1007061
cmp eax, 0x7d3
jne 0x1007052
push eax
call fcn.010065eb
push 0x4000000
push 0
push 0x445
push edi
mov ebx, eax
mov dword [ebp - 0x7c], 0x20
call esi
test ebx, ebx
je 0x1007052
lea eax, [ebp - 0x7c]
push eax
push ebx
push edi
call fcn.01006e6e
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100c0c3
leave
ret 0xc
push eax
call fcn.010065eb
mov ebx, eax
mov dword [ebp - 0x7c], 1
jmp 0x1007043

Function at 0x1007713
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x10161d4]
push ebx
push esi
push edi
push 5
pop ecx
mov esi, 0x10019a8
lea edi, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov esi, 0x105
push esi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
cmp eax, ebx
je 0x10077e7
cmp eax, esi
jae 0x10077e7
push 0x100
push ebx
push ebx
push 0x100198c
push 0x20a
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0100725b
test eax, eax
jl 0x10077e7
xor eax, eax
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x11
pop ecx
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x278]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x278]
push eax
push ebx
push ebx
push 8
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x278], 0x44
mov word [ebp - 0x248], 5
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [ebp - 0x230]
push eax
call fcn.010042e8
lea eax, [ebp - 0x234]
push eax
call fcn.010042e8
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100c0c3
leave
ret
Function at 0x1007d1c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10161d4]
push ebx
push esi
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
xor ebx, ebx
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x1007d84
lea ecx, [ebp - 0x60]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 0x4b], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x18], eax
cmp dword [esi + 0xc], ebx
jne 0x1007dcc
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
cmp edi, ebx
jle 0x1007dcb
lea eax, [edi + edi + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
test ebx, ebx
pop ecx
je 0x1007dcb
inc edi
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1007dc3
push ebx
mov ecx, esi
call fcn.01007521
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop edi
cmp dword [esi + 0x10], 0
jne 0x1007de1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1007de1
push eax
mov ecx, esi
call fcn.01006df6
mov ecx, esi
call fcn.010064c4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0100c0c3
leave
ret

Function at 0x100ab81
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call ebx
cmp eax, esi
mov dword [edi], eax
je 0x100ac05
push esi
push esi
push esi
push esi
call ebx
cmp eax, esi
mov dword [edi + 4], eax
je 0x100ac05
push esi
push esi
push esi
push esi
call ebx
cmp eax, esi
mov dword [0x1016e64], eax
je 0x100ac05
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100aae3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [edi + 8], eax
je 0x100ac05
mov ecx, dword [edi + 4]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0xc]
push eax
push 2
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jne 0x100abfc
mov eax, 0x80004005
jmp 0x100ac21
cmp eax, 0xffffffff
je 0x100ac05
xor eax, eax
jmp 0x100ac21
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x100ac15
call esi
jmp 0x100ac21
call esi
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100bdab
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push esi
push edi
push 0
push 0xc
mov esi, ecx
call ebx
push eax
push 0xb
call ebx
push eax
push 1
push 0x12d
push dword [0x1016e68]
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [ebp + 8]
mov dword [ebp - 4], eax
call edi
push 0
push 0x32
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 0x12d
push dword [0x1016e68]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0
push 0x80
push dword [ebp + 8]
call edi
push dword [esi + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 6
push dword [ebp + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 0x18]
push 7
push dword [ebp + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 8]
push 0x7d6
push eax
mov dword [0x1016318], eax
mov dword [0x101631c], eax
call ebx
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
mov dword [esi + 8], eax
je 0x100be7f
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push eax
call edi
push 0
push 0x7d5
push dword [ebp + 8]
call ebx
push eax
call edi
jmp 0x100bed6
push 0x3c0000
push ecx
push 0x401
push eax
call edi
xor ebx, ebx
push ebx
push 1
push 0x404
push dword [esi + 8]
call edi
mov eax, dword [esi + 0x10]
push ebx
push 5
pop ecx
xor edx, edx
div ecx
push eax
push 0x402
push dword [esi + 8]
call edi
push dword [ebp - 4]
push 1
push 0x80
push dword [ebp + 8]
call edi
push ebx
push 0x1388
push dword [esi + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0xc], eax
push 1
push 0xf060
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp + 8]
mov ecx, esi
call fcn.0100bc7c
push dword [0x1016318]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0xc
Function at 0x100c2e3
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x1001f58
call fcn.0100c6b8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x100c320
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100c320
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100c338
cmp eax, 0x20b
je 0x100c325
mov dword [ebp - 0x1c], ebx
jmp 0x100c34c
cmp dword [ecx + 0x84], 0xe
jbe 0x100c320
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100c346
cmp dword [ecx + 0x74], 0xe
jbe 0x100c320
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1017208], 0xffffffff
or dword [0x101720c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1016e78]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1016e74]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1017204], eax
call fcn.0100c6b0
cmp dword [0x1016200], ebx
jne 0x100c3a7
push fcn.0100c6b0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100c699
push 0x1016030
push 0x101602c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1016e70]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1016e6c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1016028
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x100c43d
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x100c411
cmp al, 0x22
jne 0x100c403
cmp byte [esi], 0x22
jne 0x100c41a
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x100c424
cmp al, 0x20
jbe 0x100c416
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x100c448
movzx eax, word [ebp - 0x50]
jmp 0x100c44b
cmp byte [esi], 0x20
jbe 0x100c41a
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100c43d
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100c468
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100c49d
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100c6f3
ret