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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00441cdc
xor eax, eax
push ebp
push 0x47639d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x47636b
xor edx, edx
push ebp
push 0x476364
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00441d48
mov eax, dword [ebp - 8]
test eax, eax
je 0x476277
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x476277
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004414a4
test eax, eax
je 0x476280
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x476339
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x476328
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00441d48
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4762e2
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4762e2
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004414a4
test eax, eax
je 0x4762eb
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00441d80
lea ecx, [esi + 2]
mov edx, ebx
call fcn.0043f6b0
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47632f
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4c4a88]
mov dl, 1
mov eax, dword [0x42c034]
call fcn.00432480
call fcn.00440bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4763a4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00441cec
ret
Function at 0x47b5b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4cabc4], 0
je 0x47b6f9
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4c48c0]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x47b6f9
mov eax, dword [0x4cabc8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4cabc4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x47b6c8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4cabc4]
call fcn.0041f224
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47b6c0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x47b6c0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x47b6c0
mov eax, dword [ebp - 0x14]
call fcn.004867ac
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x47b6c0
push ebp
call fcn.0047b574
pop ecx
test al, al
jne 0x47b6c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004403d8
test al, al
je 0x47b6c0
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004403d8
cmp byte [ebp - 1], 0
je 0x47b6c0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0042b330
test al, al
je 0x47b6c0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4cabc8]
call fcn.0047ace8
inc edi
dec ebx
jne 0x47b61d
mov eax, dword [0x4cabc8]
cmp dword [eax + 8], 0
jle 0x47b6e0
mov eax, dword [0x4cabc8]
call fcn.0047ada0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47b6f9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0047b3d8
pop ecx
test al, al
jne 0x47b6f9
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483498
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.0042b318
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0047da34
test ebx, ebx
jne 0x4834eb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0048332c
mov ebx, eax
test ebx, ebx
je 0x4835d6
cmp esi, ebx
je 0x483514
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x483529
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x483561
add eax, 0xffffff5f
sub eax, 2
jb 0x483579
dec eax
sub eax, 2
jb 0x48358d
dec eax
sub eax, 2
jb 0x483583
jmp 0x483597
add eax, 0xfffffdff
sub eax, 2
jb 0x483579
dec eax
sub eax, 2
jb 0x48358d
dec eax
sub eax, 2
jb 0x483583
jmp 0x483597
mov byte [esp + 0x120], 0
jmp 0x48359f
mov byte [esp + 0x120], 2
jmp 0x48359f
mov byte [esp + 0x120], 1
jmp 0x48359f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00465a74
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0047f208
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4835d8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x48f130
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x4bbc2c
call fcn.00498c30
mov word [ebp - 0x18], 0xc
mov edx, 0x4bc148
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.00493dd8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x48f17d
mov word [ebp - 0x18], 0x3c
mov edx, dword [ebp - 4]
push edx
call fcn.0049255c
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x48f180
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494764
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
lea ebx, [ebp + 8]
mov eax, 0x4bd04c
call fcn.00498c30
mov word [ebp - 0x18], 0xc
mov edx, 0x4bd3d4
mov ecx, dword [ebx]
mov dword [ecx], edx
push 0x10
call fcn.00493dd8
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4947b1
mov word [ebp - 0x18], 0x3c
mov edx, dword [ebp - 4]
push edx
call fcn.0049255c
pop ecx
mov word [ebp - 0x18], 0x24
mov ecx, dword [ebp - 4]
jmp 0x4947b4
mov ecx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [eax + 0x3c], ecx
mov word [ebp - 0x18], 0x18
mov eax, dword [ebx]
mov edx, dword [ebx]
add edx, 0xc
mov dword [eax + 0x14], edx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x10
mov dword [ecx + 0x18], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x1c
mov dword [edx + 0x24], eax
mov eax, dword [ebx]
mov ecx, dword [ebx]
add ecx, 0x20
mov dword [eax + 0x28], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx]
add edx, 0x2c
mov dword [ecx + 0x34], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
add eax, 0x30
mov dword [edx + 0x38], eax
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x18]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x38]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x14]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x24]
mov dword [eax], edx
xor edx, edx
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x499adc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x499af8
call fcn.0049ac6c
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x499b17
test bl, 1
je 0x499b17
call fcn.004a0de0
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x49d970
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00498808
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.004988d0
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.004988d0
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4bf371
lea ecx, [ebp - 0x200]
push ecx
call fcn.00498808
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.004988d0
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0049ee18
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x49da81
push esi
call fcn.004988d0
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.004988d0
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00497c68
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x49da58
xor eax, eax
jmp 0x49db0a
push esi
call fcn.004988d0
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.004988d0
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00498760
add esp, 0xc
jmp 0x49dac3
mov edi, ebx
mov edi, dword [edi + 0x24]
push edi
call fcn.004988d0
pop ecx
push eax
push esi
call fcn.004988d0
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004988d0
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00497c88
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x49dac3
xor eax, eax
jmp 0x49db0a
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00498808
add esp, 8
push 0x4bf373
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00498808
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00498808
add esp, 8
push 0x4bf375
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00498808
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a0d74
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x4a0da1
jmp 0x4a0dd8
call fcn.004a0d24
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004988d0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004988d0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a0e5c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4bf9a4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4a0f36
cmp dword [0x4bf9a0], 0
jne 0x4a0f36
cmp dword [0x4bfbc0], 0
je 0x4a0ef0
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004a0c24
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4a0ed6
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004a0c24
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4a0ed6
lea ebx, [ebp - 0x84]
jmp 0x4a0ed7
inc ebx
call fcn.004a0e14
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4a0f71
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4bf9a8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004988d0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4bf9ab
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4a0f71
cmp dword [0x4bf9a0], 0
je 0x4a0f50
cmp dword [0x4bf9a0], 0xffffffff
je 0x4a0f71
push esi
call dword [0x4bf9a0]
pop ecx
mov eax, dword [0x4bf9a4]
test eax, eax
je 0x4a0f71
cmp dword [0x4bf9a4], 0xffffffff
je 0x4a0f71
cmp byte [eax], 0
je 0x4a0f71
push esi
push eax
call fcn.004a0d74
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449a79
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043e1cb
xor ebx, ebx
cmp dword [0x4737fc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x449b4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x449c2f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x449c2f
push eax
call fcn.0043e15d
mov dword [esp], 0x459a78
push edi
mov dword [0x4737fc], eax
call esi
push eax
call fcn.0043e15d
mov dword [esp], 0x459a64
push edi
mov dword [0x473800], eax
call esi
push eax
call fcn.0043e15d
mov dword [0x473804], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004383c6
test eax, eax
pop ecx
pop ecx
je 0x449b1d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e89d
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x449b4f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043e15d
cmp eax, ebx
pop ecx
mov dword [0x47380c], eax
je 0x449b4f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043e15d
pop ecx
mov dword [0x473808], eax
mov eax, dword [0x473808]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x449bd4
cmp dword [0x47380c], ecx
je 0x449bd4
push eax
call fcn.0043e1d4
push dword [0x47380c]
mov esi, eax
call fcn.0043e1d4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x449bd4
cmp edi, ebx
je 0x449bd4
call esi
cmp eax, ebx
je 0x449ba1
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x449ba1
test byte [ebp - 0x18], 1
jne 0x449bd4
lea eax, [ebp - 0x10]
push eax
call fcn.004383fd
test eax, eax
pop ecx
je 0x449bbc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043e89d
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x449bcb
or dword [ebp + 0x10], 0x200000
jmp 0x449c0f
or dword [ebp + 0x10], 0x40000
jmp 0x449c0f
mov eax, dword [0x473800]
cmp eax, dword [ebp - 8]
je 0x449c0f
push eax
call fcn.0043e1d4
cmp eax, ebx
pop ecx
je 0x449c0f
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x449c0f
mov eax, dword [0x473804]
cmp eax, dword [ebp - 8]
je 0x449c0f
push eax
call fcn.0043e1d4
cmp eax, ebx
pop ecx
je 0x449c0f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4737fc]
call fcn.0043e1d4
cmp eax, ebx
pop ecx
je 0x449c2f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x449c31
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002c910
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x100bd6e4], 0
jne 0x1002c91e
call fcn.1002d1d0
cmp byte [0x100bd6ee], 0
je 0x1002c93c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.1002de10
add esp, 0x10
ret
jmp fcn.1002ac70

Function at 0x100474e6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004735c

Function at 0x1004fb30
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004f7ad

Function at 0x100564a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100564cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100564cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40273a
Capabilities:
Terminate process

Disassembly:
call section..text
push 0
push 0x406018
push 0x406014
call fcn.00402d64
push 0
push 0x406020
push 0x40601c
call fcn.00402d64
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403402
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x406a44]
test eax, eax
je 0x40341b
call eax
test eax, eax
jne 0x40341b
push 0xfffffffffffffffe
jmp 0x403435
push 1
push 0x406010
push 0x406008
call fcn.00402d64
add esp, 0xc
test eax, eax
je 0x40343b
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x406004
push section..data
call fcn.00402d64
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x403461
mov esi, 0x405bd1
mov cl, 0x20
jmp 0x40346a
cmp al, 0x20
ja 0x403474
inc esi
mov al, byte [esi]
test al, al
jne 0x403465
cmp al, 0x20
jbe 0x40348b
mov al, byte [esi]
cmp al, 0x22
jne 0x40347d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403476
jmp 0x40348b
cmp al, cl
ja 0x403491
inc esi
mov al, byte [esi]
test al, al
jne 0x403486
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x4034ba
movzx eax, word [ebp - 0x14]
jmp 0x4034bd
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x4034f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x406391], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x4068a0
push 0x406908
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403542
xor eax, eax
jmp 0x403559
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret
Function at 0x40129f
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x38], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5c0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b5c4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], eax
call fcn.00401298
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x41b5c8]
add ebx, 0x23f
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5cc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov ecx, dword [0xb07464]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40132c
push 0x418300
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [ebp - 4]
mov ecx, dword [0xb07464]
add eax, dword [ebp - 0x28]
mov edx, 0xedeb2e40
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
mov eax, dword [0xb07460]
cmove eax, edx
xor edx, edx
mov dword [0xb07460], eax
cmp ecx, 0x3eb
mov eax, dword [0xb073b8]
cmove eax, edx
mov dword [0xb073b8], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], edx
mov dword [0xb0745c], 0xf4ea3dee
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
mov dword [ebp - 0x18], esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
add ebx, 0x61c88647
shr edx, cl
add edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
xor edx, dword [ebp - 0x20]
xor eax, edx
mov dword [ebp - 0x10], ebx
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
jne 0x4012fa
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret