joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ec20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x4a2a80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], vtable.ITestWizardFindFileCB.0
xor bl, bl
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x48dd98
mov dword [ebp - 0x10], eax
call fcn.0040c5f0
mov ecx, eax
test ecx, ecx
je 0x42ed57
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042eba0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x42
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x42ecfe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
call fcn.00437ad0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42ecfe
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
jne 0x42ed13
push 0x10
push str.Error
push str.Failed_to_copy_the_file_list_to_the_clipboard
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42ed42
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040d970
int3
Function at 0x42f580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451670
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a2a80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.0042f2e0
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov edi, dword [esi + 8]
sub edi, 0x10
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x42f612
cmp dword [edi + 0xc], 0
jl 0x42f606
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x42f606
push edx
call fcn.0042e920
add esp, 4
mov dword [ebp - 0x10], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f5fe
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [esi + 8], eax
jmp 0x42f612
push dword [ecx - 0xc]
push ecx
lea ecx, [esi + 8]
call fcn.0042fc70
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42f634
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 4]
call fcn.0042f160
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [esi + 8]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [esi + 0xc], ecx
cmp ecx, 0xffffffff
jne 0x42f67e
push dword [esi + 8]
lea eax, [esi + 0x18]
mov byte [esi + 0x14], 0
push str.Unable_to_open_the_file__s_for_writing.
push eax
call fcn.0042c800
add esp, 0xc
jmp 0x42f6db
mov eax, dword [esi + 0x10]
mov dl, 1
mov byte [esi + 0x14], 1
sub eax, 1
je 0x42f6bb
sub eax, 1
jne 0x42f6a7
push eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x10], 0xbbef
push eax
mov byte [ebp - 0xe], 0xbf
lea eax, [ebp - 0x10]
push 3
jmp 0x42f6cc
mov al, dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
mov word [ebp - 0x10], 0xfeff
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push ecx
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, byte [esi + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ff50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42ffa9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42ffa9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42ff9a
cmp esi, edx
jae 0x42ffa9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42ff88
cmp esi, edx
jae 0x42ffa9
cmp word [esi], 0
je 0x42ffa9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x430b10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451888
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a2a80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push dword [ebx + 0x58]
call esi
push 0
cmp eax, 1
je 0x430b65
push 0
push 0xf0
push dword [ebx + 0x5c]
call esi
cmp eax, 1
jne 0x430b81
push eax
mov ecx, dword [ebx + 0x54]
call fcn.0042fbb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0xf0
push dword [ebx + 0x60]
call esi
cmp eax, 1
jne 0x430c69
mov ecx, dword [ebx + 0x54]
push 2
call fcn.0042fbb0
lea ecx, [ebp - 0x10]
call fcn.0042ffb0
mov dword [ebp - 4], 0
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
lea ecx, [ebp - 0x10]
lea esi, [edi + 1]
push esi
call fcn.00430260
push esi
push eax
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
lea ecx, [ebp - 0x10]
call fcn.00430a50
lea ecx, [ebp - 0x10]
call fcn.00430c80
lea ecx, [ebp - 0x10]
call fcn.00430d30
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 1
jge 0x430c36
push 0x30
push str.No_File_Name
push str.Please_provide_a_file_name_to_save_the_list_of_files.
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004177f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x54]
push eax
call fcn.0042fb20
push 0
push 0
push 0x147
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x54]
push eax
call fcn.0042fb10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004177f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431210
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451962
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4a2a80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x45c], edi
mov eax, dword [edi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x454], xmm0
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x42a]
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x454]
movups xmmword [ebp - 0x444], xmm0
mov dword [ebp - 0x43c], eax
xor eax, eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x42c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x448], str.Root_directory:
mov dword [ebp - 0x444], 0x4d
mov dword [ebp - 0x440], 0x430ed0
mov word [ebp - 0x222], ax
mov word [ebp - 0x42a], ax
mov dword [ebp - 4], 1
call fcn.0040c5f0
mov ecx, eax
test ecx, ecx
je 0x43144c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x458], esi
mov byte [ebp - 4], 3
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
lea edx, [edi + 1]
test edx, edx
js 0x431456
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x43133e
push edx
lea ecx, [ebp - 0x458]
call fcn.00418aa0
mov esi, dword [ebp - 0x458]
lea edx, [edi + 1]
mov eax, dword [ebp - 0x45c]
push edx
push esi
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp edi, 0xffffffff
jne 0x431362
push dword [esi - 8]
push esi
call fcn.0043a963
add esp, 8
mov edi, eax
test edi, edi
js 0x431456
cmp edi, dword [esi - 8]
jg 0x431456
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jle 0x43138e
mov dword [ebp - 0x434], esi
mov byte [ebp - 0x42c], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x454]
test ecx, ecx
push dword [ebp - 0x18]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmove ecx, eax
xor eax, eax
mov dword [ebp - 0x454], ecx
mov word [ebp - 0x222], ax
mov word [ebp - 0x42a], ax
call edi
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x431405
test byte [ebp - 0x444], 1
je 0x4313ef
lea ecx, [ebp - 0x222]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x431405
lea eax, [ebp - 0x222]
push eax
mov eax, dword [ebp - 0x45c]
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431421
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call edi
xor eax, eax
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.00436441
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0040d970
push 0x80070057
call fcn.0040d970
int3
Function at 0x100409d0
Capabilities:
Set environment variable

Disassembly:
push ebx
push esi
push edi
mov esi, 0xffffffff
mov ebx, dword [esp + 0x10]
mov ecx, esi
mov edi, ebx
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.100409b0
add esp, 4
mov edi, eax
test edi, edi
jne 0x100409fb
mov eax, esi
pop edi
pop esi
pop ebx
ret
push ebx
push 0x1001620c
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x3d
push edi
call fcn.100446f0
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x10040a33
lea eax, [ebx + 1]
mov byte [ebx], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x10040a30
xor esi, esi
mov byte [ebx], 0x3d
push edi
call fcn.100409c0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x100419c0
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp dword [0x10015a24], 0
push ebx
push esi
push edi
push ebp
jne 0x10041b82
push 0
mov eax, dword [0x100159e8]
push 0
inc dword [0x10015a24]
push 0
push 0xffffffffffffffff
push eax
call fcn.10050580
add esp, 0x14
mov esi, eax
test esi, esi
je 0x10041b7c
push esi
push 0x1001631c
push 0x1003c970
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [0x100159e8]
mov edi, 0x10016318
push 0x96
push 0x1003c970
push esi
push eax
call section.0000008
add esp, 0x10
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
mov edi, 0x1003c970
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1003c970
mov ecx, 0xffffffff
sub eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x1003c96f
push 0x1003cb00
push ecx
call fcn.10044f60
add esp, 0xc
cmp dword [0x1001597c], 0
je 0x10041ae5
mov eax, dword [0x100159a8]
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
push eax
call esi
call fcn.10041c30
push 0x2010
push 0x1000f46c
push 0x1003c970
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.10041cc0
mov eax, dword [0x100159a8]
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call ebp
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x100159a8]
push eax
call esi
call fcn.10041c30
jmp 0x10041b6f
push 0x2010
mov edi, dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x1000f46c
push 0x1003c970
call edi
push eax
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
call ebx
push fcn.10041b90
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xea60
push 0
push 0
push 0x100162cc
push 0x100162c4
call esi
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call ebp
call eax
mov dword [0x10015978], eax
test eax, eax
mov eax, dword [0x10015974]
push eax
push 0
push 0x1001630c
push 0x100162c4
je 0x10041b54
call esi
push eax
call ebp
call eax
jmp 0x10041b7c
call esi
push eax
call ebp
call eax
push 0x2010
push 0x1000f46c
push 0x100162d8
call edi
push eax
call ebx
push 0
push 0
push 0
push 0
call fcn.10041b90
dec dword [0x10015a24]
pop ebp
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x10041b90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10015978]
test eax, eax
je 0x10041bb5
push eax
push 0
push 0x1001630c
push 0x100162c4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test byte [0x1000f1cc], 1
jne 0x10041bc9
push 8
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x100159e8], 0
je 0x10041bf2
push 0
mov eax, dword [0x100159e8]
push 0xffffffffffffffff
push eax
call fcn.10052447
add esp, 0xc
test eax, eax
jne 0x10041bf2
mov dword [0x100159e8], 0
call fcn.1004e869
ret 0x10
Function at 0x10041c30
Capabilities:
Suspend thread

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
push 0x1003c930
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea edi, [ebx*4 + 0x1003ce10]
mov eax, dword [edi]
test eax, eax
je 0x10041c7e
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
test eax, eax
je 0x10041c7e
cmp dword [esp + 0x10], 0x103
je 0x10041c7e
mov eax, dword [edi]
push eax
call esi
mov dword [edi], 0
push ebx
call fcn.10041e60
add esp, 4
mov ebx, eax
cmp ebx, 0x64
jl 0x10041c50
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [edi*4 + 0x1003ce10]
test eax, eax
je 0x10041ca4
push eax
call esi
push edi
call fcn.10041e60
add esp, 4
mov edi, eax
cmp edi, 0x64
jl 0x10041c96
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x10041cc0
Capabilities:
Resume thread

Disassembly:
push esi
push edi
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi*4 + 0x1003ce10]
test eax, eax
je 0x10041cd8
push eax
call edi
push esi
call fcn.10041e60
add esp, 4
mov esi, eax
cmp esi, 0x64
jl 0x10041cca
push 0x1003c930
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret

Function at 0x10041e70
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 0x26c
lea eax, [esp + 0xe0]
push ebx
push esi
push edi
push ebp
xor esi, esi
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x1f4]
push esi
lea eax, [esp + 0xf4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
mov edi, eax
jne 0x10041ebb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x26c
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x10041f40
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x10041f35
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebp
call fcn.10041f60
add esp, 4
cmp eax, 0x4550
jne 0x10041f35
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.10041fa0
add esp, 8
cmp eax, 1
jne 0x10041f35
mov eax, dword [esp + 0x54]
and eax, 0xffff
cmp eax, 3
je 0x10041f30
cmp eax, 5
je 0x10041f30
mov esi, 0
cmp eax, 7
jne 0x10041f35
mov esi, 1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
jmp 0x10041f46
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x26c
ret

Function at 0x10041f60
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
cmp word [eax], 0x5a4d
jne 0x10041f96
mov ecx, dword [eax + 0x3c]
mov eax, dword [ecx + eax]
cmp ax, 0x454e
je 0x10041f92
cmp ax, 0x454c
je 0x10041f92
sub eax, 0x4550
cmp eax, 1
sbb eax, eax
and eax, 0xffffeb03
add eax, 0x5a4d
ret
movzx eax, ax
ret
xor eax, eax
ret
Function at 0x10042200
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 1
push esi
mov eax, 0xc8
lea ebx, [ecx + 0x4ed1567b]
xor edx, edx
mov esi, ebx
inc edx
imul ebx, ebx, 0x1003411d
shr esi, 9
add esi, 0x79d11093
xor esi, ebx
mov ebx, esi
xor byte [eax + edx + 0x1000f4b7], bl
cmp edx, 0xc8
jl 0x10042214
add eax, 0xc8
inc ecx
cmp eax, 0x7d0
jl 0x1004220c
xor eax, eax
xor ecx, ecx
mov ebx, ecx
xor edx, edx
xor ebx, 0x709be511
mov esi, ebx
inc edx
imul ebx, ebx, 0x55976fe3
shr esi, 9
sub esi, 0x5644f6c3
xor esi, ebx
mov ebx, esi
xor byte [eax + edx + 0x1000fc87], bl
cmp edx, 0xc8
jl 0x10042254
add eax, 0xc8
inc ecx
cmp eax, 0x5140
jle 0x1004224a
xor eax, eax
pop esi
pop ebx
ret

Function at 0x100424a0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x518
push ebx
push esi
push edi
xor esi, esi
push ebp
xor ebx, ebx
lea eax, [esp + 0x14]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [esp + 0x18], esi
push 0x10016344
call ebp
test eax, eax
je 0x100424f1
cmp eax, 0x104
jae 0x100424f1
lea eax, [esp + 0x14]
push 0x10016340
push eax
call fcn.10045130
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x518
ret
lea eax, [esp + 0x14]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
mov edx, eax
test edx, edx
je 0x10042656
lea edi, [esp + 0x118]
xor eax, eax
mov ecx, 0x82
inc edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x11c]
push eax
push 0x208
push ecx
call fcn.10052fe8
lea ecx, [esp + 0x128]
add esp, 0x10
push ecx
call fcn.100530e8
lea ebp, [esp + eax*2 + 0x11a]
lea ecx, [esp + 0x11c]
add esp, 4
cmp ebp, ecx
je 0x1004257d
cmp word [ebp], 0x5c
je 0x10042575
inc ebx
sub ebp, 2
lea eax, [esp + 0x118]
cmp ebp, eax
jne 0x1004255d
jmp 0x1004257d
mov dword [esp + 0x10], 1
lea edi, [esp + 0x320]
xor eax, eax
mov ecx, 0x82
push 8
rep stosd dword es:[edi], eax
lea eax, [esp + 0x324]
push 0x10016344
push 0x208
push eax
call fcn.10052fe8
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x10042656
lea eax, [esp + 0x118]
push eax
call fcn.100530e8
add esp, 4
mov edi, eax
lea eax, [esp + 0x320]
push eax
call fcn.100530e8
add esp, 4
add edi, eax
sub edi, ebx
cmp edi, 0x104
jae 0x10042656
mov word [ebp + 2], 0
lea eax, [esp + 0x320]
push eax
call fcn.100530e8
lea ecx, [esp + 0x11c]
add esp, 4
push eax
lea eax, [esp + 0x324]
push eax
push ecx
call fcn.10053070
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x124]
add esp, 0xc
push ecx
call fcn.100530e8
lea ecx, [esp + 0x11c]
lea edx, [esp + 0x18]
add esp, 4
inc eax
push eax
push ecx
push 0x104
push edx
call fcn.10053018
lea ecx, [esp + 0x24]
add esp, 0x10
push 0x10016340
push ecx
call fcn.10045130
add esp, 8
mov esi, eax
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x518
ret
Function at 0x10043a90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10044a70
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.10044b30
cmp dword [0x10016648], 1
mov esi, dword [esp + 0x10]
jne 0x10044a93
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x10016644], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x10016640], bl
jne 0x10044aed
cmp dword [0x1003e1a8], 0
je 0x10044adb
mov edi, dword [0x1003e1a4]
sub edi, 4
cmp edi, dword [0x1003e1a8]
jb 0x10044adb
mov eax, dword [edi]
test eax, eax
je 0x10044ad0
call eax
sub edi, 4
cmp edi, dword [0x1003e1a8]
jae 0x10044ac8
push 0x1000f020
push 0x1000f018
call fcn.10044b50
add esp, 8
push 0x1000f028
push 0x1000f024
call fcn.10044b50
add esp, 8
test ebx, ebx
je 0x10044b0c
call fcn.10044b40
pop edi
pop esi
pop ebx
ret
mov dword [0x10016648], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10044d50
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.100453a0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10016674], eax
cmp eax, 0xffffffff
jne 0x10044d6a
xor eax, eax
pop esi
ret
push 0x74
push 1
call fcn.10045570
add esp, 8
mov esi, eax
test esi, esi
je 0x10044dac
push esi
mov eax, dword [0x10016674]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x10044dac
push esi
call fcn.10044db0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10044dd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x10016674]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x10044e33
push 0x74
push 1
call fcn.10045570
add esp, 8
mov edi, eax
test edi, edi
je 0x10044e29
push edi
mov eax, dword [0x10016674]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x10044e29
push edi
call fcn.10044db0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
jmp 0x10044e33
push 0x10
call fcn.10045540
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret