joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x401024
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x401040
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x401040
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop ebp
ret

Function at 0x40170c
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x40d3d4
call fcn.004069b0
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp + 0xb]
push 1
push eax
mov ebx, ecx
push edi
call esi
test eax, eax
je 0x401750
cmp dword [ebp - 0x14], 1
jne 0x401750
add ebx, 4
push ebx
push edi
call fcn.004018d5
pop ecx
test eax, eax
pop ecx
jne 0x401757
xor eax, eax
jmp 0x401800
mov al, byte [ebp + 0xb]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00401819
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
push edi
call fcn.004018d5
pop ecx
test eax, eax
pop ecx
jne 0x40177f
xor esi, esi
jmp 0x4017f0
lea eax, [ebp - 0x14]
push ebx
push eax
push 4
pop ebx
lea eax, [ebp - 0x10]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x40177b
cmp dword [ebp - 0x14], ebx
jne 0x40177b
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.004018d5
pop ecx
test eax, eax
pop ecx
je 0x40177b
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x40177b
cmp dword [ebp - 0x14], ebx
jne 0x40177b
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x40177b
cmp dword [ebp - 0x14], ebx
jne 0x40177b
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x40177b
cmp dword [ebp - 0x14], ebx
jne 0x40177b
push 1
pop esi
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call fcn.00401819
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x401d3e
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
cmp byte [esi], 0
jne 0x401d4c
xor eax, eax
pop esi
ret
push dword [esp + 0x10]
call fcn.00406a80
pop ecx
push eax
push dword [esp + 0x14]
push 1
push 0
push esi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop esi
inc eax
ret
Function at 0x402297
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x40d4a4
call fcn.004069b0
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
and byte [ebp - 0xd], 0
push edi
xor ebx, ebx
lea eax, [esi + 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [esi + 0x4c]
call fcn.004018d5
pop ecx
test eax, eax
pop ecx
je 0x40234b
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0xd]
push 1
push eax
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40234b
cmp dword [ebp - 0x14], 1
jne 0x40234b
cmp byte [ebp - 0xd], 4
jne 0x40234b
lea edi, [esi + 0x5c]
lea ecx, [ebp - 0x38]
call fcn.00401667
push dword [esi + 0x4c]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0040170c
test eax, eax
je 0x40233f
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0040234f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004016cc
movzx eax, byte [ebp - 0xd]
inc ebx
add edi, 0x24
cmp ebx, eax
jl 0x4022ef
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004016cc
xor eax, eax
jmp 0x402330

Function at 0x402cab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x870]
xor ebx, ebx
mov dword [ebp - 4], eax
cmp dword [esi + 0x44], ebx
mov eax, dword [esi + 0x18]
je 0x402d0c
cmp eax, ebx
jne 0x402cd4
mov eax, 0x40e1ac
mov ecx, dword [esi + 0x50]
push eax
lea eax, [ebp - 4]
push eax
push 3
push ecx
call fcn.004027b3
add esp, 0x10
test eax, eax
je 0x402d58
lea eax, [ebp - 0x470]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x18]
cmp eax, ebx
jne 0x402d00
mov eax, 0x40e1ac
mov ecx, dword [esi + 0x50]
push eax
lea eax, [ebp - 4]
push eax
push 4
jmp 0x402d4b
cmp eax, ebx
jne 0x402d15
mov eax, 0x40e1ac
mov ecx, dword [esi + 0x50]
push eax
lea eax, [ebp - 4]
push eax
push 0xf
push ecx
call fcn.004027b3
add esp, 0x10
test eax, eax
je 0x402d58
lea eax, [ebp - 0x470]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x18]
cmp eax, ebx
jne 0x402d41
mov eax, 0x40e1ac
mov ecx, dword [esi + 0x50]
push eax
lea eax, [ebp - 4]
push eax
push 0x10
push ecx
call fcn.004027b3
add esp, 0x10
test eax, eax
jne 0x402d5c
xor eax, eax
jmp 0x402ddb
lea eax, [ebp - 0x870]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x470]
push ecx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x50]
push 0x401042
push ebx
push 0x6f
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], str.Finish
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov dword [ebp - 8], eax
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00407410
mov esi, dword [esi + 0x74]
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x40
jne 0x402dbd
mov esi, 0x40e1ac
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x4103c0
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x402ddf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402df9
shr eax, 4
and eax, 1
mov esi, eax
mov eax, esi
pop esi
ret

Function at 0x402f4f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x40d518
call fcn.004069b0
sub esp, 0x418
push ebx
push esi
push edi
lea eax, [ebp - 0x424]
push 0x400
mov edi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x402fef
lea eax, [ebp - 0x424]
lea esi, [edi + 0x94]
push eax
call fcn.00406a80
pop ecx
push eax
lea eax, [ebp - 0x424]
push eax
mov ecx, esi
call fcn.0040196c
lea eax, [edi + 0x84]
push eax
lea eax, [ebp - 0x24]
push 0x4100b0
push eax
call fcn.004042bf
add esp, 0xc
push dword [0x40e1b0]
and dword [ebp - 4], 0
mov ecx, esi
push 0
push eax
call fcn.00404128
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call fcn.00401819
mov eax, dword [esi + 4]
test eax, eax
jne 0x402fe2
mov eax, 0x40e1ac
push eax
mov ecx, edi
call fcn.00403e83
cmp eax, 0xffffffa0
jne 0x402ff3
xor eax, eax
jmp 0x40302e
mov ecx, esi
call fcn.00403f64
sub esp, 0x10
mov ebx, eax
mov al, byte [ebp - 0xd]
mov esi, esp
mov dword [ebp - 0x14], esp
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00401819
push ebx
call fcn.00406a80
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.0040196c
push 0x66
mov ecx, edi
call fcn.00403ca8
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x403ca8
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x40d628
call fcn.004069b0
push ecx
push edi
mov edi, ecx
and dword [ebp - 4], 0
cmp dword [edi + 0x58], 0xffffffff
jne 0x403cd9
call fcn.00403d3c
test eax, eax
jne 0x403cd9
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 0xc]
call fcn.00401819
jmp 0x403d2d
push esi
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push eax
lea eax, [ebp + 8]
push 1
push eax
push dword [edi + 0x58]
call esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x403cfd
mov eax, 0x40e1ac
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [ebp + 0x14]
push eax
push dword [edi + 0x58]
call esi
lea eax, [ebp - 0x10]
push 0
push eax
push 2
push 0x41048c
push dword [edi + 0x58]
call esi
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 0xc]
call fcn.00401819
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x403ee3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x403efc
mov eax, 0x40e1ac
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x4c], eax
je 0x403f4e
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push 0x1c
push eax
call edi
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], 0x58465372
je 0x403f53
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffff9d
pop eax
jmp 0x403f5f
push ebx
push ebx
push dword [ebp - 0x10]
push dword [esi + 0x4c]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403fea
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
cmp dword [esi + 0x58], 0
je 0x40408e
pop ebp
cmp dword [esi + 0x20], 0
jne 0x40402d
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x54]
lea edx, [esp + 0x10]
push 0
push edx
push eax
push ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40408c
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x1c]
push 2
push eax
call fcn.0040580f
mov edi, dword [esi + 0x5c]
pop ecx
sub edi, dword [esi + 0x2c]
pop ecx
lea ecx, [esp + 0x10]
mov ebx, eax
mov eax, dword [esi + 0x58]
push 0
push ecx
push edi
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40408c
push edi
push dword [esi + 0x58]
push ebp
call fcn.00404369
mov ecx, dword [esi + 0x24]
add esp, 0xc
mov ebp, eax
lea eax, [esi + 0xc]
push eax
mov dword [eax + 8], ecx
call dword [eax + 0xc]
mov eax, dword [esi + 0x58]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x5c]
test ebx, ebx
mov dword [esi + 0x2c], eax
jne 0x404091
jmp 0x403ffe
push 1
pop eax
jmp 0x4040af
mov eax, dword [esi + 0x20]
push 1
neg eax
push 0
push eax
push dword [esi + 4]
mov dword [esi + 0x4c], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
cmp ebx, 1
setne al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40b000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x413b10
cmp edx, dword [eax]
je 0x40b022
add eax, 8
inc ecx
cmp eax, 0x413ba0
jl 0x40b013
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x413b10]
jne 0x40b150
mov eax, dword [0x414e20]
cmp eax, 1
je 0x40b12a
test eax, eax
jne 0x40b053
cmp dword [0x411934], 1
je 0x40b12a
cmp edx, 0xfc
je 0x40b150
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b08a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b160
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406a80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b0cd
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406a80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e9ac
push edi
call fcn.0040c290
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b160
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b170
lea eax, [ebp - 0xa0]
push 0x40e98c
push eax
call fcn.0040b170
push dword [esi + 0x413b14]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b170
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c205
add esp, 0x2c
pop edi
jmp 0x40b150
lea eax, [ebp + 8]
lea esi, [esi + 0x413b14]
push 0
push eax
push dword [esi]
call fcn.00406a80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x42ce00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1008450
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x1002c50
call fcn.01004858
xor esi, esi
cmp dword [0x1009d48], esi
jne 0x1008494
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100847f
mov dword [0x1009d48], edi
jmp 0x1008494
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1008494
mov dword [0x1009d48], 2
mov eax, dword [0x1009d48]
cmp eax, 2
je 0x1008575
cmp eax, esi
je 0x1008575
cmp eax, 1
jne 0x10084d9
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x10084c2
mov eax, dword [0x1009c2c]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x10084e0
xor eax, eax
jmp 0x1008587
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.010048b0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x1008516
cmp edi, esi
jne 0x1008531
lea eax, [ebx + ebx]
push eax
call fcn.010058fe
pop ecx
mov edi, eax
cmp edi, esi
je 0x10084d9
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1008564
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x100854e
push esi
push esi
jmp 0x1008554
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x1008570
push edi
call fcn.01005543
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x1008587
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.01004891
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403ceb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c19c]
jne 0x403cf5
repz ret
jmp fcn.00408b5c

Function at 0x40ee3d
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.00407171
and dword [ebp - 4], 0
cmp dword [0x42e358], 0
mov ebx, eax
jne 0x40eeee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ef9f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ef9f
push eax
call fcn.004070ff
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e358], eax
call esi
push eax
call fcn.004070ff
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42e35c], eax
call esi
push eax
call fcn.004070ff
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42e360], eax
call esi
push eax
call fcn.004070ff
pop ecx
mov dword [0x42e368], eax
test eax, eax
je 0x40eeee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004070ff
pop ecx
mov dword [0x42e364], eax
mov eax, dword [0x42e364]
cmp eax, ebx
je 0x40ef46
cmp dword [0x42e368], ebx
je 0x40ef46
push eax
call fcn.0040717a
push dword [0x42e368]
mov esi, eax
call fcn.0040717a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ef46
test edi, edi
je 0x40ef46
call esi
test eax, eax
je 0x40ef3d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ef3d
test byte [ebp - 0xc], 1
jne 0x40ef46
or dword [ebp + 0x10], 0x200000
jmp 0x40ef7f
mov eax, dword [0x42e35c]
cmp eax, ebx
je 0x40ef7f
push eax
call fcn.0040717a
pop ecx
test eax, eax
je 0x40ef7f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ef7f
mov eax, dword [0x42e360]
cmp eax, ebx
je 0x40ef7f
push eax
call fcn.0040717a
pop ecx
test eax, eax
je 0x40ef7f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e358]
call fcn.0040717a
pop ecx
test eax, eax
je 0x40ef9f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40efa1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4028d0
Capabilities:
Terminate process

Disassembly:
call 0x586000
push 0x18
push 0x4029f8
call fcn.004032a6
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x4150e8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x404373
xor esi, esi
inc esi
cmp dword [0x4150ec], esi
je 0x404385
cmp dword [0x4150ec], 0
jne 0x402a1e
mov dword [0x4150ec], esi
push 0x4029f4
push 0x4029e4
call sub.MSVCR120_CLR0400.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x404392
cmp dword [0x4150ec], esi
jne 0x402973
push 0x4029e0
push 0x4029cc
call sub.MSVCR120_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x4150ec], 2
test edi, edi
jne 0x402980
xor eax, eax
mov ecx, 0x4150e8
xchg dword [ecx], eax
cmp dword [0x4150f8], 0
jne 0x4043a3
mov eax, dword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
nop
nop
nop
nop
nop
nop
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402a14
cmp cl, 0x22
je 0x4043d1
movzx eax, cl
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x4043e2
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029a0
test cl, cl
je 0x402a29
test edi, edi
je 0x402a29
jmp 0x4029a7
mov dword [0x415244], esi
jmp 0x402950
mov al, byte [esi]
test al, al
je 0x402a39
cmp al, 0x20
ja 0x402a39
inc esi
mov dword [ebp - 0x20], esi
jmp 0x402a29
push ebx
push esi
push 0
push 0x400000
call fcn.00403044
mov dword [0x415060], eax
cmp dword [0x415064], 0
jne 0x40441a
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll_exit]
test ecx, ecx
je 0x402a82
push ecx
call fcn.0040117d
jmp 0x402a82
mov eax, esi
pop esi
pop ebp
ret 4
cmp eax, edx
jne 0x402905
xor esi, esi
inc esi
mov edi, esi
jmp 0x402918
push 0x1f
call sub.MSVCR120_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402950
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x404435
push 0x4150f8
call fcn.0040fdd0
pop ecx
test eax, eax
je 0x40298d
push 0
push 2
push 0
mov esi, dword [0x4150f8]
mov ecx, esi
call dword [0x416268]
call esi
jmp 0x40298d
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
jmp 0x4029b0
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029c3
cmp dword [0x415244], 0
jne 0x40442e
call dword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x415060]
mov dword [ebp - 4], 0xfffffffe
call fcn.004032ee
ret