joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b460
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.0040b770
mov dword [ebp - 8], eax
test eax, eax
je 0x40b4a0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x555284], eax
test eax, eax
jne 0x40b4a8
mov eax, 5
mov esp, ebp
pop ebp
ret
call fcn.004044f0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.0040bb50
add esp, 4
test al, al
je 0x40b497
push esi
push edi
call fcn.0040bf70
call fcn.0040c340
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call fcn.0040d000
add esp, 0x14
cmp dword [ebp - 8], 0
mov edi, eax
je 0x40b583
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 0xffffffffffffffff
push 0x555288
call esi
push 0
push 0x5563ec
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [0x555284]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x40b583
push 0
push 0
push 0x555288
call esi
cmp eax, 1
jne 0x40b538
mov ecx, 0x555298
call fcn.0044bdc0
cmp byte [0x55528c], 0
je 0x40b54b
mov ecx, 0x555298
call fcn.0044bcd0
cmp byte [0x55528d], 0
je 0x40b55a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 8]
mov esi, ecx
test ecx, ecx
je 0x40b571
call fcn.00467dd0
push esi
call fcn.00406fa9
add esp, 4
mov ecx, dword [0x5563e8]
test ecx, ecx
je 0x40b583
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40bde0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x555308], esi
jne 0x40be1f
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x40be15
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x555304], eax
mov dword [0x555308], 1
mov eax, dword [0x555304]
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40be3b
push edi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x40be75
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x40be6a
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
mov eax, dword [ebp + 8]
jns 0x40be59
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
jmp 0x40be5e
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
call edx
test eax, eax
je 0x40be75
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push edi
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40c920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x549518
push 0x4e4500
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 0
cmp dword [ebp + 0x14], 0
je 0x40cad8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40cad8
cmp byte [eax], 0
je 0x40cad8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40cad8
cmp byte [eax], 0
je 0x40cad8
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40cad8
cmp dword [ebp + 0x18], 0
je 0x40cad8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x40cad8
push 0
push 0x40
push ebx
call fcn.0040cbb0
add esp, 0xc
test al, al
je 0x40cad8
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x40cad8
mov edi, dword [ebx + 0x3c]
add edi, ebx
push 0
push 0xf8
push edi
call fcn.0040cbb0
add esp, 0xc
test al, al
je 0x40cad8
cmp dword [edi], 0x4550
jne 0x40cad8
mov esi, dword [edi + 0x80]
add esi, ebx
cmp esi, edi
jne 0x40ca19
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ca20
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40ca50
add eax, ebx
push edi
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call fcn.0040cf47
add esp, 0xc
test eax, eax
je 0x40ca50
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40ca32
cmp dword [esi + 0xc], 0
je 0x40ca05
mov esi, dword [esi + 0x10]
add esi, ebx
mov dword [ebp - 0x24], esi
mov eax, dword [esi]
test eax, eax
je 0x40cad8
cmp eax, dword [ebp + 0x18]
jne 0x40caed
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
push 0x80
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40cad8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x40cac0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x40ca5b
Function at 0x40e940
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505933
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
push ebx
push ecx
mov dword [0x556394], eax
call fcn.0040eb00
add esp, 8
cmp dword [0x5563c0], 0
jne 0x40e997
mov edx, dword [0x5563c4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40e9a2
mov ecx, dword [0x5563bc]
call fcn.0040ede0
mov dword [ebp - 4], 0
mov eax, dword [0x5563a4]
test eax, eax
je 0x40e9c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5563a4], 0
mov eax, dword [ebp + 0xc]
mov dword [0x55639c], eax
test eax, eax
je 0x40eaa8
cmp eax, 2
je 0x40eaa8
mov ecx, dword [0x5563a0]
test ecx, ecx
jne 0x40ea1e
push 0x1c
call fcn.004051ca
add esp, 4
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x40ea10
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
jmp 0x40ea12
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, eax
mov dword [0x5563a0], ecx
mov eax, ebx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40ea23
sub eax, esi
sar eax, 1
push eax
push ebx
call fcn.004063e0
cmp dword [ebp + 0x14], 0
jne 0x40ea53
mov eax, dword [0x5563a0]
cmp dword [eax + 0x14], 8
jb 0x40ea4c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0045c7c0
mov bl, al
mov dword [ebp - 4], 0xffffffff
cmp dword [0x5563c0], 0
jne 0x40ea8a
mov edx, dword [0x5563c4]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5563bc]
call fcn.0040ee60
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
cmp dword [0x5563c0], 0
jne 0x40ead7
mov eax, dword [0x5563c4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5563bc]
call fcn.0040ee60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4100e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x11c
xor ebx, ebx
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.004e41d0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
mov dword [ebp - 0x128], ebx
call fcn.00407780
cmp eax, 5
jge 0x41018e
lea ecx, [ebp - 0x128]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x41018e
cmp dword [ebp - 0x128], ebx
je 0x41018e
call fcn.0044b610
test al, al
je 0x41018c
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41018e
test byte [ebp - 8], 0x10
je 0x41018e
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x41018e
cmp dword [ebp - 0x124], ebx
je 0x41018e
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x410270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x41028c
mov eax, dword [eax]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4102fa
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
push esi
mov esi, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], esi
mov dword [ebp - 8], esi
jb 0x4102bf
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp + 0xc]
push ecx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4102ef
cmp dword [ebp + 0xc], esi
jne 0x4102ef
cmp dword [ebp - 8], esi
jne 0x4102ef
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov bl, 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ecx
xor eax, eax
push 0x104
mov word [ebp - 0x20c], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x410485
cmp eax, 0x104
jae 0x410485
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410456
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
mov ecx, esi
call fcn.004063e0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4125a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 0
push 0
push 0xffffc000
push 0xffffc000
push 0x10000000
push 0x51199c
push str.EDIT
push 0x80
call fcn.004126c0
cmp byte [ebp + 8], 0
mov dword [0x555388], eax
jne 0x4125f1
test eax, eax
je 0x4125f1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret
Function at 0x4155f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50982b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x208
lea ecx, [ebp - 0x21a]
xor eax, eax
push ebx
mov dword [ebp - 0x240], ebx
push ecx
mov dword [ebp - 0x248], edi
mov byte [ebp - 0x239], bl
mov word [ebp - 0x21c], ax
call fcn.004e41d0
add esp, 0xc
push 0x2c
xor edx, edx
push str.SoftwareAdobeAcrobat_Reader11.0Installer
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
call fcn.004063e0
mov eax, dword [0x5563e8]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4156d9
lea edi, [eax + 4]
push edi
mov dword [ebp - 0x240], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x240]
mov cl, byte [eax + 0x51]
push edi
mov byte [ebp - 0x23a], cl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x23a], bl
je 0x4156d3
push 0x2b
push str.SoftwareAdobeAdobe_Acrobat11.0Installer
lea ecx, [ebp - 0x238]
call fcn.004063e0
mov edi, dword [ebp - 0x248]
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x4156ee
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x244]
push edx
push 0x20019
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415781
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push ebx
push ebx
push str.Path
push edx
mov dword [ebp - 0x240], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415766
cmp word [ebp - 0x21c], bx
je 0x415766
cmp edi, ebx
je 0x41575f
cmp word [edi], bx
je 0x41575f
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x415766
mov byte [ebp - 0x239], 1
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x21c]
cmp byte [ebp - 0x239], bl
jne 0x415786
mov edx, 0x51199c
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4157a0
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.004063e0
cmp dword [ebp - 0x224], 8
jb 0x4157d0
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00406fa9
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x415865
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41588c
call fcn.00415a26
mov dword [eax], esi
call fcn.00409aa9
push 0x16
pop esi
mov dword [eax], esi
call fcn.004e50a5
mov eax, esi
jmp 0x4158e1
test dword [ebp + 0xc], 0xfffffff9
jne 0x415872
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4158b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041596e
pop ecx
call fcn.00409aa9
mov eax, dword [eax]
jmp 0x4158e1
test al, 0x10
jne 0x4158df
test al, 1
je 0x4158df
test byte [ebp + 0xc], 2
je 0x4158df
call fcn.00415a26
mov dword [eax], 5
call fcn.00409aa9
mov dword [eax], 0xd
jmp 0x4158b0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41fe50
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506600
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push edx
push eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, ebx
jne 0x420011
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x41fed7
cmp eax, 2
je 0x41fed7
mov eax, 0x3f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jbe 0x41fff5
lea eax, [ecx + 3]
cmp eax, ecx
jbe 0x41fff3
lea ecx, [ebp - 0x18]
push ecx
shr eax, 1
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.004200d0
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [esi]
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x41ffd4
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x41ff4a
mov ecx, dword [ebp + 0xc]
push edi
call fcn.004187e0
jmp 0x41ffd4
cmp eax, 2
jne 0x41ffcd
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp esi, ebx
jbe 0x41ffb8
lea eax, [esi + 1]
cmp eax, esi
jbe 0x41ffb8
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], ebx
call fcn.0045e260
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
push esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp esi, eax
jb 0x41ffa3
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004187e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0041a9a0
jmp 0x41ffd4
mov dword [ebp + 8], 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0041a9a0
jmp 0x41ffd4
neg esi
sbb esi, esi
and esi, 0xffffff1e
add esi, 0xea
mov dword [ebp + 8], esi
jmp 0x41ffd4
mov dword [ebp + 8], 0x3f4
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x41ffe8
push edi
call fcn.00406fa9
add esp, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
jmp 0x42000e
cmp ecx, ebx
jne 0x420007
mov ecx, dword [ebp + 0xc]
push ebx
push 0x51199c
call fcn.004063e0
jmp 0x420011
mov dword [ebp + 8], 8
mov edi, dword [ebp + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x421700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x421728
call fcn.00407780
cmp eax, 1
jl 0x421728
mov dword [ebp - 4], 0x10000
jmp 0x42172a
xor edi, edi
push 8
call fcn.004051ca
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
add esp, 4
push 0
mov esi, eax
mov eax, dword [ebp + 0xc]
push edx
push esi
push 0x421b10
test ebx, ebx
push edi
setne cl
push 0
mov dword [esi], eax
mov byte [esi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x421771
push esi
call fcn.00406fa9
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x421780
pop edi
mov dword [ebx], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424090
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508678
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x2c]
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x24], esi
jne 0x42415e
push 0
push 0x52a8dc
push 0x52a8dc
push 0
inc esi
push 0x52a8dc
mov dword [ebp - 0x14], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42412e
mov edi, dword [ebx + 0x20]
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x10]
push eax
push ecx
push edi
lea ecx, [ebx + 0x20]
call fcn.004243e0
mov ecx, dword [ebx + 0x24]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x424154
inc ecx
mov dword [ebx + 0x24], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov dword [ecx], eax
cmp esi, 3
jl 0x4240d8
cmp dword [ebx + 0x24], 0
jne 0x42415e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.004e25c8
mov edx, dword [ebx + 0x20]
mov eax, dword [edx]
mov esi, dword [eax + 8]
mov ecx, edx
mov eax, dword [ecx]
cmp eax, ecx
je 0x424189
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call fcn.00406fa9
add esp, 4
dec dword [ebx + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4277d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a918
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ebx, [edi + 4]
xor esi, esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov eax, dword [ebp + 8]
mov dword [edi], vtable.acrobat_broker::SandboxDDEDispatcher.0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [ebp - 4], esi
cmp dword [0x5563e8], esi
jne 0x42783d
lea ecx, [ebp - 0x1c]
call fcn.004e3bc1
push 0x541908
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004e3d99
lea edx, [edi + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebx + 4]
cmp eax, 0x531930
jbe 0x42787e
mov ecx, dword [ebx]
cmp ecx, 0x531930
ja 0x42787e
mov esi, 0x531930
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x427870
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x4278a4
jmp 0x427898
cmp eax, dword [ebx + 8]
jne 0x42788c
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4278a4
mov esi, 0x531930
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add dword [ebx + 4], 0x40
mov eax, dword [ebx + 4]
cmp eax, 0x5318f0
jbe 0x4278df
mov ecx, dword [ebx]
cmp ecx, 0x5318f0
ja 0x4278df
mov esi, 0x5318f0
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x4278d1
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x427905
jmp 0x4278f9
cmp eax, dword [ebx + 8]
jne 0x4278ed
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
test eax, eax
je 0x427905
mov esi, 0x5318f0
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add dword [ebx + 4], 0x40
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x428040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x18], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4