joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, ecx
mov ecx, 0x10b
push edi
xor edi, edi
mov dword [ebp - 4], edx
mov eax, dword [edx + 0x3c]
cmp word [eax + edx + 0x18], cx
je 0x42d4e4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + edx + 0x78]
mov eax, dword [eax + edx + 0x7c]
mov dword [ebp - 0x1c], eax
add ebx, edx
je 0x42d4fb
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x42d503
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea ecx, [eax + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1c]
add eax, edx
push esi
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
sub esi, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
js 0x42d5c7
nop
add eax, esi
cdq
sub eax, edx
mov edx, 0x57672c
mov esi, eax
sar esi, 1
mov ecx, dword [ecx + esi*4]
add ecx, dword [ebp - 4]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x42d564
test al, al
je 0x42d560
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x42d564
add ecx, 2
add edx, 2
test al, al
jne 0x42d544
xor eax, eax
jmp 0x42d569
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 4]
test eax, eax
jne 0x42d599
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx eax, word [eax + esi*2]
mov edi, dword [ecx + eax*4]
add edi, edx
cmp edi, ebx
jb 0x42d58c
mov eax, dword [ebp - 0x1c]
add eax, ebx
cmp edi, eax
jb 0x42d5c3
test edi, edi
jne 0x42d62a
mov eax, dword [ebp - 0xc]
jmp 0x42d5b4
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0xc], ecx
je 0x42d5c7
test eax, eax
jle 0x42d5ae
mov eax, dword [ebp - 0xc]
dec esi
mov dword [ebp - 8], esi
jmp 0x42d5b7
lea eax, [esi + 1]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 8]
cmp eax, esi
jg 0x42d5c7
mov ecx, dword [ebp - 0x10]
jmp 0x42d530
test edi, edi
jne 0x42d62a
mov ebx, dword [ebp - 8]
xor esi, esi
test ebx, ebx
js 0x42d62a
mov eax, dword [ebp - 0x10]
mov ecx, 0x57672c
mov eax, dword [eax + esi*4]
add eax, edx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42d600
test dl, dl
je 0x42d5fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42d600
add eax, 2
add ecx, 2
test dl, dl
jne 0x42d5e0
xor eax, eax
jmp 0x42d605
sbb eax, eax
or eax, 1
test eax, eax
je 0x42d61a
mov edx, dword [ebp - 4]
inc esi
cmp esi, ebx
jle 0x42d5d0
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx eax, word [eax + esi*2]
mov edi, dword [ecx + eax*4]
add edi, dword [ebp - 4]
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42d640
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x48], edx
push edi
mov dword [ebp - 0x4c], eax
cmp dword [esi + 0x14], 8
jb 0x42d668
mov eax, dword [esi]
jmp 0x42d66a
mov eax, esi
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
push ebx
call fcn.0051a102
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x42d68a
mov esi, dword [esi]
push edi
push ebx
push dword [ebp - 0x40]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x42d6b6
push edi
call fcn.00519ecb
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x576570
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x42d69a
push dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push dword [ebp - 0x3c]
push eax
call fcn.0051d9c0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
push edi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
call fcn.00519ecb
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00519876
mov esp, ebp
pop ebp
ret
Function at 0x4347b0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x6c], 0
push 0
mov dword [ebp - 0x74], esi
mov eax, dword [esi + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x6c]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43482a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push str._CPipeMessage__send_err___p__hPipe___08X
push eax
call fcn.00422a20
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x434866
push edi
push 0
lea eax, [ebp - 0x6c]
push eax
push 4
lea edi, [esi + 8]
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x6c]
push eax
push dword [edi]
push dword [esi + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x74]
mov esi, dword [esi]
cmp esi, dword [eax + 4]
jne 0x434834
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00519876
mov esp, ebp
pop ebp
ret 4
Function at 0x434880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549348
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push eax
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [edi]
mov dword [ebp - 0x18], 0
call ebx
xor esi, esi
cmp dword [ebp - 0x1c], esi
jle 0x43498f
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
push dword [edi]
call ebx
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x434927
mov dword [ebp - 0x28], eax
mov byte [ebp + eax - 0x38], al
jmp 0x434932
push 0
push eax
lea ecx, [ebp - 0x38]
call fcn.00413170
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x20]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x38]
push eax
push dword [edi]
call ebx
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.00434090
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x434985
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00408590
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x4348e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 4
Function at 0x43ce10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549f86
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
cmp eax, 1
jne 0x43cf07
push edi
lea ecx, [ebp - 0x58]
call fcn.0040eb20
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043cff0
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x43ceb7
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x43ce9a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00411a50
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00411360
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43cecc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a50
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x43cef8
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00411a50
mov ecx, dword [ebp - 0x2c]
lea edi, [ebp - 0x40]
cmp ecx, 8
cmovae edi, dword [ebp - 0x40]
jmp 0x43cf0a
mov ecx, dword [ebp - 0x2c]
mov esi, edi
lea edx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43cf10
sub esi, edx
sar esi, 1
je 0x43cfb0
xor ebx, ebx
test esi, esi
jle 0x43cfb0
nop
cmp word [edi + ebx*2], 0x5c
jne 0x43cfa8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edi], ax
je 0x43cf64
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cf55
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00411010
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
mov word [eax + ebx*2], cx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43cfa8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a50
inc ebx
cmp ebx, esi
jl 0x43cf30
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x43cfc4
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00411a50
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
Function at 0x43cff0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549fd2
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x428], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x424], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x42c], edi
mov dword [edi + 0x10], 0
jb 0x43d064
mov eax, dword [edi]
jmp 0x43d066
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x56f30c
call fcn.00411010
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x424], 1
call fcn.0051df40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0051df40
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [esi + 0x14], 8
jb 0x43d0db
mov eax, dword [esi]
jmp 0x43d0dd
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x43d11a
cmp dword [esi + 0x14], 8
jb 0x43d0f0
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x218]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x43d100
jmp 0x43d141
cmp dword [esi + 0x14], 8
jb 0x43d122
mov esi, dword [esi]
lea ecx, [ebp - 0x420]
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x43d130
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
cmp word [ebp - 0x218], 0
jne 0x43d163
xor ecx, ecx
jmp 0x43d17f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d170
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.00411010
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
Function at 0x43d1b0
Capabilities:
Get common file path
Get startup folder
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a00b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x22c], esi
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
push 0x1fe
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
call fcn.0051df40
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x43d27e
push str.SHGetFolderPath_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.00411360
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x43d321
inc ecx
push ecx
jmp 0x43d310
cmp word [ebp - 0x210], 0
jne 0x43d28c
xor ecx, ecx
jmp 0x43d2a4
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d295
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00411010
push 0xc
push 0x5772b4
lea ecx, [ebp - 0x228]
call fcn.00411230
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
cmovae ecx, dword [ebp - 0x228]
call fcn.0043ce10
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.00411360
mov eax, dword [ebp - 0x214]
cmp eax, 8
jb 0x43d321
inc eax
push eax
push dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
call fcn.00411a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
Function at 0x43e990
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a216
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00411110
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043efc0
push eax
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042d340
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x43ea3a
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x43ea1d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a50
xor eax, eax
mov dword [ebp - 0x14], 7
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00411360
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x43ea53
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00411a50
cmp dword [esi + 0x14], 8
jb 0x43ea5d
mov eax, dword [esi]
jmp 0x43ea5f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.0041c460
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [esi + 0x60]
push 0
cmovae ecx, dword [ebp - 0x40]
push 6
call fcn.0049efe0
add esp, 8
test eax, eax
jne 0x43eb3a
cmp dword [esi + 0x2c], 0x10
lea edi, [esi + 0x18]
jb 0x43eab9
mov edx, dword [edi]
jmp 0x43eabb
mov edx, edi
push dword [esi + 0x28]
mov ecx, dword [esi + 0x60]
call fcn.004a2490
add esp, 4
push dword [esi + 0x60]
call fcn.0049d720
add esp, 4
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [esi + 0x60]
cmovae ecx, dword [ebp - 0x40]
push 0
push 2
call fcn.0049efe0
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x43eaf6
mov edi, dword [edi]
push dword [esi + 0x28]
mov ecx, dword [esi + 0x60]
xor edx, edx
push edi
call fcn.004a2280
add esp, 8
mov ecx, esi
push str.pragma_journal_mode__off_
call fcn.0043eee0
mov ecx, esi
call fcn.0043ef30
push str.pragma_journal_mode__delete_
mov ecx, esi
call fcn.0043eee0
push dword [esi + 0x60]
call fcn.0049d720
add esp, 4
mov dword [esi + 0x60], 0
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x44], eax
test eax, eax
mov eax, dword [ebp - 0x2c]
sete bl
cmp eax, 0x10
jb 0x43eb59
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408590
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp ecx, 8
jb 0x43eb80
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00411a50
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret
Function at 0x43f1d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movq qword [ebp - 0x10], xmm0
push edi
mov edi, dword [ebp + 0x10]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jb 0x43f20c
mov eax, dword [esi]
jmp 0x43f20e
mov eax, esi
lea ecx, [ebp - 0x10]
push ecx
push 0xf003f
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 0x490
je 0x43f231
cmp eax, 2
jne 0x43f284
cmp dword [esi + 0x14], 8
jb 0x43f239
mov esi, dword [esi]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x43f24e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f263
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43f2cf
cmp dword [edi + 0x14], 8
jb 0x43f290
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x43f298
mov ebx, dword [ebx]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f2a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43f2cf
lea esi, [eax + 1]
jmp 0x43f2d1
xor esi, esi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x43f2e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43f2f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00519876
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43f390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0051df40
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x43f3d6
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x43f3de
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x43f3e6
mov esi, dword [esi]
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x56f30c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x43f457
cmp word [ebp - 0x20c], 0
jne 0x43f415
xor ecx, ecx
jmp 0x43f42f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f420
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00411010
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 0x10
Function at 0x441090
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a769
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5903c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4410e1
mov eax, dword [esi]
jmp 0x4410e3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], ecx
cmp dword [esi + 0x2c], 8
jb 0x441100
mov eax, dword [esi + 0x18]
jmp 0x441103
lea eax, [esi + 0x18]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], ecx
cmp dword [esi + 0x44], 8
jb 0x44111d
mov eax, dword [esi + 0x30]
jmp 0x441120
lea eax, [esi + 0x30]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x48]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44113a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x60]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x441154
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x78]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44116e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x90]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44118b
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0xa8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4411a8
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0xc0]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4411c5
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push 0xe
push str.PC_CONFIG_INFO
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00411010
push 7
push str.Autorun
lea ecx, [esi + 0x18]
call fcn.00411010
push 7
push str.NatMode
lea ecx, [esi + 0x30]
call fcn.00411010
push 0xf
push str.MaxDeviceCounts
lea ecx, [esi + 0x48]
call fcn.00411010
push 0xc
push str.LastWiFiSSID
lea ecx, [esi + 0x78]
call fcn.00411010
push 0xc
push str.LastWiFiPass
lea ecx, [esi + 0x90]
call fcn.00411010
push 0x12
push str.DisAdvertLastState
lea ecx, [esi + 0x60]
call fcn.00411010
push 0x11
push str.SchoolProcessName
lea ecx, [esi + 0xa8]
call fcn.00411010
push 0xe
push str.SchoolNickName
lea ecx, [esi + 0xc0]
call fcn.00411010
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret