joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cab
Capabilities:
Read file on windows

Disassembly:
mov ebx, eax
lea edi, [esi + 4]
inc ebx
xor ebx, ebx
push ebx
xor edi, edi
push edi
mov dword [0x42918d], 0
mov ecx, dword [0x42918d]
push ecx
xor edi, edi
push edi
push 0xe15384
pop edi
mov eax, 0xa031f0
mov esi, eax
sub edi, esi
call dword [edi]
or eax, eax
jne 0x4018a7
xor ecx, ecx
push ecx
mov edx, pe_nt_image_headers32
push edx
mov edi, 3
mov eax, edi
push eax
push 0
pop ecx
push ecx
push 2
pop eax
push eax
mov esi, 0
push esi
mov dword [str.__aEZF], 0
mov esi, dword [str.__aEZF]
push esi
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateFileA]
call ebx
leave
ret
add edi, 1
dec edi
mov eax, edi
mov eax, ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, 0
mov ebx, esi
push ebx
mov ecx, 0x77163
mov dword [0x429397], 0x39aee1
add ecx, dword [0x429397]
push dword [ecx]
pop dword [0x42931d]
mov ecx, dword [0x42931d]
call ecx
or eax, eax
je 0x4015ea
xor ebx, ebx
mov ecx, ebx
add dword [0x429134], ecx
sub ecx, esi
sub ecx, dword [0x42909e]
dec ecx
rol ecx, 2
shr ecx, 3
sub ecx, dword [0x429102]
inc ecx
cmp ecx, 0x5d2
jbe 0x401d1f
add ecx, dword [0x4293a2]
add dword [0x4292f3], ecx
call fcn.00401cab
lea edi, [esi + 0xc]
add esi, ebx
add esi, 2
lea edx, [0x47]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ebx, 1
push ebx
mov ebx, 3
mov edx, ebx
push edx
mov ebx, 0xdf88aa
sub ebx, 0x9e672e
call dword [ebx]
mov dword [0x4293a7], eax
or eax, eax
je 0x401d6a
sub eax, esi
xor edx, edx
push edx
mov esi, 5
push esi
push 0x3eb5c6
pop ebx
mov dword [0x42924e], 0x26bca
add ebx, dword [0x42924e]
push dword [ebx]
pop ebx
call ebx
or eax, eax
jne 0x401b5e
fmul dword [ebx + edi*4]
adc byte [0x8f3c2906], bh
aaa
inc esp
imul ecx, dword [edi + 0x71], 0xf38b9533
or ebx, 0x2d
xor esi, dword [0x42a88e]
add esi, edi
mov ebx, edi
sub edi, ebx
inc ebx
mov ecx, 0x71de1c35
mov edi, ecx
push edi
mov edi, 0x216e2f
mov ebx, edi
mov dword [0x4292e7], 0x21227e
add ebx, dword [0x4292e7]
push ebx
mov ecx, 0x28ed22
mov ebx, ecx
add ebx, 0x19a420
push ebx
mov dword [0x4290df], 0
mov edi, dword [0x4290df]
push edi
mov ebx, 0x391ba6
mov edi, ebx
add edi, 0x975f7
push edi
push 0x2d5b6c
pop ebx
mov dword [0x429180], 0x1534dd
add ebx, dword [0x429180]
push ebx
push 0x9d
pop esi
push esi
push 0
pop edx
push edx
push 0x37a1b7
pop edi
mov eax, 0x97ff1
add edi, eax
push dword [edi]
pop dword [0x429184]
mov edi, dword [0x429184]
call edi
mov dword [0x429100], eax
call 0x401da6
int3
Function at 0x406ced
Capabilities:
Parse pe header

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret
Function at 0x10001020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x6b
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0
mov eax, dword [0x10002024]
mov dword [ebp - 0x14], eax
mov cx, word [0x10002028]
mov word [ebp - 0x10], cx
mov byte [0x1000300d], 0
mov byte [0x1000301a], 0
mov byte [0x10003026], 0
mov byte [0x10003032], 0
mov byte [0x10003044], 0
mov byte [0x10003051], 0
mov byte [0x10003065], 0
mov byte [0x10003073], 0
mov byte [0x10003081], 0
mov byte [0x1000308e], 0
mov byte [0x100030a1], 0
mov byte [0x100030aa], 0
push 0x100030a2
push 0x1000202c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x10003066
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 1
push 0
push 0
lea edx, [ebp - 0x12]
push edx
push 0
push 0
call dword [ebp - 0x20]
push 0x10003027
push 0x10002060
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x1000300e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
mov dword [0x100030b0], eax
push 0x40
push 0x1000
push 0x1000
push 0
call dword [ebp - 0x18]
mov dword [0x100030ac], eax
push 0
push 0x100030bc
push 0x1000
mov ecx, dword [0x100030ac]
push ecx
mov edx, dword [0x100030b0]
push edx
call dword [ebp - 0xc]
mov eax, dword [0x100030ac]
mov cl, byte [eax]
mov byte [0x100030b4], cl
mov dword [ebp - 4], 0x42
movzx edx, byte [0x100030b4]
xor edx, 0x4e
mov dword [ebp - 0x1c], edx
cmp dword [ebp + 0x14], 0x404000
jne 0x100011b6
call fcn.10001000
mov dword [ebp - 0x30], 0
jmp 0x100011c8
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x100030bc]
jae 0x100011f2
mov edx, dword [0x100030ac]
add edx, dword [ebp - 0x30]
movzx eax, byte [edx]
xor eax, dword [ebp - 0x1c]
add eax, dword [ebp - 4]
mov ecx, dword [0x100030ac]
add ecx, dword [ebp - 0x30]
mov byte [ecx], al
jmp 0x100011bf
call dword [0x100030ac]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4044aa
Capabilities:
Identify system language via api

Disassembly:
push ebp
push ebx
call fcn.00489fe0
call fcn.00405087
push 0x5a
call fcn.00482730
push eax
mov eax, 0x544028
push eax
push 0
push 0x53
call fcn.0046a1e0
push 0x17
call fcn.00482730
push eax
mov eax, 0x544028
push eax
push 1
push 0x53
call fcn.0046a1e0
push 8
call fcn.00482730
push eax
mov eax, 0x544028
push eax
push 2
push 0x53
call fcn.0046a1e0
call sub.KERNEL32.dll_GetUserDefaultLangID
mov ebx, eax
and ebx, 0x3ff
push ebx
mov ebx, 4
cmp ebx, dword [esp]
je 0x404542
mov ebx, 4
cmp ebx, dword [esp]
je 0x404542
mov ebx, 0x7c04
cmp ebx, dword [esp]
jne 0x404584
mov ebp, dword [0x6eb3b4]
mov edx, 0x55afb0
lea ecx, [ebp]
call fcn.00440008
mov eax, 0x55afb0
push eax
call fcn.0040c08e
push 2
push 0x53
call fcn.0046a245
mov eax, 0x55afb0
push eax
push 0x53
call fcn.0046a27d
jmp 0x40460a
mov ebx, 9
cmp ebx, dword [esp]
jne 0x4045cd
mov ebp, dword [0x6eb3b4]
mov edx, str.English
lea ecx, [ebp]
call fcn.00440008
mov eax, str.English
push eax
call fcn.0040c08e
push 1
push 0x53
call fcn.0046a245
mov eax, str.English
push eax
push 0x53
call fcn.0046a27d
jmp 0x40460a
mov ebp, dword [0x6eb3b4]
mov edx, 0x5455e2
lea ecx, [ebp]
call fcn.00440008
mov eax, 0x5455e2
push eax
call fcn.0040c08e
push 0
push 0x53
call fcn.0046a245
mov eax, 0x5455e2
push eax
push 0x53
call fcn.0046a27d
pop eax
call fcn.0040461c
call fcn.00428687
jmp 0x404610
Function at 0x40563a
Capabilities:
Delete registry value

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00489fe0
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.00440000
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.00440000
mov dword [esp + 0xc], 0x20006
cmp dword [esp + 0x2c], 0
je 0x40567e
mov ebx, dword [esp + 0xc]
or ebx, 0x100
mov dword [esp + 0xc], ebx
push edx
call fcn.00489e70
pop edx
push eax
push edx
call fcn.00489e70
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.00487720
call fcn.0048a040
mov edx, 0x546960
call fcn.00440330
mov ecx, eax
call fcn.00440340
je 0x4056e4
push edx
call fcn.00489e70
pop edx
push eax
push edx
call fcn.00489e70
pop edx
push eax
push dword [esp + 8]
call fcn.00487790
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.004877c0
lea eax, [esp + 4]
push eax
call fcn.00489f10
push edx
call fcn.00489e70
pop edx
push eax
push edx
call fcn.00489e70
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.004877c0
call fcn.0048a040
mov edx, 0x546960
call fcn.00440330
mov ecx, eax
call fcn.00440340
je 0x40574a
push edx
call fcn.00489e70
pop edx
push eax
push edx
call fcn.00489e70
pop edx
push eax
push dword [esp + 8]
call fcn.00487790
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00487720
lea eax, [esp + 4]
push eax
call fcn.00489f10
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x405765
push 0x560bdc
push 0x24
push dword [esp + 0x38]
call fcn.00488d30
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push 0
push dword [esp + 0xc]
push dword [esp + 0x30]
call sub.ADVAPI32.dll_RegOpenKeyExW
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x4057d0
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x4057bc
push dword [esp + 8]
mov ebp, dword [esp + 0x34]
pop dword [ebp + 8]
push edx
call fcn.00489e70
pop edx
push eax
push dword [esp + 0xc]
call fcn.004069fc
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 0xc]
push eax
call fcn.00489f10
cmp dword [esp + 0x10], 0
je 0x4057cc
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
xor eax, eax
jmp 0x40582f
push dword [esp + 4]
push dword [esp + 0x14]
call sub.ADVAPI32.dll_RegDeleteValueW
mov dword [esp + 8], eax
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
cmp dword [esp + 8], 0
je 0x405826
mov ebx, dword [esp + 0x30]
and ebx, ebx
je 0x405822
push dword [esp + 8]
mov ebp, dword [esp + 0x34]
pop dword [ebp + 8]
push edx
call fcn.00489e70
pop edx
push eax
push dword [esp + 0xc]
call fcn.004069fc
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 0xc]
push eax
call fcn.00489f10
xor eax, eax
jmp 0x40582f
mov eax, 1
jmp 0x40582f
push dword [esp]
call fcn.0048a070
push dword [esp + 4]
call fcn.0048a070
add esp, 0x14
pop ebx
pop ebp
ret 0x14
Function at 0x40bce1
Capabilities:
Identify system language via api

Disassembly:
push ebp
push ebx
call fcn.00489fe0
call fcn.004092e5
push 0x2f
push 0
call fcn.0041c758
push 0xffffffec
push 0x2d
call fcn.0046d11d
push eax
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
or ebx, 0x20
push ebx
push 0xffffffec
push 0x2d
call fcn.0046d11d
push eax
call sub.USER32.dll_SetWindowLongW
push 0x5a
call fcn.00482730
push eax
mov eax, 0x544028
push eax
push 0
push 5
call fcn.0046a1e0
push 0x17
call fcn.00482730
push eax
mov eax, 0x544028
push eax
push 1
push 5
call fcn.0046a1e0
push 8
call fcn.00482730
push eax
mov eax, 0x544028
push eax
push 2
push 5
call fcn.0046a1e0
mov ebp, dword [0x6eb3d4]
mov ebx, dword [ebp + 8]
cmp ebx, 1
jne 0x40be48
call sub.KERNEL32.dll_GetUserDefaultLangID
mov ebx, eax
and ebx, 0x3ff
push ebx
mov ebx, 4
cmp ebx, dword [esp]
jne 0x40bde2
mov eax, 0x55afb0
push eax
call fcn.0040c08e
push 2
push 5
call fcn.0046a245
mov eax, 0x55afb0
push eax
push 5
call fcn.0046a27d
jmp 0x40be42
mov ebx, 9
cmp ebx, dword [esp]
jne 0x40be18
mov eax, str.English
push eax
call fcn.0040c08e
push 1
push 5
call fcn.0046a245
mov eax, str.English
push eax
push 5
call fcn.0046a27d
jmp 0x40be42
mov eax, 0x5455e2
push eax
call fcn.0040c08e
push 0
push 5
call fcn.0046a245
mov eax, 0x5455e2
push eax
push 5
call fcn.0046a27d
pop eax
jmp 0x40bef2
mov ebp, dword [0x6eb3b4]
push dword [ebp]
mov edx, 0x55afb0
mov ecx, dword [esp]
call fcn.00440340
je 0x40be8c
mov eax, 0x55afb0
push eax
call fcn.0040c08e
push 2
push 5
call fcn.0046a245
mov eax, 0x55afb0
push eax
push 5
call fcn.0046a27d
jmp 0x40bef1
mov edx, str.English
mov ecx, dword [esp]
call fcn.00440340
je 0x40bec7
mov eax, str.English
push eax
call fcn.0040c08e
push 1
push 5
call fcn.0046a245
mov eax, str.English
push eax
push 5
call fcn.0046a27d
jmp 0x40bef1
mov eax, 0x5455e2
push eax
call fcn.0040c08e
push 0
push 5
call fcn.0046a245
mov eax, 0x5455e2
push eax
push 5
call fcn.0046a27d
pop eax
call fcn.0040a4b6
call fcn.00407209
call fcn.0043b2c1
mov ebp, dword [0x6eb3d4]
mov ebx, dword [ebp + 8]
cmp ebx, 1
jne 0x40bf16
call fcn.00428687
jmp 0x40bf0f
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x41ca8c
Capabilities:
Get common file path

Disassembly:
xor eax, eax
push eax
push eax
call fcn.00489fe0
push dword [esp + 0x14]
call fcn.00440320
lea eax, [esp]
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call sub.SHELL32.dll_SHGetKnownFolderPath
cmp dword [esp], 0
je 0x41cae5
push edx
call fcn.00489e70
pop edx
push eax
push edx
call fcn.00489e70
pop edx
push eax
push dword [esp + 8]
call fcn.00488fc0
lea eax, [esp + 8]
push eax
call fcn.00489f10
push dword [esp]
call sub.ole32.dll_CoTaskMemFree
mov edx, dword [esp + 4]
push edx
call fcn.00489e70
pop edx
push eax
push edx
call fcn.00489eb0
pop eax
push eax
call fcn.004402f0
pop edx
add eax, edx
jmp 0x41cb0d
push dword [esp + 4]
call fcn.0048a070
add esp, 8
ret 8
Function at 0x41d0ae
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41d0b5
call fcn.00489fe0
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.00440000
mov edx, dword [esp + 0x34]
lea ecx, [esp + 4]
call fcn.00440000
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
call fcn.00440000
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
call fcn.00440000
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x10]
call fcn.00440000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.00440000
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x18]
push eax
mov ebp, 0x6e743f
push ebp
push 1
push 0
mov ebp, 0x6e741f
push ebp
call sub.ole32.dll_CoCreateInstance
mov ebx, eax
and ebx, ebx
jne 0x41d222
sub esp, 4
push dword [esp + 4]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
add esp, 4
sub esp, 4
push dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
add esp, 4
sub esp, 4
push dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
add esp, 4
sub esp, 4
push dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
add esp, 4
push dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
push 0
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
sub esp, 4
push dword [esp + 0x50]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov ebp, 0x6e742f
push ebp
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
mov ebx, eax
and ebx, ebx
jne 0x41d218
sub esp, 4
push 1
push dword [esp + 0xc]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
add esp, 4
mov ebx, eax
and ebx, ebx
jne 0x41d20e
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x20]
jmp 0x41d22f
push dword [esp + 8]
call fcn.0048a070
push dword [esp + 0xc]
call fcn.0048a070
push dword [esp]
call fcn.0048a070
push dword [esp + 4]
call fcn.0048a070
push dword [esp + 0x10]
call fcn.0048a070
push dword [esp + 0x14]
call fcn.0048a070
add esp, 0x24
pop ebx
pop ebp
ret 0x20
Function at 0x4418b5
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x44194d
push edi
push 0x765a30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x6ebe34]
test edi, edi
je 0x441921
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44191a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x6ebe34
call fcn.00489d81
pop ecx
pop ecx
jmp 0x44191c
mov edi, dword [edi]
test edi, edi
jne 0x4418f1
pop ebx
mov eax, dword [0x6e7450]
mov esi, eax
inc eax
push 0x10
push 0x6ebe34
mov dword [0x6e7450], eax
call fcn.00489dc1
pop ecx
pop ecx
push 0x765a30
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x445691
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x4456e6
push dword [esp + 0x10]
push 0x445610
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x6ebee4]
test esi, esi
je 0x44573f
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x4456de
cmp byte [esi + 0x10], 0
je 0x4456de
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x4456ba
jmp 0x44573f
mov esi, dword [0x6ebee4]
test esi, esi
je 0x44573f
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x445738
cmp byte [esi + 0x11], 0
je 0x445714
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x44572b
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x6ebee4
call fcn.00489d81
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x4456f3
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x445f23
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x445fe2
cmp dword [esp + 0x24], 2
je 0x445fe2
push 0x2000
push ebp
push dword [0x6eb394]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x445fb1
cmp dword [esp + 0x18], 2
jne 0x445fcd
cmp dword [esp + 0x28], 0xffffffff
je 0x445f75
cmp ebp, dword [esp + 0x28]
jae 0x445fcd
add ebp, 2
test ebx, ebx
jne 0x445f9a
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x6eb394]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x445fcd
cmp ax, 0xd
je 0x445fb1
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x445f61
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.005234d0
jmp 0x446074
push eax
push 0
push dword [0x6eb394]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x446000
cmp ebp, dword [esp + 0x28]
jae 0x446058
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446058
cmp dword [esp + 0x18], 1
jne 0x446058
inc ebp
test ebx, ebx
jne 0x446045
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x6eb394]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x446058
cmp al, 0xd
je 0x445ff3
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x445ff3
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x44606f
call fcn.00523520
jmp 0x446074
call fcn.005236d0
push esi
push 0
push dword [0x6eb394]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x447091
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x4470f3
cmp word [esi], di
je 0x4470f3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004b1080
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.004b1290
add esp, 0x10
test eax, eax
jne 0x4470f2
push 0x24
push 8
push dword [0x6eb394]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], edi
mov edi, ecx
mov dword [ecx], ebx
mov dword [ecx + 8], 1
mov dword [ecx + 0x20], eax
mov dword [eax + 4], ecx
pop ebx
mov eax, edi
pop edi
pop esi
ret 0x10