joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa84088
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0xac62f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xd66
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
sete al
lea ecx, [ebp - 0x18]
mov byte [esi + 0x30], al
call fcn.00409d70
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.00410ef0
lea ecx, [ebp - 0x18]
call fcn.0040af80
lea ecx, [ebp - 0x18]
call fcn.0040af30
lea eax, [ebp - 0x18]
push eax
call fcn.0040fc40
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0xc]
call fcn.00409e60
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x18]
call fcn.009fe809
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432ab0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa85653
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xac62f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi], vtable.CExtractDialog.0
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
call fcn.00409d70
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00409d70
mov word [esi + 0x24], 0
mov word [esi + 0x30], 0
mov byte [esi + 0x30], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x471e80
Capabilities:
Access peb ldr_data
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa85ceb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0xac62f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
push 0
push 0xa88958
mov dword [ebp - 4], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0042e470
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x471f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa85d5a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0xac62f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.00a2970e
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x471fc6
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], str.bad_locale_name
call fcn.00a01d7b
push 0xac0024
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::runtime_error.0
call fcn.009fe817
push edi
push esi
call fcn.00a29c10
add esp, 8
mov eax, esi
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.009fe024
mov esp, ebp
pop ebp
ret 4
Function at 0x4a750a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
push esi
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [eax]
mov dword [ebp - 4], edx
xor esi, esi
test eax, eax
jle 0x4a7543
mov ebx, dword [ebp + 0xc]
add ebx, edx
mov edx, dword [ebp - 8]
mov al, byte [ebx]
mov ecx, dword [edi]
lea ebx, [ebx + 4]
xor byte [ecx + esi], al
mov eax, dword [edx]
inc esi
cmp esi, eax
jl 0x4a752f
mov edx, dword [ebp - 4]
inc edx
add edi, 4
mov dword [ebp - 4], edx
cmp edx, 4
jl 0x4a7521
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4a7b59
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0xac62f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x54], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov al, byte [ebp + 0x14]
lea ebx, [edi + 0x64]
push ebx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x50], al
call fcn.009fe80e
push ebx
push 0
push eax
mov dword [ebp - 0x40], eax
call fcn.009fe1e0
push edi
push esi
push dword [ebp - 0x40]
call fcn.009fd9e0
add esp, 0x1c
mov eax, edi
test edi, edi
je 0x4a7bb7
mov byte [esi], 0
inc esi
dec eax
jne 0x4a7bb0
mov esi, dword [ebp - 0x40]
xor eax, eax
push 8
pop ecx
push dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], eax
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x3c]
add eax, 0xf
and eax, 0xfffffff0
push eax
push esi
mov dword [ebp - 0x16], 0x36433442
mov word [ebp - 0xe], 0x4441
mov dword [ebp - 0x12], 0x42304134
mov dword [ebp - 0x23], 0x45384545
mov dword [ebp - 0xb], 0x323945
mov word [ebp - 0x25], 0x3441
mov word [ebp - 0x28], 0x4642
mov dword [ebp - 0x1c], 0x37454234
mov word [ebp - 0x1e], 0x3339
mov byte [ebp - 0x1f], 0x46
mov byte [ebp - 0x26], 0x45
mov word [ebp - 0x18], 0x3241
mov byte [ebp - 0xc], 0x31
call fcn.004a76a4
mov dword [ebp - 0x3c], eax
mov edx, esi
test ebx, ebx
je 0x4a7c52
mov byte [edx], 0
inc edx
dec ebx
jne 0x4a7c4b
push dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
push eax
push edi
call fcn.004a7d25
push esi
call fcn.009fe809
push dword [ebp - 0x3c]
call fcn.009fe809
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009fe024
leave
ret 0x10

Function at 0x4a7c85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4a7cac
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
sub esi, ecx
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
dec edx
jne 0x4a7c9e
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x4a7cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push 4
sub edx, ecx
sub esi, ecx
pop edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
dec edi
jne 0x4a7cc5
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4a7d25
Capabilities:
Encode data using base64

Disassembly:
push 0x74
mov eax, 0xa86250
call fcn.00a0205c
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x53]
push eax
mov dword [ebp - 0x7c], ebx
call fcn.009fe1e0
add esp, 0xc
xor ecx, ecx
lea eax, [ecx + 0x41]
mov byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 0x1a
jl 0x4a7d50
xor ecx, ecx
lea eax, [ecx + 0x61]
mov byte [ebp + ecx - 0x3a], al
inc ecx
cmp ecx, 0x1a
jl 0x4a7d5f
xor ecx, ecx
lea eax, [ecx + 0x30]
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jl 0x4a7d6e
and dword [ebp - 0x5c], 0
mov word [ebp - 0x16], 0x2f2b
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
and dword [ebp - 4], 0
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4a7ecb
mov ebx, dword [ebp + 0x10]
push 3
pop edi
mov ecx, dword [ebp + 0xc]
dec ebx
mov al, byte [ecx]
mov byte [ebp + esi - 0x74], al
mov dl, byte [ebp - 0x73]
inc esi
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x72]
mov cl, byte [ebp - 0x74]
mov byte [ebp - 0x76], ch
mov byte [ebp - 0x75], dl
mov byte [ebp - 0x77], cl
cmp esi, edi
jne 0x4a7e23
mov al, cl
shr al, 2
mov byte [ebp - 0x70], al
and cl, 3
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov byte [ebp - 0x6f], cl
mov cl, dl
and cl, 0xf
mov al, ch
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x6e], cl
mov byte [ebp - 0x6d], al
xor esi, esi
movzx eax, byte [ebp + esi - 0x70]
lea ecx, [ebp - 0x6c]
movzx eax, byte [ebp + eax - 0x54]
push eax
push 1
call fcn.00472f70
inc esi
cmp esi, 4
jl 0x4a7dfd
mov dl, byte [ebp - 0x75]
mov cl, byte [ebp - 0x77]
mov ch, byte [ebp - 0x76]
xor esi, esi
test ebx, ebx
jne 0x4a7da5
mov ebx, dword [ebp - 0x7c]
test esi, esi
je 0x4a7ecb
mov eax, esi
cmp esi, edi
jge 0x4a7e57
cmp eax, edi
jae 0x4a7ef6
mov byte [ebp + eax - 0x74], 0
inc eax
cmp eax, edi
jl 0x4a7e3e
mov ch, byte [ebp - 0x72]
mov dl, byte [ebp - 0x73]
mov cl, byte [ebp - 0x74]
and dword [ebp - 0x74], 0
mov al, cl
shr al, 2
mov byte [ebp - 0x70], al
mov al, dl
and cl, 3
shr al, 4
shl cl, 4
add cl, al
and dl, 0xf
mov al, ch
shr al, 6
shl dl, 2
add dl, al
and ch, 0x3f
lea eax, [esi + 1]
mov byte [ebp - 0x6f], cl
mov byte [ebp - 0x6e], dl
mov byte [ebp - 0x6d], ch
test eax, eax
jle 0x4a7eb6
mov ebx, dword [ebp - 0x74]
lea edi, [esi + 1]
movzx eax, byte [ebp + ebx - 0x70]
lea ecx, [ebp - 0x6c]
movzx eax, byte [ebp + eax - 0x54]
push eax
push 1
call fcn.00472f70
inc ebx
cmp ebx, edi
jl 0x4a7e96
mov ebx, dword [ebp - 0x7c]
push 3
pop edi
cmp esi, edi
jge 0x4a7ecb
sub edi, esi
push 0x3d
push 1
lea ecx, [ebp - 0x6c]
call fcn.00472f70
dec edi
jne 0x4a7ebc
and dword [ebx + 0x10], 0
lea eax, [ebp - 0x6c]
mov dword [ebx + 0x14], 0xf
push eax
mov ecx, ebx
mov byte [ebx], 0
call fcn.004a7cd7
lea ecx, [ebp - 0x6c]
call fcn.0042cda0
mov eax, ebx
call fcn.00a0200b
ret 0xc
call fcn.009fee3e
int3
Function at 0x50d810
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0xac62f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 3
push ecx
push eax
or esi, 0xffffffff
call dword [ebx + 0xc0]
mov edi, eax
cmp edi, esi
je 0x50d86a
xor ecx, ecx
push ecx
lea eax, [ebp - 8]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push ecx
push ecx
push 0x2d1080
push edi
call dword [ebx + 0xb0]
test eax, eax
cmovne esi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.009fe024
leave
ret 4
Function at 0x531113
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0xa0f889
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xac62f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00a03f76
mov dword [ebp - 0x14], eax
cmp dword [0xacbf2c], edi
jne 0xa0f97a
push 0x800
push edi
push 0xaa476c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0xa0f907
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0xa0fa5a
push 0xaa476c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0xa0fa5a
push 0xaa4784
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0xa0fa5a
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0xacbf2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0xacbf30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0xacbf34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xacbf3c], eax
test eax, eax
je 0xa0f977
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xacbf38], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0xa0f99f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0xa0f992
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0xa0f9b4
push 4
pop eax
jmp 0xa0fa5c
cmp dword [ebp - 0x14], edi
je 0xa0f9b4
push dword [0xacbf2c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0xa0f999
mov eax, dword [0xacbf38]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0xa0fa12
cmp dword [0xacbf3c], esi
je 0xa0fa12
push eax
call ebx
push dword [0xacbf3c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0xa0fa12
test eax, eax
je 0xa0fa12
call ecx
test eax, eax
je 0xa0fa07
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0xa0fa07
test byte [ebp - 8], 1
jne 0xa0fa12
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0xa0fa42
mov eax, dword [0xacbf30]
cmp eax, esi
je 0xa0fa3f
push eax
call ebx
test eax, eax
je 0xa0fa3f
call eax
mov edi, eax
test edi, edi
je 0xa0fa3f
mov eax, dword [0xacbf34]
cmp eax, esi
je 0xa0fa3f
push eax
call ebx
test eax, eax
je 0xa0fa3f
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0xacbf2c]
call ebx
test eax, eax
je 0xa0fa5a
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0xa0fa5c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009fe024
leave
ret
Function at 0xa12d89
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00a03ab2
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0xa12dc1
xor eax, eax
jmp 0xa12ded
cmp esi, dword [ebp - 4]
je 0xa12dea
cmp dword [ebp + 0xc], 0
je 0xa12dea
push dword [edi + 0x9c]
call fcn.00a12997
push dword [edi + 0x9c]
mov esi, eax
call fcn.00a0f870
pop ecx
pop ecx
cmp esi, eax
je 0xa12dbd
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0xa32e90
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + eax]
mov ebx, 0x1505
cmp esi, edi
jae 0xa32ec6
mov al, byte [esi]
push eax
call fcn.00a41460
movsx ecx, al
mov eax, ebx
shl eax, 5
add eax, ebx
xor ecx, eax
inc esi
add esp, 4
mov ebx, ecx
cmp esi, edi
jb 0xa32ea8
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0xa3d9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x78c], 0
je 0xa3da46
cmp dword [edi + 0x1c4], 0
je 0xa3da10
push esi
push edi
call fcn.00a2e6e0
push 1
push edi
mov esi, eax
call fcn.00a2e930
push dword [edi + 0x174]
mov eax, dword [edi + 0x1c4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push esi
push edi
call fcn.00a2e930
add esp, 0x28
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0xa3da46
push dword [edi + 0x170]
lea eax, [eax + eax*2]
push 1
add eax, 0xaabb44
push 2
push eax
call fcn.00a7c48f
push dword [edi + 0x170]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00a7c48f
add esp, 0x20
pop edi
pop ebp
ret

Function at 0xa3f900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0xa3f920
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0xaabd5c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0xaabd6c
push esi
mov dword [ebp - 8], ebx
call fcn.00a120ba
add esp, 8
test eax, eax
je 0xa3f96c
test ebx, ebx
je 0xa3f95c
push 8
push 0
push esi
call ebx
pop esi
pop ebx
mov edi, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
pop ebx
mov edi, eax
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0xa3f995
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0xa3f995
push 0x800
push 0
push esi
call ebx
pop esi
pop ebx
mov edi, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0xa3fa72
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xa3f9b1
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0xac87a8]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0xa3fa68
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0xa3fa68
mov edx, ebx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0xa3f9f5
sub edx, ecx
sar edx, 1
mov ecx, 0xa8a3a4
lea edx, [ebx + edx*2]
sub edx, ecx
mov edi, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0xa3fa10
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xa3fa24
sub ecx, edx
sar ecx, 1
lea ecx, [ebx + ecx*2]
sub ecx, esi
jmp 0xa3fa40
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0xa3fa40
mov eax, dword [ebp - 8]
test eax, eax
je 0xa3fa5f
push 8
push 0
push ebx
call eax
jmp 0xa3fa66
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0xac87ac]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0xa3fac0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0xac62f0]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0xa3fb19
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0xa3fb06
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0xa3fb00
shr eax, 8
cmp al, 2
je 0xa3fb19
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009fe024
mov esp, ebp
pop ebp
ret
call fcn.00a6f160
test eax, eax
jne 0xa3fb7f
push str.iphlpapi.dll
call fcn.00a3f900
add esp, 4
mov dword [0xace4e8], eax
test eax, eax
je 0xa3fb55
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0xace4e4]
test eax, eax
cmovne ecx, eax
mov dword [0xace4e4], ecx
push 3
push 2
push 0
push 0
push 6
call fcn.00a6ecf0
add esp, 0x14
neg eax
sbb eax, eax
neg eax
push 0xad16b0
mov dword [0xad16ac], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009fe024
mov esp, ebp
pop ebp
ret

Function at 0xa44640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0xa4465e
cmp dword [esi + 0x78], 0
je 0xa4465e
push 2
push 3
push esi
call fcn.00a41bd0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00a440d0
add esp, 4
test esi, esi
je 0xa4467e
cmp dword [esi + 0x78], 0
je 0xa4467e
push 3
push esi
call fcn.00a41c10
add esp, 8
pop esi
pop ebp
ret
Function at 0xa4cd00
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0xa4cd1b
cmp dword [edi], 0
jne 0xa4cd2d
test esi, esi
je 0xa4cd24
cmp dword [esi], 0
jne 0xa4cd2d
test ebx, ebx
je 0xa4cd76
cmp dword [ebx], 0
je 0xa4cd76
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebp + 0x18]
push eax
call fcn.00a73570
add esp, 0xc
test ebx, ebx
je 0xa4cd48
cmp dword [ebx], 0
jne 0xa4cd4a
xor ebx, ebx
test esi, esi
je 0xa4cd53
cmp dword [esi], 0
jne 0xa4cd55
xor esi, esi
test edi, edi
je 0xa4cd5e
cmp dword [edi], 0
jne 0xa4cd60
xor edi, edi
push eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.00a4ccb0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xa50220
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00a337f0
movq xmm0, qword [eax]
push dword [ebp + 8]
movq qword [ebp - 8], xmm0
movq xmm0, qword [eax + 8]
movq qword [ebp - 0x10], xmm0
call fcn.00a4e460
push dword [ebp + 0xc]
mov edi, eax
call fcn.00a4e460
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0xa502cf
lea esp, [esp]
lea eax, [ebp - 0x28]
push eax
call fcn.00a337f0
movq xmm0, qword [ebp - 8]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ecx + 8], xmm0
movq xmm0, qword [eax]
mov ecx, esp
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
call fcn.00a33890
add esp, 0x20
test edx, edx
ja 0xa502f2
jb 0xa502bd
cmp eax, 0x3e8
ja 0xa502f2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push edi
call ebx
test eax, eax
je 0xa50270
test edi, edi
je 0xa502dc
push edi
call fcn.009fe033
add esp, 4
test esi, esi
je 0xa502e9
push esi
call fcn.009fe033
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0xa502ff
push edi
call fcn.009fe033
add esp, 4
test esi, esi
je 0xa5030c
push esi
call fcn.009fe033
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret