joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494481
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004943fd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4945f0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4945f0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4945a5
jg 0x4944dd
test eax, eax
je 0x49459b
push 1
push 0x1000
call fcn.00484de2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x494500
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x494592
push 0x8000
push ebx
call fcn.004828dc
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x494529
jg 0x494524
cmp ecx, 0x1000
jb 0x494529
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004858b7
add esp, 0x10
cmp eax, 0xffffffff
je 0x49456e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x494524
jl 0x494555
test ecx, ecx
jne 0x494516
push dword [ebp - 0xc]
push ebx
call fcn.004828dc
push esi
call fcn.00485cd0
add esp, 0xc
xor ebx, ebx
jmp 0x4945fe
cmp byte [edi + 0x24], 0
je 0x494585
cmp dword [edi + 0x20], 5
jne 0x494585
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x494590
mov ebx, dword [edi + 0x18]
jmp 0x494592
xor ebx, ebx
push esi
call fcn.00485cd0
pop ecx
jmp 0x4945fe
test ecx, ecx
jg 0x494567
jl 0x4945a5
test eax, eax
jae 0x494567
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00489d0f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4945c5
cmp byte [edi + 0x1c], 0
je 0x494567
jmp 0x4945f6
push ebx
call fcn.0048a584
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x494567
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4945fe
cmp byte [edi + 0x1c], 0
je 0x4945fb
mov ebx, dword [edi + 0x18]
jmp 0x4945fe
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00489d0f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4966f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x49671d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x49671d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401050
Capabilities:
Terminate process

Disassembly:
jmp 0x403840
push esi
mov esi, ecx
call fcn.0041b630
push str.._bin
call fcn.0041b6b0
add esp, 4
test al, al
je 0x4038a1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x403874
cmp byte [esi + 0x10], 0
jne 0x40386d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x14], 0
push str.utilcore.dll
mov byte [esi + 0x11], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x14], eax
test eax, eax
je 0x4038bc
push str.GetInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4038e0
call eax
mov dword [esi + 0x18], eax
pop esi
ret
push 0
push str.Desura:_ERROR_
push str.Failed_to_set_the_DLL_path_to_the_bin_folder.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffff9c
call fcn.00439926
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push str.Desura:_ERROR_
push str.Failed_to_load_utilcore.dll
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffff38
call fcn.00439926
push 0
push str.Desura:_ERROR_
push str.Failed_to_load_wxWidgets_mappings_in_utilcore.dll
push 0
mov byte [esi + 0x11], 1
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xfffffe0c
call fcn.00439926
int3
Function at 0x404980
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x4a0d40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0xff
push eax
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x204]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4049b7
sub ecx, edx
sar ecx, 1
je 0x4049f6
lea eax, [ecx + ecx]
jmp 0x4049d0
cmp word [ebp + eax - 0x204], 0x5c
je 0x4049f6
cmp eax, 0x1fe
jae 0x404b3b
xor edx, edx
mov word [ebp + eax - 0x204], dx
sub eax, 2
dec ecx
jne 0x4049d0
push 0x40
lea eax, [ebp - 0x654]
mov dword [ebp - 0x658], 0
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x614], xmm0
call fcn.0043b830
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x604], ax
lea eax, [ebp - 0x602]
push eax
call fcn.0043b830
push edi
push str.dumpgen.exe__crashreport__file___s_
push 0xffffffffffffffff
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.0043b6d4
add esp, 0x2c
cmp byte [esi + 5], 0
je 0x404a71
push str.__msgbox
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.0043b399
add esp, 0xc
cmp byte [esi + 6], 0
je 0x404a90
push str.__noupload
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.0043b399
add esp, 0xc
cmp dword [esi + 0xc], 0
je 0x404ac3
push str.__tracer
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.0043b399
push dword [esi + 0xc]
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.0043b399
add esp, 0x18
cmp dword [esi + 8], 0
je 0x404af6
push str.__user
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.0043b399
push dword [esi + 8]
lea eax, [ebp - 0x604]
push 0x200
push eax
call fcn.0043b399
add esp, 0x18
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x604]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne al
xor ecx, ebp
pop esi
call fcn.0043a20e
mov esp, ebp
pop ebp
ret 4
call fcn.0043b1a7
int3

Function at 0x404c50
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a0d40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
push str._sDesura
push 0xffffffffffffffff
push edi
push ebx
call fcn.0043b6d4
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x14
push 0
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push str._sDesuraDesuraApp
push 0xffffffffffffffff
push edi
push ebx
call fcn.0043b6d4
add esp, 0x14
push 0
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push str._sDesuraDesuraAppdumps
push 0xffffffffffffffff
push edi
push ebx
call fcn.0043b6d4
add esp, 0x14
push 0
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a20e
mov esp, ebp
pop ebp
ret 8
Function at 0x404da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4a3fbc]
test ecx, ecx
je 0x404de6
mov eax, dword [ebp + 8]
movzx eax, al
sub eax, 2
je 0x404ddf
dec eax
je 0x404dd4
dec eax
je 0x404dc9
mov dword [ecx + 0x6c], 0
pop ebp
ret 4
mov dword [ecx + 0x6c], 0x1b35
pop ebp
ret 4
mov dword [ecx + 0x6c], 0x55
pop ebp
ret 4
mov dword [ecx + 0x6c], 0x54
xor ebx, esp
dec edi
add ebx, edx
ror eax, 0xf
cmp ebx, ebp
jle 0x404df8
and edx, 0x26c01454
test dword [0x4a32b6], esp
jge 0x404e02
add ebx, ebp
xchg ebx, eax
not esi
xor esi, esp
cmp dword [0x4a1c2a], 0xc29b2a18
jl 0x404e16
add edx, esi
xor edi, edx
xor ecx, ebx
or edx, edi
dec ebx
or esi, 0x5db07181
xor esi, 0x40e92d8
and edi, eax
cmp ecx, 0xcee6dc1c
jl 0x404e34
dec eax
sub edi, 0x9027666
test dword [0x4a07c5], 0x938f975a
ja 0x404e48
neg esi
mov ecx, 0x491037aa
xor esi, edx
mov edx, dword [0x4a0a4e]
add ebx, esi
cmp dword [0x4a2606], ebx
jo 0x404e65
test esi, 0x44370853
jge 0x404e6d
xor dword [0x4a6a61], esi
add edx, dword [0x4a13dc]
neg ebx
mov edx, dword [0x4a24b0]
dec ecx
jne 0x404e4d
shr eax, 0x13
ror ebx, 0x19
xor ebx, ecx
mov ecx, 0x78821843
sub edi, esi
test dword [0x4a0dd2], 0x80526522
jle 0x404e9f
call fcn.00419240
shr edi, 0x10
not esi
shl esi, 0x1f
and edi, esp
dec ebx
sub eax, dword [0x4a1d38]
inc ebx
neg edx
and esi, 0xeb307ac4
shl eax, 0xf
inc esi
mov eax, 0xa1ac01cc
ror esi, 0xf
not esi
dec ecx
jne 0x404e8c
mov ecx, 0x437ba5a0
xor ebx, esp
not esi
and eax, esp
sub ebx, edi
add dword [0x4a68bf], esi
add edi, 0x5679efc1
neg esi
or esi, esi
shr ebx, 0x1b
add eax, edi
neg edx
and dword [0x4a69cd], edx
shr ebx, 6
dec ebx
xor esi, ebp
call fcn.004680a3
add dword [0x4a6665], edi
shr edi, 0x19
shl esi, 0x1b
dec ecx
jne 0x404ed0
Function at 0x419d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2884
call fcn.0043e130
mov eax, dword [0x4a0d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2880], eax
mov dword [ebp - 0x2884], 0
push ebx
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x419dad
push 2
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], eax
push 0x48cd14
mov byte [ebx], al
call fcn.00401122
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
ret
push esi
push edi
lea ecx, [ebp - 0x2870]
call fcn.0041a030
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x287c], xmm0
test eax, eax
jb 0x419e76
mov edx, dword [ebp + 0x10]
ja 0x419ddd
test edx, edx
je 0x419e76
mov esi, dword [ebp - 0x2878]
mov edi, dword [ebp - 0x287c]
mov dword [ebp - 0x2874], esi
nop
mov ecx, edx
sub ecx, edi
sbb eax, esi
test eax, eax
ja 0x419e0a
jb 0x419e04
cmp ecx, 0x2800
jae 0x419e0a
mov esi, edx
sub esi, edi
jmp 0x419e0f
mov esi, 0x2800
push 0
lea eax, [ebp - 0x2878]
mov dword [ebp - 0x2878], 0
push eax
push esi
lea eax, [ebp - 0x2804]
push eax
push dword [ebp - 0x2880]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x2878], esi
jne 0x419ea0
push esi
lea eax, [ebp - 0x2804]
push eax
lea ecx, [ebp - 0x2870]
call fcn.0041ac40
mov eax, dword [ebp + 0x14]
add edi, esi
mov esi, dword [ebp - 0x2874]
mov edx, dword [ebp + 0x10]
adc esi, 0
mov dword [ebp - 0x2874], esi
cmp esi, eax
jb 0x419df0
ja 0x419e76
cmp edi, edx
jb 0x419df0
lea ecx, [ebp - 0x2870]
call fcn.0041a340
push ebx
lea ecx, [ebp - 0x2870]
call fcn.0041a3f0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
ret
push 0x48cd14
mov ecx, ebx
call fcn.004011cc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a20e
mov esp, ebp
pop ebp
ret

Function at 0x41a030
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov eax, ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41abb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4a0d40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x403]
push edi
push 0x3ff
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x404], 0
call fcn.0043b830
push esi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0043e33b
add esp, 0x1c
test eax, eax
je 0x41ac2a
nop
push eax
lea eax, [ebp - 0x404]
mov ecx, edi
push eax
call fcn.0041ac40
push esi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.0043e33b
add esp, 0x10
test eax, eax
jne 0x41ac00
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043a20e
mov esp, ebp
pop ebp
ret 4
Function at 0x41ad00
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x4a0d40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x9c
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
lea eax, [ebp - 0xa8]
movdqa xmmword [ebp - 0xe0], xmm0
push 0
push eax
movdqa xmmword [ebp - 0xd0], xmm0
call fcn.0043b830
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41ad8a
mov eax, 9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.GetNativeSystemInfo
push 0x48cd34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41adb0
lea ecx, [ebp - 0xe0]
push ecx
call eax
jmp 0x41adbd
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x98], 2
jne 0x41ad74
mov eax, dword [ebp - 0xa4]
cmp eax, 4
jbe 0x41ad74
cmp eax, 6
jne 0x41ae6c
mov eax, dword [ebp - 0xa0]
cmp eax, 3
jne 0x41ae02
xor eax, eax
cmp byte [ebp - 0xe], 1
setne al
add eax, 0xd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp eax, 2
jne 0x41ae24
xor eax, eax
cmp byte [ebp - 0xe], 1
setne al
add eax, 0xb
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp eax, 1
jne 0x41ae45
cmp byte [ebp - 0xe], al
mov ecx, 0xa
cmove eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test eax, eax
jne 0x41af37
cmp byte [ebp - 0xe], 1
sete al
lea eax, [eax*4 + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp eax, 5
jne 0x41af37
mov eax, dword [ebp - 0xa0]
cmp eax, 2
jne 0x41aef6
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x41aee0
mov ax, word [ebp - 0x10]
mov ecx, 0x2000
cmp ax, cx
je 0x41aee0
mov ecx, 0x8000
cmp ax, cx
jne 0x41aeba
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [ebp - 0xe], 1
jne 0x41aee0
cmp word [ebp - 0xe0], 9
jne 0x41aee0
mov eax, 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp eax, 1
jne 0x41af11
mov eax, 7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test eax, eax
jne 0x41af37
cmp byte [ebp - 0xe], 1
mov eax, 3
mov ecx, 8
cmove eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x41b090
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.0043e130
mov eax, dword [0x4a0d40]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1040]
push eax
push 0x1000
lea eax, [ebp - 0x1038]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41b0d3
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, dword [ebp - 0x1040]
mov ecx, eax
shr ebx, 2
xor edi, edi
mov dword [ebp - 0x103c], ecx
test ebx, ebx
je 0x41b18a
jmp 0x41b100
mov eax, dword [ebp + edi*4 - 0x1038]
test eax, eax
je 0x41b181
cmp eax, ecx
je 0x41b181
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41b17b
push 0x31
lea eax, [ebp - 0x37]
mov byte [ebp - 0x38], 0
push 0
push eax
call fcn.0043b830
add esp, 0xc
lea eax, [ebp - 0x38]
push 0x32
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleBaseNameA
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41b172
test dl, dl
je 0x41b16e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41b172
add ecx, 2
add eax, 2
test dl, dl
jne 0x41b152
xor eax, eax
jmp 0x41b177
sbb eax, eax
or eax, 1
test eax, eax
je 0x41b19d
mov ecx, dword [ebp - 0x103c]
inc edi
cmp edi, ebx
jb 0x41b100
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a20e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a20e
mov esp, ebp
pop ebp
ret
Function at 0x41d790
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
je 0x41d7a4
push eax
call esi
mov eax, dword [edi + 0x70]
test eax, eax
je 0x41d7ae
push eax
call esi
cmp dword [edi + 0x78], 0
push ebx
je 0x41d8b5
push 0x4a4004
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [edi + 0x78], 1
je 0x41d7d3
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test byte [edi + 0x78], 2
je 0x41d7e7
push dword [edi + 0x80]
call fcn.0043e761
add esp, 4
test byte [edi + 0x78], 4
je 0x41d7fb
push dword [edi + 0x84]
call fcn.0043919e
add esp, 4
mov ecx, dword [0x4a3ffc]
mov eax, dword [ecx + 4]
cmp dword [eax - 4], edi
jne 0x41d815
add dword [ecx + 4], 0xfffffffc
mov ebx, dword [0x4a3ffc]
jmp 0x41d86f
push str.warning:_removing_Breakpad_handler_out_of_order_n
call fcn.0043e820
add eax, 0x40
push eax
call fcn.0043e963
mov ebx, dword [0x4a3ffc]
add esp, 8
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x41d86f
push ebp
lea ebp, [esi + 4]
lea esp, [esp]
cmp dword [esi], edi
jne 0x41d863
mov eax, dword [ebx + 4]
sub eax, ebp
and eax, 0xfffffffc
push eax
push ebp
push esi
call fcn.00439940
add esp, 0xc
add dword [ebx + 4], 0xfffffffc
mov ebx, dword [0x4a3ffc]
jmp 0x41d869
add esi, 4
add ebp, 4
cmp esi, dword [ebx + 4]
jne 0x41d840
pop ebp
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x41d8aa
test eax, eax
je 0x41d897
push eax
call fcn.00439214
add esp, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push ebx
call fcn.00439214
add esp, 4
mov dword [0x4a3ffc], 0
push 0x4a4004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jne 0x41d900
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x90]
mov dword [edi + 0x88], 0
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
mov ecx, 0x4a401c
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x41d915
push 0x4a4004
call ebx
cmp dword [edi + 0x54], 8
pop ebx
jb 0x41d927
push dword [edi + 0x40]
call fcn.00439214
add esp, 4
xor eax, eax
mov dword [edi + 0x54], 7
mov dword [edi + 0x50], 0
mov word [edi + 0x40], ax
cmp dword [edi + 0x3c], 8
jb 0x41d94c
push dword [edi + 0x28]
call fcn.00439214
add esp, 4
xor eax, eax
mov dword [edi + 0x3c], 7
mov dword [edi + 0x38], 0
mov word [edi + 0x28], ax
cmp dword [edi + 0x24], 8
jb 0x41d971
push dword [edi + 0x10]
call fcn.00439214
add esp, 4
xor eax, eax
mov dword [edi + 0x24], 7
mov dword [edi + 0x20], 0
mov word [edi + 0x10], ax
mov esi, dword [edi + 0xc]
test esi, esi
je 0x41d99c
mov ecx, esi
call fcn.00403f50
push esi
call fcn.00439214
add esp, 4
pop edi
pop esi
ret
Function at 0x454058
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a0d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00441475
mov dword [ebp - 0x14], eax
cmp dword [0x4a50a4], esi
jne 0x45414b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4540d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x45422b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x45422b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45422b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a50a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a50a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a50ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a50b4], eax
test eax, eax
je 0x454148
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a50b0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x454170
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x454163
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x454185
push 4
pop eax
jmp 0x45422d
cmp dword [ebp - 0x14], esi
je 0x454185
push dword [0x4a50a4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45416a
mov eax, dword [0x4a50b0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4541e3
cmp dword [0x4a50b4], edi
je 0x4541e3
push eax
call ebx
push dword [0x4a50b4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4541e3
test eax, eax
je 0x4541e3
call ecx
test eax, eax
je 0x4541d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4541d8
test byte [ebp - 8], 1
jne 0x4541e3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x454213
mov eax, dword [0x4a50a8]
cmp eax, edi
je 0x454210
push eax
call ebx
test eax, eax
je 0x454210
call eax
mov esi, eax
test esi, esi
je 0x454210
mov eax, dword [0x4a50ac]
cmp eax, edi
je 0x454210
push eax
call ebx
test eax, eax
je 0x454210
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a50a4]
call ebx
test eax, eax
je 0x45422b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x45422d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a20e
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219