joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456970
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456aba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00455f98
xor eax, eax
push ebp
push 0x456a9d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4569d5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4569d5
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x456a87
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4569e8
call fcn.00403f5c
jmp 0x456aa4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x456a87
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x456a87
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403920
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x456a87
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b520
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x456ad4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x488f88]
mov dl, 1
mov eax, dword [0x4552ac]
call fcn.0040be44
call fcn.00403eb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456aa4
mov eax, dword [ebp - 4]
call fcn.00455fa4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456ac1
lea eax, [ebp - 0x28]
call fcn.004044f8
ret

Function at 0x457a94
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x457aa9
or edx, 0x200
test eax, 0x20000000
je 0x457adc
test eax, 0x40000000
je 0x457ac8
test eax, 0x80000000
je 0x457ac3
or edx, 0x40
jmp 0x457b03
or edx, 0x20
jmp 0x457b03
test eax, 0x80000000
je 0x457ad7
or edx, 0x80
jmp 0x457b03
or edx, 0x10
jmp 0x457b03
test eax, 0x40000000
je 0x457af4
test eax, 0x80000000
je 0x457aef
or edx, 4
jmp 0x457b03
or edx, 2
jmp 0x457b03
test eax, 0x80000000
je 0x457b00
or edx, 8
jmp 0x457b03
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x45b050
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45b1aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, ebx
call fcn.0041611c
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov dword [ebp - 0xc], esi
mov eax, esi
call fcn.0040270c
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call sub.crypt32.dll_CryptUnprotectData
test eax, eax
je 0x45b16b
mov edi, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x45b024]
call fcn.00405510
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x45b024]
call fcn.00405510
add esp, 4
mov esi, dword [ebp - 0x14]
dec esi
test esi, esi
jl 0x45b116
inc esi
xor ebx, ebx
mov al, byte [edi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], al
inc edi
inc ebx
dec esi
jne 0x45b109
lea eax, [ebp - 0x18]
call fcn.004044f8
mov eax, dword [ebp - 0x1c]
call fcn.0040535c
mov esi, eax
test esi, esi
jl 0x45b160
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + ebx]
mov edx, 1
call fcn.004087c4
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dl, byte [edx + ebx]
call fcn.004046e0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.004047c0
inc ebx
dec esi
jne 0x45b12f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.0040454c
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_LocalFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b1b1
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040451c
lea eax, [ebp - 0x1c]
mov edx, dword [0x45b024]
call fcn.0040551c
lea eax, [ebp - 0x18]
call fcn.004044f8
ret
Function at 0x45b3e4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x45b537
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x412514]
call fcn.004036f4
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x45b4f1
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 8]
mov eax, 0x1c
call fcn.0045aeb0
lea eax, [ebp - 8]
mov edx, 0x45b550
call fcn.004047c0
mov eax, dword [ebp - 8]
call fcn.00408b98
test al, al
je 0x45b4da
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0045afc4
mov eax, dword [ebp - 0x10]
call fcn.004049b8
push eax
mov eax, dword [ebp - 8]
call fcn.004049b8
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0045afc4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00404590
mov dl, 1
mov eax, dword [0x412514]
call fcn.004036f4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0045b1b8
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x45b4d0
inc ebx
xor esi, esi
lea ecx, [ebp - 0x18]
mov edx, esi
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x45b4b4
mov eax, dword [ebp - 8]
call fcn.00408ba8
jmp 0x45b4e7
mov edx, 0x45b584
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45b514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b53e
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040451c
lea eax, [ebp - 8]
call fcn.004044f8
ret

Function at 0x45b830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45b8a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x3e8
call fcn.00404b44
push 0x3e8
mov eax, dword [ebp - 4]
call fcn.004049b8
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404a18
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00408448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b8aa
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040451c
ret
Function at 0x45b8b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45b923
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x3e8
call fcn.00404b44
push 0x3e8
mov eax, dword [ebp - 4]
call fcn.004049b8
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404a18
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00408448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b92a
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040451c
ret

Function at 0x45b930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45b9a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x3e8
call fcn.00404b44
mov eax, dword [ebp - 4]
call fcn.004049b8
push eax
push 0x3e8
call sub.kernel32.dll_GetTempPathA
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404a18
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00408448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b9aa
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040451c
ret

Function at 0x45b9b0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45ba1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfd
mov edx, dword [ebp - 8]
dec edx
lea eax, [ebp - 4]
call fcn.00404b44
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004049b8
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404b44
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040454c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba23
lea eax, [ebp - 4]
call fcn.004044f8
ret

Function at 0x45ba58
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x11
call fcn.00404768
add esp, 0x18
pop ebx
ret

Function at 0x45ba88
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, ecx
cmp dl, 1
cmc
sbb edx, edx
push edx
push eax
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404768
add esp, 0x100
pop ebx
ret
Function at 0x10002cef
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
add ebx, esi
push 0x40
lea eax, [ebx + 0x18]
push 0x3000
push dword [eax + 0x38]
mov dword [ebp - 4], ecx
push 0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
call dword [0x130605c]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x10002e59
push 0x40
mov edx, esi
mov ecx, edi
call fcn.10003ba0
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.10003ba0
mov eax, dword [ebp - 8]
lea ebx, [esi + 0x18]
movzx ecx, word [eax + 0x14]
movzx esi, word [esi + 0x14]
lea edx, [eax + 0x18]
movzx eax, word [eax + 6]
add ecx, edx
add esi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10002db7
mov ebx, ecx
sub ebx, esi
mov edi, eax
push 0x28
lea edx, [ebx + esi]
mov ecx, esi
call fcn.10003ba0
add esi, 0x28
dec edi
jne 0x10002d75
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x10002db7
lea esi, [ecx + 0x14]
mov ebx, eax
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call fcn.10003ba0
lea esi, [esi + 0x28]
dec ebx
jne 0x10002d9c
mov ebx, dword [ebp - 0xc]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10004350
push dword [ebp - 0x18]
mov ecx, dword [0x1307004]
mov edx, edi
call fcn.10004430
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10002e56
cmp dword [ebx + 0x64], 0
je 0x10002e56
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10002dfe
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e02
xor eax, eax
mov ecx, eax
mov edx, dword [ebp - 4]
push 2
mov dword [edx + 4], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e2b
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, eax
xor eax, eax
jmp 0x10002e2d
mov ecx, eax
mov edx, dword [ebp - 4]
push 3
mov dword [edx + 8], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10002e50
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10002ea4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
push 0x40
add ebx, esi
push 0x3000
lea eax, [ebx + 0x18]
mov dword [ebp - 0x1c], ecx
push dword [eax + 0x38]
mov dword [ebp - 0x18], eax
push 0
call dword [0x130605c]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x10002fad
push 0x40
mov edx, esi
mov ecx, edi
call fcn.10003ba0
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call fcn.10003ba0
movzx ecx, word [ebx + 0x14]
lea eax, [esi + 0x18]
movzx esi, word [esi + 0x14]
lea edx, [ebx + 0x18]
movzx ebx, word [ebx + 6]
add ecx, edx
add esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10002f5c
mov edi, ecx
sub edi, esi
push 0x28
lea edx, [edi + esi]
mov ecx, esi
call fcn.10003ba0
add esi, 0x28
dec ebx
jne 0x10002f22
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ebx, ebx
je 0x10002f5c
lea esi, [ecx + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call fcn.10003ba0
lea esi, [esi + 0x28]
dec ebx
jne 0x10002f44
mov ebx, dword [ebp - 0x14]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10004350
push dword [ebp - 0x18]
mov ecx, dword [0x1307004]
mov edx, edi
call fcn.10004430
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10002faa
cmp dword [ebx + 0x64], 0
je 0x10002faa
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10002fa2
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.100043f0
jmp 0x10002fa4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10004250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [0x1307000]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [0x130607c]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10004294
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x10004283
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x100042af
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x100042a4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x100042f1
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x100042d4
test esi, esi
je 0x100042fd
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x100042f5
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x1307000]
call dword [0x130607c]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call fcn.10001d1b
push ebx
push 0
push dword [0x1307000]
call dword [0x1306080]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42df8c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x42df9a
mov eax, edx
xor edx, edx
div dword [ebp + 0xc]
pop esi
mov eax, edx
pop ebp
ret

