joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439750
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
sub esp, 0x28
lea edi, [esp]
mov esi, 0x4c7620
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4f5eb4]
mov dword [esp + 0x10], eax
cmp dword [0x4ed434], 0
je 0x439781
mov eax, 1
add esp, 0x28
pop edi
pop esi
ret
push str.wsock32.dll
call dword [0x4ea6fc]
mov dword [0x4ed430], eax
test eax, eax
jne 0x4397a0
xor eax, eax
add esp, 0x28
pop edi
pop esi
ret
push str.WSAStartup
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed440], eax
push str.WSACleanup
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed43c], eax
push str.socket
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed444], eax
push str.closesocket
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed44c], eax
push str.inet_addr
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed450], eax
push str.connect
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed454], eax
push 0x4c76ca
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed448], eax
push str.send
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed45c], eax
push str.recv
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed460], eax
push str.ioctlsocket
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed464], eax
push str.gethostbyname
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed46c], eax
push str.WSAAsyncSelect
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed468], eax
push str.WSAGetLastError
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed458], eax
push str.accept
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed470], eax
push str.listen
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed474], eax
push str.getsockname
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed478], eax
push str.gethostname
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed47c], eax
push str.setsockopt
mov eax, dword [0x4ed430]
push eax
call dword [0x4ea700]
mov dword [0x4ed480], eax
lea eax, [esp]
push eax
call dword [0x4ea948]
push 0x4ed484
push 0x101
call dword [0x4ed440]
mov eax, 1
add esp, 0x28
pop edi
pop esi
ret

Function at 0x43b580
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 8
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00444aa0
pop ecx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jge 0x43b598
xor ecx, ecx
lea eax, [esp + 4]
push eax
push 0
push ebx
push 0x43b550
push ecx
push 0
call dword [0x4ea7b4]
mov eax, dword [esp + 4]
add esp, 8
pop ebx
ret
Function at 0x43b7f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x43b851
call fcn.00498490
test al, al
je 0x43b851
push 0
push ebx
call dword [0x4ea90c]
test eax, eax
je 0x43b851
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x43b851
cmp byte [eax + 0x65], 0
jne 0x43b851
call fcn.0045bf00
test eax, eax
je 0x43b837
push 0
push 0x4c7b80
call dword [0x4ea9d0]
jmp 0x43b844
push 0
push 0x4c7a8c
call dword [0x4ea9d4]
test eax, eax
je 0x43b851
push 0
push eax
call dword [0x4ea900]
pop ebx
ret

Function at 0x43bed0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, edx
sub eax, 0x2b
je 0x43c070
sub eax, 0x23
je 0x43c048
sub eax, 0xc3
je 0x43bf14
sub eax, 3
je 0x43bff0
sub eax, 1
je 0x43c020
jmp 0x43c0a0
mov eax, ecx
test eax, eax
je 0x43bfd3
push 0x4c7ab6
push eax
call dword [0x4ea984]
mov ebx, eax
test ebx, ebx
je 0x43c0a0
mov word [0x4f604e], 0
push 0x11
call dword [0x4ea9a4]
movsx eax, ax
and eax, 0x8000
je 0x43bf58
or word [0x4f604e], 0x1000
push 0x10
call dword [0x4ea9a4]
movsx eax, ax
and eax, 0x8000
je 0x43bf73
or word [0x4f604e], 0x200
push 0x12
call dword [0x4ea9a4]
movsx eax, ax
and eax, 0x8000
je 0x43bf8e
or word [0x4f604e], 0x800
push 0x5b
call dword [0x4ea9a4]
movsx eax, ax
and eax, 0x8000
jne 0x43bfb2
push 0x5c
call dword [0x4ea9a4]
movsx eax, ax
and eax, 0x8000
je 0x43bfbb
or word [0x4f604e], 0x100
mov edx, ebp
shr edx, 0x10
movzx eax, dx
push eax
mov ecx, ebx
mov ebp, dword [ecx]
call dword [ebp + 0x178]
jmp 0x43c0a0
mov ecx, ebp
and ecx, 0xffff
movzx eax, cx
push eax
push 0
call fcn.00496ba0
pop ecx
pop ecx
jmp 0x43c0a0
push 0x4c7ab6
push ecx
call dword [0x4ea984]
test eax, eax
je 0x43c0a0
mov edx, ebp
and edx, 0xffff
movzx ebx, dx
push ebx
mov ecx, eax
mov ebp, dword [ecx]
call dword [ebp + 0x180]
jmp 0x43c0a0
push 0x4c7ab6
push ecx
call dword [0x4ea984]
test eax, eax
je 0x43c0a0
mov ecx, ebp
and ecx, 0xffff
movzx edx, cx
push edx
mov ecx, eax
mov ebx, dword [ecx]
call dword [ebx + 0x184]
jmp 0x43c0a0
mov ebx, ecx
push 0x4c7ab6
mov eax, dword [ebx]
push eax
call dword [0x4ea984]
test eax, eax
je 0x43c0a0
push ebx
mov ecx, eax
mov ebx, dword [ecx]
call dword [ebx + 0x17c]
jmp 0x43c0a0
mov ebp, ecx
push 0x4c7ab6
mov eax, dword [ebp + 0x14]
push eax
call dword [0x4ea984]
test eax, eax
je 0x43c0a0
push ebp
mov ecx, eax
mov ebp, dword [ecx]
call dword [ebp + 0x188]
mov dword [ebx], 1
mov eax, 1
pop ebp
pop ebx
ret
xor eax, eax
pop ebp
pop ebx
ret
Function at 0x448c00
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push 0
mov ecx, dword [esp + 0x10]
call fcn.0040bb90
push eax
push 0x4c8120
push 0
call dword [0x4ea880]
ret

Function at 0x44a750
Capabilities:
Terminate process

Disassembly:
sub esp, 0x100
mov edx, dword [esp + 0x110]
push edx
mov ecx, dword [esp + 0x110]
push ecx
movsx eax, word [esp + 0x110]
push eax
push str.Failed_Assertion:__d_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n__s_:__d
lea eax, [esp + 0x10]
push eax
call fcn.0049f5b0
add esp, 0x14
push 0x111
push 0x4c827a
lea eax, [esp + 8]
push eax
push 0
call dword [0x4ea998]
cmp eax, 2
jne 0x44a7b2
push 0
call dword [0x4ea744]
push str.Gentle_Shutdown_Failed.__Attempting_Forced_Shutdown.
push 0
call dword [0x4ea7c8]
add esp, 0x100
ret
Function at 0x44db10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
sub esp, 0x18
cmp byte [0x4ee5c8], 0
je 0x44db24
add esp, 0x18
pop ebp
pop ebx
ret
mov byte [0x4ee5c8], 1
cmp dword [0x4f5ffc], 0
jne 0x44dbaa
push 8
call fcn.004496d0
pop ecx
test eax, eax
je 0x44dba5
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
push str.menuShutdown
call fcn.0040ca30
pop ecx
push eax
push str.menuShutdown
lea ecx, [esp + 0x18]
call fcn.0040bb00
cmp dword [esp + 0x10], 0
je 0x44db79
mov edx, dword [esp + 0x10]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov ecx, dword [esp + 0x18]
call fcn.00416d00
cmp dword [esp + 0x10], 0
je 0x44db97
mov ecx, dword [esp + 0x10]
call fcn.0040b9e0
mov eax, dword [esp + 0x14]
mov dword [eax], 0x4c8414
mov eax, dword [esp + 0x14]
mov dword [0x4f5ffc], eax
call fcn.0045bf00
test eax, eax
je 0x44dbc2
push 0
push str.SHELL_TRAYWND
call dword [0x4ea9d0]
jmp 0x44dbcf
push 0
push 0x4c8418
call dword [0x4ea9d4]
test eax, eax
je 0x44dbdc
push 0
push eax
call dword [0x4ea900]
call fcn.0045bf90
test al, al
je 0x44dbf0
call fcn.0045bfc0
jmp 0x44dbf6
call dword [0x4ea904]
mov ebx, eax
test ebx, ebx
je 0x44dc20
cmp dword [0x4ee5d0], 0
jne 0x44dc20
push ebx
call dword [0x4ea9f0]
mov dword [0x4ee5d0], eax
mov dword [0x4ee5d4], ebx
jmp 0x44dc2b
test ebx, ebx
jne 0x44dc2b
mov byte [0x4ee5c8], 0
cmp dword [0x4ee5d4], ebx
jne 0x44dc89
push 0xf
call dword [0x4ea914]
mov ebp, eax
push ebx
call dword [0x4ea9f0]
test eax, eax
jne 0x44dc4a
xor ebp, ebp
push 0
push ebx
call dword [0x4ea8e4]
lea eax, [esp]
push eax
push ebx
call dword [0x4ea8ec]
mov eax, dword [esp + 0xc]
sub eax, ebp
mov dword [esp + 0xc], eax
push 1
mov ecx, dword [esp + 8]
mov edx, eax
sub edx, ecx
push edx
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
push eax
push ecx
mov eax, dword [esp + 0x10]
push eax
push ebx
call dword [0x4ea8f8]
add esp, 0x18
pop ebp
pop ebx
ret
Function at 0x4510b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov dword [esp + 4], ecx
push 0x17
call dword [0x4ea914]
test eax, eax
je 0x4510d0
push 2
call dword [0x4ea89c]
jmp 0x4510d8
push 1
call dword [0x4ea89c]
movsx eax, ax
and eax, 0x8000
je 0x4510e6
mov al, 1
jmp 0x4510e8
xor al, al
add esp, 8
ret
Function at 0x45f490
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x10
mov ebx, dword [esp + 0x24]
push ebx
call dword [0x4eaa68]
test eax, eax
je 0x45f4b0
xor eax, eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
push 0
push 0
push 0
push str.DISPLAY
call dword [0x4ea608]
mov ebp, eax
push ebp
call dword [0x4ea5e0]
mov esi, eax
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
push 8
push ebp
call dword [0x4ea628]
push 0xa
push ebp
call dword [0x4ea628]
sub edi, dword [esp + 8]
sub ebx, dword [esp + 0xc]
push ebx
push edi
push ebp
call dword [0x4ea60c]
push eax
push esi
call dword [0x4ea5e4]
mov dword [esp + 4], eax
push 0xcc0020
push dword [esp + 0x10]
push dword [esp + 0x10]
push ebp
push ebx
push edi
push 0
push 0
push esi
call dword [0x4ea5e8]
push dword [esp + 4]
push esi
call dword [0x4ea5e4]
mov ebx, eax
push ebp
call dword [0x4ea5f4]
push esi
call dword [0x4ea5f4]
mov eax, ebx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x460cf0
Capabilities:
Check os version

Disassembly:
push esi
push edi
sub esp, 0xa0
cmp byte [0x4c9760], 0
je 0x460d74
lea edi, [esp + 4]
mov esi, 0x4ee6f0
mov ecx, 0x27
rep movsd dword es:[edi], dword [esi]
mov byte [0x4c9760], 0
mov dword [esp + 4], 0x9c
lea eax, [esp + 4]
push eax
call dword [0x4ea7e4]
test eax, eax
jne 0x460d58
mov dword [esp + 4], 0x94
lea eax, [esp + 4]
push eax
call dword [0x4ea7e4]
test eax, eax
jne 0x460d58
mov byte [0x4ee6ec], 0
xor eax, eax
add esp, 0xa0
pop edi
pop esi
ret
cmp dword [esp + 0x14], 2
jne 0x460d74
cmp dword [esp + 8], 5
jne 0x460d74
cmp dword [esp + 0xc], 1
jne 0x460d74
mov byte [0x4ee6ec], 1
movzx eax, byte [0x4ee6ec]
add esp, 0xa0
pop edi
pop esi
ret
Function at 0x465c90
Capabilities:
Get geographical location

