joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ca8
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
xor ebx, ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [0x44fc58], 0xffffffff
mov dword [ebp + 8], eax
jne 0x430ce4
push ebx
push edi
push 0x450b74
call fcn.0042fda0
mov ebx, eax
test ebx, ebx
js 0x430d3c
xor ebx, ebx
jmp 0x430d3c
test eax, eax
je 0x430d3c
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub eax, esi
push eax
lea eax, [esi + edi]
push eax
push dword [0x44fc58]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x430d22
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x430d1c
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x430d2c
add esi, dword [ebp - 4]
cmp esi, dword [ebp + 8]
jb 0x430ce8
jmp 0x430d3c
push ebx
push 0x30d
push 0x44c94a
call fcn.004315ca
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x43128e
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push ebx
push esi
push edi
mov edi, dword [0x44fc60]
mov eax, 0x104
push eax
mov dword [ebp - 0x80], eax
xor ebx, ebx
lea eax, [ebp + 0x198]
push eax
push ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x208
test eax, eax
jne 0x4312f0
push esi
lea eax, [ebp + 0x198]
push ebx
push eax
call fcn.00408740
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x198]
push eax
call fcn.0043512c
test eax, eax
jns 0x43130e
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x431329
lea eax, [ebp - 0x70]
mov byte [eax], bl
inc eax
dec esi
jne 0x431323
push ebx
lea eax, [ebp - 0x74]
push eax
call fcn.00437262
push dword [ebp - 0x74]
xor esi, esi
push 0x44ca84
inc esi
push esi
call fcn.00431206
mov eax, dword [ebp - 0x7c]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [ebp - 0x78]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
lea eax, [ebp + 0x198]
push eax
push 0x44ca66
push esi
call fcn.00431206
lea eax, [ebp - 0x70]
push eax
push 0x44ca56
push esi
call fcn.00431206
mov eax, dword [0x44fc5c]
add esp, 0x34
sub eax, ebx
je 0x4313a8
dec eax
je 0x4313a0
dec eax
je 0x431398
dec eax
jne 0x4313ae
mov edi, dword [0x44fc6c]
jmp 0x4313ae
mov edi, dword [0x44fc68]
jmp 0x4313ae
mov edi, dword [0x44fc64]
jmp 0x4313ae
mov edi, dword [0x44fc70]
push edi
push 0x44ca3a
push esi
call fcn.00431206
add esp, 0xc
cmp dword [ebp - 0x74], ebx
pop edi
pop esi
pop ebx
je 0x4313cd
push dword [ebp - 0x74]
call fcn.0042ecb2
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
xor eax, eax
call fcn.004084b8
add ebp, 0x3a4
leave
ret
Function at 0x431708
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00408740
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4317a0
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x20e]
je 0x431777
push 1
push 0x44c8f6
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.004316ba
mov edi, eax
test edi, edi
js 0x4317bf
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043167a
mov edi, eax
test edi, edi
js 0x4317bf
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
jne 0x4317bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4317b4
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x4317bf
mov edi, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004084b8
leave
ret 8
Function at 0x4342c8
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push edi
push 0x44cd24
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
cmp edi, ebx
jne 0x434342
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x434305
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x434310
mov edi, 0x80004005
push edi
push 0x8d
push 0x44ccd6
call fcn.004315ca
mov eax, dword [ebp - 8]
test eax, eax
je 0x43432d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43433a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop ebx
leave
ret 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44c822
push edi
call esi
test eax, eax
je 0x434394
push 0x44c832
push edi
call esi
push 0x44cd06
push edi
mov ebx, eax
call esi
push 0x44c852
push edi
mov dword [ebp - 0xc], eax
call esi
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x434383
cmp dword [ebp - 0xc], 0
je 0x434383
test eax, eax
jne 0x434387
xor ebx, ebx
jmp 0x434394
lea eax, [ebp - 0x10]
push eax
call ebx
push 1
call dword [ebp - 0xc]
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x4026f0
push 1
push 0
mov esi, 0x450c2c
push esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x434430
push 0x10
push 0x4026e0
push esi
call fcn.00409248
add esp, 0xc
test eax, eax
je 0x4343db
push 0x10
push 0x4026d0
push esi
call fcn.00409248
add esp, 0xc
test eax, eax
jne 0x4343e5
mov dword [0x450c48], 1
cmp dword [ebp + 8], 0
je 0x434414
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00434042
mov edi, eax
test edi, edi
js 0x434430
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0
push dword [ebp - 8]
push eax
call dword [ecx + 0x54]
mov edi, eax
test edi, edi
js 0x434430
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x434430
mov ecx, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [eax], ecx
pop esi
test ebx, ebx
je 0x434320
push dword [ebp - 0x10]
call dword [ebp - 0x14]
test eax, eax
jne 0x434320
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x434946
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x120
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
mov ebx, dword [ebp + 0x7c]
push edi
mov edi, dword [ebp + 0x78]
push 0x11c
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.00408740
add esp, 0xc
cmp dword [0x450c50], 0
jne 0x434a57
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0xb0], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, word [ebp + 0x64]
movzx ecx, word [ebp + 0x66]
shl eax, 0x10
or eax, ecx
cmp dword [ebp - 0xac], 4
mov dword [0x450c54], eax
jne 0x4349c9
mov dword [0x450c50], 1
jmp 0x434a57
cmp dword [ebp - 0xac], 5
jne 0x434a16
cmp dword [ebp - 0xa8], 0
jne 0x4349e7
mov dword [0x450c50], 2
jmp 0x434a57
cmp dword [ebp - 0xa8], 1
jne 0x4349fc
mov dword [0x450c50], 3
jmp 0x434a57
xor eax, eax
cmp dword [ebp - 0xa8], 2
setne al
dec eax
and eax, 0xfffffffb
add eax, 9
mov dword [0x450c50], eax
jmp 0x434a57
cmp dword [ebp - 0xac], 6
jne 0x434a4d
cmp dword [ebp - 0xa8], 0
jne 0x434a36
xor eax, eax
cmp byte [ebp + 0x6a], 1
setne al
add eax, 5
jmp 0x434a0f
cmp dword [ebp - 0xa8], 1
jne 0x434a4d
xor eax, eax
cmp byte [ebp + 0x6a], 1
setne al
add eax, 7
jmp 0x434a0f
mov dword [0x450c50], 9
mov eax, dword [0x450c50]
mov ecx, dword [ebp + 0x6c]
mov dword [edi], eax
mov eax, dword [0x450c54]
pop edi
mov dword [ebx], eax
xor ecx, ebp
pop ebx
call fcn.004084b8
add ebp, 0x70
leave
ret 8

Function at 0x434af8
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
mov dword [ebp - 0x10], ebx
call fcn.00434a78
cmp dword [ebp - 0x14], ebx
je 0x434b36
mov dword [esi], 1
jmp 0x434b6a
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esi], eax
cmp eax, ebx
je 0x434b6a
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x434b6a
mov dword [esi], ebx
cmp dword [ebp - 0x10], ebx
pop esi
pop ebx
je 0x434b79
push dword [ebp - 0x10]
call fcn.00436518
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004084b8
leave
ret 4
Function at 0x434c3a
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
and dword [ebp - 4], edi
xor esi, esi
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x434c82
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x434c7c
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x434c8c
add esi, dword [ebp - 4]
cmp esi, dword [ebp + 0x10]
jb 0x434c49
jmp 0x434c9c
push edi
push 0x34e
push 0x44cdd2
call fcn.004315ca
mov eax, edi
pop edi
pop esi
leave
ret 0xc

Function at 0x434de0
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor eax, eax
xor esi, esi
xor edi, edi
cmp dword [ebp + 0x10], esi
sete al
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x434ebb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x10], esi
jne 0x434e29
cmp eax, 0x50
je 0x434e21
cmp eax, 0xb7
jne 0x434e29
xor edi, edi
inc edi
jmp 0x434ebb
cmp eax, 3
jne 0x434eab
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x434ea4
cmp ax, 0x5c
jne 0x434e40
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x434e38
test esi, esi
je 0x434ea4
xor eax, eax
push eax
push ebx
mov word [esi], ax
call fcn.004357ec
mov edi, eax
push 0x5c
pop eax
mov word [esi], ax
test edi, edi
js 0x434ebb
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x434ebb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x434e8c
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jns 0x434ebb
push edi
push 0x3b3
push 0x44cdd2
call fcn.004315ca
jmp 0x434ebb
mov edi, 0x80070003
jmp 0x434ebb
cmp eax, esi
jle 0x434eb9
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x434f18
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x10], esi
je 0x434f34
mov dword [ebp - 4], 1
cmp dword [ebp + 0x14], esi
je 0x434f3d
or dword [ebp - 4], 2
push dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x435006
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x10], esi
jne 0x434f74
cmp eax, 0x50
je 0x434f6c
cmp eax, 0xb7
jne 0x434f74
xor edi, edi
inc edi
jmp 0x435006
cmp eax, 3
jne 0x434ff6
movzx eax, word [ebx]
mov ecx, ebx
test ax, ax
je 0x434fef
cmp ax, 0x5c
jne 0x434f8b
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x434f83
test esi, esi
je 0x434fef
xor eax, eax
push eax
push ebx
mov word [esi], ax
call fcn.004357ec
mov edi, eax
push 0x5c
pop eax
mov word [esi], ax
test edi, edi
js 0x435006
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x435006
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x434fd7
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jns 0x435006
push edi
push 0x426
push 0x44cdd2
call fcn.004315ca
jmp 0x435006
mov edi, 0x80070003
jmp 0x435006
cmp eax, esi
jle 0x435004
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x43506c
Capabilities:
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
xor ebx, ebx
call fcn.00434bc4
test eax, eax
je 0x4350fc
test byte [ebp - 4], 7
push esi
push edi
mov edi, 0xffff
mov esi, 0x80070000
je 0x4350c9
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4350c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4350bb
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jns 0x4350c9
push ebx
push 0x51b
jmp 0x4350f0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4350fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4350e4
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jns 0x4350fa
push ebx
push 0x521
push 0x44cdd2
call fcn.004315ca
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x43512c
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
mov ebx, 0xffff
mov edi, 0x80070000
test eax, eax
jne 0x435188
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43516d
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jns 0x435188
push esi
push 0x118
push 0x44cdd2
call fcn.004315ca
jmp 0x435231
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4351a7
mov esi, 0x8007000e
push esi
push 0x11c
jmp 0x435179
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4351d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4351c8
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jns 0x4351d6
push esi
push 0x120
jmp 0x435209
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x44c8f6
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x435215
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4351fd
and eax, ebx
or eax, edi
mov esi, eax
test esi, esi
jns 0x435215
push esi
push 0x125
push 0x44cdd2
call fcn.004315ca
jmp 0x435228
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4357c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push esi
push dword [esp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4357e5
test al, 0x10
je 0x4357e5
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4357e2
mov dword [ecx], eax
xor esi, esi
inc esi
mov eax, esi
pop esi
ret 8

Function at 0x4357ec
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push ebp
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4358b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4358b3
cmp eax, 3
je 0x435830
push esi
push ebx
call fcn.004357c0
test eax, eax
jne 0x4358b3
movzx eax, word [ebx]
push edi
xor edi, edi
mov ecx, ebx
test ax, ax
je 0x435854
cmp ax, 0x5c
jne 0x435845
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x43583d
test edi, edi
jne 0x435868
mov esi, 0x80070003
push esi
push 0x7a
push 0x44ce04
call fcn.004315ca
jmp 0x4358b2
push ebp
xor eax, eax
push ebx
mov word [edi], ax
call fcn.004357ec
mov esi, eax
push 0x5c
pop eax
mov word [edi], ax
test esi, esi
js 0x4358b2
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4358b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43589e
xor esi, esi
inc esi
jmp 0x4358b2
test eax, eax
jle 0x4358ac
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x4358b2
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x436c32
Capabilities:
Get http content length

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x20000005
push dword [ebp + 8]
mov dword [ebp - 4], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x436c86
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x436c71
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jns 0x436c86
push esi
push 0x20
push 0x44cfc6
call fcn.004315ca
jmp 0x436c92
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x10002150
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10054054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0x288
mov dword [ebp - 0xc], edi
push 0x12
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.1002ac22
mov esi, eax
push 0x288
mov dword [ebp - 0xc], esi
call fcn.1002ac22
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100021c7
push esi
call fcn.10029b8b
add esp, 4
mov dword [edi + 0x10], ebx
xor ecx, ecx
mov dword [edi + 0x14], ebx
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100021b6
sub ecx, edx
push ecx
push 0
jmp 0x100022cb
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10002221
push ebx
call fcn.10029b8b
push dword [ebp - 8]
call fcn.1002ac22
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10002221
push esi
call fcn.10029b8b
add esp, 4
mov dword [edi + 0x10], ebx
xor ecx, ecx
mov dword [edi + 0x14], ebx
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002210
sub ecx, edx
push ecx
push 0
jmp 0x100022cb
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1000228a
mov edi, dword [ebp - 0xc]
mov esi, ebx
nop word [eax + eax]
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push edi
call fcn.100011f0
mov esi, dword [esi]
add esp, 0x20
test esi, esi
jne 0x10002240
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
push ebx
call fcn.10029b8b
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
add esp, 4
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100022c0
sub ecx, edx
push ecx
push esi
mov ecx, edi
call fcn.1001e410
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021451
mov esp, ebp
pop ebp
ret