joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f0d5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46f1ed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f1ed
mov eax, dword [esi + 0x3c]
push eax
call fcn.0049078f
mov esi, eax
test esi, esi
je 0x46f1ed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46f1ed
mov ecx, esi
call fcn.0046f040
cmp edi, eax
jge 0x46f1ed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46f173
mov dword [esp + 0x34], 1
jmp 0x46f1ce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46f1ed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046e570
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x472910
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x472976
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x472976
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x472957
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x472d00
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x472d38
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x473a00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x473a49
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x473ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49f920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00473a70
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00473af0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00473af0
lea ecx, [esi + 0xc]
call fcn.0048eca1
lea ecx, [esi + 0x10]
call fcn.0048eca1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00475080
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00475080
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00475080
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048ed16
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048ed16
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x491133
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49116b
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.0048f1bd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048f195
jmp 0x491177
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x492825
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 0x492867
call fcn.004987c8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x492867
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49285e
xor eax, eax
jmp 0x49286f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00492875
pop edi
pop esi
pop ebx
ret 4

Function at 0x498cf8
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 0x498d26
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x498d44
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00498c5e
jmp 0x498d44
mov eax, dword [esi + 0x14]
test eax, eax
je 0x498d44
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00498c5e
test edi, edi
mov eax, edi
jne 0x498d2e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401ec9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401f04
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401f00
lea ebx, [ebx]
cmp esi, eax
jae 0x401f04
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401ef0
cmp esi, eax
jb 0x401f0a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x404250
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x234]
sub esp, 0x234
push 0xffffffffffffffff
push 0x43e9f2
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x453544]
xor eax, ebp
mov dword [ebp + 0x230], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], edi
call fcn.0041390c
push 0xc
mov dword [ebp - 4], edi
call fcn.0040bfd1
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
cmp esi, edi
mov byte [ebp - 4], 1
je 0x4042ca
mov ecx, esi
call fcn.0040c314
mov dword [esi], vtable.COleException.0
mov dword [esi + 8], edi
mov ebx, esi
mov dword [ebp - 0x14], esi
jmp 0x4042cf
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push str.MsRDP.MsRDP.3
lea ecx, [ebp - 0x20]
call fcn.00414463
cmp eax, edi
je 0x40430b
lea ecx, [ebp - 0x20]
call fcn.004139ca
mov esi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0
jmp 0x4043af
push 0x103
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebp]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404320
mov ecx, 0xd
mov esi, str._regsvr32.exe__s_msrdp.ocx
rep movsd dword es:[edi], dword [esi]
push 0x40
lea ecx, [ebp - 0x78]
push 0
push ecx
movsw word es:[edi], word [esi]
call fcn.00429050
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp]
push ecx
push 0
mov dword [ebp - 0x7c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x7d0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0
jmp 0x4043af
test ebx, ebx
je 0x4043ba
mov ecx, ebx
call fcn.0040c1d7
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.004139ca
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x230]
xor ecx, ebp
call fcn.0042769e
add ebp, 0x234
mov esp, ebp
pop ebp
ret
Function at 0x4065c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43f2b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x453544]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
call fcn.0040c3d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406610
push 0x80004005
call fcn.00401770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
push eax
push 1
push str.StartThimless
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40667b
push 1
push 0x4481a4
mov ecx, esi
call fcn.004019d0
mov eax, dword [edi + 0xd8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00401640
push 0x16
push 0x4481a8
mov ecx, esi
call fcn.00401640
mov eax, dword [edi + 0x234]
call fcn.00407310
add eax, 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00401640
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x41066e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4106a7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040c091
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040b470
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x411ca5
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x4471b0
mov ecx, edi
call fcn.00401bd0
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x411cf8
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x411d0b
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040c091
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040b470
jmp 0x411d0b
mov ecx, esi
call fcn.00412987
test eax, eax
je 0x411d0b
push edi
mov ecx, eax
call fcn.0041066e
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x4121ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x412232
call fcn.004176e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x412232
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41224d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00411da9
test ebx, ebx
mov esi, eax
je 0x41224b
test edi, edi
je 0x41224b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4155cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x415615
call fcn.004176e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x415615
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x415658
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x415641
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x415641
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x415655
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41b0f4
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 0x41b122
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41b140
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041b05e
jmp 0x41b140
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b140
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041b05e
test edi, edi
mov eax, edi
jne 0x41b12a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x456968]
test ecx, ecx
je 0x41b203
jmp 0x41b0f3
ret 8

Function at 0x42769e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453544]
jne 0x4276a8
repz ret
jmp fcn.0042d409
Function at 0x435aca
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042cdf0
xor ebx, ebx
cmp dword [0x457780], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x435b9f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x435b0a
xor eax, eax
jmp 0x435c63
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x435b03
push eax
call fcn.0042cd8d
mov dword [esp], 0x445694
push edi
mov dword [0x457780], eax
call esi
push eax
call fcn.0042cd8d
mov dword [esp], 0x445680
push edi
mov dword [0x457784], eax
call esi
push eax
call fcn.0042cd8d
mov dword [0x457788], eax
lea eax, [ebp - 8]
push eax
call fcn.0042aac2
test eax, eax
pop ecx
pop ecx
je 0x435b6d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042813a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x435b9f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042cd8d
cmp eax, ebx
pop ecx
mov dword [0x457790], eax
je 0x435b9f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042cd8d
pop ecx
mov dword [0x45778c], eax
mov eax, dword [0x45778c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x435c18
cmp dword [0x457790], esi
je 0x435c18
push eax
call fcn.0042cdf9
pop ecx
call eax
cmp eax, ebx
je 0x435be5
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x457790]
call fcn.0042cdf9
pop ecx
call eax
test eax, eax
je 0x435be5
test byte [ebp - 0x18], 1
jne 0x435c18
lea eax, [ebp - 0xc]
push eax
call fcn.0042aaf9
test eax, eax
pop ecx
je 0x435c00
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042813a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x435c0f
or dword [ebp + 0x10], 0x200000
jmp 0x435c49
or dword [ebp + 0x10], 0x40000
jmp 0x435c49
mov eax, dword [0x457784]
cmp eax, esi
je 0x435c49
push eax
call fcn.0042cdf9
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x435c49
mov eax, dword [0x457788]
cmp eax, esi
je 0x435c49
push dword [ebp - 4]
push eax
call fcn.0042cdf9
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x457780]
call fcn.0042cdf9
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d1f0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x453544]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043d185
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00429050
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43d23f
cmp dword [ebp - 0x1c], 5
jb 0x43d257
jmp 0x43d253
cmp dword [ebp - 0x10], 1
jne 0x43d257
cmp dword [ebp - 0x1c], 4
ja 0x43d253
jne 0x43d257
cmp dword [ebp - 0x18], 0
jbe 0x43d257
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x447030
call fcn.0043d076
test eax, eax
jge 0x43d278
mov byte [0x457948], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042769e
add ebp, 0x78
leave
ret
Function at 0x4058d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x46e02c]
xor eax, esp
mov dword [esp + 0x20c], eax
push 0
push 0x2b
lea eax, [esp + 8]
push eax
push 0
call dword [0x4564e0]
test eax, eax
jne 0x405910
xor al, al
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00449014
add esp, 0x214
ret
mov ecx, esi
call dword [0x456230]
lea eax, [esp]
mov ecx, esi
call fcn.004087f0
mov eax, str.Adobe
mov ecx, esi
call fcn.004087f0
mov eax, str.Adobe_PCD
mov ecx, esi
call fcn.004087f0
mov eax, str.pcd.db
mov ecx, esi
call fcn.004087f0
mov ecx, esi
call fcn.00408ba0
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00449014
add esp, 0x214
ret

Function at 0x409d10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44ab48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00401160
mov dword [esp + 0x18], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
add edi, 0x30
mov dword [esi + 0x2c], ecx
push edi
lea ecx, [esi + 0x30]
call dword [0x4561dc]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x40bcd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
call fcn.0040bbf0
lea ecx, [esp + 0xc]
lea eax, [esi + 0x60]
xor ebx, ebx
push ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], bl
call fcn.0040e940
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], ebx
lea edi, [esi + 0x48]
push edi
lea ebx, [esp + 0x20]
call fcn.00402420
cmp byte [ebp + 0xc], 0
je 0x40bd7a
mov edx, dword [esi + 0x28]
lea ecx, [esi + 0x28]
neg edx
sbb edx, edx
test edx, fcn.00419db0
je 0x40bd7a
push edi
lea eax, [esi + 0x54]
push eax
call fcn.0041d820
lea ecx, [esp + 0x1c]
push ecx
call dword [0x456188]
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x24]
call fcn.0040e810
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov dword [esp + 0x30], 0xffffffff
cmp byte [esp + 0x10], 0
je 0x40bdcc
mov eax, dword [esp + 0xc]
add dword [eax], 0xffffffff
jne 0x40bdcc
xor edx, edx
lea ecx, [eax + 4]
xchg dword [ecx], edx
add eax, 8
mov ecx, 0x80000000
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x40bdcc
cmp ecx, 0x80000000
jle 0x40bdcc
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x40bdcc
call fcn.0040b4c0
push eax
call dword [0x456174]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ca40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4512e2
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x46e02c]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebp
push esi
push edi
mov eax, dword [0x46e02c]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.0040c110
fstp qword [esp + 0x14]
push ebx
lea ecx, [esp + 0x44]
call dword [0x4561dc]
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0
call dword [0x456284]
mov dword [esp + 0x28], eax
lea edi, [esp + 0x40]
lea esi, [esp + 0x30]
mov byte [esp + 0xc4], 1
call fcn.00409800
mov edx, dword [esp + 0x10]
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea esi, [esp + 0x4c]
call fcn.0040aa70
add esp, 0x24
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 0
call dword [0x456280]
cmp dword [ebp + 0x14], 0
mov esi, dword [0x4561b4]
je 0x40cb4a
push str.undefined
push ebp
call esi
add esp, 8
test al, al
jne 0x40cb4a
push str.null
push ebp
call esi
xor ecx, ecx
add esp, 8
test al, al
setne cl
inc ecx
mov eax, ecx
jmp 0x40cb4c
xor eax, eax
sub eax, 0
je 0x40cc07
sub eax, 2
je 0x40cbcf
fldz
mov esi, ebx
fld qword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x40cb9c
fstp st(0)
call fcn.0040c510
sub eax, 0
je 0x40cb92
sub eax, 2
je 0x40cb88
mov esi, 9
jmp 0x40cc52
mov esi, 5
jmp 0x40cc52
mov esi, 3
jmp 0x40cc52
fchs
fstp qword [esp + 0x14]
call fcn.0040c510
sub eax, 0
je 0x40cbc5
sub eax, 2
je 0x40cbbb
mov esi, 0xa
jmp 0x40cc52
mov esi, 7
jmp 0x40cc52
mov esi, 4
jmp 0x40cc52
cmp dword [ebx + 0x14], 0
je 0x40cbfb
push str.undefined
push ebx
call esi
add esp, 8
test al, al
jne 0x40cbfb
push str.null
push ebx
call esi
xor edx, edx
add esp, 8
test al, al
setne dl
inc edx
mov eax, edx
jmp 0x40cbfd
xor eax, eax
sub eax, 0
jne 0x40cc3a
lea esi, [eax + 2]
jmp 0x40cc52
cmp dword [ebx + 0x14], 0
je 0x40cc33
push str.undefined
push ebx
call esi
add esp, 8
test al, al
jne 0x40cc33
push str.null
push ebx
call esi
xor ecx, ecx
add esp, 8
test al, al
setne cl
inc ecx
mov eax, ecx
jmp 0x40cc35
xor eax, eax
sub eax, 0
je 0x40cc4d
sub eax, 2
je 0x40cc46
mov esi, 8
jmp 0x40cc52
mov esi, 6
jmp 0x40cc52
mov esi, 1
mov edx, dword [esp + 0xcc]
mov eax, dword [edx]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0040c860
fld qword [esp + 0x14]
sub esp, 8
mov byte [esp + 0xcc], 2
fstp qword [esp]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
push edx
push esi
lea eax, [esp + 0x70]
push eax
call fcn.0040c8d0
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xc8], 0
call fcn.0040cce0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc4], 0xffffffff
call dword [0x4561d8]
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.00449014
add esp, 0xb8
ret