Disassembly:
push ebx
push ebp
sub esp, 0x20
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
test ebp, ebp
je 0x465ca5
test ebx, ebx
jne 0x465cbe
push 0x96
push str.FormatNumber.cpp
push 4
push 0x83
call fcn.0044a750
add esp, 0x10
mov dword [esp + 0xc], 0
push 0x4c9e67
call fcn.0040ca30
pop ecx
push eax
push 0x4c9e67
lea ecx, [esp + 0x14]
call fcn.0040bb00
cmp dword [esp + 0xc], 0
je 0x465cf3
mov edx, dword [esp + 0xc]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, ebx
call fcn.0040bbd0
push eax
mov ecx, ebp
call fcn.0040bbd0
cmp dword [esp + 0xc], 0
je 0x465d17
mov ecx, dword [esp + 0xc]
call fcn.0040b9e0
push 4
lea eax, [esp + 8]
push eax
push 0xe
push 0x400
call dword [0x4ea76c]
push 4
lea eax, [esp + 0xc]
push eax
push 0xf
push 0x400
call dword [0x4ea76c]
mov dword [esp + 0x10], 0
lea eax, [esp + 8]
push eax
call fcn.0040ca30
pop ecx
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.0040bb00
cmp dword [esp + 0x10], 0
je 0x465d74
mov ecx, dword [esp + 0x10]
mov eax, dword [0x4bf2dc]
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x1c]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040bbd0
cmp dword [esp + 0x14], 0
je 0x465da3
mov ecx, dword [esp + 0x14]
call fcn.0040b9e0
cmp dword [esp + 0x10], 0
je 0x465db3
mov ecx, dword [esp + 0x10]
call fcn.0040b9e0
mov dword [esp + 0x18], 0
lea eax, [esp + 4]
push eax
call fcn.0040ca30
pop ecx
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x20]
call fcn.0040bb00
cmp dword [esp + 0x18], 0
je 0x465de8
mov edx, dword [esp + 0x18]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
lea eax, [esp + 0x18]
push eax
push ebx
lea eax, [esp + 0x24]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.0040bbd0
cmp dword [esp + 0x1c], 0
je 0x465e17
mov ecx, dword [esp + 0x1c]
call fcn.0040b9e0
cmp dword [esp + 0x18], 0
je 0x465e27
mov ecx, dword [esp + 0x18]
call fcn.0040b9e0
add esp, 0x20
pop ebp
pop ebx
ret
Function at 0x47e460
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
sub esp, 0x418
mov dword [esp], 0
lea eax, [esp + 4]
push eax
call dword [0x4ea888]
test eax, eax
jge 0x47e490
xor eax, eax
add esp, 0x418
pop ebp
pop ebx
ret
lea ebp, [esp]
push ebp
mov eax, dword [esp + 0x428]
push eax
push 0
call dword [0x4ea890]
test eax, eax
je 0x47e4b3
xor eax, eax
add esp, 0x418
pop ebp
pop ebx
ret
lea ecx, [esp + 8]
push ecx
mov eax, dword [esp + 4]
push eax
call dword [0x4ea884]
mov ebx, eax
mov edx, dword [esp]
push edx
mov eax, dword [esp + 8]
push eax
mov ebp, dword [eax]
call dword [ebp + 0x14]
mov eax, dword [esp + 4]
push eax
mov ebp, dword [eax]
call dword [ebp + 8]
test ebx, ebx
je 0x47e656
mov dword [esp + 0x408], 0
lea eax, [esp + 8]
push eax
call fcn.0040ca30
pop ecx
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x410]
call fcn.0040bb00
cmp dword [esp + 0x408], 0
je 0x47e526
mov ebp, dword [esp + 0x408]
mov eax, dword [0x4bf2dc]
mov dword [ebp + 0x10], eax
mov dword [esp + 0x40c], 0
push 0x4cd7d8
call fcn.0040ca30
pop ecx
push eax
push 0x4cd7d8
lea ecx, [esp + 0x414]
call fcn.0040bb00
cmp dword [esp + 0x40c], 0
je 0x47e567
mov ecx, dword [esp + 0x40c]
mov eax, dword [0x4bf2dc]
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x40c]
push eax
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0x418]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [esp + 0x410]
push eax
lea ecx, [esp + 0x40c]
call fcn.0040bbd0
cmp dword [esp + 0x410], 0
je 0x47e5b1
mov ecx, dword [esp + 0x410]
call fcn.0040b9e0
cmp dword [esp + 0x40c], 0
je 0x47e5c7
mov ecx, dword [esp + 0x40c]
call fcn.0040b9e0
xor bl, bl
push 0x10
call fcn.004496d0
pop ecx
mov ebp, eax
test ebp, ebp
je 0x47e607
mov eax, dword [esp + 0x408]
mov dword [esp + 0x414], eax
test eax, eax
je 0x47e5f0
mov ecx, eax
call fcn.0040b9a0
mov bl, 1
push 0
push 0
lea eax, [esp + 0x41c]
push eax
mov ecx, ebp
call fcn.004a61e0
mov ebp, eax
test bl, bl
je 0x47e621
cmp dword [esp + 0x414], 0
je 0x47e621
mov ecx, dword [esp + 0x414]
call fcn.0040b9e0
push 0x4f0810
call fcn.00445430
pop ecx
mov ebx, eax
test ebx, ebx
je 0x47e635
mov dword [ebx + 0x18], ebp
cmp dword [esp + 0x408], 0
je 0x47e64b
mov ecx, dword [esp + 0x408]
call fcn.0040b9e0
mov eax, ebx
add esp, 0x418
pop ebp
pop ebx
ret
xor eax, eax
add esp, 0x418
pop ebp
pop ebx
ret

Function at 0x47e930
Capabilities:
Get common file path

Disassembly:
push ebx
sub esp, 0x808
lea eax, [esp + 4]
push eax
push 0x400
call dword [0x4ea720]
mov byte [esp + eax + 3], 0
lea eax, [esp + 0x404]
push eax
push 0
push 0x4cd7da
lea eax, [esp + 0x10]
push eax
call dword [0x4ea724]
mov dword [esp + 0x804], 0
lea eax, [esp + 0x404]
push eax
call fcn.0040ca30
pop ecx
push eax
lea eax, [esp + 0x408]
push eax
lea ecx, [esp + 0x80c]
call fcn.0040bb00
cmp dword [esp + 0x804], 0
je 0x47e9ad
mov edx, dword [esp + 0x804]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
lea eax, [esp + 0x804]
push eax
call fcn.0047e250
pop ecx
mov ebx, eax
cmp dword [esp + 0x804], 0
je 0x47e9d3
mov ecx, dword [esp + 0x804]
call fcn.0040b9e0
mov eax, ebx
add esp, 0x808
pop ebx
ret
Function at 0x4925c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
call dword [0x4ea748]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [0x4ef8ac], eax
jne 0x4925e8
leave
ret
mov eax, dword [ebp - 4]
mov dword [0x4ef8ac], eax
call fcn.00401730
call fcn.004017b0
call fcn.00497d50
call dword [0x4ea748]
mov dword [0x4ef8ac], eax
leave
ret

Function at 0x494380
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x4efc2c]
sub esp, 0x104
test eax, eax
jle 0x49439f
inc eax
mov dword [0x4efc2c], eax
xor ax, ax
add esp, 0x104
ret
push esi
push str.QuickTime.qts
xor esi, esi
call dword [0x4ea80c]
test eax, eax
je 0x4943d5
lea ecx, [esp + 4]
push 0x104
push ecx
push eax
call dword [0x4ea760]
test eax, eax
jbe 0x4943d5
lea edx, [esp + 4]
push edx
call dword [0x4ea6fc]
mov esi, eax
jmp 0x494454
lea eax, [esp + 4]
push 0x104
push eax
call dword [0x4ea808]
test eax, eax
jbe 0x494454
push ebp
push edi
mov edi, 0x4d41e4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.QuickTime.qts
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [0x4ea6fc]
pop edi
mov esi, eax
pop ebp
test esi, esi
mov dword [0x4efc30], esi
jne 0x49446e
call dword [0x4ea810]
mov esi, 0xfffff7d3
jmp 0x4944ef
push str._CallComponentFunctionWithStorage
push esi
mov esi, dword [0x4ea700]
call esi
test eax, eax
mov dword [0x4d4194], eax
je 0x4944ea
mov ecx, dword [0x4efc30]
push str._CallComponent
push ecx
call esi
test eax, eax
mov dword [0x4d4190], eax
je 0x4944ea
mov edx, dword [0x4efc30]
push str.theQuickTimeDispatcher
push edx
call esi
test eax, eax
mov dword [0x4d418c], eax
je 0x4944ea
mov eax, dword [esp + 0x10c]
mov dword [0x4d4188], 0
push eax
call fcn.00494200
mov esi, eax
add esp, 4
test si, si
jne 0x4944ef
mov eax, dword [0x4efc2c]
inc eax
mov dword [0x4efc2c], eax
mov ax, si
pop esi
add esp, 0x104
ret
mov esi, 0xfffff7d2
mov eax, dword [0x4efc30]
test eax, eax
je 0x494509
push eax
call dword [0x4ea79c]
mov dword [0x4efc30], 0
mov eax, 0x494220
mov dword [0x4d4188], 0x494540
mov dword [0x4d4190], eax
mov dword [0x4d4194], eax
mov dword [0x4d418c], eax
mov ax, si
pop esi
add esp, 0x104
ret
Function at 0x49c440
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
push dword [ebp + 8]
call dword [0x4ea7fc]
push 0
push 0x80000002
push 3
push 0
push 3
push 0x80000000
push dword [ebp + 8]
call dword [0x4ea714]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49c4c7
push 0
push 0x80000002
push 1
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [0x4ea714]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x49c4d4
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp - 8]
call dword [0x4ea718]
push dword [ebp - 8]
call dword [0x4ea71c]
mov al, 1
leave
ret
push dword [ebp - 8]
call dword [0x4ea71c]
mov al, 1
leave
ret
mov al, 0
leave
ret
Function at 0x4a50c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
mov ecx, dword [0x4d7ef0]
push ecx
call dword [0x4ea830]
test eax, eax
jne 0x4a51f5
call dword [0x4ea810]
test eax, eax
jne 0x4a51f0
push 0x288
call fcn.00493ea0
pop ecx
mov esi, eax
test esi, esi
jne 0x4a5100
xor eax, eax
pop esi
pop ebx
ret
mov ebx, 0x4f1408
push ebx
call dword [0x4ea70c]
mov eax, dword [0x4eff38]
mov dword [esi], eax
mov dword [0x4eff38], esi
push ebx
call dword [0x4ea710]
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0x4d7ef4
mov dword [esi + 0x10], 0x4d7ef4
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], eax
mov dword [esi + 0x280], 0x4d7ef8
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 1
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], 0
or dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x27c], 0x4e5518
mov dword [esi + 0x284], 0
push esi
mov eax, dword [0x4d7ef0]
push eax
call dword [0x4ea834]
pop esi
pop ebx
ret
xor eax, eax
pop esi
pop ebx
ret
mov eax, 1
pop esi
pop ebx
ret
Function at 0x4a5500
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x160
push ecx
push edi
mov eax, 0xcccccccc
lea edi, [esp + 8]
mov ecx, 0x58
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x154], ecx
cmp dword [ebp + 0xc], 0
jne 0x4a5597
mov ecx, dword [ebp + 8]
call fcn.0040bb90
push eax
mov ecx, 0x4eff54
call fcn.0040bb90
push eax
call fcn.0040ca90
pop ecx
pop ecx
cmp eax, 0
jne 0x4a554e
mov al, 0
jmp 0x4a5550
mov al, 1
cmp al, 0
je 0x4a577f
jmp 0x4a5597
mov eax, dword [ebp - 0x160]
mov edx, dword [eax]
mov dword [0x4eff58], edx
cmp dword [ebp - 0x160], 0
je 0x4a5597
mov eax, dword [ebp - 0x160]
cmp dword [eax + 4], 0
je 0x4a558b
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
call fcn.0040b9e0
push dword [ebp - 0x160]
call fcn.004496f0
pop ecx
mov eax, dword [0x4eff58]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
jne 0x4a555a
mov dword [0x4eff5c], 0
push dword [ebp + 8]
mov ecx, 0x4eff54
call fcn.0040bbd0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x10], 0
push str..
call fcn.0040ca30
pop ecx
push eax
push str..
lea ecx, [ebp - 0x10]
call fcn.0040bb00
cmp dword [ebp - 0x10], 0
je 0x4a55fe
mov ebx, dword [ebp - 0x10]
mov edx, dword [0x4bf2dc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040c300
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040bb90
push eax
call dword [0x4ea818]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0xc], 0
je 0x4a563b
mov ecx, dword [ebp - 0xc]
call fcn.0040b9e0
cmp dword [ebp - 0x10], 0
je 0x4a5649
mov ecx, dword [ebp - 0x10]
call fcn.0040b9e0
cmp dword [ebp - 0x158], 0xffffffff
je 0x4a577f
push 0x4d7fc5
lea eax, [ebp - 0x150]
add eax, 0x2c
push eax
call fcn.0040ca90
pop ecx
pop ecx
cmp eax, 0
je 0x4a5757
push 0x4d7fc7
lea eax, [ebp - 0x150]
add eax, 0x2c
push eax
call fcn.0040ca90
pop ecx
pop ecx
cmp eax, 0
je 0x4a5757
push 8
call fcn.004496d0
pop ecx
cmp eax, 0
je 0x4a56aa
mov dword [eax + 4], 0
mov eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0x150]
add eax, 0x2c
lea eax, [ebp - 0x150]
add eax, 0x2c
push eax
call fcn.0040ca30
pop ecx
push eax
lea eax, [ebp - 0x150]
add eax, 0x2c
push eax
lea ecx, [ebp - 8]
call fcn.0040bb00
cmp dword [ebp - 8], 0
je 0x4a56f5
mov ebx, dword [ebp - 8]
mov edx, dword [0x4bf2dc]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x160]
add ecx, 4
call fcn.0040bbd0
cmp dword [ebp - 8], 0
je 0x4a5715
mov ecx, dword [ebp - 8]
call fcn.0040b9e0
mov eax, dword [ebp - 0x160]
mov dword [eax], 0
cmp dword [ebp - 0x15c], 0
je 0x4a573a
mov ecx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x15c]
mov dword [eax], ecx
jmp 0x4a5745
mov eax, dword [ebp - 0x160]
mov dword [0x4eff58], eax
inc dword [0x4eff5c]
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x158]
call dword [0x4ea838]
cmp eax, 0
jne 0x4a5656
push dword [ebp - 0x158]
call dword [0x4ea820]
mov eax, 0x4eff54
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8