Function at 0x401750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x405102], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401797
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405364]
test eax, eax
je 0x401f6a
call eax
test eax, eax
jne 0x401f6a
push 0xfffffffffffffffe
jmp 0x401f84
push 1
push 0x405010
push 0x405008
call fcn.00401b81
add esp, 0xc
test eax, eax
je 0x401f8a
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00401b81
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x401fb0
mov esi, 0x404a7e
mov cl, 0x20
jmp 0x401fb9
cmp al, 0x20
ja 0x401fc3
inc esi
mov al, byte [esi]
test al, al
jne 0x401fb4
cmp al, 0x20
jbe 0x401fda
mov al, byte [esi]
cmp al, 0x22
jne 0x401fcc
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x401fc5
jmp 0x401fda
cmp al, cl
ja 0x401fe0
inc esi
mov al, byte [esi]
test al, al
jne 0x401fd5
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 0x402009
movzx eax, word [ebp - 0x14]
jmp 0x40200c
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.00402041
pop ecx
pop esi
leave
ret

Function at 0x402041
Capabilities:
Terminate process

Disassembly:
call fcn.0040208b
push 0
push 0x405018
push 0x405014
call fcn.00401b81
push 0
push 0x405020
push 0x40501c
call fcn.00401b81
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401598
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
xor edi, edi
mov esi, dword [ecx + eax + 0x78]
lea ecx, [ecx + eax + 0x78]
add esi, eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
add ebx, eax
add ecx, eax
add edx, eax
test word [ebp + 0xe], 0xffff
jne 0x4015ea
movzx ecx, word [ebp + 0xc]
mov edx, dword [esi + 0x10]
cmp ecx, edx
jb 0x401651
mov edi, dword [esi + 0x14]
add edi, edx
cmp ecx, edi
ja 0x401651
sub ecx, edx
mov edi, dword [ebx + ecx*4]
add edi, eax
jmp 0x401634
and dword [ebp - 0xc], 0
cmp dword [esi + 0x18], 0
jbe 0x401634
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
jmp 0x4015ff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
add ecx, eax
push ecx
push dword [ebp + 0xc]
call fcn.00429a00
pop ecx
test eax, eax
pop ecx
jne 0x401621
mov eax, dword [ebp - 8]
movzx eax, word [eax]
mov edi, dword [ebx + eax*4]
add edi, dword [ebp + 8]
inc dword [ebp - 0xc]
add dword [ebp - 4], 4
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], 2
cmp eax, dword [esi + 0x18]
jb 0x4015fc
cmp edi, esi
jb 0x40168f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
add eax, esi
cmp edi, eax
jae 0x40168f
push edi
call fcn.0042a46d
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x401655
xor eax, eax
jmp 0x401691
push 0x2e
push ebx
xor edi, edi
call fcn.00429940
pop ecx
mov esi, eax
pop ecx
and byte [esi], 0
push ebx
inc esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x40167d
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x401688
push esi
push eax
call fcn.00401598
pop ecx
mov edi, eax
pop ecx
push ebx
call fcn.004298de
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401696
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
xor esi, esi
push str.CryptStringToBinaryA
push eax
mov word [ebp - 0x18], 0x43
mov word [ebp - 0x16], 0x72
mov word [ebp - 0x14], 0x59
mov word [ebp - 0x12], 0x70
mov word [ebp - 0x10], 0x54
mov word [ebp - 0xe], 0x33
mov word [ebp - 0xc], 0x32
mov word [ebp - 0xa], 0x2e
mov word [ebp - 8], 0x44
mov word [ebp - 6], 0x6c
mov word [ebp - 4], 0x4c
mov word [ebp - 2], si
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call fcn.00401598
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
mov ebx, eax
push esi
push esi
push edi
push esi
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call ebx
test eax, eax
jne 0x401719
xor al, al
jmp 0x40173b
mov eax, dword [edi]
inc eax
push eax
call fcn.00429a84
pop ecx
mov ecx, dword [ebp + 8]
push esi
push esi
push edi
push eax
push 1
push dword [ebp + 0x14]
mov dword [ecx], eax
push dword [ebp + 0x10]
call ebx
test eax, eax
setne al
pop edi
pop esi
pop ebx
leave
ret