joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403950
Capabilities:
Delete file
Download url
Hide graphical window
Inspect load icon resource
Receive data

Disassembly:
sub esp, 8
mov eax, dword [0x407460]
push ebx
push ebp
push esi
push edi
push 0x8a
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push 0x1000
push 0
mov dword [0x91c910], eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push str.https:__www.google.com_images_cleardot.gif
mov dword [esp + 0x18], eax
call fcn.00404359
add esp, 4
add eax, eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push str.https:__www.google.com_images_cleardot.gif
push edi
call fcn.0040436f
mov ecx, dword [0x91c90c]
mov edx, dword [0x91c908]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
push ecx
push 0x3ec
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x91c908]
push 0x280a
push 0xbf0d18
push 0x3eb
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [0x91c90c]
push ecx
push 0xbf0d18
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [0x91c908]
push 0xbf0d18
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x91c908]
push 1
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [0x91c908]
push 0x3ea
push ecx
call esi
push 0x405668
push str.i234e234a234k234u234i234.423d432l423l
mov esi, eax
call fcn.004034b0
add esp, 8
push 0xc9
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x467
push esi
call ebp
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call ebx
push 5
push esi
call ebx
push 0x3f1
call fcn.00402140
push 0x3ec
call fcn.00402140
push 0x3f2
call fcn.00402140
push 0x3eb
call fcn.00402140
push 0xffffffffffffffff
call fcn.00402140
push 0x3ee
call fcn.00402140
push 0x3ef
call fcn.00402140
push 0x3f0
call fcn.00402140
push 8
call fcn.00402140
add esp, 0x24
push 0
push 0
push 0x280a
push 0x9800e0
push edi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x403af1
push 0x9800e0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x91c908]
push 0
push 0x32
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x91c910]
test eax, eax
je 0x403b1d
push eax
mov eax, dword [0x91c908]
push 0
push 0x80
push eax
call ebp
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x403d50
Capabilities:
Create thread
Delete file
Download url
Receive data

Disassembly:
push ebx
push esi
push edi
push 0x190
push 0x407448
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push str.https:__www.google.com_images_cleardot.gif
mov edi, eax
call fcn.00404359
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add esp, 4
add eax, eax
push eax
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push str.https:__www.google.com_images_cleardot.gif
push esi
call fcn.0040436f
add esp, 8
push 0
push 0
push 0x280a
push 0x9800e0
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x403dca
push 0x9800e0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
push 0
mov dword [0x91c90c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [esp + 0x14], 0
mov dword [0x407460], eax
mov dword [0x91c908], 0
jne 0x403e0d
push 0
push 0
push 0
push 0x403d20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop edi
pop esi
pop ebx
ret
Function at 0x403fa0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x14
push esi
push edi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x800
mov byte [esp + 0x14], 0
call fcn.00403560
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push str._silent
push esi
call fcn.004042ea
add esp, 8
test eax, eax
jne 0x404000
push 0x405838
push esi
call fcn.004042ea
add esp, 8
test eax, eax
je 0x40400a
mov byte [esp + 0x10], 1
mov edi, str.silent_mode_ON_
push 0
call fcn.00403030
push eax
call fcn.00403f50
mov esi, eax
push esi
mov dword [esp + 0x18], 0
call fcn.00404348
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
call fcn.00403e30
add esp, 0x18
mov esi, eax
call fcn.00403940
test al, al
je 0x4041c5
push 0x190
push 0x407464
mov edi, str.We_have_just_read_params_
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test esi, esi
je 0x404079
push esi
call fcn.00404348
add esp, 4
test eax, eax
jbe 0x404079
mov edx, dword [esp + 0xc]
push esi
push edx
call fcn.00403670
add esp, 8
cmp word [0x70a098], 0
je 0x404091
push 0x70a098
lea ecx, [esp + 0xf]
call fcn.00403340
call fcn.00403320
push 0xbffd60
push 0x407480
call fcn.004030e0
push 0xbffd60
call fcn.00403200
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.00403d50
lea ecx, [esp + 0x24]
push ecx
push 0xbfad48
push esi
mov dword [esp + 0x30], 0
call fcn.00402f70
add esp, 0x20
test al, al
je 0x40413a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4040fd
push eax
mov edi, str.Location_detected_
call fcn.00401a30
push 7
call fcn.00401950
add esp, 8
jmp 0x404197
push 0x4114b0
push 0xbfad48
call fcn.00401c70
add esp, 8
test al, al
je 0x404197
cmp word [0x5158c8], 0
mov edi, str.Success_launched_
je 0x4041ae
push 0x5158c8
lea ecx, [esp + 0xf]
call fcn.00403340
jmp 0x4041ae
cmp word [0x40c498], 0
je 0x404197
push 0x407464
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x40c498
push 0xbf5d30
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
call fcn.00401990
push eax
push 0xbf5d30
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0xbf5d30
call fcn.00401a30
add dword [0x9178dc], 0x3e8
add esp, 4
push 0x407464
mov edi, str.Error_happened__need_debug_
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp word [0x903880], 0
je 0x4041ae
push 0x903880
call fcn.00401af0
add esp, 4
cmp word [0x8fe868], 0
je 0x4041c5
push 0x8fe868
call fcn.00401ab0
add esp, 4
push edi
call fcn.00401f00
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40438b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
je 0x4043b0
cmp al, 0x20
jle 0x4043c2
inc esi
cmp byte [esi], 0x20
jg 0x4043a4
jmp 0x4043c2
cmp al, 0x22
je 0x4043c1
inc esi
mov al, byte [esi]
test al, al
jne 0x4043ac
cmp al, 0x22
jne 0x4043c2
jmp 0x4043c1
cmp al, 0x20
jg 0x4043c8
inc esi
mov al, byte [esi]
test al, al
jne 0x4043bd
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00404436
push 0x407004
push section..data
call fcn.0040441c
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4043f8
movzx eax, word [ebp - 0x14]
jmp 0x4043fb
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040444e
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x409541
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40954b
repz ret
jmp fcn.0040df2c

Function at 0x41215c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b5cf
and dword [ebp - 0x14], 0
cmp dword [0x46b76c], 0
mov dword [ebp - 0x18], eax
jne 0x41220f
push 0x403784
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4122b7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403778
push ebx
call edi
test eax, eax
je 0x4122b7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403768
push ebx
mov dword [0x46b76c], eax
call edi
push eax
call esi
push 0x403754
push ebx
mov dword [0x46b770], eax
call edi
push eax
call esi
push 0x403738
push ebx
mov dword [0x46b774], eax
call edi
push eax
call esi
mov dword [0x46b77c], eax
test eax, eax
je 0x41220f
push 0x403720
push ebx
call edi
push eax
call esi
mov dword [0x46b778], eax
mov eax, dword [0x46b778]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412268
cmp dword [0x46b77c], ecx
je 0x412268
push eax
call esi
push dword [0x46b77c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412268
test ebx, ebx
je 0x412268
call edi
test eax, eax
je 0x41225f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41225f
test byte [ebp - 8], 1
jne 0x412268
or dword [ebp + 0x10], 0x200000
jmp 0x41229b
mov eax, dword [0x46b770]
cmp eax, dword [ebp - 0x18]
je 0x41229b
push eax
call esi
test eax, eax
je 0x41229b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41229b
mov eax, dword [0x46b774]
cmp eax, dword [ebp - 0x18]
je 0x41229b
push eax
call esi
test eax, eax
je 0x41229b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b76c]
call esi
test eax, eax
je 0x4122b7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4122b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409541
leave
ret
Function at 0x414090
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413730
cmp dword [0x80b8c4], 0x37
jne 0x414121
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f7c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403f88
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x80c4a8]
mov edx, dword [0x808924]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x3caa32f8
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x63db715d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401316
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x553948]
jne 0x401320
repz ret
jmp fcn.004ea87b

Function at 0x401a90
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x401aa0
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x401a9d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x401a9d
mov edx, 0x10b
cmp word [eax + 0x18], dx
sete al
ret

Function at 0x402e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
jne 0x402e6b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
mov edx, dword [esi]
mov edx, dword [edx]
push edi
push eax
mov ecx, esi
call edx
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x402f10
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x402ea4
pop edi
mov word [ebx], ax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x20]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [edi + 0x18]
lea eax, [ebx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x402f10
jmp 0x402ec7
mov eax, dword [ebp - 4]
sub eax, ebx
sar eax, 2
cdq
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx]
sar eax, 1
lea edi, [ebx + eax*4]
mov eax, dword [edi]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x402ef5
cmp dl, byte [eax]
jne 0x402ef5
mov dl, byte [ecx + 1]
inc ecx
inc eax
test dl, dl
jne 0x402ee8
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub eax, edx
je 0x402f1b
test eax, eax
jle 0x402f08
lea ebx, [edi + 4]
jmp 0x402f0b
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 4]
jne 0x402ec4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx + 0x24]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
sub edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sar edi, 2
mov ax, word [eax + edi*2]
add ax, word [ebx + 0x10]
pop edi
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x405d10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506553
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5563cc], 0
je 0x405d49
xor al, al
jmp 0x405dfe
push 0x40
call fcn.004051ca
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x405d6c
push 0
mov ecx, eax
call fcn.00405e20
jmp 0x405d6e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5563cc], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x405da0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004063e0
mov dword [ebp - 4], 1
mov ecx, dword [0x5563cc]
lea edx, [ebp - 0x2c]
push edx
call fcn.00406650
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x405de8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x406650
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506518
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x34], edi
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], edi
lea edx, [ebp - 0x2c]
push edx
push 3
push eax
call fcn.00406750
add esp, 0xc
cmp dword [ebp - 0x1c], edi
jne 0x4066d1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x4066c6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov word [ebp - 0x2c], cx
jmp 0x406729
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edi
jae 0x4066e0
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x30]
push esi
push eax
mov ecx, ebx
call fcn.00406d80
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x40671c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x1c], edi
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 4
Function at 0x408c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x804]
push 0x400
push ecx
mov dword [ebp - 0x814], edx
xor bl, bl
call fcn.00408d90
add esp, 0x14
test eax, eax
js 0x408d71
lea edx, [ebp - 0x808]
push edx
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push esi
mov dword [ebp - 0x808], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408d71
lea ecx, [ebp - 0x818]
push ecx
mov ecx, dword [ebp - 0x808]
lea edx, [ebp - 0x80c]
push edx
lea eax, [ebp - 0x810]
push eax
xor esi, esi
push esi
push edi
push ecx
mov dword [ebp - 0x810], esi
mov dword [ebp - 0x80c], esi
mov dword [ebp - 0x818], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408d64
cmp dword [ebp - 0x810], 4
jne 0x408d64
mov eax, dword [ebp - 0x814]
xor edx, edx
cmp dword [ebp - 0x80c], esi
mov bl, 1
setne dl
mov dword [eax], edx
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x40a8c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAdobe_Acrobat11.0Security
push 0x80000002
mov esi, 1
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a931
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x51394c
push ecx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a927
cmp dword [ebp - 8], eax
jne 0x40a927
xor esi, esi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a940
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push edi
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call esi
test eax, eax
je 0x40a966
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a995
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
jne 0x40a995
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call esi
test eax, eax
je 0x40a98e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a995
call edi
cmp eax, 2
je 0x40a9d0
push 0x556c48
push 0x208
call fcn.0041880c
mov edi, eax
add esp, 8
test edi, edi
je 0x40a9d0
push 0x208
push 0
push edi
call fcn.004e41d0
push edi
call fcn.00449510
add esp, 0x10
test eax, eax
je 0x40a9d6
push edi
call fcn.00418a67
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jae 0x40a9e8
add eax, 0x3e8
push 1
push eax
push edi
call fcn.00449230
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x40aa30
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 2
je 0x40aa2f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 1
jne 0x40aa1c
push 0
push 0xce
jmp 0x40aa26
test ebx, ebx
jne 0x40aa2f
push ebx
push 0xcc
push edi
call fcn.00449230
add esp, 0xc
pop ebx
push edi
call fcn.00418a67
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x40ada0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov ebx, eax
test ebx, ebx
je 0x40ae61
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e41d0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40ae70
cmp dword [ebp - 0x11c], 5
jne 0x40ae70
mov eax, dword [ebp - 0x118]
cmp eax, 1
je 0x40ae16
cmp eax, 2
jne 0x40ae70
push esi
push edi
mov dword [ebp - 0x124], 2
call fcn.004e4d51
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, eax
test esi, esi
je 0x40ae47
push 4
lea edx, [ebp - 0x124]
push edx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test edi, edi
je 0x40ae5d
push 4
lea eax, [ebp - 0x124]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
pop edi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret