joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421840
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x5026e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov edi, ecx
xor ebx, ebx
cmp ebp, ebx
je 0x4218eb
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], vtable.t_mutex::t_locker.0
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x38], 1
call fcn.0043ac80
test al, al
je 0x4218c5
mov esi, dword [edi + 0x224]
mov dword [esp + 0x24], edi
cmp esi, ebx
jne 0x4218ef
mov byte [esp + 0x34], bl
call fcn.0043adc0
lea ecx, [esp + 0x18]
call fcn.00433d50
xor al, al
jmp 0x421962
lea ecx, [esp + 0x18]
call fcn.00433db0
push str.m_ProcOpenFilemapmutex
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00433d50
xor al, al
jmp 0x421962
mov edx, dword [esi + 0x24]
cmp edx, ebx
jne 0x421910
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.0043a930
lea ecx, [esp + 0x18]
call fcn.00433d50
xor al, al
jmp 0x421962
xor eax, eax
cmp edx, ebx
jle 0x42194e
lea ecx, [esi + 0x38]
lea esp, [esp]
cmp eax, 0xc8
jge 0x42194e
cmp dword [ecx - 4], ebp
jne 0x421930
cmp byte [ecx], bl
je 0x42193a
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x421920
jmp 0x42194e
add eax, 4
shl eax, 4
push 0x13
mov byte [eax + esi], 1
call fcn.0043f610
add esp, 4
mov byte [esp + 0x34], bl
call fcn.0043adc0
lea ecx, [esp + 0x18]
call fcn.00433d50
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x425a80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5018ce
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], vtable.ITaskCallback.0
mov dword [esi], vtable.CQQCycloneWrap.0
mov dword [esi + 0x24], vtable.CQQCycloneWrap.1.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov edx, fcn.004c328d
mov ecx, fcn.004c53b2
mov eax, fcn.004c31b0
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x64]
push ecx
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], eax
call edi
lea edx, [esi + 0x7c]
push edx
call edi
lea edi, [esi + 0x94]
mov byte [edi + 4], bl
mov dword [edi + 8], ebx
call fcn.0041a880
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xa4], bl
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb0], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x428ea0
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x501658
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x164]
mov esi, dword [esp + 0x160]
mov ebx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
xor ebp, ebp
mov dword [esp + 0x34], ebp
cmp dword [esp + 0x40], ebp
je 0x42908f
cmp byte [esp + 0x158], 0
lea eax, [esp + 0x48]
jne 0x428f01
mov eax, dword [esp + 0x44]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42908f
shr eax, 4
not al
and al, 1
je 0x42908f
lea edx, [esp + 0x20]
push edx
mov edi, ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], ebp
call fcn.00432570
test al, al
je 0x429056
mov edi, dword [esp + 0x20]
cmp edi, ebp
je 0x429056
cmp byte [esp + 0x158], 0
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x48]
jne 0x428f5f
mov eax, dword [esp + 0x44]
add eax, 4
push 0x51e2ac
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004c56b5
add esp, 0xc
test eax, eax
jne 0x428fc7
mov ecx, dword [esp + 0x16c]
lea ebp, [edi + ecx]
push ebp
mov ecx, esi
call fcn.004034e0
mov esi, eax
test esi, esi
je 0x428fc7
push ebp
push 0
push esi
call fcn.004cab10
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push edi
push 1
push esi
call fcn.004c7413
add esp, 0x10
cmp edi, eax
je 0x428fe1
mov eax, dword [esp + 0x18]
push eax
call fcn.004c6503
add esp, 4
mov dword [esp + 0x18], 0
push str.GetDataBufFromFile
mov ecx, ebx
call fcn.00402790
lea ecx, [esp + 0x3c]
call fcn.00434b70
jmp 0x4290d1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c6503
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 4
cmp byte [esp + 0x168], 0
mov dword [edx], esi
mov dword [esp + 0x18], 0
mov dword [eax], ebp
lea ecx, [esp + 0x3c]
je 0x42903b
push 0
push 0
push ebx
call fcn.004327b0
lea ecx, [esp + 0x3c]
mov bl, al
call fcn.00434b70
mov al, bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
call fcn.00434b70
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, ebx
call fcn.00433db0
push str.GetDataBufFromFile
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x158], 0
mov dword [esp + 0x3c], vtable.t_str.0
jne 0x4290d1
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
jmp 0x4290c6
mov ecx, ebx
call fcn.00433db0
push str.GetDataBufFromFile
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
cmp byte [esp + 0x158], 0
mov dword [esp + 0x3c], vtable.t_str.0
jne 0x4290d1
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x48]
cmp eax, edx
je 0x4290d1
push eax
call fcn.004c31b0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x42a470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50428d
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x10c]
lea eax, [esp + 0x14]
push eax
call fcn.0042a0b0
mov dword [esp + 0x104], 0
cmp dword [esi + 4], 0
je 0x42a554
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x42a4d3
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a554
shr eax, 4
not al
and al, 1
je 0x42a554
cmp byte [esi + 0x11c], 0
je 0x42a4f9
add esi, 0xc
jmp 0x42a4fc
mov esi, dword [esi + 8]
add esi, 4
push esi
lea edi, [esp + 0x18]
call fcn.00437cb0
test al, al
jne 0x42a51b
mov ecx, ebp
call fcn.00433db0
push 0x51e404
jmp 0x42a560
lea ecx, [esp + 0x14]
call fcn.0042a1b0
test al, al
jne 0x42a53b
push 0x51e420
mov ecx, ebp
call fcn.00402790
lea edx, [esp + 0x14]
push edx
jmp 0x42a574
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x108], 0xffffffff
call fcn.0042a5b0
mov al, 1
jmp 0x42a586
mov ecx, ebp
call fcn.00433db0
push 0x51e3e8
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x108], 0xffffffff
call fcn.0042a5b0
xor al, al
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xf8
ret 4

Function at 0x42a720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff868
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.item
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004c328d
mov dword [eax + 0x24], fcn.004c53b2
mov dword [eax + 0x28], fcn.004c31b0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_PicFaceConfigFile::t_item_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

Function at 0x42c490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff868
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], 0x51e6bc
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004c328d
mov dword [eax + 0x24], fcn.004c53b2
mov dword [eax + 0x28], fcn.004c31b0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configTipListFile::t_recommend_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x42c840
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff868
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.cellmap
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004c328d
mov dword [eax + 0x24], fcn.004c53b2
mov dword [eax + 0x28], fcn.004c31b0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configTipListFile::t_fixedCellItem_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

Function at 0x42ccc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff679
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push fcn.004522a0
push 0x42cc80
push 0xc8
push 0x10
lea eax, [esi + 0x34]
push eax
call fcn.004c77a2
push fcn.004522a0
push 0x42cca0
push 0x7d0
push 0xc
lea ecx, [esi + 0xcb8]
xor edi, edi
push ecx
mov dword [esp + 0x28], edi
call fcn.004c77a2
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0xcb4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x6a78], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x42d030
Capabilities:
Create http request

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42d048
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
test eax, eax
jne 0x42d09b
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call fcn.00433db0
mov esi, eax
call fcn.004345f0
mov ecx, ebx
call fcn.00433db0
push 0x51e970
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
pop edi
xor al, al
pop esi
ret 4
mov al, 1
pop esi
ret 4
Function at 0x42d0b0
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
cmp dword [esi + 4], 0
push edi
mov edi, eax
mov dword [esi], 0x4e20
jne 0x42d0ec
mov ecx, dword [esp + 0x10]
call fcn.00433db0
push 0x516fec
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
pop edi
pop esi
xor al, al
pop ebp
ret 0x1c
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x42d10a
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
mov eax, dword [edi]
test eax, eax
je 0x42d119
push eax
call ebx
mov dword [edi], 0
movzx ecx, word [esi + 0x208]
or ebp, 0x84480100
cmp byte [esp + 0x28], 0
movzx eax, cx
je 0x42d139
movzx eax, cx
or ebp, 0x803000
mov edx, dword [esp + 0x1c]
push 0
push 0
push 3
push 0x516254
push 0x516254
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi], eax
test eax, eax
jne 0x42d18a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edi, eax
call fcn.00433db0
mov esi, eax
call fcn.004345f0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00433db0
jmp 0x42d1d4
mov ebx, dword [esp + 0x14]
mov eax, edi
mov ecx, ebx
call fcn.0042d220
test al, al
jne 0x42d1a9
mov ecx, ebx
call fcn.00433db0
push 0x51e984
jmp 0x42d1d9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [edi]
push 0
push ebp
push 0
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
test eax, eax
jne 0x42d1f1
call fcn.004345c0
push 0x51e970
push 0x51620c
mov edx, eax
call fcn.004351e0
add esp, 8
pop ebx
pop edi
pop esi
xor al, al
pop ebp
ret 0x1c
mov eax, ecx
mov ecx, ebx
call fcn.0042d220
test al, al
jne 0x42d213
push 0x51e984
mov ecx, ebx
call fcn.00402790
pop ebx
pop edi
pop esi
xor al, al
pop ebp
ret 0x1c
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
ret 0x1c
Function at 0x42d7a0
Capabilities:
Send data

Disassembly:
push 0xffffffffffffffff
push 0x500898
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
push 8
mov dword [esp + 0x40], ebx
call fcn.004c688d
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42d7f3
push ebx
call fcn.004c657f
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
mov ebx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0
test edi, edi
jbe 0x42d84a
mov esi, dword [sym.imp.WININET.dll_InternetWriteFile]
lea esp, [esp]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
push edi
push ebp
push ecx
call esi
test eax, eax
je 0x42d86b
push 0
call fcn.004c657f
sub eax, dword [ebx]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x34]
imul eax, eax, 0x3e8
add esp, 4
cmp eax, dword [edx]
ja 0x42d8b2
mov eax, dword [esp + 0x3c]
add ebp, eax
sub edi, eax
jne 0x42d810
push ebx
call fcn.004c55cd
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x34]
mov ecx, ebp
mov edi, eax
call fcn.00433db0
mov esi, eax
call fcn.004345f0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebp
call fcn.00433db0
push 0x51e9d0
push 0x51620c
mov edx, eax
call fcn.004351e0
push ebx
call fcn.004c55cd
add esp, 0xc
xor al, al
jmp 0x42d855
mov ecx, dword [esp + 0x34]
call fcn.00433db0
push 0x51e9e4
jmp 0x42d899
Function at 0x42d8d0
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x500898
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
xor ebx, ebx
push 8
mov dword [esp + 0x40], ebx
call fcn.004c688d
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x42d927
push ebx
call fcn.004c657f
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], edx
mov ebx, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0
test esi, esi
jle 0x42d980
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ecx]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
push ecx
push esi
push ebp
push edx
call edi
test eax, eax
je 0x42d9a7
push 0
call fcn.004c657f
sub eax, dword [ebx]
mov ecx, dword [esp + 0x34]
imul eax, eax, 0x3e8
add esp, 4
mov dword [esp + 0x1c], edx
cmp eax, dword [ecx]
ja 0x42d9ee
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42d980
sub esi, eax
add ebp, eax
test esi, esi
jg 0x42d940
mov eax, dword [esp + 0x40]
sub dword [eax], esi
push ebx
call fcn.004c55cd
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [esp + 0x34]
mov ecx, ebp
mov edi, eax
call fcn.00433db0
mov esi, eax
call fcn.004345f0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebp
call fcn.00433db0
push 0x51e9fc
push 0x51620c
mov edx, eax
call fcn.004351e0
push ebx
call fcn.004c55cd
add esp, 0xc
xor al, al
jmp 0x42d991
mov ecx, dword [esp + 0x34]
call fcn.00433db0
push 0x51ea10
jmp 0x42d9d5

Function at 0x42dfd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
push 0x1fe
mov esi, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004cab10
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SoftWareSogouInput
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e041
xor al, al
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004c31a1
add esp, 0x210
ret
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push esi
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42e029
lea eax, [esp + 0x10]
mov edx, edi
call fcn.00434c20
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
mov al, 1
call fcn.004c31a1
add esp, 0x210
ret
Function at 0x42e600
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5033cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
fld dword [0x524d94]
sub esp, 0xc
fstp dword [esp + 8]
lea esi, [edi + 0x804]
fld dword [0x524d90]
lea eax, [esp + 0x18]
fstp dword [esp + 4]
mov dword [esp + 0x18], fcn.004c328d
fld dword [0x524d8c]
mov dword [esp + 0x1c], fcn.004c53b2
fstp dword [esp]
mov dword [esp + 0x20], fcn.004c31b0
call fcn.00407c30
mov dword [esp + 0x20], 0
fld dword [0x524d94]
sub esp, 0xc
fstp dword [esp + 8]
lea esi, [edi + 0x840]
fld dword [0x524d90]
lea eax, [esp + 0x18]
fstp dword [esp + 4]
mov dword [esp + 0x18], fcn.004c328d
fld dword [0x524d8c]
mov dword [esp + 0x1c], fcn.004c53b2
fstp dword [esp]
mov dword [esp + 0x20], fcn.004c31b0
call fcn.00407c30
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ecx
mov dword [edi + 0x890], eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x48]
mov ecx, edi
mov dword [edi + 0x88c], 0
call fcn.0042e590
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0x18

Function at 0x4322a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp byte [ecx + 0x11c], 0
lea eax, [ecx + 0xc]
jne 0x4322af
mov eax, dword [ecx + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4322c1
xor al, al
ret
shr eax, 4
not eax
and eax, 1
ret
Function at 0x432c60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x501387
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x268]
mov esi, ecx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x432cb1
mov eax, dword [esi + 8]
push 2
add eax, 4
push 0x516234
push eax
call fcn.004c40b2
add esp, 0xc
test eax, eax
je 0x432eb4
mov ecx, esi
call fcn.004322d0
test al, al
je 0x432d5f
cmp byte [esp + 0x26c], 0
je 0x432eb4
cmp byte [esi + 0x11c], 0
je 0x432cf7
add esi, 0xc
jmp 0x432cfa
mov esi, dword [esi + 8]
lea ecx, [esp + 0xc]
call fcn.004349d0
lea eax, [esi + 4]
lea edx, [esp + 0xc]
call fcn.00434c20
push 0x51f280
mov ecx, ebx
mov dword [esp + 0x264], 1
call fcn.00433db0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.004347c0
cmp byte [esp + 0x128], 0
mov dword [esp + 0xc], vtable.t_str.0
jne 0x432d58
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x432d58
push eax
call fcn.004c31b0
add esp, 4
xor al, al
jmp 0x432eb6
lea ecx, [esp + 0x130]
call fcn.00431a60
lea edx, [esp + 0x130]
push edx
mov ecx, esi
mov dword [esp + 0x264], 2
call fcn.00433640
test al, al
je 0x432dbf
lea eax, [esp + 0x130]
call fcn.00432050
test al, al
jne 0x432dbf
push 0
push ebx
lea ecx, [esp + 0x138]
call fcn.00432c60
test al, al
jne 0x432dbf
lea ecx, [esp + 0x130]
call fcn.00434b70
xor al, al
jmp 0x432eb6
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x432dce
mov eax, dword [esi + 8]
push 0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x432e76
cmp byte [esi + 0x11c], al
je 0x432def
add esi, 0xc
jmp 0x432df2
mov esi, dword [esi + 8]
lea ecx, [esp + 0xc]
call fcn.004349d0
lea eax, [esi + 4]
lea edx, [esp + 0xc]
call fcn.00434c20
push 0x517fa8
mov byte [esp + 0x264], 4
call fcn.004345c0
mov esi, eax
lea eax, [esp + 0x10]
call fcn.004347c0
cmp byte [esp + 0x128], 0
mov esi, vtable.t_str.0
mov dword [esp + 0xc], esi
jne 0x432e4c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x432e4c
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x24c], 0
mov dword [esp + 0x130], esi
jne 0x432d58
mov eax, dword [esp + 0x138]
lea edx, [esp + 0x13c]
cmp eax, edx
jmp 0x432d4d
mov eax, esi
call fcn.004338e0
mov eax, esi
call fcn.00433770
cmp byte [esp + 0x24c], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x432eb4
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x13c]
cmp eax, ecx
je 0x432eb4
push eax
call fcn.004c31b0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004c31a1
add esp, 0x258
ret 8