joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
test ecx, ecx
je 0x40114d
mov edx, dword [esp + 0x10]
test edx, edx
jl 0x40114d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401134
test edx, edx
mov dword [esp + 4], edx
jle 0x401131
push ebx
push ebp
push esi
mov esi, dword [section..data]
push edi
lea ecx, [ecx]
cmp edx, 3
jl 0x4010b4
mov dl, byte [ecx]
movzx ebx, byte [ecx + 1]
movzx edi, dl
add ecx, 1
mov edx, edi
shr edx, 2
movzx edx, byte [edx + esi]
mov byte [esp + 0x1c], bl
mov bl, byte [ecx + 1]
movzx ebp, byte [esp + 0x1c]
mov byte [eax], dl
add ecx, 1
mov edx, ebp
shr edx, 4
shl edi, 4
or edx, edi
and edx, 0x3f
movzx edx, byte [edx + esi]
mov byte [eax + 1], dl
add eax, 1
movzx edi, bl
mov edx, edi
shr edx, 6
lea ebx, [ebp*4]
or edx, ebx
and edx, 0x3f
movzx edx, byte [edx + esi]
add eax, 1
mov byte [eax], dl
add eax, 1
add ecx, 1
and edi, 0x3f
movzx edx, byte [edi + esi]
mov byte [eax], dl
mov edx, dword [esp + 0x14]
jmp 0x401117
mov bl, byte [ecx]
add ecx, 1
cmp edx, 2
mov byte [esp + 0x13], bl
jne 0x4010cd
mov bl, byte [ecx]
mov byte [esp + 0x1c], bl
add ecx, 1
jmp 0x4010d2
mov byte [esp + 0x1c], 0
movzx edi, byte [esp + 0x13]
movzx ebp, byte [esp + 0x1c]
mov ebx, edi
shr ebx, 2
movzx ebx, byte [ebx + esi]
mov byte [eax], bl
mov ebx, ebp
shr ebx, 4
shl edi, 4
or ebx, edi
and ebx, 0x3f
movzx ebx, byte [ebx + esi]
add eax, 1
mov byte [eax], bl
add eax, 1
cmp edx, 1
jne 0x401109
mov bl, 0x3d
jmp 0x40110f
and ebp, 0xf
mov bl, byte [esi + ebp*4]
mov byte [eax], bl
add eax, 1
mov byte [eax], 0x3d
sub edx, 3
add eax, 1
test edx, edx
mov dword [esp + 0x14], edx
jg 0x401040
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov byte [eax], 0
lea ecx, [edx + 2]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, eax
add eax, eax
add esp, 8
ret
or eax, 0xffffffff
add esp, 8
ret

Function at 0x401ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401ae9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401b24
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401b20
lea ebx, [ebx]
cmp esi, eax
jae 0x401b24
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401b10
cmp esi, eax
jb 0x401b2a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402370
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
ret
Function at 0x402c60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x11c
mov eax, dword [0x435c14]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
mov ebp, dword [esp + 0x128]
push esi
mov esi, dword [esp + 0x134]
push edi
mov edi, dword [esp + 0x140]
push 0x3f
lea eax, [esp + 0x6d]
push 0
push eax
mov byte [esp + 0x74], 0
call fcn.00413fb0
add esp, 0xc
test ebp, ebp
jne 0x402cab
xor ebx, ebx
jmp 0x402cb2
mov ebx, dword [esp + 0x134]
test esi, esi
jne 0x402dce
xor eax, eax
push eax
lea edx, [esp + 0x6c]
push esi
push edx
call fcn.004147e0
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x68]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [esp + eax + 0xa8], dl
mov byte [esp + eax + 0xe8], cl
add eax, 1
cmp eax, 0x40
jb 0x402cd0
lea eax, [esp + 0x10]
push eax
call fcn.00402370
push 0x40
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00402ad0
push ebx
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00402ad0
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402b70
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x3c]
push eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
call fcn.00402370
push 0x40
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00402ad0
push 0x10
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00402ad0
lea edx, [esp + 0x4c]
push edx
call fcn.00402b70
add esp, 0x40
test edi, edi
je 0x402db0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x10
call fcn.00413ddb
add esp, 0x11c
ret
mov eax, dword [esp + 0x13c]
cmp eax, 0x40
jbe 0x402cbc
lea ecx, [esp + 0x68]
push ecx
push eax
push esi
call fcn.00402be0
jmp 0x402cc8

Function at 0x4030e0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403147
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x403123
cmp eax, 2
jne 0x403136
test esi, esi
mov eax, dword [esp + 0x14]
je 0x403143
test eax, eax
je 0x403140
cmp byte [eax + esi - 1], 0
je 0x403143
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x403150
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, dword [esp + 0x14]
je 0x40316d
cmp dword [edi], 2
jae 0x40316d
pop edi
mov eax, 0x7a
pop esi
ret 0xc
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4031cd
cmp dword [esp + 0x14], 7
je 0x4031a9
pop edi
mov eax, 0xd
pop esi
ret 0xc
test esi, esi
mov eax, dword [esp + 0x10]
je 0x4031c9
cmp eax, 1
jb 0x40319f
cmp byte [eax + esi - 1], 0
jne 0x40319f
cmp eax, 1
jbe 0x4031c9
cmp byte [eax + esi - 2], 0
jne 0x40319f
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x403280
Capabilities:
Get disk information

Disassembly:
sub esp, 0x38
mov eax, dword [0x435c14]
xor eax, esp
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x3c]
push 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 8], 0x5c3a43
mov byte [esp + 8], al
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x18
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00413ddb
add esp, 0x38
ret 4

Function at 0x403370
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x403388
push 0x80004005
call fcn.00401ab0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x403395
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x403de0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x428c18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435c14]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xb8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push eax
call ebx
mov ecx, dword [esi + 0xb8]
push str.___refresh_list___
push 0
push 0x143
push ecx
call ebx
mov edx, dword [esi + 0xb8]
push 0
push 0
push 0x151
push edx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], ebp
mov ecx, ebp
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x28]
test ecx, eax
je 0x403f77
call fcn.0040cbc2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403fba
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
add ebp, 0x41
push ebp
lea ecx, [esp + 0x20]
push 0x42bc6c
push ecx
mov dword [esp + 0x44], 0
call fcn.00402180
add esp, 0xc
push 1
lea edx, [esp + 0x30]
push edx
lea ecx, [esi + 0x78]
call fcn.00403a40
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x403fba
mov edi, dword [esp + 0x1c]
push eax
push edi
call fcn.00415598
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x403f23
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov edx, dword [esi + 0xb8]
push edi
push 0
push 0x143
push edx
call ebx
mov eax, dword [esi + 0xb8]
push ebp
mov ebp, dword [esp + 0x24]
push ebp
push 0x151
push eax
call ebx
add ebp, 1
lea eax, [edi - 0x10]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
add ebp, 1
cmp ebp, 0x1a
mov dword [esp + 0x18], ebp
jl 0x403e68
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0xb8]
push 0
add ecx, 0xffffffff
push ecx
push 0x14e
push edx
call ebx
mov ecx, esi
call fcn.00403fd0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80004005
call fcn.00401ab0
int3

Function at 0x403fd0
Capabilities:
Get disk information

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xb8]
push 0x147
push eax
call edi
test eax, eax
jne 0x403ff9
pop edi
mov ecx, esi
pop esi
jmp fcn.00403de0
mov ecx, dword [esi + 0xb8]
push 0
push eax
push 0x150
push ecx
call edi
push eax
mov ecx, esi
call fcn.00403280
pop edi
pop esi
ret
Function at 0x40ac75
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40acae
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040ac10
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00409af9
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40c839
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40c87c
call fcn.0040fc82
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c87c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40c897
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040c3f0
test ebx, ebx
mov esi, eax
je 0x40c895
test edi, edi
je 0x40c895
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4114a5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4114d3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4114f1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041140f
jmp 0x4114f1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4114f1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041140f
test edi, edi
mov eax, edi
jne 0x4114db
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x438c50]
test ecx, ecx
je 0x4115b4
jmp 0x4114a4
ret 8

Function at 0x413ddb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435c14]
jne 0x413de5
repz ret
jmp fcn.00419f8a
Function at 0x42245d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418e37
xor ebx, ebx
cmp dword [0x439944], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x422532
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42249d
xor eax, eax
jmp 0x4225f6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42ece0
push edi
call esi
cmp eax, ebx
je 0x422496
push eax
call fcn.00418dd4
mov dword [esp], 0x42ecd0
push edi
mov dword [0x439944], eax
call esi
push eax
call fcn.00418dd4
mov dword [esp], 0x42ecbc
push edi
mov dword [0x439948], eax
call esi
push eax
call fcn.00418dd4
mov dword [0x43994c], eax
lea eax, [ebp - 8]
push eax
call fcn.004181c5
test eax, eax
pop ecx
pop ecx
je 0x422500
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00419e6a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x422532
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00418dd4
cmp eax, ebx
pop ecx
mov dword [0x439954], eax
je 0x422532
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418dd4
pop ecx
mov dword [0x439950], eax
mov eax, dword [0x439950]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4225ab
cmp dword [0x439954], esi
je 0x4225ab
push eax
call fcn.00418e40
pop ecx
call eax
cmp eax, ebx
je 0x422578
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x439954]
call fcn.00418e40
pop ecx
call eax
test eax, eax
je 0x422578
test byte [ebp - 0x18], 1
jne 0x4225ab
lea eax, [ebp - 0xc]
push eax
call fcn.004181fc
test eax, eax
pop ecx
je 0x422593
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00419e6a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4225a2
or dword [ebp + 0x10], 0x200000
jmp 0x4225dc
or dword [ebp + 0x10], 0x40000
jmp 0x4225dc
mov eax, dword [0x439948]
cmp eax, esi
je 0x4225dc
push eax
call fcn.00418e40
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4225dc
mov eax, dword [0x43994c]
cmp eax, esi
je 0x4225dc
push dword [ebp - 4]
push eax
call fcn.00418e40
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x439944]
call fcn.00418e40
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428732
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x435c14]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004286c7
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00413fb0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x428781
cmp dword [ebp - 0x1c], 5
jb 0x428799
jmp 0x428795
cmp dword [ebp - 0x10], 1
jne 0x428799
cmp dword [ebp - 0x1c], 4
ja 0x428795
jne 0x428799
cmp dword [ebp - 0x18], 0
jbe 0x428799
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42f6a4
call fcn.004285b8
test eax, eax
jge 0x4287ba
mov byte [0x4370c4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00413ddb
add ebp, 0x78
leave
ret
Function at 0x401290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x440fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
call fcn.0041acf0
mov edi, eax
xor eax, eax
mov word [esp + 0x10], ax
push 0x33
mov eax, str.http:__go.maxthon.com_web_public_vdrive.htm_fabout
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
call fcn.00408320
lea edx, [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x50], 0
call fcn.0041a830
push 0
lea ecx, [esp + 0x2c]
push ecx
or eax, 0xffffffff
mov byte [esp + 0x58], 1
call fcn.00405970
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x401328
lea eax, [esp + 0x10]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x40], esi
jb 0x40134f
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042bb4c
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x24], esi
jb 0x401379
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0042bb4c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0042bb57
add esp, 0x48
ret
Function at 0x4058a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor edi, edi
mov dword [esi], vtable.CHtmlBundle_class_CHTMLayoutDialogRes_.0
cmp eax, edi
je 0x4058b8
mov ecx, dword [eax + 4]
jmp 0x4058ba
xor ecx, ecx
push 0x208
mov dword [esi + 0x21c], eax
lea eax, [esi + 0x10]
push edi
push eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x218], 1
mov dword [esi + 0x220], edi
mov dword [esi + 0x224], edi
mov dword [esi + 0x228], edi
mov dword [esi + 0x22c], edi
mov dword [esi + 0x230], edi
call fcn.0042d060
movzx ecx, word [esp + 0x1c]
add esp, 0xc
push 0x4446c8
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x405961
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x405961
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x405961
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov eax, esi
cmp ebp, edi
je 0x405963
call fcn.00427ed0
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x405961
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
push ebp
call edx
mov eax, esi
pop edi
pop ebp
pop ebx
ret 8
Function at 0x408ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
test eax, eax
je 0x408fd5
cmp word [eax], 0
je 0x408fd5
push esi
push 0x104
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0042c1ca
lea ecx, [esp + 0x10]
push 0x2e
push ecx
call fcn.0042c19e
mov esi, eax
add esp, 0x14
test esi, esi
je 0x408f68
xor edx, edx
add esi, 2
mov word [esi - 2], dx
je 0x408f68
push str.HTML
push esi
call fcn.0042ce19
add esp, 8
test eax, eax
je 0x408f68
push esi
lea eax, [esp + 8]
push eax
jmp 0x408f6f
push 0x17
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x408f97
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408f97
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi], eax
test eax, eax
jne 0x408faf
xor al, al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0042bb57
add esp, 0x20c
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx], eax
setne al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0042bb57
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov al, 1
call fcn.0042bb57
add esp, 0x20c
ret
Function at 0x409830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x440018
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ebx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x409a78
cmp byte [ebp], 0
je 0x409a78
test eax, eax
jne 0x4098b7
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4098a0
sub eax, edx
push eax
push ebp
mov ecx, ebx
call fcn.00409fa0
jmp 0x409a78
push 0
push 0x444482
mov ecx, ebx
call fcn.00409fa0
push 0x24
push ebp
call fcn.0042c0e0
add esp, 8
push 0x444482
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.0040a080
mov dword [esp + 0x80], 0
test edi, edi
je 0x409a3f
lea esi, [edi + 1]
push 0x24
push esi
call fcn.0042c0e0
push 0xa
push esi
mov ebx, eax
call fcn.0042c0e0
add esp, 0x10
cmp ebx, eax
jbe 0x409916
mov edi, ebx
jmp 0x409a33
mov edx, edi
sub edx, ebp
push edx
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
call fcn.00409fa0
mov ebp, dword [esp + 0x14]
push 0
lea eax, [esp + 0x24]
push eax
or eax, 0xffffffff
mov esi, ebp
mov byte [esp + 0x88], 1
call fcn.00409630
mov esi, 0x10
mov byte [esp + 0x80], 0
cmp dword [esp + 0x38], esi
jb 0x409977
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042bb4c
add esp, 4
test ebx, ebx
je 0x409a97
mov edx, ebx
sub edx, edi
inc edx
push edx
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
call fcn.00409fa0
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x4099ba
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x60]
push edx
push eax
call dword [esp + 0x28]
test al, al
jne 0x4099e1
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
call fcn.0040a3e0
push 0
lea ecx, [esp + 0x5c]
push ecx
or eax, 0xffffffff
mov esi, ebp
call fcn.00409630
lea ebp, [ebx + 1]
push 0x24
push ebp
call fcn.0042c0e0
add esp, 8
mov byte [esp + 0x80], 0
cmp dword [esp + 0x54], 0x10
mov edi, eax
jb 0x409a1e
mov edx, dword [esp + 0x40]
push edx
call fcn.0042bb4c
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
test edi, edi
jne 0x4098f3
mov ebx, dword [esp + 0x14]
mov esi, 0x10
test ebp, ebp
je 0x409a65
cmp byte [ebp], 0
je 0x409a65
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409a53
sub eax, edx
push eax
push ebp
mov eax, ebx
call fcn.00409720
cmp dword [esp + 0x70], esi
jb 0x409a78
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042bb4c
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042bb57
add esp, 0x70
ret
mov ebx, dword [esp + 0x14]
mov ebp, edi
jmp 0x409a44