joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0a80
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [0x53d2b4]
cmp dword [esp + 0x18], 2
jne 0x4d0aff
cmp dword [esp + 0xc], 5
jb 0x4d0aff
cmp dword [esp + 0x10], 1
jb 0x4d0aff
push esi
mov esi, dword [0x53d410]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x4a
call esi
test eax, eax
je 0x4d0af5
cmp dword [esp + 8], 1
jne 0x4d0af5
push 0
lea edx, [esp + 8]
push edx
push 0
push 0x200a
call esi
test eax, eax
je 0x4d0af5
cmp dword [esp + 4], 2
jne 0x4d0af5
mov eax, 1
pop esi
add esp, 0x9c
ret
xor eax, eax
pop esi
add esp, 0x9c
ret
xor al, al
add esp, 0x9c
ret

Function at 0x4d2aa0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x130
push esi
push 0x105
lea eax, [esp + 0x20]
mov esi, ecx
push eax
mov dword [0x563e4c], esi
call dword [0x53d1d4]
test eax, eax
je 0x4d2b3b
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 8]
call fcn.00435980
push 0x5c
lea ecx, [esp + 8]
call fcn.00434e00
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0x14]
call fcn.004359a0
push str.MacromedFlash_
lea ecx, [esp + 0x14]
call fcn.00435140
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0041c7c0
test al, al
jne 0x4d2b14
mov ecx, dword [esp + 4]
push ecx
mov ecx, esi
call fcn.0041c7c0
mov edx, dword [esp + 0x10]
push edx
call fcn.00435680
mov dword [esi + 0x860], eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00439d00
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00439d00
add esp, 0xc
push 0
call dword [0x53d0f8]
mov dword [esi + 0x890], eax
pop esi
add esp, 0x130
ret

Function at 0x4d2c60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
call fcn.004fc970
mov esi, dword [ebp + 8]
xor eax, eax
mov ecx, 0x22c
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esi + 0x8ac], eax
call fcn.0041bf60
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ebx, [esi + 0x884]
push eax
mov dword [ebx], 0
mov dword [esi + 0x888], 0
mov byte [esi + 0x880], 0
mov byte [esi + 0x88c], 0
mov dword [esp + 0x14], 0x94
call dword [0x53d2b4]
cmp dword [esp + 0x14], 5
ja 0x4d2d25
push 0
call dword [0x53d584]
test eax, eax
jl 0x4d2d25
push ebx
push 0x551470
push 3
push 0
push 0x551460
mov byte [esi + 0x88c], 1
call dword [0x53d58c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d2d25
mov ecx, dword [ebx]
lea edi, [esi + 0x888]
push edi
push 0x548404
push ebx
call dword [ecx]
cmp dword [edi], 0
je 0x4d2d25
mov byte [esi + 0x880], 1
add esi, 0x894
push esi
call dword [0x53d2d0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2e60
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 2
push eax
mov esi, ecx
call dword [0x53d4a0]
mov ebx, eax
test ebx, ebx
jl 0x4d2ecd
cmp ebx, 0xff
jg 0x4d2ecd
cmp ebx, 0x7f
jg 0x4d2ec6
push 0x14
call dword [0x53d4a8]
test al, 1
mov al, byte [esi + 9]
je 0x4d2eb6
test al, al
je 0x4d2ec6
push ebx
call fcn.00435d00
add esp, 4
test al, al
jne 0x4d2eba
push ebx
mov ecx, esi
call fcn.004d2d40
movzx ebx, al
pop esi
mov al, bl
pop ebx
ret 4
test al, al
jne 0x4d2ea4
movzx eax, bl
movzx ebx, byte [eax + 0x53ff38]
xor ebx, eax
pop esi
mov al, bl
pop ebx
ret 4
mov al, byte [esp + 0xc]
pop esi
pop ebx
ret 4
Function at 0x4d4140
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push eax
mov esi, ecx
call fcn.0043c990
xor ebx, ebx
push str.MacromediaMutexOmega
push 1
push ebx
mov dword [esi], 0x548b54
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call dword [0x53d1e0]
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x4d420f
push str.MacromediaFMOmega
push 0xfc10
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [0x53d1f0]
cmp eax, ebx
mov dword [esi + 0x24], eax
je 0x4d4205
call dword [0x53d26c]
mov ecx, dword [esi + 0x24]
push 0xfc10
push ebx
push ebx
push 0xf001f
cmp eax, 0xb7
push ecx
setne byte [esp + 0x20]
call dword [0x53d1ec]
cmp byte [esp + 0xc], bl
mov dword [esi + 4], eax
je 0x4d41f2
cmp eax, ebx
je 0x4d4205
mov dword [eax], 1
mov edx, dword [esi + 4]
mov dword [edx + 4], 1
mov eax, dword [esi + 4]
mov byte [eax + 0xa010], bl
mov ecx, dword [esi + 4]
mov dword [ecx + 0xc], ebx
mov edx, dword [esi + 4]
mov dword [edx + 8], ebx
jmp 0x4d4205
cmp eax, ebx
je 0x4d4205
cmp dword [eax], 1
je 0x4d4205
push eax
call dword [0x53d1e8]
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x20]
push eax
call dword [0x53d1e4]
cmp dword [esi + 4], ebx
jne 0x4d423d
mov eax, dword [esi + 0x24]
cmp eax, ebx
push edi
mov edi, dword [0x53d278]
je 0x4d4228
push eax
call edi
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4d4235
push eax
call edi
mov dword [esi + 0x20], ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x4d5270
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push eax
push 1
push 0
push str.HardwareDescriptionSystemCentralProcessor0
push 0x80000002
call dword [0x53d008]
test eax, eax
jne 0x4d52e7
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
push eax
push eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push str.MHz
push eax
mov dword [esp + 0x20], 4
call dword [0x53d004]
test eax, eax
jne 0x4d52dc
cmp dword [esp + 8], 4
jne 0x4d52dc
mov eax, dword [esp]
test eax, eax
jbe 0x4d52dc
mov ecx, dword [esp + 4]
push ecx
call dword [section..rdata]
mov eax, dword [esp]
add esp, 0xc
ret
mov edx, dword [esp + 4]
push edx
call dword [section..rdata]
mov eax, 0x1f4
add esp, 0xc
ret
Function at 0x4d6180
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [ecx + 0xc7c]
xor bl, bl
call dword [0x53d344]
cmp esi, eax
jne 0x4d61aa
mov eax, dword [esp + 0xc]
push eax
call dword [0x53d4a8]
test ax, ax
pop esi
setl al
pop ebx
ret 4
pop esi
mov al, bl
pop ebx
ret 4

Function at 0x4d7960
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x5646d4]
sub esp, 0x190
cmp eax, 1
jne 0x4d7977
add esp, 0x190
ret
cmp eax, 2
jne 0x4d7985
xor eax, eax
add esp, 0x190
ret
push esi
push str.WSOCK32.DLL
call dword [0x53d294]
mov esi, eax
test esi, esi
je 0x4d7ad8
push edi
mov edi, dword [0x53d298]
push str.WSACleanup
push esi
call edi
push str.WSAStartup
push esi
mov dword [0x564688], eax
call edi
push str.listen
push esi
mov dword [0x56468c], eax
call edi
push str.closesocket
push esi
mov dword [0x564690], eax
call edi
push str.bind
push esi
mov dword [0x564694], eax
call edi
push str.htons
push esi
mov dword [0x564698], eax
call edi
push str.htonl
push esi
mov dword [0x56469c], eax
call edi
push str.socket
push esi
mov dword [0x5646a0], eax
call edi
push str.WSAAsyncSelect
push esi
mov dword [0x5646a4], eax
call edi
push str.accept
push esi
mov dword [0x5646a8], eax
call edi
push str.WSAGetLastError
push esi
mov dword [0x5646ac], eax
call edi
push str.WSAAsyncGetHostByName
push esi
mov dword [0x5646b0], eax
call edi
push str.inet_addr
push esi
mov dword [0x5646b4], eax
call edi
push str.connect
push esi
mov dword [0x5646b8], eax
call edi
push str.send
push esi
mov dword [0x5646bc], eax
call edi
push str.sendto
push esi
mov dword [0x5646c0], eax
call edi
push str.recv
push esi
mov dword [0x5646c4], eax
call edi
push str.recvfrom
push esi
mov dword [0x5646c8], eax
call edi
push str.WSACancelAsyncRequest
push esi
mov dword [0x5646cc], eax
call edi
mov dword [0x5646d0], eax
lea eax, [esp + 8]
push eax
push 0x101
call dword [0x56468c]
test eax, eax
pop edi
jne 0x4d7ad8
mov ax, word [esp + 4]
cmp al, 1
jne 0x4d7ad2
cmp ah, al
jne 0x4d7ad2
mov dword [0x5646d4], 1
mov eax, 1
pop esi
add esp, 0x190
ret
call dword [0x564688]
mov dword [0x5646d4], 2
xor eax, eax
pop esi
add esp, 0x190
ret

Function at 0x4d7b30
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 1
jne 0x4d7b76
mov ecx, dword [esi]
push 1
lea eax, [esp + 0x1c]
push eax
push 0x20
push 0xffff
push ecx
call sub.WSOCK32.dll_setsockopt
test eax, eax
jne 0x4d7b76
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esi]
push 0
push ecx
push edx
push eax
call dword [0x5646c4]
pop esi
ret 0x14
xor eax, eax
pop esi
ret 0x14
Function at 0x4d8210
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
push edi
lea eax, [esp + 0x44]
mov edi, ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.0044ea50
add esp, 8
test al, al
je 0x4d83ba
mov edx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
push 1
push ebp
push edx
call fcn.0044ead0
mov esi, eax
xor ebx, ebx
add esp, 0xc
cmp esi, ebx
jne 0x4d8266
mov eax, dword [esp + 0x48]
push ebp
push eax
mov ecx, edi
call fcn.004d8170
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x30
ret 0x10
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
push edx
call dword [0x53d0d4]
xor ecx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ch, al
movzx edx, ah
movzx eax, byte [esp + 0x52]
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
call dword [0x53d094]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
mov ebp, eax
push ebp
push edx
call dword [0x53d0e4]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + 0x24]
push 1
push ecx
call dword [0x53d0d0]
mov dword [esp + 0x10], 0x28
mov edx, dword [esi + 0x10]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov eax, 1
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov eax, dword [esi + 8]
mov ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov cl, byte [eax + 6]
mov byte [esp + 0x3a], cl
mov dl, byte [eax + 5]
mov byte [esp + 0x39], dl
mov cl, byte [eax + 4]
mov byte [esp + 0x38], cl
mov byte [esp + 0x3b], bl
mov dl, byte [eax + 0xa]
mov byte [esp + 0x3e], dl
mov cl, byte [eax + 9]
mov byte [esp + 0x3d], cl
mov dl, byte [eax + 8]
mov ecx, esi
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3f], bl
call fcn.004624d0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
push 0xb8074a
push ebx
lea ebx, [esp + 0x18]
push ebx
mov ebx, dword [esi + 4]
push ebx
mov ebx, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x10]
push ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 4]
push 0
push 0
sub ebx, ecx
push ebx
sub eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x48]
push edx
mov edx, dword [ecx + 0x24]
push edx
call dword [0x53d0e8]
mov ecx, esi
call fcn.004624f0
mov ecx, esi
call fcn.00462640
push esi
call fcn.00439d00
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
add esp, 4
push eax
push edx
call dword [0x53d0e4]
push ebp
call dword [0x53d0e0]
mov eax, dword [esp + 0x44]
mov ecx, dword [edi + 0x48]
mov edx, dword [ecx + 0x24]
push eax
push edx
call dword [0x53d0d8]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x30
ret 0x10
Function at 0x4d9930
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push 0
mov ebx, ecx
call dword [0x53d388]
test eax, eax
mov eax, dword [ebx + 4]
je 0x4d9aaa
push esi
push edi
push eax
call fcn.00439d00
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, 5
mov dword [ebx + 4], 0
jle 0x4d9a31
push 0xd
call dword [0x53d384]
test eax, eax
je 0x4d9993
push 0xd
call dword [0x53d380]
mov esi, eax
test esi, esi
je 0x4d99bf
push esi
call dword [0x53d200]
push 0
push eax
call fcn.004b8350
add esp, 8
jmp 0x4d99b5
push 1
call dword [0x53d380]
mov esi, eax
test esi, esi
je 0x4d99bf
push esi
call dword [0x53d200]
push 0
push 6
push eax
call fcn.004b8440
add esp, 0xc
push esi
mov dword [ebx + 4], eax
call dword [0x53d1fc]
mov esi, dword [ebx + 4]
test esi, esi
je 0x4d9a9f
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d99d0
sub eax, edx
mov edi, eax
cmp byte [esi], 0
je 0x4d9a9f
lea ecx, [esp + 0x10]
push ecx
lea edx, [edi + esi]
push edx
push esi
call fcn.004b7d70
add esp, 0xc
cmp word [esp + 0x10], 0xd
jne 0x4d9a1b
cmp byte [esi], 0
mov eax, esi
je 0x4d9a16
mov cl, byte [eax + 1]
test cl, cl
je 0x4d9a16
mov byte [eax], cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4d9a05
mov byte [eax], 0
jmp 0x4d9a1d
add esi, eax
cmp byte [esi], 0
jne 0x4d99e4
call dword [0x53d37c]
mov eax, dword [ebx + 4]
pop edi
pop esi
pop ebx
ret 4
push 1
call dword [0x53d380]
mov esi, eax
test esi, esi
je 0x4d9a6a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d9a42
sub eax, edx
inc eax
push eax
call fcn.0052b380
add esp, 4
mov dword [ebx + 4], eax
mov ecx, esi
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4d9a60
mov edx, dword [ebx + 4]
test edx, edx
je 0x4d9a9f
mov al, byte [edx]
test al, al
je 0x4d9a9f
cmp al, 0xd
jne 0x4d9a98
cmp byte [edx], 0
mov eax, edx
je 0x4d9a93
mov cl, byte [eax + 1]
test cl, cl
je 0x4d9a93
mov byte [eax], cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4d9a82
mov byte [eax], 0
jmp 0x4d9a99
inc edx
mov al, byte [edx]
test al, al
jne 0x4d9a77
call dword [0x53d37c]
mov eax, dword [ebx + 4]
pop edi
pop esi
pop ebx
ret 4
Function at 0x4d9ab0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4d9c1c
cmp byte [esi], 0
je 0x4d9c1c
mov eax, dword [esp + 0xc]
push ebx
push ebp
push edi
xor ebx, ebx
xor edi, edi
cmp eax, 5
jle 0x4d9ba3
push esi
call fcn.004b8000
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x4d9c19
push ebp
call fcn.00421380
mov esi, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0x2002
call dword [0x53d15c]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x4d9b2e
push edi
call dword [0x53d200]
push ebp
push eax
call fcn.004b81c0
add esp, 8
push edi
call dword [0x53d1fc]
lea ebp, [esi + esi*2 + 1]
push ebp
call fcn.0052b380
mov edi, eax
add esp, 4
test edi, edi
je 0x4d9b90
mov ecx, dword [esp + 0x14]
push 0
push 0
push ebp
push edi
push esi
push ecx
push 0
push 0
call dword [0x53d1f8]
push ebp
push 0x2002
mov byte [eax + edi], 0
call dword [0x53d15c]
mov ebx, eax
test ebx, ebx
je 0x4d9b87
push ebx
mov esi, edi
call dword [0x53d200]
mov cl, byte [esi]
inc esi
mov byte [eax], cl
inc eax
test cl, cl
jne 0x4d9b76
push ebx
call dword [0x53d1fc]
push edi
call fcn.00439d00
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call fcn.00439d00
mov edi, dword [esp + 0x1c]
add esp, 4
jmp 0x4d9be1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d9ba8
sub eax, edx
inc eax
push eax
push 0x2002
call dword [0x53d15c]
mov ebx, eax
test ebx, ebx
je 0x4d9c19
push ebx
call dword [0x53d200]
jmp 0x4d9bd0
mov cl, byte [esi]
inc esi
mov byte [eax], cl
inc eax
test cl, cl
jne 0x4d9bd0
push ebx
call dword [0x53d1fc]
test ebx, ebx
jne 0x4d9be9
test edi, edi
je 0x4d9c19
push 0
call dword [0x53d388]
test eax, eax
je 0x4d9c19
call dword [0x53d390]
test edi, edi
mov esi, dword [0x53d38c]
je 0x4d9c0a
push edi
push 0xd
call esi
test ebx, ebx
je 0x4d9c13
push ebx
push 1
call esi
call dword [0x53d37c]
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x4d9c20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
xor esi, esi
push esi
mov ebx, ecx
call dword [0x53d388]
test eax, eax
je 0x4d9c5d
push edi
mov edi, dword [0x53d380]
push 1
call edi
test eax, eax
jne 0x4d9c51
push 0xd
call edi
test eax, eax
jne 0x4d9c51
mov eax, dword [ebx]
push eax
call edi
test eax, eax
je 0x4d9c56
mov esi, 1
call dword [0x53d37c]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4d9e50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x120
push esi
push edi
mov edi, dword [esp + 0x13c]
test edi, edi
jne 0x4d9f20
mov eax, dword [esp + 0x138]
test eax, eax
mov edi, dword [esp + 0x130]
push ebx
mov ebx, dword [esp + 0x130]
push ebp
mov ebp, dword [0x53d208]
mov dword [esp + 0x10], 0x114
mov byte [esp + 0x1c], 0
je 0x4d9ee9
lea eax, [esp + 0x18]
push eax
mov esi, 1
push esi
push 0
push edi
push ebx
call dword [0x53d008]
test eax, eax
jne 0x4d9ee9
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push edi
push ebx
call dword [0x53d004]
lea ecx, [esp + 0x1c]
push ecx
call ebp
test eax, eax
je 0x4d9eda
cmp dword [esp + 0x14], esi
jne 0x4d9eda
xor esi, esi
mov edx, dword [esp + 0x18]
push edx
call dword [section..rdata]
test esi, esi
je 0x4d9f10
mov esi, dword [esp + 0x13c]
push esi
call ebp
push eax
push esi
push 1
push edi
push ebx
call dword [0x53d01c]
test eax, eax
je 0x4d9f10
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x120
ret
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x120
ret
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [0x53d018]
test eax, eax
jne 0x4d9f83
mov esi, dword [esp + 0x134]
push esi
call dword [0x53d208]
inc eax
push eax
mov eax, dword [esp + 0xc]
push esi
push 1
push 0
push edi
push eax
call dword [0x53d014]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [section..rdata]
test eax, eax
jne 0x4d9f83
test esi, esi
jne 0x4d9f83
pop edi
mov eax, 1
pop esi
add esp, 0x120
ret
pop edi
xor eax, eax
pop esi
add esp, 0x120
ret
Function at 0x4da700
Capabilities:
Copy file
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
call fcn.004cb0e0
test al, al
je 0x4da7be
mov al, byte [esp + 0x234]
test al, al
je 0x4da762
mov eax, dword [esp + 0x230]
push ebx
push 6
push eax
call fcn.004b8440
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x4da815
push esi
call fcn.004b8000
mov edi, eax
push esi
mov dword [esp + 0x18], edi
call fcn.00439d00
add esp, 8
jmp 0x4da778
mov ecx, dword [esp + 0x230]
push ecx
call fcn.004b8000
add esp, 4
mov dword [esp + 0x10], eax
mov edi, eax
cmp edi, ebx
je 0x4da815
push 0x104
lea edx, [esp + 0x28]
push edx
push ebx
call dword [0x53d218]
push ebx
push edi
lea eax, [esp + 0x2c]
push eax
call dword [0x53d214]
test eax, eax
je 0x4da804
mov ecx, dword [esp + 0x10]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push ecx
call dword [0x53d194]
jmp 0x4da7fd
push 0x104
lea edx, [esp + 0x28]
push edx
push ebx
call dword [0x53d1d8]
mov esi, dword [esp + 0x230]
push ebx
push esi
lea eax, [esp + 0x2c]
push eax
call dword [0x53d210]
test eax, eax
je 0x4da815
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push esi
call dword [0x53d190]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4da824
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4da815
push eax
call fcn.00439d00
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret 8
push ebx
push esi
call dword [0x53d1b4]
push ebx
mov edi, eax
push ebx
mov ebx, dword [0x53d1b0]
lea ecx, [edi - 8]
push ecx
push esi
call ebx
push 0
lea edx, [esp + 0x18]
push edx
push 8
lea eax, [esp + 0x28]
push eax
push esi
mov dword [esp + 0x28], 0
call dword [0x53d198]
cmp dword [esp + 0x14], 8
jne 0x4da8ef
cmp dword [esp + 0x1c], 0xfa123456
jne 0x4da87c
mov edx, dword [esp + 0x20]
mov ecx, 0xfffffff8
sub ecx, edx
add edi, ecx
push 0
push 0
push edi
push esi
call ebx
mov eax, dword [ebp + 0x420]
mov ecx, dword [eax + 0x16c]
mov edi, dword [0x53d19c]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push esi
call edi
mov eax, dword [ebp + 0x420]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x16c]
jne 0x4da8ef
push 0
mov dword [esp + 0x20], 0xfa123456
mov edx, dword [eax + 0x16c]
lea eax, [esp + 0x18]
push eax
push 8
lea ecx, [esp + 0x28]
push ecx
push esi
mov dword [esp + 0x34], edx
call edi
cmp dword [esp + 0x14], 8
jne 0x4da8ef
push esi
call dword [0x53d20c]
mov edi, 1
jmp 0x4da8f3
mov edi, dword [esp + 0x18]
push esi
call dword [0x53d278]
test edi, edi
jne 0x4da922
call fcn.004cb0e0
test al, al
je 0x4da914
mov edx, dword [esp + 0x10]
push edx
call dword [0x53d174]
jmp 0x4da922
mov eax, dword [esp + 0x230]
push eax
call dword [0x53d170]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4da933
push eax
call fcn.00439d00
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret 8
Function at 0x4f9ba0
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
push esi
call dword [0x53d2c8]
mov eax, dword [esp + 0x20]
push eax
call fcn.00435570
mov ebp, eax
mov eax, dword [esi + 0x2c]
xor edi, edi
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], ebp
jne 0x4f9c3c
mov eax, dword [esi + 0x18]
cmp eax, edi
lea ebx, [esi + 0x18]
je 0x4f9bde
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx], edi
push edi
call dword [0x53d584]
lea edx, [esp + 0x20]
push edx
push 0x54a744
push 1
push edi
push 0x549e28
mov dword [esp + 0x34], edi
call dword [0x53d58c]
test eax, eax
jne 0x4f9c20
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edi
push ebx
push 0x549e18
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 8]
push edi
push str.999999
call fcn.00435570
add esp, 4
push eax
mov ecx, esi
call fcn.004f9b30
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov ebx, dword [esi + 0x20]
cmp ebx, dword [esi + 0x1c]
jge 0x4f9d42
mov eax, dword [esi + 0x2c]
dec eax
cmp ebp, eax
jle 0x4f9d42
mov dword [esp + 0x14], ebx
inc dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edi
call fcn.004f9b30
cmp eax, ebx
jne 0x4f9c8a
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push 0x54a6f4
push edi
push edi
push eax
call dword [edx + 0x20]
cmp dword [esp + 0x20], edi
je 0x4f9d1f
mov eax, dword [esi + 0x28]
cmp eax, edi
lea ebp, [esi + 0x28]
je 0x4f9ca8
mov edi, edi
mov ebp, dword [ebp]
cmp dword [ebp], edi
jne 0x4f9ca0
mov edx, dword [esi + 0x2c]
push 0xa
push edx
call fcn.00495630
push 0xa8
mov ebx, eax
call fcn.0052b380
add esp, 0xc
cmp eax, edi
je 0x4f9cd0
push ebx
mov ecx, eax
call fcn.004dcd60
mov edi, eax
push ebx
call fcn.00439d00
push 0x40
call fcn.0052b380
add esp, 8
test eax, eax
je 0x4f9cf7
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x24]
push ecx
push edi
push edx
mov ecx, eax
call fcn.004f9770
jmp 0x4f9cf9
xor eax, eax
push eax
mov ecx, edi
mov dword [ebp], eax
call fcn.004dd660
mov edi, dword [esi + 0x2c]
mov eax, dword [esp + 0x20]
inc edi
mov dword [esi + 0x2c], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor edi, edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4f9d2d
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp ebp, dword [esi + 0x2c]
jl 0x4f9d42
mov eax, dword [esi + 0x1c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x4f9c58
push esi
call dword [0x53d2c4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4fbc00
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x4fbc18
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push edi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea edi, [esi + 4]
push edi
push 0x20000013
push eax
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4fbca8
mov eax, dword [edi]
cmp eax, 0x197
je 0x4fbc84
cmp eax, 0x191
je 0x4fbc84
cmp eax, 0x12c
jb 0x4fbc6f
cmp eax, 0x190
jae 0x4fbc74
pop edi
mov ebx, 2
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret
cmp eax, 0x190
jbe 0x4fbca8
pop edi
mov ebx, 1
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0x14]
push ebx
push 7
push 0x2eee
push eax
call dword [0x53d430]
push eax
call dword [0x564734]
xor ebx, ebx
cmp eax, 0x2f00
sete bl
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret