joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d4e0
Capabilities:
Connect to http server
Parse url
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x47d71d
call fcn.00444252
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x50], 0x3c
inc eax
lea ecx, [ebp - 0x50]
push eax
mov dword [ebp - 0x10], eax
call fcn.0044dc77
xor esi, esi
lea ecx, [ebp - 0x50]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.0044e456
test eax, eax
je 0x44d528
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [ebp - 0x44]
mov ecx, 0x800000
push 2
pop edx
sub eax, 1
je 0x44d58b
sub eax, 1
je 0x44d588
sub eax, 1
je 0x44d57f
sub eax, 1
je 0x44d571
mov eax, 0x2ee6
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 8
lea eax, [ebp - 0x14]
push eax
push 0x64
push dword [ebp + 0x1c]
push dword [ebp + 8]
call fcn.0044d720
jmp 0x44d6a7
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x10], 3
or edi, ecx
jmp 0x44d58e
mov dword [ebp - 0x10], 3
jmp 0x44d58b
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0x18]
test ecx, edi
jne 0x44d5af
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
jmp 0x44d6a7
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
je 0x44d5d4
push dword [ebp - 0x40]
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44d5d4
mov ecx, ebx
call fcn.0041b7c3
mov eax, dword [ebx + 0x94]
cmp dword [eax + 4], esi
jne 0x44d628
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
pop ecx
push dword [ebp - 0x40]
mov dword [ebx + 0x98], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x18]
inc ecx
add eax, ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
pop ecx
push dword [ebp - 0x24]
mov dword [ebp + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x18], esi
je 0x44d66a
push dword [ebp - 0x1c]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp + 0x1c]
mov eax, dword [ebx + 0x94]
push edi
mov edi, dword [ebp + 0x18]
push esi
push esi
push esi
push edi
push 0x488a00
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push edi
mov ebx, eax
call fcn.00443fbc
pop ecx
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x44d6a7
mov esi, ebx
lea ecx, [ebp - 0x50]
call fcn.0044d8b6
mov eax, esi
call fcn.00444220
ret 0x18
Function at 0x44d902
Capabilities:
Connect to http server
Parse url

Disassembly:
push 0x2a4
mov eax, 0x47d750
call fcn.00444285
mov esi, ecx
mov dword [ebp - 0x270], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2b0]
push 1
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x2b0], 0x3c
call fcn.0044dc77
mov edi, dword [esi + 0x3c]
lea ecx, [ebp - 0x2b0]
push 0x10000000
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x261], bl
call fcn.0044e456
test eax, eax
je 0x44daba
lea eax, [ebp - 0x2b0]
push eax
push 0x10000000
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x44daba
push 0x2c
call fcn.0044435c
mov dword [ebp - 0x268], eax
pop ecx
test eax, eax
je 0x44d99f
mov ecx, eax
call fcn.0041ad49
mov ebx, eax
mov dword [ebp - 0x26c], eax
jmp 0x44d9a5
mov dword [ebp - 0x26c], ebx
push 0x2c
call fcn.0044435c
mov dword [ebp - 0x268], eax
pop ecx
test eax, eax
je 0x44d9c2
mov ecx, eax
call fcn.0041ad49
mov edi, eax
jmp 0x44d9c4
xor edi, edi
push ebx
push 0x8000000
push 1
push dword [ebp - 0x28c]
push dword [ebp - 0x294]
push 0x15
push dword [ebp - 0x2a0]
push dword [esi + 0x30]
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
jne 0x44da04
mov edx, dword [ebx]
mov ecx, ebx
push eax
lea eax, [ebx + 0xc]
push eax
push dword [esi + 0x28]
call dword [edx + 8]
test al, al
je 0x44daac
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x268], eax
test eax, eax
je 0x44da23
push eax
call fcn.00454be3
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x44da27
xor eax, eax
jmp 0x44da48
lea esi, [eax + eax]
mov eax, esi
call fcn.00444390
mov eax, esp
push 3
push esi
push dword [ebp - 0x268]
push eax
call fcn.0044d498
mov esi, dword [ebp - 0x270]
push edi
push 0
push dword [ebp - 0x274]
push eax
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_FtpFindFirstFileA]
lea ebx, [edi + 0xc]
test eax, eax
jne 0x44da7a
mov eax, dword [edi]
mov ecx, edi
push 0
push ebx
push dword [esi + 0x28]
call dword [eax + 8]
mov byte [ebp - 0x261], 0
test al, al
je 0x44da81
mov byte [ebp - 0x261], 1
lea eax, [ebp - 0x260]
push eax
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetFindNextFileW]
test eax, eax
jne 0x44da81
mov eax, dword [edi]
mov ecx, edi
push 0
push ebx
push dword [esi + 0x28]
call dword [eax + 8]
test al, al
jne 0x44da81
mov ebx, dword [ebp - 0x26c]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
lea ecx, [ebp - 0x2b0]
call fcn.0044d8b6
mov al, byte [ebp - 0x261]
lea esp, [ebp - 0x2c0]
call fcn.00444234
ret 4
Function at 0x44decc
Capabilities:
Create http request
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x83c], eax
call fcn.0041b9a9
cmp eax, 1
jne 0x44dfd3
and dword [ebp - 0x82c], 0
lea eax, [ebp - 0x82c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44dfb9
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x834]
mov dword [ebp - 0x830], 4
push eax
push 0
push 0
push str.ProxyEnable
push dword [ebp - 0x82c]
call esi
mov ecx, dword [ebp - 0x834]
xor edx, edx
test eax, eax
mov dword [ebp - 0x830], 0x824
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x828]
cmovne ecx, edx
push eax
push edx
push edx
push str.AutoConfigURL
push dword [ebp - 0x82c]
mov dword [ebp - 0x834], ecx
call esi
movzx ecx, byte [ebp - 0x828]
xor edx, edx
mov esi, dword [ebp - 0x838]
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x828], cl
cmp dword [ebp - 0x82c], 0
je 0x44dfd3
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x44dfd3
push dword [ebp - 0x82c]
call eax
push dword [ebp - 0x83c]
push dword [ebp - 0x840]
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 4]
test eax, eax
mov dword [edi + 4], eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00443e8b
leave
ret 0x14
Function at 0x44e042
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x44e082
test byte [ebp - 4], 0x41
je 0x44e082
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x44e082
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x44e171
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x44e0af
push eax
cmp dword [ebx + 0x40], edi
je 0x44e09e
push str.Range:_bytes_d__r_n
jmp 0x44e0a3
push str.Range:_bytes_d_
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebx + 0x40], edi
je 0x44e0c0
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x44e12e
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x44e0f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44e11c
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x44e11c
and eax, 0xfffffeff
push ebx
mov dword [ebx + 0x50], eax
push eax
push dword [ebx + 0x44]
mov esi, dword [ebx + 0x30]
mov edi, dword [ebx]
call fcn.00454be3
pop ecx
push eax
push dword [ebx + 0x44]
mov ecx, ebx
push dword [ebx + 0x3c]
push esi
call dword [edi + 0x2c]
test eax, eax
je 0x44e0d5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
jmp 0x44e170
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
push dword [ebx + 0x28]
mov ecx, ebx
call dword [eax + 8]
jmp 0x44e170
cmp byte [ebp + 8], 0
je 0x44e16e
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.00454be3
pop ecx
push eax
push dword [ebx + 0x44]
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, dword [ebx]
mov ecx, ebx
test eax, eax
je 0x44e164
call dword [edx + 0x28]
jmp 0x44e170
push edi
push esi
push dword [ebx + 0x28]
call dword [edx + 8]
jmp 0x44e170
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x44e456
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call fcn.0044dc77
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x44e51f
inc dword [esi + 8]
xor ecx, ecx
mov eax, dword [esi + 8]
push ebx
push 2
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
inc dword [esi + 0x14]
xor ecx, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
inc dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
inc dword [esi + 0x28]
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x28]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
inc dword [esi + 0x30]
xor ecx, ecx
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
inc dword [esi + 0x38]
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x44e570
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 4
call fcn.0044e003
movzx edi, al
test al, al
je 0x44e5a7
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
jne 0x44e5b8
or ecx, 0xffffffff
jmp 0x44e5be
mov ecx, dword [esi + 0x48]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov ecx, esi
call fcn.0044d85b
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44e5d7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x5c]
lea edi, [esi + 0x54]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x6c]
xor ebx, ebx
cmp eax, 0x7530
jbe 0x44e625
mov eax, dword [esi + 0x60]
mov dword [edi], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 4]
jmp 0x44e62b
lea eax, [esi + 0x5c]
mov dword [ebp - 4], eax
mov ecx, dword [eax]
test ecx, ecx
jne 0x44e635
mov eax, dword [edi]
jmp 0x44e689
mov dword [ebp - 8], 0xa
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x44e687
mov ebx, dword [ebp - 8]
or eax, 0xffffffff
xor edx, edx
mov esi, dword [edi]
div ebx
cmp esi, eax
jbe 0x44e65e
mov eax, dword [ebp - 4]
shr esi, 1
shr ecx, 1
mov dword [edi], esi
mov dword [eax], ecx
imul esi, ebx
xor edx, edx
mov eax, esi
imul esi, dword [ebp - 8], 0xa
div ecx
xor edx, edx
imul eax, eax, 0x3e8
div dword [ebp - 8]
mov dword [ebp - 8], esi
mov ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 3
jb 0x44e63f
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44ea62
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.0044eadf
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x28
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0x28
lea eax, [ebp - 0x54]
push eax
lea esi, [ebx + 0x1c]
push esi
call fcn.00457cec
add esp, 0xc
push 8
push 1
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebx + 0x10]
push eax
push 0
push 0
push dword [ebx + 0x80]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00443e8b
leave
ret 4
Function at 0x450210
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47db8d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ab7b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
or esi, 0xffffffff
mov dword [ebp - 4], 0
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x4502cc
push edi
push edi
push edi
push 2
push edi
mov esi, ebx
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x4502cc
push 0
push 0
push 0
push 4
mov edi, eax
push eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4502cc
push dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.0044ffd0
cmp dword [sym.imp.KERNEL32.dll_UnmapViewOfFile], 0
mov bl, 1
je 0x4502ce
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x4502ce
xor bl, bl
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4502e7
test eax, eax
je 0x4502e7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x4502f7
test eax, eax
je 0x4502f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x469de0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x469e0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x469e0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x59b392
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 5], esi
mov si, 0xc4e3
xchg dword [esp + 7], ebp
stc
jmp 0x59b3af
neg cx
rdtsc
jmp 0x59b37c
push dword [esp + 7]
mov bp, ax
std
mov dword [esp + 7], esp
rdtsc
jmp 0x59b408
mov di, word [esp + 2]
mov al, ch
neg ax
lea edx, [esi*4]
jmp 0x59b399
xchg bp, ax
inc cl
mov dword [esp + 3], ecx
mov bx, word [esp + 7]
push word [esp + 8]
jmp 0x59b3d9
btc ecx, ecx
stc
lea ecx, [ebx + 0xef]
mov dh, byte [esp + 0x11]
mov ecx, ebx
rdtsc
jmp 0x59b3ef

Function at 0x59b6b1
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp], edi
pop edx
adc bp, 0xd0c4
rcl eax, 8
lea edx, [ebx + esi]
jmp 0x59b6ce

Function at 0x59be6d
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap edi
mov dh, 0x23
xchg bl, dh
jmp 0x59bed1
rdtsc
mov bx, word [esp + 1]
push word [esp]
rdtsc
add esp, 2
jmp 0x59bf4c
cmp bp, 0x6f05
shl ebp, cl
pop word [esp]
mov ch, dl
mov di, sp
push word [esp + 1]
jmp 0x59bebb
xchg word [esp + 1], bp
add esp, 3
rdtsc
xchg edx, ebx
bsr esi, ecx
jmp 0x59bf2d
not ah
mov cl, ah
setbe cl
push word [esp + 1]
mov ah, byte [esp + 3]
push dword [esp + 3]
jmp 0x59bf00
xchg dword [esp], eax
btr esi, edi
neg esi
stc
xchg word [esp], bp
mov ebx, dword [esp]
jmp 0x59bf7f
mov byte [esp + 2], dh
mov dx, 0xe2d1
mov eax, 0x91790391
mov ebp, 0xe9cc443f
mov si, word [esp + 1]
pop word [esp]
jmp 0x59bf17
mov dword [esp], eax
lea ebp, [ebp - 0xc2]
xchg word [esp + 1], dx
jmp 0x59bf92
pushfd
add esp, 6
push word [esp + 1]
mov ebx, dword [esp + 3]
mov edx, esi
mov ch, ah
jmp 0x59bf69
mov word [esp], bx
mov bp, dx
mov si, 0x613d
mov byte [esp + 1], dl
bsf di, ax
mov dword [esp], esp
jmp 0x59bfdd
sub esp, 0xe
push word [esp + 0xb]
lea eax, [edx + edi]
not eax
xchg di, bp
jmp 0x59c0dc
push word [esp + 2]
lea edi, reloc.kernel32.dll_GetACP
cld
cpuid
mov ebx, dword [esp + 2]
mov esi, 0xba1203d5
jmp 0x59bfc7
neg dl
pop ax
dec dx
pop edi
lea eax, [ecx + esi]
sub esp, 0xf
jmp 0x59c020
xchg bx, ax
cmc
push dword [esp + 9]
rdtsc
lea esp, [esp + 0xb]
mov cl, byte [esp + 5]
jmp 0x59bff6
mov ebp, dword [esp + 6]
add esp, 5
call fcn.0059c051
dec esp
outsd dx, dword [esi]
arpl word [ecx + 0x6c], sp
inc esi
jb 0x59c099
add byte gs:[ebp - 0x83db7c], cl
invalid
lea eax, [esp - 0x84]
pop word [esp + 8]
mov word [esp + 9], bx
dec di
mov dword [esp + 6], ecx
pop ax
jmp 0x59c00c
xchg word [esp + 0xd], bx
mov di, word [esp + 0x11]
lea edi, [edx*4]
ror ax, cl
bswap ecx
lea ecx, [eax*4]
jmp 0x59c036
pushfd
lea ecx, reloc.kernel32.dll_GetACP
lea ebx, [edi*4]
jmp 0x59c0c1
mov bx, word [esp]
lea edx, [ecx + 0x1b]
mov al, 0x69
rdtsc
lea ecx, [ebx + edi]
mov di, bp
jmp 0x59d15c
lea esp, [esp + 1]
btc di, si
lea ecx, [ecx + ebp]
xchg byte [esp + 6], dl
mov ebp, dword [esp + 1]
mov cx, 0xaef
jmp 0x59c07b
xchg si, ax
bsf bx, bx
bsr edx, esp
stc
lea edi, [ecx + ebp]
mov cx, word [esp]
jmp fcn.0059c983
Function at 0x59c051
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
bsr edx, edi
push dword [esp + 0x11]
pop dword [esp + 8]
jmp 0x59c064
mov byte [esp + 6], bh
pushal
xchg di, si
pushal
lea esp, [esp + 0x53]
mov ax, word [esp]
jmp 0x59c0b0
xchg dl, bl
shr dh, cl
sub esp, 0
mov dh, 0x2d
mov bp, 0xd49b
mov eax, ebx
jmp 0x59c09a
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x10708000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x1070800a
jmp 0x1070a00f
jmp fcn.1041b160
Function at 0x10727058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x107271a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1072707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1072706a
add dl, dl
jne 0x10727089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107270dc
xor eax, eax
add dl, dl
jne 0x10727096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1072717d
add dl, dl
jne 0x107270a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107270b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107270bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107270c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107270d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10727075
mov eax, 1
add dl, dl
jne 0x107270ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107270f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107270e1
sub eax, ebx
mov ebx, 1
jne 0x10727128
mov ecx, 1
add dl, dl
jne 0x1072710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10727119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10727105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10727075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1072713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1072714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10727136
cmp eax, 0x7d00
jae 0x1072716d
cmp eax, 0x500
jb 0x10727168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10727075
cmp eax, 0x7f
ja 0x10727170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10727075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1072719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10727075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10