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

Disassembly:
push 0x24
mov eax, 0x445968
call fcn.00432993
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00425611
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41c252
call fcn.00425611
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41c263
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41c270
or eax, 0xffffffff
jmp 0x41c3cc
mov ecx, esi
call fcn.0041bd4e
mov dword [ebp - 0x14], eax
call fcn.0041ee99
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41c2ee
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41c2ee
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41c2ee
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041bbff
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41c2ee
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41c2ee
mov ecx, ebx
call fcn.0041c6da
test eax, eax
je 0x41c2ee
push 0
mov ecx, ebx
call fcn.0041c6f5
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042081a
push dword [ebp - 0x14]
call fcn.0041edf1
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041c00f
xor edi, edi
cmp eax, edi
je 0x41c34b
test byte [esi + 0x3c], 0x10
je 0x41c335
push 4
pop edi
mov ecx, esi
call fcn.0041c5c1
test ax, 0x100
je 0x41c32b
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041e9b9
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41c34b
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041c75c
or dword [ebp - 4], 0xffffffff
jmp 0x41c376
cmp dword [ebp - 0x28], edi
je 0x41c384
push 1
mov ecx, ebx
call fcn.0041c6f5
cmp dword [ebp - 0x2c], edi
je 0x41c394
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41c3ad
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41c3ad
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041bd88
cmp dword [esi + 0x58], edi
je 0x41c3c9
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00432a38
ret
Function at 0x41c436
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x41c456
cmp dword [edi + 0x54], 0
jne 0x41c456
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00425611
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041c3fd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x41fe10
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41fe49
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00404103
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004040de
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x421460
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4513ec
mov ecx, edi
call fcn.00401648
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x4214b3
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4214c6
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00404103
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004040de
jmp 0x4214c6
mov ecx, esi
call fcn.0041c501
test eax, eax
je 0x4214c6
push edi
mov ecx, eax
call fcn.0041fe10
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x4219a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4219e7
call fcn.00425611
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4219e7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x421a02
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042155e
test ebx, ebx
mov esi, eax
je 0x421a00
test edi, edi
je 0x421a00
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4277bd
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x45fd70]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x42785b
push 0x44cb1c
push 4
push eax
call fcn.0042f670
push eax
call fcn.00401621
add esp, 0x10
push ebx
push edi
call fcn.00432cdc
mov edi, dword [eax]
call fcn.00432cdc
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00432c82
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.00432cdc
cmp dword [eax], ebx
je 0x427872
call fcn.00432cdc
push dword [eax]
call fcn.0041c7d9
pop ecx
jmp 0x427879
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42780c
jmp 0x4278eb
call fcn.00432cdc
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4278e7
cmp dword [ebp - 0x40], esi
jae 0x4278e7
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.0042e4c0
add esp, 0xc
push 0x44c530
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4278d9
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4278d9
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4278d9
push ebx
push ebx
push esi
jmp 0x4278df
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4278e9
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0042d9ad
add ebp, 0x1f4
leave
ret
Function at 0x428be9
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x428bf2
xor eax, eax
jmp 0x428c5b
cmp dword [esp + 8], 0
jne 0x428bfe
call fcn.0041b90f
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004324b6
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x428c39
push dword [esi + 0x10]
call fcn.004319f2
test eax, eax
pop ecx
jne 0x428c39
mov esi, dword [esi + 0xc]
call fcn.00432cef
push esi
push dword [eax]
push 1
call fcn.00429482
push dword [esi + 0x10]
call fcn.00431a21
test eax, eax
pop ecx
je 0x428c58
push dword [esi + 0x10]
call fcn.00433662
push eax
call fcn.00401621
pop ecx
pop ecx
jmp 0x428c27
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x428c64
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x428c6e
call fcn.0041b90f
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00431baf
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x428c9b
mov esi, dword [esi + 0xc]
call fcn.00432cef
push esi
push dword [eax]
push 1
call fcn.00429482
pop esi
ret 8

Function at 0x42a051
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42a07a
call fcn.00425611
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x42a09d
push eax
push dword [esi + 4]
call fcn.00429fdc
push esi
push eax
mov ecx, 0x4634f4
call fcn.00429c8b
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x42aa61
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x44621f
call fcn.00432960
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.0042aa23
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00408979
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 4], eax
jne 0x42aac8
push eax
push dword [esi + 8]
call fcn.00429fdc
push dword [esi + 0xc]
mov ecx, 0x4634f4
push eax
call fcn.00429c8b
mov eax, esi
call fcn.00432a38
ret 0x1c

Function at 0x42d9ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45fd70]
jne 0x42d9b7
repz ret
jmp fcn.00435229
Function at 0x43221a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x432257
cmp dword [ebp + 0x14], edi
je 0x432257
cmp ecx, edi
jne 0x43225e
call fcn.00432cdc
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043579b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x432272
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x432293
cmp ebx, 0xffffffff
je 0x432282
push ebx
push edi
push ecx
call fcn.0042e4c0
add esp, 0xc
cmp esi, edi
je 0x43223f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43223f
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4322af
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4322b6
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4323a7
test word [esi + 0xc], 0x10c
je 0x43230a
mov eax, dword [esi + 4]
test eax, eax
je 0x43230a
jl 0x432408
cmp ebx, eax
mov edi, ebx
jb 0x4322db
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4323af
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042dff7
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43239f
cmp ebx, dword [ebp - 0xc]
jb 0x432377
cmp dword [ebp - 0xc], 0
je 0x432334
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x432329
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x432330
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43233f
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x43233f
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4323db
push eax
push dword [ebp - 8]
push esi
call fcn.004334af
pop ecx
push eax
call fcn.0043cec6
add esp, 0xc
test eax, eax
je 0x43241a
cmp eax, 0xffffffff
je 0x432408
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43239f
push esi
call fcn.0043b052
cmp eax, 0xffffffff
pop ecx
je 0x43240c
cmp dword [ebp - 4], 0
je 0x4323db
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4322be
mov eax, dword [ebp + 0x14]
jmp 0x432259
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4323c6
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0042e4c0
add esp, 0xc
call fcn.00432cdc
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43224f
cmp dword [ebp + 0xc], 0xffffffff
je 0x4323f1
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0042e4c0
add esp, 0xc
call fcn.00432cdc
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43224f
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x432259
or dword [esi + 0xc], 0x10
jmp 0x43240c
Function at 0x433f9d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x45ff00]
je 0x433fb8
inc edi
cmp edi, 0x17
jb 0x433fa9
cmp edi, 0x17
jae 0x434138
push ebp
push 3
call fcn.0043fe3f
cmp eax, 1
pop ecx
je 0x434104
push 3
call fcn.0043fe3f
test eax, eax
pop ecx
jne 0x433fec
cmp dword [0x45fab8], 1
je 0x434104
cmp ebx, 0xfc
je 0x434137
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x463850
push ebp
call fcn.0043fdda
add esp, 0xc
test eax, eax
je 0x434022
push esi
push esi
push esi
push esi
push esi
call fcn.0043569f
add esp, 0x14
push 0x104
mov esi, 0x463869
push esi
push 0
mov byte [0x46396d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x434066
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043fdda
add esp, 0xc
test eax, eax
je 0x434066
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043569f
add esp, 0x14
push esi
call fcn.0042e7f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4340ab
push esi
call fcn.0042e7f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x463b64
push 0x44df24
sub ecx, eax
push ecx
push eax
call fcn.0043fd27
add esp, 0x14
test eax, eax
je 0x4340ab
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043569f
add esp, 0x14
jmp 0x4340ad
xor esi, esi
push 0x44df20
push ebx
push ebp
call fcn.0043fcb6
add esp, 0xc
test eax, eax
je 0x4340cd
push esi
push esi
push esi
push esi
push esi
call fcn.0043569f
add esp, 0x14
push dword [edi*8 + 0x45ff04]
push ebx
push ebp
call fcn.0043fcb6
add esp, 0xc
test eax, eax
je 0x4340ef
push esi
push esi
push esi
push esi
push esi
call fcn.0043569f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043faf9
add esp, 0xc
jmp 0x434137
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x434137
cmp ebp, 0xffffffff
je 0x434137
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45ff04]
push dword [esi]
call fcn.0042e7f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43faf9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00434b61
xor ebx, ebx
cmp dword [0x464354], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43fbcf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43fcaf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43fcaf
push eax
call fcn.00434af3
mov dword [esp], 0x44e348
push edi
mov dword [0x464354], eax
call esi
push eax
call fcn.00434af3
mov dword [esp], 0x44e334
push edi
mov dword [0x464358], eax
call esi
push eax
call fcn.00434af3
mov dword [0x46435c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042e924
test eax, eax
pop ecx
pop ecx
je 0x43fb9d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043569f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43fbcf
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00434af3
cmp eax, ebx
pop ecx
mov dword [0x464364], eax
je 0x43fbcf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00434af3
pop ecx
mov dword [0x464360], eax
mov eax, dword [0x464360]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43fc54
cmp dword [0x464364], ecx
je 0x43fc54
push eax
call fcn.00434b6a
push dword [0x464364]
mov esi, eax
call fcn.00434b6a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43fc54
cmp edi, ebx
je 0x43fc54
call esi
cmp eax, ebx
je 0x43fc21
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43fc21
test byte [ebp - 0x18], 1
jne 0x43fc54
lea eax, [ebp - 0x10]
push eax
call fcn.0042e95b
test eax, eax
pop ecx
je 0x43fc3c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043569f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43fc4b
or dword [ebp + 0x10], 0x200000
jmp 0x43fc8f
or dword [ebp + 0x10], 0x40000
jmp 0x43fc8f
mov eax, dword [0x464358]
cmp eax, dword [ebp - 8]
je 0x43fc8f
push eax
call fcn.00434b6a
cmp eax, ebx
pop ecx
je 0x43fc8f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43fc8f
mov eax, dword [0x46435c]
cmp eax, dword [ebp - 8]
je 0x43fc8f
push eax
call fcn.00434b6a
cmp eax, ebx
pop ecx
je 0x43fc8f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x464354]
call fcn.00434b6a
cmp eax, ebx
pop ecx
je 0x43fcaf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43fcb1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4453b9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45fd70]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044534e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042e4c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x445408
cmp dword [ebp - 0x1c], 5
jb 0x445420
jmp 0x44541c
cmp dword [ebp - 0x10], 1
jne 0x445420
cmp dword [ebp - 0x1c], 4
ja 0x44541c
jne 0x445420
cmp dword [ebp - 0x18], 0
jbe 0x445420
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44f390
call fcn.0044523f
test eax, eax
jge 0x445441
mov byte [0x464678], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042d9ad
add ebp, 0x78
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x474008]
jne 0x40100a
repz ret
jmp fcn.00401910

Function at 0x4050fa
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.004038b7
and dword [ebp - 4], 0
cmp dword [0x475d70], 0
mov ebx, eax
jne 0x4051ab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40525c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40525c
push eax
call fcn.00403845
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x475d70], eax
call esi
push eax
call fcn.00403845
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x475d74], eax
call esi
push eax
call fcn.00403845
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x475d78], eax
call esi
push eax
call fcn.00403845
pop ecx
mov dword [0x475d80], eax
test eax, eax
je 0x4051ab
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403845
pop ecx
mov dword [0x475d7c], eax
mov eax, dword [0x475d7c]
cmp eax, ebx
je 0x405203
cmp dword [0x475d80], ebx
je 0x405203
push eax
call fcn.004038c0
push dword [0x475d80]
mov esi, eax
call fcn.004038c0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405203
test edi, edi
je 0x405203
call esi
test eax, eax
je 0x4051fa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4051fa
test byte [ebp - 0xc], 1
jne 0x405203
or dword [ebp + 0x10], 0x200000
jmp 0x40523c
mov eax, dword [0x475d74]
cmp eax, ebx
je 0x40523c
push eax
call fcn.004038c0
pop ecx
test eax, eax
je 0x40523c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40523c
mov eax, dword [0x475d78]
cmp eax, ebx
je 0x40523c
push eax
call fcn.004038c0
pop ecx
test eax, eax
je 0x40523c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x475d70]
call fcn.004038c0
pop ecx
test eax, eax
je 0x40525c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40525e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x470390
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x474008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x2ab099c], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x2ab07e0], eax
jne 0x4703d1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401000
add esp, 0x404
ret