joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4294e8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4294f1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42962e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 8]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00429374
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x22]
call fcn.00409008
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.004291e0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x122]
call fcn.00409008
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.004292bc
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x222]
call fcn.00409008
cmp word [esi + 0x42], 0
je 0x42957e
push edi
lea eax, [ebp - 1]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
cmp byte [ebp - 1], 0
jne 0x4295ef
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
mov eax, dword [ebp - 0x14]
call fcn.00408970
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov edx, 1
call fcn.00428410
mov eax, dword [ebp - 0x18]
call fcn.00404bdc
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
mov dword [esi + 0x3a2], eax
xor eax, eax
mov dword [esi + 0x3a6], eax
movzx ebx, byte [ebp - 1]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429635
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404794
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404794
ret
Function at 0x42b4d4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404bcc
xor eax, eax
push ebp
push 0x42b70c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.004047c4
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x42b6e4
cmp dword [0x438044], 0
je 0x42b6e4
xor eax, eax
push ebp
push 0x42b6da
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42b6c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x42b728
call fcn.00404808
mov edx, dword [ebp - 4]
mov eax, 0x42b738
call fcn.00404d28
mov esi, eax
test esi, esi
jle 0x42b58a
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404c44
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00404c84
cmp dword [ebp - 4], 0
jne 0x42b5aa
mov dl, 1
mov eax, ebx
call fcn.00423cdc
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.0040850c
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00425d1c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004047c4
mov eax, dword [0x438044]
cmp byte [eax + 0x13], 0
je 0x42b616
push 0x42b744
push dword [ebp - 4]
push 0x42b758
push ebx
push 0x42b758
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404ae0
mov eax, dword [ebp - 0x1c]
call fcn.00404bdc
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x42b663
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.004047c4
mov eax, dword [0x438044]
cmp byte [eax + 0x11], 0
je 0x42b64d
push dword [ebp - 4]
push 0x42b764
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404ae0
mov byte [ebp - 0xd], 0
call fcn.0040422c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42b6e4
mov byte [ebp - 0xd], 1
mov eax, dword [0x438044]
cmp byte [eax + 0x11], 0
je 0x42b68c
push dword [ebp - 4]
push 0x42b770
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00404ae0
lea eax, [ebp - 8]
call fcn.00404770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b6d0
mov eax, dword [0x438044]
cmp dword [eax + 0x16], 0
je 0x42b6c8
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x438044]
call dword [ebx + 0x16]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004047c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b713
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404794
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404794
ret
Function at 0x42c2d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x42c3ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x42c3e0
call fcn.00404808
push 5
lea eax, [ebp - 0xe]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete bl
test bl, bl
je 0x42c33a
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x42c33e
xor eax, eax
jmp 0x42c340
mov al, 1
mov ebx, eax
test bl, bl
je 0x42c35b
lea eax, [ebp - 4]
lea edx, [ebp - 0xe]
call fcn.00404968
mov eax, esi
lea edx, [ebp - 9]
call fcn.00404968
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00407fac
mov eax, dword [ebp - 0x14]
mov edx, 0x42c3ec
call fcn.00404b74
jne 0x42c39d
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.00407fac
mov eax, dword [ebp - 0x18]
mov edx, 0x42c3f8
call fcn.00404b74
jne 0x42c39d
mov eax, edi
mov edx, dword [0x438048]
call fcn.004047c4
jmp 0x42c3a7
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004047c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c3d1
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404794
lea eax, [ebp - 4]
call fcn.00404770
ret
Function at 0x401679
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4aa06c]
sub esp, 0x800
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x4a9fc4]
test esi, esi
je 0x4016c7
cmp eax, 0x959
jne 0x4016b3
push 0
lea eax, [ebp - 0x800]
push eax
push str.Subasosu_nigukole_padisekadapoyi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.00401475
add edi, 8
dec esi
je 0x4016c7
mov eax, dword [0x4aa06c]
jmp 0x401698
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40d81f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004051c5
mov dword [ebp - 0x14], eax
cmp dword [0x440fe4], esi
jne 0x40d912
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d89f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d9f2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d9f2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d9f2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x440fe4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x440fe8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x440fec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x440ff4], eax
test eax, eax
je 0x40d90f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x440ff0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d937
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d92a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d94c
push 4
pop eax
jmp 0x40d9f4
cmp dword [ebp - 0x14], esi
je 0x40d94c
push dword [0x440fe4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d931
mov eax, dword [0x440ff0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d9aa
cmp dword [0x440ff4], edi
je 0x40d9aa
push eax
call ebx
push dword [0x440ff4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d9aa
test eax, eax
je 0x40d9aa
call ecx
test eax, eax
je 0x40d99f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d99f
test byte [ebp - 8], 1
jne 0x40d9aa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d9da
mov eax, dword [0x440fe8]
cmp eax, edi
je 0x40d9d7
push eax
call ebx
test eax, eax
je 0x40d9d7
call eax
mov esi, eax
test esi, esi
je 0x40d9d7
mov eax, dword [0x440fec]
cmp eax, edi
je 0x40d9d7
push eax
call ebx
test eax, eax
je 0x40d9d7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x440fe4]
call ebx
test eax, eax
je 0x40d9f2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d9f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040449f
mov esp, ebp
pop ebp
ret
Function at 0xf19d70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb10000]
push edi
or ebp, 0xffffffff
jmp 0xf19d92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf19d99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf19d88
mov eax, 1
add ebx, ebx
jne 0xf19dab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf19da0
jne 0xf19dbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf19da0
xor ecx, ecx
sub eax, 3
jb 0xf19dd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf19e42
mov ebp, eax
add ebx, ebx
jne 0xf19ddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xf19de8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xf19e0c
inc ecx
add ebx, ebx
jne 0xf19df8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf19ded
jne 0xf19e09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf19ded
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf19e2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf19e1d
jmp 0xf19d8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf19e2c
add edi, ecx
jmp 0xf19d8e
pop esi
mov edi, esi
mov ecx, 0x7ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf19e4a
cmp byte [edi], 7
jne 0xf19e4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xf19e4f
lea edi, [esi + 0xb17000]
mov eax, dword [edi]
or eax, eax
je 0xf19ebe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb1d924]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb1d974]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf19e7c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb1d97c]
or eax, eax
je 0xf19eb8
mov dword [ebx], eax
add ebx, 4
jmp 0xf19e99
call dword [esi + 0xb1d978]
mov ebp, dword [esi + 0xb1d980]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xf19ef2
sub esp, 0xffffff80
jmp 0x409116
Function at 0x100024e3
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10046d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10046d60]
divsd xmm0, qword [0x10046d50]
addsd xmm0, qword [0x10046d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x10044eac
push eax
call fcn.100233a0
test eax, eax
mov ecx, 0x10044eb4
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.10034373
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001df6b
add esp, 0x454
ret 0x14
Function at 0x10008eeb
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10046d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10046d60]
divsd xmm0, qword [0x10046d50]
addsd xmm0, qword [0x10046d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x10046ddc
push eax
call fcn.100233a0
test eax, eax
mov ecx, 0x10046de4
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.10034373
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001df6b
add esp, 0x454
ret 0x14
Function at 0x1000cf1a
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.10034373
mov esi, eax
test esi, esi
jne 0x1000cfc9
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000cfa4
lea eax, [esp + 0x28]
push eax
call fcn.1000cf1a
mov esi, eax
test esi, esi
jne 0x1000cfc9
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x1000cf7f
call fcn.10003fa0
push ebx
mov ecx, edi
call fcn.1000c8c8
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.10003fa0
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x11c
ret 4
Function at 0x1000e480
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x114c
call fcn.1001e1d0
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebx
mov ebx, dword [esp + 0x1154]
lea eax, [esp + 0x14c]
push ebp
push esi
push edi
mov ebp, 0x800
xor esi, esi
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.10020dd0
push ebp
lea eax, [esp + 0x968]
push esi
push eax
call fcn.10020dd0
push str.SOFTWAREMozillaMozilla_Firefox
lea eax, [esp + 0x174]
mov dword [esp + 0x30], ebp
push ebp
push eax
call fcn.10034373
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x34]
add esp, 0x24
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000e532
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x95c]
push eax
push esi
push esi
push 0x1004a76c
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000e54d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x1158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x114c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [esp + 0x958]
push eax
lea eax, [esp + 0x15c]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000e532
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
push ebx
xor ebp, ebp
push ebp
push ebp
push 0x1004a7a8
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000e5b7
call esi
jmp 0x1000e532
call esi
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e5be
sub ecx, edx
cmp byte [ecx + ebx - 1], 0x5c
je 0x1000e5e2
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000e5d1
mov ax, word [0x1004a7bc]
mov word [edi], ax
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000e5e5
mov esi, str.extensions
lea eax, [esp + 0x18]
push eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1000e619
push ebp
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x1000e62b
jmp 0x1000e532
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [esp + 0x18], 0x10
je 0x1000e532
xor eax, eax
inc eax
jmp 0x1000e534
Function at 0x1000e633
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x10c4]
mov eax, 0x1144
call fcn.1001e1d0
mov eax, dword [0x1006a1fc]
xor eax, ebp
mov dword [ebp + 0x10c0], eax
push esi
push edi
mov edi, dword [ebp + 0x10cc]
lea eax, [ebp - 0x80]
push 0x140
push 0
push eax
call fcn.10020dd0
push edi
lea eax, [ebp + 0xc0]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc0]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e753
lea eax, [ebp - 0x54]
push 0x1004a7ec
push eax
call fcn.10034373
pop ecx
pop ecx
test eax, eax
je 0x1000e71f
lea eax, [ebp - 0x54]
push 0x1004a7f0
push eax
call fcn.10034373
pop ecx
pop ecx
test eax, eax
je 0x1000e71f
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp + 0x8c0]
push 0x1004a7f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x80]
add esp, 0x10
and eax, 0xfffffffe
push eax
lea eax, [ebp + 0x8c0]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test byte [ebp - 0x80], 0x10
lea eax, [ebp + 0x8c0]
push eax
jne 0x1000e719
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x1000e71f
push eax
lea eax, [ebp + 0x8c0]
push eax
call fcn.1000b54d
pop ecx
jmp 0x1000e71e
call fcn.1000e633
pop ecx
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x1000e69c
push esi
call dword [sym.imp.kernel32.dll_FindClose]
push edi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
mov esi, eax
test esi, esi
jne 0x1000e74f
push eax
push edi
call fcn.1000b54d
pop ecx
pop ecx
mov eax, esi
jmp 0x1000e756
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10c0]
pop edi
xor ecx, ebp
pop esi
call fcn.1001df6b
add ebp, 0x10c4
leave
ret

Function at 0x100117ed
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x8c
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x58
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x1001181e
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8