joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4636a8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463853
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x463834
mov dl, 1
mov eax, dword [0x4166c4]
call fcn.00403a60
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463823
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045103c
test al, al
je 0x463816
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x463864
lea eax, [ebp - 0x254]
call fcn.00409b08
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x463816
xor eax, eax
push ebp
push 0x46380f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46389c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4637f8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b10
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4637f8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463816
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463719
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a364
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46385a
lea eax, [ebp - 0x260]
call fcn.004048a0
ret

Function at 0x46419c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x49ebec]
cmp byte [eax + 0xa5], 0
jne 0x46420d
cmp dword [0x49ec04], 0
jne 0x4641ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464158
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49ec04], eax
cmp dword [0x49ec00], 0
jne 0x4641e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49ec00], eax
cmp dword [0x49ec08], 0
jne 0x46420d
push esp
push 0
push 0
push 0x4640fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49ec08], eax
pop edx
ret
Function at 0x4648a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49ebec]
cmp dword [eax + 0x30], 0
je 0x46494a
cmp dword [ebx + 0x94], 0
jne 0x464944
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464830
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464944
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46490a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464944
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004187bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464919
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4654a8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4654dd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404990
jmp 0x4654ea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46661c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46665d
mov eax, esi
call fcn.0044c624
test al, al
je 0x46665d
mov eax, dword [ebx + 0x84]
call fcn.0044c320
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46665d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044c320
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x469170
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
push edi
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_recv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
pop edi
pop esi
pop ebx
ret
Function at 0x4691dc
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x46935e
cmp dword [ebp - 8], 0
je 0x46922d
lea ebx, [ebp - 0x120]
lea eax, [ebp - 0x120]
call fcn.00468384
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00468374
jmp 0x46922f
xor ebx, ebx
cmp dword [ebp - 0xc], 0
je 0x469259
lea esi, [ebp - 0x224]
lea eax, [ebp - 0x224]
call fcn.00468384
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00468374
jmp 0x46925b
xor esi, esi
cmp dword [ebp + 0xc], 0
je 0x469288
lea eax, [ebp - 0x328]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x328]
call fcn.00468384
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00468374
jmp 0x46928d
xor eax, eax
mov dword [ebp - 0x10], eax
test edi, edi
jl 0x4692b9
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x18], eax
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x4692be
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4692fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
inc eax
push eax
call sub.wsock32.dll_select
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
setg al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46930a
cmp dword [ebp - 8], 0
je 0x469326
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0046835c
mov edx, dword [ebp - 8]
mov byte [edx], al
cmp dword [ebp - 0xc], 0
je 0x469342
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0046835c
mov edx, dword [ebp - 0xc]
mov byte [edx], al
cmp dword [ebp + 0xc], 0
je 0x46935e
lea edx, [ebp - 0x328]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0046835c
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46936c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea ecx, [ebp - 4]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x34]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_send
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp eax, 0xffffffff
je 0x4693a9
add dword [ebx + 0x38], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4696b0
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.004048a0
test ebx, ebx
je 0x469751
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x4696ec
mov eax, ebx
call fcn.00404d60
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x46975d
mov eax, esi
mov edx, ebx
call fcn.004048f4
jmp 0x46975d
mov eax, ebx
call fcn.00404d60
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x46975d
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x46976c
call fcn.00409ba0
jmp 0x46975d
mov eax, esi
mov edx, 0x469780
call fcn.004048f4
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x46a6a8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4157d4]
call fcn.0040523c
xor eax, eax
push ebp
push 0x46a7ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49d05c], 0
jne 0x46a6fb
mov ecx, dword [0x49da88]
mov dl, 1
mov eax, dword [0x407bb8]
call fcn.0040c658
call fcn.00404230
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032c4
mov eax, ebx
call fcn.00405108
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46a7fc
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040627c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405118
test eax, eax
jle 0x46a793
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46a78c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b28
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b10
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a9c
test eax, eax
jne 0x46a78c
mov ebx, 0x15
jmp 0x46a798
mov ebx, 0x10
jmp 0x46a798
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x49d05c]
call fcn.0046a600
mov eax, dword [ebp - 8]
call fcn.0046a600
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7f3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004048c4
lea eax, [ebp - 0x10]
mov edx, dword [0x4157d4]
call fcn.0040530c
ret
Function at 0x471918
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4719d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x10]
add dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x20]
mov dl, byte [ebx + 0x30]
mov byte [eax], dl
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x1c]
sub esi, eax
test esi, esi
je 0x471957
mov edx, dword [ebx + 0x10]
mov ecx, esi
call fcn.00402cf8
add esi, dword [ebx + 0x10]
mov dword [ebx + 0x14], esi
mov ecx, dword [ebx + 0x18]
sub ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
call dword [esi + 0xc]
add dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x1c], eax
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x20], esi
cmp esi, dword [ebx + 0x18]
jne 0x4719ae
mov edx, esi
dec edx
mov eax, dword [ebx + 0x10]
call fcn.004185d0
mov edi, eax
mov dword [ebx + 0x20], edi
cmp edi, dword [ebx + 0x10]
jne 0x4719ae
lea edx, [ebp - 4]
mov eax, dword [0x49dcf0]
call fcn.00406740
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00471824
mov eax, dword [ebx + 0x20]
mov al, byte [eax]
mov byte [ebx + 0x30], al
mov eax, dword [ebx + 0x20]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4719d9
lea eax, [ebp - 4]
call fcn.004048a0
ret

Function at 0x476064
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x476092
mov eax, ebx
call fcn.00476b18
cmp dword [ebx + 0x40], 0
je 0x47608b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x476103
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4760f5
cmp dword [ebx + 8], 0
je 0x4760b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4760c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4760f5
cmp dword [ebx + 8], 0
je 0x4760a7
cmp eax, 3
je 0x4760d9
dec eax
jne 0x4760a7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4760a7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4760a7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x476121
cmp dword [ebx + 0x14], 0xcc
je 0x476121
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047612c
pop ebx
ret
Function at 0x49aadc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d50
xor eax, eax
push ebp
push 0x49ab52
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49ee84], 0
je 0x49ab37
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404938
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b60
push eax
mov eax, dword [ebp - 8]
call fcn.00404d60
push eax
mov eax, dword [0x49ee84]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ab59
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048c4
ret

Function at 0x49abc8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7e4
push ebx
xor edx, edx
mov dword [ebp - 0x81c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49ac98
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x49ee84]
push eax
call sub.kernel32.dll_ClearCommError
cmp dword [ebp - 0x814], 0x800
jbe 0x49ac1e
push 8
mov eax, dword [0x49ee84]
push eax
call sub.kernel32.dll_PurgeComm
jmp 0x49ac77
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x814]
push eax
lea eax, [ebp - 0x80c]
push eax
mov eax, dword [0x49ee84]
push eax
call sub.kernel32.dll_ReadFile_1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x81c]
lea edx, [ebp - 0x80c]
mov ecx, 0x800
call fcn.00404b10
mov eax, dword [ebp - 0x81c]
mov ecx, dword [ebp - 0x814]
mov edx, 1
call fcn.00404dc0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ac9f
lea eax, [ebp - 0x81c]
call fcn.004048a0
lea eax, [ebp - 4]
call fcn.004048a0
ret

Function at 0x49add8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d50
xor eax, eax
push ebp
push 0x49ae56
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00404b60
mov esi, eax
test esi, esi
jle 0x49ae39
dec esi
inc ebx
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00404dc0
mov eax, dword [ebp - 8]
call fcn.0049acf0
and eax, 0xff
xor edi, eax
test esi, esi
jg 0x49ae11
mov ebx, edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ae5d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048c4
ret
Function at 0x10070c8
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x1007116
push esi
mov esi, dword [ebp + 8]
add esi, 0x10
dec dword [ebp + 0xc]
test byte [esi - 0xc], 0x10
je 0x100710c
push 0x10070b2
push 4
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
call dword [sym.imp.msvcrt.dll_bsearch]
add esp, 0x14
test eax, eax
je 0x100711a
sub eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
sar eax, 2
mov eax, dword [ecx + eax*4]
mov dword [esi], eax
add esi, 0x58
cmp dword [ebp + 0xc], 0
jne 0x10070da
pop esi
pop ebp
ret 0x14
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x421522
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41d650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x421540
push eax
call dword [fcn.0041d020]
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
movzx eax, word [ebx + 0x14]
push dword [ebx + 0x88]
lea eax, [eax + ebx + 0x18]
push ebx
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], eax
call fcn.0041eaa7
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
je 0x421604
movzx eax, word [ebx + 6]
and dword [ebp - 0x14], 0
test eax, eax
push esi
push edi
jle 0x4215af
mov edi, dword [ebp - 0x10]
push 2
pop ecx
lea esi, [ebp - 0xc]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x4215af
add dword [ebp - 0x10], 0x28
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x421594
cmp dword [ebp - 0x14], eax
je 0x421602
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x34]
add edx, dword [eax + 0xc]
push 4
pop ecx
mov edi, 0x41ef88
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x421602
push 4
pop ecx
mov edi, 0x41ef88
lea esi, [edx + 0x140]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x421602
cmp dword [edx + 0x124], eax
je 0x4215f0
push 0x421324
jmp 0x4215f5
push 0x42150a
push ebx
push dword [ebp - 0x18]
push edx
call fcn.004210fb
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004225aa
leave
ret

Function at 0x432c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
xor ebp, ebp
test esi, esi
je 0x432c7f
mov eax, dword [esi + 0x3c]
push ebx
push edi
mov edi, dword [eax + esi + 0x78]
add edi, esi
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x432c78
mov edi, edi
mov ecx, dword [edi + 0x20]
lea edx, [ecx + ebx*4]
mov eax, dword [edx + esi]
mov ecx, dword [esp + 0x18]
add eax, esi
push ecx
push eax
call dword [0x1000707c]
test eax, eax
jne 0x432c70
mov edx, dword [edi + 0x24]
lea eax, [edx + ebx*2]
movzx ecx, word [eax + esi]
mov edx, dword [edi + 0x1c]
lea eax, [edx + ecx*4]
mov ebp, dword [eax + esi]
add ebp, esi
add ebx, 1
cmp ebx, dword [edi + 0x18]
jb 0x432c40
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
ret
pop esi
mov eax, ebp
pop ebp
ret
Function at 0x434010
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x3c]
add esi, edi
lea eax, [esi + 0x50]
push 0x40
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push 0x1000
push eax
push 0
mov dword [esp + 0x20], esi
call dword [0x10007020]
mov ebp, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [0x100e1010]
test eax, eax
jne 0x434067
push 0x100070f8
push 0x100070ec
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1010], eax
push ebp
push edi
push ebx
call eax
movzx ecx, word [esi + 0x14]
mov ebp, dword [esp + 0x1c]
add esp, 0xc
cmp word [ebp + 6], 0
lea esi, [esi + ecx + 0x18]
mov dword [esp + 0x18], 0
jbe 0x434130
add esi, 0x10
mov edi, dword [esi - 4]
mov eax, dword [0x100e1014]
mov edx, dword [esi]
mov ebp, dword [esi - 8]
add edi, ebx
test eax, eax
mov dword [esp + 0x14], edx
jne 0x4340c4
push 0x10007110
push 0x10007100
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1014], eax
push ebp
push edi
call eax
mov eax, dword [esp + 0x14]
cmp ebp, eax
mov dword [esp + 0x14], ebp
jl 0x4340d8
mov dword [esp + 0x14], eax
mov ebp, dword [esi + 4]
mov eax, dword [0x100e1010]
add ebp, dword [esp + 0x24]
test eax, eax
jne 0x434104
push 0x100070f8
push 0x100070ec
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1010], eax
mov ecx, dword [esp + 0x14]
push ecx
push ebp
push edi
call eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movzx ecx, word [edx + 6]
add eax, 1
add esp, 0xc
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x434091
mov ebp, edx
mov eax, dword [ebp + 0xa4]
mov edi, dword [ebp + 0xa0]
mov esi, ebx
sub esi, dword [ebp + 0x34]
add edi, ebx
test eax, eax
mov dword [esp + 0x18], eax
mov edx, edi
jle 0x43418c
lea ecx, [ecx]
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
test eax, eax
lea ecx, [edx + 8]
jle 0x434182
mov dword [esp + 0x24], eax
movzx eax, word [ecx]
test eax, 0xf000
je 0x434178
and eax, 0xfff
add eax, dword [edx]
add eax, ebx
add dword [eax], esi
add ecx, 2
sub dword [esp + 0x24], 1
jne 0x434163
mov edx, ecx
sub ecx, edi
cmp ecx, dword [esp + 0x18]
jl 0x434150
mov edi, dword [ebp + 0x80]
mov eax, dword [edi + ebx + 0xc]
add edi, ebx
test eax, eax
je 0x4341f1
lea esp, [esp]
add eax, ebx
push eax
call dword [0x10007050]
cmp dword [edi + 4], 0
mov ebp, eax
jne 0x4341b6
mov esi, dword [edi + 0x10]
jmp 0x4341b8
mov esi, dword [edi]
add esi, ebx
cmp dword [esi], 0
je 0x4341e3
nop
mov eax, dword [esi]
test eax, eax
jns 0x4341cd
and eax, 0xffff
jmp 0x4341d1
lea eax, [eax + ebx + 2]
push eax
push ebp
call dword [0x100070a4]
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0x4341c0
mov eax, dword [edi + 0x20]
add edi, 0x14
test eax, eax
jne 0x4341a0
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
push ebx
call dword [0x10007094]
push eax
call dword [0x10007098]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x434222
lea esi, [eax + ebx]
test esi, esi
je 0x434222
push 0
push 1
push ebx
call esi
push 0
push 2
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret