joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e50
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
sub esp, 0x314
call fcn.00412e10
test eax, eax
je 0x412fb2
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 2
push 0
call eax
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test eax, eax
je 0x412fb2
push esi
push 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x45a2f4
push 1
push 0
push 0x45a304
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x412fa2
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push 0x45a318
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x412f98
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x31c]
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x324]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jl 0x412f8d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push 0x4668c8
push edx
call esi
mov eax, dword [esp + 0x328]
lea ecx, [esp + 0x10]
push eax
push ecx
call esi
lea edx, [esp + 0x10]
push 0x4668c8
push edx
call esi
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x10]
push edi
push ecx
call esi
lea edx, [esp + 0x10]
push str..lnk
push edx
call esi
lea eax, [esp + 0x114]
push 0x104
push eax
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x114]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
add esp, 0x314
ret
mov eax, dword [esp]
add esp, 0x314
ret

Function at 0x412fc0
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
call fcn.00412e10
test eax, eax
je 0x413040
lea ecx, [esp]
push ecx
push 0
push 0
push 2
push 0
call eax
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test eax, eax
je 0x413040
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 4]
push 0x4668c8
push eax
call esi
mov ecx, dword [esp + 0x110]
lea edx, [esp + 4]
push ecx
push edx
call esi
lea eax, [esp + 4]
push 0x4668c8
push eax
call esi
mov ecx, dword [esp + 0x10c]
lea edx, [esp + 4]
push ecx
push edx
call esi
lea eax, [esp + 4]
push str..lnk
push eax
call esi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
add esp, 0x104
ret
Function at 0x417300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x417315
xor eax, eax
ret 8
and eax, 0x10
cmp al, 0x10
jne 0x41732a
mov ecx, dword [esp + 8]
xor eax, eax
test ecx, ecx
setne al
ret 8
mov ecx, dword [esp + 8]
xor eax, eax
test ecx, ecx
sete al
ret 8
Function at 0x417ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x450f7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x467c48]
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
mov dword [esp + 0x28], ebx
call fcn.0043aec2
mov edx, dword [eax]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
push ecx
mov ecx, dword [esp + 0x10]
mov eax, esp
mov dword [esp + 0x34], esp
lea edx, [esp + 0x34]
mov dword [eax], ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0043aec2
mov ecx, eax
call fcn.00418140
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 0x164
jle 0x4180af
lea edx, [esp + 0x30]
push str.__b__d__Y
push edx
lea ecx, [esp + 0x14]
call fcn.0043af04
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00441153
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x30]
jmp 0x418102
push 0
lea ecx, [esp + 0x10]
call fcn.0043aed5
mov esi, dword [eax + 4]
push 0
lea ecx, [esp + 0x10]
call fcn.0043aed5
mov edi, dword [eax + 8]
lea eax, [esp + 0x30]
push str._b__d
push eax
lea ecx, [esp + 0x14]
call fcn.0043af04
mov ecx, dword [eax]
push esi
push edi
push ecx
lea edx, [esp + 0x1c]
push str.__s__02d:_02d
push edx
mov byte [esp + 0x38], 3
call fcn.0043ac98
add esp, 0x14
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x30]
call fcn.00441066
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00440ddb
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.00441066
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x4390c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041a940
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43918b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43918b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43913e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x439149
or bh, 8
and edi, 0x8000000
je 0x439164
mov eax, dword [0x470cbc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x43918b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x43958b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4395af
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4395ca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x43cd1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43cd3f
cmp dword [edi + 0x3c], 0
jne 0x43cd3f
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0044c3d4
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
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043cd6c
pop edi
pop esi
pop ebx
ret 8

Function at 0x43e391
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x43e3c9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004414c1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00441499
jmp 0x43e3d5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x43e3d9
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x46e910
mov ecx, edi
call fcn.004411a3
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x43e42c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x43e43f
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004414c1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00441499
jmp 0x43e43f
mov ecx, esi
call fcn.00440517
test eax, eax
je 0x43e43f
push edi
mov ecx, eax
call fcn.0043e391
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x43fd3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43fd81
call fcn.0044c3d4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43fd81
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43fd78
xor eax, eax
jmp 0x43fd89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043fd8f
pop edi
pop esi
pop ebx
ret 4
Function at 0x44b985
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0044c3d4
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44b9c2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44b9c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x44b9c6
xor eax, eax
jmp 0x44ba44
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00440da7
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x44b9fe
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x44b9e8
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0044bb35
push ebx
mov edi, eax
call fcn.00440dd0
test edi, edi
pop ecx
je 0x44ba40
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0044b8fe
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0044ba49
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x44e149
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x10
lea eax, [ebp - 0x14]
push 0
mov esi, ecx
push eax
call fcn.0041ba50
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call sub.WSOCK32.dll_getsockname
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
je 0x44e1a8
push dword [ebp - 0x12]
call sub.WSOCK32.dll_ntohs
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x10]
movzx eax, ax
mov dword [ecx], eax
call sub.WSOCK32.dll_inet_ntoa
mov ecx, dword [ebp + 8]
push eax
call fcn.004411a3
mov eax, esi
pop esi
leave
ret 8

Function at 0x44e32c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x44e343
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc
Function at 0x401a57
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [edi + 0x44], eax
cmp eax, 1
jne 0x401ab7
mov eax, dword [edi + 0x48]
test eax, eax
je 0x401ad0
call fcn.004128eb
cmp eax, 1
jne 0x401ad0
push dword [edi + 4]
call dword [0x4a62f4]
test eax, eax
jne 0x401ad0
mov ecx, dword [edi + 4]
call fcn.00402673
push 4
push dword [edi + 4]
call dword [0x4a62f0]
push str.AdPopup
lea esi, [ebp - 4]
call fcn.00402642
call fcn.00411d17
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00402878
inc dword [edi + 0x50]
jmp 0x401ad0
push dword [edi + 4]
call dword [0x4a62f4]
cmp eax, 1
jne 0x401ad0
push 0
push dword [edi + 4]
call dword [0x4a62f0]
pop esi
leave
ret

Function at 0x4022ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [0x4a6200]
test eax, eax
je 0x402311
push edi
push eax
call dword [0x4a626c]
mov edi, eax
test edi, edi
je 0x402303
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4a6270]
add eax, edi
and esi, 0xf
jbe 0x4022ff
cmp edi, eax
jae 0x402303
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4022f1
cmp edi, eax
jb 0x402307
xor eax, eax
jmp 0x402310
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x402c4d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, edi
call fcn.00402c2c
cmp dword [ebp + 8], 0
mov ebx, dword [0x4a61d0]
jne 0x402c6a
call ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
push 2
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, esi
test cx, cx
jne 0x402c73
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00427f41
pop ecx
mov dword [edi + 0x20], eax
test eax, eax
jne 0x402ca1
xor eax, eax
jmp 0x402ce3
mov edx, dword [ebp + 8]
test edx, edx
je 0x402cb9
movzx ecx, word [edx]
mov word [eax], cx
add edx, esi
add eax, esi
test cx, cx
jne 0x402ca8
jmp 0x402ccd
call ebx
mov edx, dword [edi + 0x20]
movzx ecx, word [eax]
mov word [edx], cx
add eax, esi
add edx, esi
test cx, cx
jne 0x402cbe
push edi
call fcn.00402ce9
test eax, eax
jne 0x402ce0
mov eax, edi
call fcn.00402c2c
jmp 0x402c9d
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 4
Function at 0x40313c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c4cc0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4d1314], 0
jne 0x403193
lea eax, [ebp - 0x118]
push eax
mov byte [0x4d1314], 1
mov dword [ebp - 0x118], 0x114
call dword [0x4a61bc]
test eax, eax
je 0x403193
cmp dword [ebp - 0x108], 2
jne 0x403193
cmp dword [ebp - 0x114], 6
jb 0x403193
mov byte [0x4d1315], 1
mov ecx, dword [ebp - 4]
mov al, byte [0x4d1315]
xor ecx, ebp
call fcn.00478b4c
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4c4cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 7
xor esi, esi
pop ebx
xor eax, eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ebx
mov word [edi], ax
cmp dword [edi + 0x10], esi
jne 0x40331d
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.0047a8e0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], esi
mov word [ebp - 0x228], ax
call fcn.0040313c
test al, al
push 1
lea eax, [ebp - 0x20c]
je 0x4032a6
push 0x1c
push eax
push esi
call dword [0x4a62b4]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.004073ca
push 0x4b2ccc
lea ebx, [ebp - 0x228]
call fcn.004043e1
push 0x4b2808
mov esi, eax
call fcn.004043e1
cmp esi, 0xffffffff
jne 0x403257
xor esi, esi
cmp eax, 0xffffffff
jne 0x40325e
xor eax, eax
cmp esi, eax
ja 0x403264
mov esi, eax
push esi
push 0
lea eax, [ebp - 0x228]
push eax
lea esi, [ebp - 0x244]
call fcn.0040446d
mov eax, esi
push eax
lea ecx, [ebp - 0x228]
call fcn.00401f12
push 0
push 1
mov ecx, esi
call fcn.004018e2
push 0x4b280c
lea ecx, [ebp - 0x228]
call fcn.00401000
xor esi, esi
jmp 0x4032c2
push 0x1a
push eax
push esi
call dword [0x4a62b4]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.004073ca
push str.BaiduBaiduPlayer_
lea ecx, [ebp - 0x228]
call fcn.00401000
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x228]
push eax
mov ecx, edi
call fcn.0040181f
cmp dword [edi + 0x14], 8
jb 0x4032ed
mov eax, dword [edi]
jmp 0x4032ef
mov eax, edi
push eax
call dword [0x4a62d8]
test eax, eax
jne 0x40330f
cmp dword [edi + 0x14], 8
jb 0x403304
mov eax, dword [edi]
jmp 0x403306
mov eax, edi
push esi
push eax
push esi
call dword [0x4a62b0]
push esi
push 1
lea ecx, [ebp - 0x228]
call fcn.004018e2
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, edi
pop ebx
call fcn.00478b4c
leave
ret
Function at 0x40332d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x4c4cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [esi + 0x5874], bl
je 0x403355
mov eax, 0x810a0001
jmp 0x403497
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
mov byte [esi + 0x5874], 1
mov dword [esi + 4], ebx
call dword [0x4a61e4]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00479a76
pop ecx
pop ecx
cmp eax, ebx
jne 0x403390
mov eax, 0x810a0002
jmp 0x403497
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0xa28], ax
push edi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xa28]
mov dword [ebp - 0xa14], 7
mov dword [ebp - 0xa18], ebx
call fcn.004073ca
push str._bugreport.exe
lea ecx, [ebp - 0xa28]
call fcn.00401000
push eax
lea ecx, [ebp - 0xa44]
call fcn.00401d27
lea eax, [ebp - 0xa44]
push eax
lea ecx, [esi + 0x583c]
call fcn.00401f12
push ebx
push 1
lea ecx, [ebp - 0xa44]
call fcn.004018e2
push ebx
push 1
lea ecx, [ebp - 0xa28]
call fcn.004018e2
call dword [0x4a61d0]
or edi, 0xffffffff
push edi
push eax
lea eax, [esi + 0x2ec]
push 0x1000
push eax
call fcn.00479aa4
push edi
push str.BaiduPlayerContent
lea eax, [esi + 0x573c]
push 0x40
push eax
call fcn.00479aa4
push edi
push 0x4b2cbc
lea eax, [esi + 0x57bc]
push 0x40
push eax
call fcn.00479aa4
add esp, 0x30
call dword [0x4a6130]
push eax
push str.bdbugreport__u
lea eax, [ebp - 0xa0c]
push edi
push eax
call fcn.00404a32
add esp, 0x10
lea eax, [ebp - 0xa0c]
push eax
lea ecx, [esi + 0x5858]
call fcn.004073ca
mov edi, 0x4034a4
push edi
call dword [0x4a6264]
cmp eax, edi
mov dword [esi], eax
pop edi
jne 0x403495
mov dword [esi], ebx
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00478b4c
leave
ret
Function at 0x4034cf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2070
call fcn.0047e270
mov eax, dword [0x4c4cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov eax, dword [esi]
cmp dword [eax], 0x80000003
mov ebx, ecx
mov dword [ebp - 0x200c], esi
jne 0x40350c
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00478b4c
leave
ret
mov eax, dword [ebx + 0x5878]
push edi
xor edi, edi
cmp eax, edi
je 0x40351b
call eax
lea eax, [ebx + 0x5858]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x2008], edi
mov dword [ebp - method.CSharingMemory_struct_BDExceptionContext_.virtual_0], vtable.CSharingMemory_struct_BDExceptionContext_.0
mov dword [ebp - 0x2018], edi
mov dword [ebp - 0x2014], edi
mov dword [ebp - 0x2010], edi
jb 0x40354b
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x201c]
call fcn.0040462c
test eax, eax
jne 0x403577
xor edi, edi
lea esi, [ebp - 0x201c]
mov dword [ebp - method.CSharingMemory_struct_BDExceptionContext_.virtual_0], vtable.CSharingMemory_struct_BDExceptionContext_.0
call fcn.00404890
mov eax, edi
pop edi
jmp 0x4034fe
push 1
call fcn.004036d2
mov eax, dword [esi + 4]
mov esi, dword [eax + 0xb8]
call fcn.004037f1
mov eax, dword [ebx + 4]
mov esi, dword [ebp - 0x200c]
test eax, eax
je 0x4035aa
push eax
mov eax, dword [esi + 4]
call fcn.00403792
test eax, eax
je 0x4036c0
call dword [0x4a6130]
mov dword [ebx + 0x18], eax
call dword [0x4a61ec]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x10], esi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [ebx + 0x14], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
mov esi, dword [esi + 4]
push 0x5834
lea eax, [ebx + 8]
push eax
push dword [ebp - 0x2014]
lea edi, [ebx + 0x20]
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
call fcn.0047a9b0
xor esi, esi
push 0x3c
lea eax, [ebp - 0x2068]
push esi
push eax
mov dword [ebp - 0x2070], 0x44
mov dword [ebp - 0x206c], esi
call fcn.0047a8e0
xor eax, eax
mov dword [ebp - 0x202c], esi
lea edi, [ebp - 0x2028]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebx + 0x5858]
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x403632
mov eax, dword [eax]
add ebx, 0x583c
cmp dword [ebx + 0x14], 8
jb 0x403642
mov ecx, dword [ebx]
jmp 0x403644
mov ecx, ebx
push eax
push ecx
push str.__s____smname_s
lea eax, [ebp - 0x2004]
push 0xffffffffffffffff
push eax
call fcn.00404a51
add esp, 0x14
cmp dword [ebx + 0x14], 8
jb 0x403664
mov ebx, dword [ebx]
lea eax, [ebp - 0x202c]
push eax
lea eax, [ebp - 0x2070]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [0x4a6254]
test eax, eax
je 0x4036ba
push 0xffffffffffffffff
push dword [ebp - 0x202c]
call dword [0x4a6250]
push dword [ebp - 0x2028]
mov esi, dword [0x4a61b8]
call esi
push dword [ebp - 0x202c]
call esi
mov dword [ebp - 0x2008], 1
jmp 0x4036c0
mov dword [ebp - 0x2008], esi
push 0
call fcn.004036d2
mov edi, dword [ebp - 0x2008]
jmp 0x40355d