joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410f70
Capabilities:
Terminate process

Disassembly:
sub esp, 0x58
mov eax, dword [0x4606e0]
xor eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
push ebx
push esi
mov dword [esp + 0x5c], eax
push edi
lea eax, [esp + 0x10]
push eax
or edi, 0xffffffff
xor ebx, ebx
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
call fcn.004105e0
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0x14], esi
je 0x411057
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x411037
push ebp
push eax
mov ebp, eax
push esi
shr ebp, 4
call fcn.00410620
add esp, 8
jmp 0x410fd0
mov eax, dword [esp + 0x70]
push 0x21
lea edx, [esp + 0x44]
push edx
push eax
push ebx
call fcn.00410df0
add esp, 0x10
test eax, eax
je 0x411036
xor edi, edi
test ebp, ebp
jle 0x411030
nop
push 0x21
lea ecx, [esp + 0x20]
push ecx
push 0x10
push esi
call fcn.0040ff30
add esp, 0x10
test eax, eax
je 0x41102c
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x411024
cmp ebx, dword [esp + 0x10]
jle 0x411024
mov dword [esp + 0x10], ebx
inc edi
add esi, 0x10
cmp edi, ebp
jl 0x410ff0
mov esi, dword [esp + 0x18]
inc ebx
cmp ebx, 0xa
jl 0x410fd0
pop ebp
push esi
call fcn.00410600
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, dword [esp + 0x58]
add esp, 0x58
jmp fcn.00431760
mov ecx, dword [esp + 0x60]
xor ecx, dword [esp + 0x64]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x58
jmp fcn.00431760
Function at 0x411070
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
mov eax, dword [0x4606e0]
xor eax, dword [esp + 0x18]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
mov dword [esp + 4], edi
je 0x41118a
cmp dword [esp + 0x28], 0x21
jb 0x41118a
mov cl, byte [eax]
test cl, cl
je 0x41118a
cmp cl, 0x2d
je 0x41118a
lea ecx, [esp + 0x24]
push ecx
push 0x10
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00410790
add esp, 0x10
test eax, eax
je 0x411177
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.00410620
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.004105e0
mov edi, dword [esp + 0x20]
add esp, 0x10
lea ebp, [edi + 0x10]
push ebp
mov esi, eax
push 0x40
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test esi, esi
mov ebx, eax
je 0x411123
mov ecx, edi
mov eax, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
mov edi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [ebx + edi]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x20]
push ebp
push ebx
mov dword [ecx + 8], edx
push 0x44d6fc
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
push str.STORE
push ecx
call fcn.00410550
add esp, 0x14
test ebx, ebx
mov edi, eax
je 0x411167
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x411174
push esi
call fcn.00410600
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add esp, 0x18
jmp fcn.00431760
mov ecx, dword [esp + 0x18]
xor eax, eax
xor ecx, dword [esp + 0x1c]
pop edi
add esp, 0x18
jmp fcn.00431760

Function at 0x411290
Capabilities:
Terminate process

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4606e0]
xor eax, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x38]
test edi, edi
mov dword [esp + 0x2c], eax
mov eax, 9
mov dword [esp + 4], eax
je 0x411330
cmp dword [esp + 0x3c], 0x21
jb 0x411330
mov al, byte [edi]
test al, al
je 0x41132d
cmp al, 0x2d
je 0x41132d
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push esi
xor esi, esi
push 0x21
lea eax, [esp + 0x18]
push eax
push ebx
push esi
call fcn.00410df0
add esp, 0x10
test eax, eax
je 0x411315
push edi
lea ecx, [esp + 0x18]
push ecx
call ebp
test eax, eax
je 0x411311
inc esi
cmp esi, 0xa
jl 0x4112d2
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x28]
xor ecx, dword [esp + 0x2c]
add esp, 0x2c
jmp fcn.00431760
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x28]
xor ecx, dword [esp + 0x2c]
add esp, 0x2c
jmp fcn.00431760
or eax, 0xffffffff
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x30]
pop edi
add esp, 0x2c
jmp fcn.00431760
Function at 0x412407
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41242b
cmp dword [edi + 0x54], 0
jne 0x41242b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042085d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004123c8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x412ca8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4471e3
call fcn.0043303b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x412ccd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x412d13
lea ecx, [ebp - 0x10]
call fcn.004014b0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004124a7
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401130
mov eax, esi
call fcn.00433113
ret 8

Function at 0x41876a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4187b1
call fcn.0042085d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4187b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4187cd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004182e4
mov esi, eax
test edi, edi
je 0x4187cb
test ebx, ebx
je 0x4187cb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41f56c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41f5b4
call fcn.0042085d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41f5b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41f5f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41f5e0
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41f5e0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41f5f4
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x431760
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4606e0]
jne 0x43176a
repz ret
jmp fcn.0043a8cc
Function at 0x441b6d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043a215
and dword [ebp - 4], 0
cmp dword [0x4653dc], 0
mov ebx, eax
jne 0x441c1e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x441ccf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45250c
push edi
call esi
test eax, eax
je 0x441ccf
push eax
call fcn.0043a1a3
mov dword [esp], 0x4524fc
push edi
mov dword [0x4653dc], eax
call esi
push eax
call fcn.0043a1a3
mov dword [esp], 0x4524e8
push edi
mov dword [0x4653e0], eax
call esi
push eax
call fcn.0043a1a3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4653e4], eax
call esi
push eax
call fcn.0043a1a3
pop ecx
mov dword [0x4653ec], eax
test eax, eax
je 0x441c1e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043a1a3
pop ecx
mov dword [0x4653e8], eax
mov eax, dword [0x4653e8]
cmp eax, ebx
je 0x441c76
cmp dword [0x4653ec], ebx
je 0x441c76
push eax
call fcn.0043a21e
push dword [0x4653ec]
mov esi, eax
call fcn.0043a21e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x441c76
test edi, edi
je 0x441c76
call esi
test eax, eax
je 0x441c6d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x441c6d
test byte [ebp - 0xc], 1
jne 0x441c76
or dword [ebp + 0x10], 0x200000
jmp 0x441caf
mov eax, dword [0x4653e0]
cmp eax, ebx
je 0x441caf
push eax
call fcn.0043a21e
pop ecx
test eax, eax
je 0x441caf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x441caf
mov eax, dword [0x4653e4]
cmp eax, ebx
je 0x441caf
push eax
call fcn.0043a21e
pop ecx
test eax, eax
je 0x441caf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4653dc]
call fcn.0043a21e
pop ecx
test eax, eax
je 0x441ccf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x441cd1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6a921c80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x6a921d8c
test eax, eax
je 0x6a921d8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x6a93cff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x6a921d73
lea edi, [eax + 4]
jmp 0x6a921cd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x6a921cec
mov dword [ebp - 4], 2
jmp 0x6a921d0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x6a921d03
mov dword [ebp - 4], 1
jmp 0x6a921d0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x6a921d83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x6a921d46
mov byte [ecx], 0x3d
jmp 0x6a921d52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x6a921d5d
mov byte [ecx], 0x3d
jmp 0x6a921d63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x6a921cd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6b11ac40
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec edx
xor edx, 0x319e4629
stc
ror edx, 1
dec edx
jmp 0x6accbda8
pushfd
push ebx
btr bx, 0x6d
bts bx, cx
push ebp
stc
bswap bx
push esi
btc bx, 0x4d
ror bh, 0x6f
stc
push edi
push eax
cmc
push edx
stc
mov eax, 0x5a910000
bts bp, si
rol bl, cl
push eax
movzx ebp, bx
rcl bl, 0xf1
mov ebp, dword [esp + 0x28]
rcr bl, cl
ror ebp, 1
bswap ebp
not ebp
btr si, dx
neg ebp
mov edi, 0x1d3f1fdd
cdq
dec ebp
not ebp
xchg esi, edx
add ebp, eax
sbb ebx, 0x67a215c5
mov esi, esp
ror dx, 0xb6
cbw
rdtsc
lea esp, [esp - 0xc0]
lahf
rdtsc
rcl dh, 0x71
mov ebx, ebp
not dl
btr edi, eax
mov eax, 0x5a910000
sub ebx, eax
jmp 0x6b15c8d6
xor ebx, edx
add edi, edx
jmp 0x6ad9ee8a
jmp edi
push ecx
jmp 0x6acc36e7
lea edi, [0x6b15c8d6]
btr dx, bp
xadd dh, dl
sub ebp, 4
adc edx, edi
sub dx, di
mov edx, dword [ebp]
cmc
xor edx, ebx
cmp cx, 0x602e
neg edx
cmc
rol edx, 2
jmp 0x6ac773fd
Function at 0x4022a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x4022d5
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x402f8b
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x402fa3
push dword [esp + 4]
push 0x402f24
call dword [sym.imp.USER32.DLL_EnumWindows]
jmp 0x402fe0
push esi
mov esi, dword [0x40576c]
test esi, esi
je 0x402fdf
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x402fd7
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
push edi
push 0x40576c
call fcn.0040359a
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x402fb0
pop edi
pop ebx
pop esi
ret 4

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402589
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4025c6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4025c2
nop word [eax + eax]
cmp esi, edx
jae 0x4025c6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4025b0
cmp esi, edx
jb 0x4025cd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x403563
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403563
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x403555
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetWebViewFactory
push eax
call edi
test eax, eax
je 0x40353d
call eax
mov dword [esi + 4], eax
push str.IWebViewToIWebViewEx
push dword [esi]
call edi
push str.IsSupportedWebViewEngine
push dword [esi]
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
xor eax, eax
cmp dword [esi + 4], eax
pop edi
setne al
pop esi
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x404380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ecx + 0x1e8]
push esi
sub ecx, 0x10
call fcn.00407870
cmp dword [eax + 4], 0
lea esi, [eax + 0x10]
je 0x4043ad
push 1
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4043c5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4047b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf560
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6619c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x4047f3
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
mov dword [esi + 0x1b8], 0
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x40480e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x1a8], 0
mov edx, 0x630b94
mov dword [esi + 0x1ac], 0
lea ecx, [ebp - 0x10]
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0
call fcn.0047d3e0
push 0x630ba4
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406720
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.0046d0e0
test eax, eax
je 0x404890
push dword [ebp - 0x14]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x404890
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.0046d6e0
mov ecx, esi
call fcn.00404fa0
mov ecx, esi
test eax, eax
js 0x4048a9
push 1
jmp 0x4048ab
push 3
call fcn.004043d0
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4048d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4048f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405070
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf71e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6619c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x67c514]
test eax, eax
jne 0x4050ca
push 0x58
call fcn.00589bce
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040ab00
mov dword [ebp - 4], 0xffffffff
mov dword [0x67c514], eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0040b5f0
mov dword [ebp - 4], 1
cmp byte [ebx + 0x1e0], 0
je 0x405144
cmp dword [0x67c514], 0
jne 0x40510f
push 0x58
call fcn.00589bce
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ab00
mov byte [ebp - 4], 1
mov dword [0x67c514], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040b710
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00407150
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405144
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40516d
push 0x62f864
push 0x6310b8
push str.cef_load
call fcn.0046d540
add esp, 0xc
xor edi, edi
jmp 0x4051dd
push esi
lea ecx, [ebx + 0x1a8]
call fcn.00403500
mov dword [ebx + 0x1cc], eax
test eax, eax
je 0x4051b7
mov ecx, dword [ebx + 0x19c]
cmp dword [ecx - 0xc], 0
je 0x4051ab
push 0
push ecx
mov edi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x18], edi
call fcn.00407870
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00404910
push 0x62f864
push 0x631094
jmp 0x4051ca
push 3
mov ecx, ebx
call fcn.004043d0
push 0x62f864
push 0x6310b8
push str.cef_load
call fcn.0046d540
mov edi, dword [ebx + 0x1cc]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4051fc
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
Function at 0x409410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfbea
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6619c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
call fcn.00402bb0
mov ecx, eax
test ecx, ecx
jne 0x409485
push 0x80004005
call fcn.00402480
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x18], eax
mov byte [ebp - 4], 3
call fcn.00402bb0
mov ecx, eax
test ecx, ecx
jne 0x4094a9
push 0x80004005
call fcn.00402480
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 4
call fcn.00402bb0
mov ecx, eax
test ecx, ecx
jne 0x4094cd
push 0x80004005
call fcn.00402480
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 5
call fcn.00402bb0
mov ecx, eax
test ecx, ecx
jne 0x4094f1
push 0x80004005
call fcn.00402480
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x24], eax
lea esi, [edi + 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040eb10
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret