joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59b490
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x146000]
push edi
jmp 0x59b4aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59b4b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59b4a0
mov eax, 1
add ebx, ebx
jne 0x59b4c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59b4d4
jne 0x59b4f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59b4f3
dec eax
add ebx, ebx
jne 0x59b4e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59b4b8
add ebx, ebx
jne 0x59b4ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59b545
xor ecx, ecx
sub eax, 3
jb 0x59b50b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59b57a
sar eax, 1
mov ebp, eax
jmp 0x59b516
add ebx, ebx
jne 0x59b516
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59b4e4
inc ecx
add ebx, ebx
jne 0x59b524
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59b4e4
add ebx, ebx
jne 0x59b531
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59b526
jne 0x59b542
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59b526
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59b564
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59b556
jmp 0x59b4a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59b564
add edi, ecx
jmp 0x59b4a6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59b582
cmp byte [edi], 0x11
jne 0x59b582
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 0x59b587
lea edi, [esi + 0x194000]
mov eax, dword [edi]
or eax, eax
je 0x59b5ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25dfc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25e16c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59b5b4
mov ecx, edi
jns 0x59b5e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25e174]
or eax, eax
je 0x59b5f9
mov dword [ebx], eax
add ebx, 4
jmp 0x59b5d1
call dword [esi + 0x25e170]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x59b630
cmp al, 0xef
ja 0x59b623
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x59b605
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x59b612
mov ebp, dword [esi + 0x25e178]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x59b664
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x401c31
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x2457354], 0x400
push edi
jne 0x401c7d
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.004041a1
push esi
call fcn.00404828
push esi
push esi
call fcn.00404673
push esi
call fcn.004048de
add esp, 0x14
xor edi, edi
cmp edi, 0x16c76
jge 0x401c8f
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401cb5
inc edi
cmp edi, 0x3003f
jl 0x401c7f
mov eax, dword [0x439b6c]
mov dword [0x2457354], eax
call fcn.0040192c
mov edi, 0x3078f
cmp dword [0x2457354], 0x51f
jne 0x401ce1
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401cc9
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x4027b4
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4325dd
call fcn.00432460
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040348a
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.004048ed
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x4027fc
call fcn.0040323e
mov dword [ebx], eax
call fcn.00402ffd
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x4027fe
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x404f75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43899c]
jne 0x404f7f
repz ret
jmp fcn.0040b6ac
Function at 0x40fa1e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43899c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040721b
and dword [ebp - 0x14], 0
cmp dword [0x444c4c], 0
mov dword [ebp - 0x18], eax
jne 0x40fad1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40fb79
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40fb79
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444c4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444c50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x444c54], eax
call edi
push eax
call esi
mov dword [0x444c5c], eax
test eax, eax
je 0x40fad1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x444c58], eax
mov eax, dword [0x444c58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40fb2a
cmp dword [0x444c5c], ecx
je 0x40fb2a
push eax
call esi
push dword [0x444c5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40fb2a
test ebx, ebx
je 0x40fb2a
call edi
test eax, eax
je 0x40fb21
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40fb21
test byte [ebp - 8], 1
jne 0x40fb2a
or dword [ebp + 0x10], 0x200000
jmp 0x40fb5d
mov eax, dword [0x444c50]
cmp eax, dword [ebp - 0x18]
je 0x40fb5d
push eax
call esi
test eax, eax
je 0x40fb5d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40fb5d
mov eax, dword [0x444c54]
cmp eax, dword [ebp - 0x18]
je 0x40fb5d
push eax
call esi
test eax, eax
je 0x40fb5d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444c4c]
call esi
test eax, eax
je 0x40fb79
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40fb7b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404f75
leave
ret
Function at 0x10011550
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001158e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10011586
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10011590
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10011576
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011660
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10011676
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10011691
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x41b140
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x426138], 0
jne 0x41b1c1
cmp dword [0x426158], 0
jne 0x41b170
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x426158], eax
test eax, eax
jne 0x41b170
push str.GetEnvironmentStrings_failed
call fcn.0041a95c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x426158]
jmp 0x41b184
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004154e4
pop ecx
mov edi, eax
test eax, eax
jne 0x41b17c
lea edi, [ebp + 1]
push edi
call fcn.00414de8
pop ecx
mov ebx, eax
mov dword [0x42613c], ebx
test ebx, ebx
jne 0x41b1ae
xor eax, eax
jmp 0x41b284
push edi
mov edx, dword [0x426158]
push edx
push ebx
call fcn.00415394
add esp, 0xc
jmp 0x41b1e1
xor esi, esi
mov ebx, dword [0x426138]
jmp 0x41b1db
push eax
call fcn.004154e4
pop ecx
test eax, eax
jne 0x41b1d7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41b1cb
lea ebx, [esi + 4]
push 4
mov dword [0x426140], ebx
inc ebx
push ebx
call fcn.004148c0
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41b204
xor eax, eax
jmp 0x41b284
cmp dword [0x426138], 0
jne 0x41b235
xor esi, esi
mov ebx, dword [0x42613c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41b226
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004154e4
pop ecx
mov edi, eax
test eax, eax
jne 0x41b21c
jmp 0x41b266
xor esi, esi
mov ebx, dword [0x426138]
mov eax, dword [esp]
mov edi, eax
jmp 0x41b260
push eax
call fcn.004154e4
pop ecx
test eax, eax
je 0x41b255
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41b259
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41b244
mov eax, dword [0x426138]
test eax, eax
je 0x41b276
push eax
call fcn.00414df8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x426138], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x749b7280
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x43b515a2
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401920
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468838
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
lea eax, [ebp - 0x71]
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402330
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.004015f0
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x401973
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [ebp - 0x48]
lea edi, [ebp - 0x48]
mov eax, dword [eax + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push dword [ebp - 0x54]
call fcn.0043e3d8
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4c]
call edi
cmp dword [ebp - 0x58], 8
jb 0x4019c2
push dword [ebp - 0x6c]
call edi
xor eax, eax
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x70]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [0x4868e5], 0
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jne 0x401a6d
push 0
push 0
push 0
push esi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
call eax
push 0
lea eax, [ebp - 0x7c]
push eax
push 2
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401a3b
cmp dword [ebp - 0x7c], 2
jne 0x401a3b
mov eax, 0xfeff
cmp word [ebp - 0x78], ax
sete al
mov byte [0x4868e5], al
jmp 0x401a40
mov al, byte [0x4868e5]
test al, al
jne 0x401a61
push 0
lea eax, [ebp - 0x84]
push eax
push 2
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov byte [0x4868e5], 1
push 2
push 0
push 0
push esi
call eax
cmp dword [ebp - 0x28], 8
push 0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
add eax, eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x401aa8
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401aa8
push esi
call eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x18]
mov eax, dword [eax + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x24]
call fcn.0043e3d8
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x401ad6
push dword [ebp - 0x3c]
call edi
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x40]
call dword [sym.imp.KERNEL32.dll_SetLastError]
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.0043df43
mov esp, ebp
pop ebp
ret
Function at 0x407e5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x407ed4
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x407e96
push 0
push 0
jmp 0x407ed6
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 4], eax
test eax, eax
je 0x407e90
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x407e90
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [esi]
call fcn.0043e4b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push ebx
push ebx
call fcn.0043df52
int3
Function at 0x4082e3
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x3c4
mov eax, 0x460d62
call fcn.0043f4b0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push 0x104
mov dword [ebp - 0x3d0], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40832f
lea ecx, [ebp - 0x234]
call fcn.00408746
push 0x478bb4
lea eax, [ebp - 0x234]
push eax
call fcn.0043df52
push 0x110
lea eax, [ebp - 0x3c4]
push ebx
push eax
call fcn.0043dfb0
add esp, 0xc
lea eax, [ebp - 0x3c8]
push eax
mov dword [ebp - 0x3c8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 0x46be90
test eax, eax
je 0x40848f
cmp dword [ebp - 0x3b8], 1
jne 0x40848f
push ebx
lea eax, [ebp - 0x3c9]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x220], 0x46c540
call fcn.004065c0
push str.123.tmp
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], ebx
call fcn.00408863
cmp dword [ebp - 0x230], 8
push ebx
push 0x80
push 2
push ebx
push ebx
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40845e
lea eax, [ebp - 0x278]
push ebx
push eax
call fcn.004084f5
pop ecx
pop ecx
lea ecx, [ebp - 0x2b4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040a91d
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.00406bba
lea ecx, [ebp - 0x2b4]
call fcn.00401500
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], bl
call fcn.00401500
push str.temp
lea ecx, [ebp - 0x248]
call fcn.00408863
push ebx
lea eax, [ebp - 0x248]
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x28], 0x46c540
call fcn.004064d5
lea ecx, [ebp - 0x248]
jmp 0x4084e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x230], 8
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00401500
push ebx
lea eax, [ebp - 0x3c9]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x250], 0x46c540
call fcn.004065c0
push 0x46a790
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 3
call fcn.00408863
push ebx
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x28], 0x46c540
call fcn.004064d5
lea ecx, [ebp - 0x278]
call fcn.00401500
mov eax, esi
call fcn.0043f45f
ret

Function at 0x40a48c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x74736e49
mov dword [ebp - 0x18], 0x536c6c61
mov dword [ebp - 0x14], 0x6c656968
mov word [ebp - 0x10], 0x64
cmp byte [ebp + 0xc], al
je 0x40a4d3
mov dword [ebp - 0xf], 0x7a695720
mov dword [ebp - 0xb], 0x647261
push 1
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004066a7
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043df43
leave
ret 8
Function at 0x40bdf1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46169b
mov eax, dword fs:[0]
push eax
mov eax, 0x10ac
call fcn.0043f960
mov eax, dword [0x483dc8]
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, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10a9]
push eax
lea ecx, [ebp - 0x1050]
mov dword [ebp - 0x10b8], ebx
mov dword [ebp - 0x1050], 0x46be90
mov dword [ebp - 0x1028], 0x46c540
call fcn.004033a0
or dword [ebp - 0x10b0], 0xffffffff
mov dword [ebp - 4], ebx
add esi, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x40be71
mov esi, dword [esi]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40bf69
lea ecx, [ebp - 0x10b0]
call fcn.0040f446
lea eax, [ebp - 0x10a8]
push eax
mov dword [ebp - 0x10b0], esi
call fcn.00438f97
pop ecx
push ebx
lea eax, [ebp - 0x10b4]
push eax
push 0x1000
lea eax, [ebp - 0x1020]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40bef5
push dword [ebp - 0x10b4]
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.0043967c
add esp, 0xc
cmp dword [ebp - 0x10b4], 0
ja 0x40beb1
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00438f1a
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
lea eax, [ebp - 0x1050]
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.00403190
add esp, 0x50
push ebx
lea eax, [ebp - 0x1050]
push eax
mov ecx, edi
mov dword [edi], 0x46be90
mov dword [edi + 0x28], 0x46c540
call fcn.004043c0
lea ecx, [ebp - 0x10b0]
call fcn.0040f446
lea ecx, [ebp - 0x1050]
call fcn.00401500
mov eax, edi
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.0043df43
leave
ret 8
Function at 0x40f02e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x483dc8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
movzx ecx, word [eax + 0x44]
cmp ecx, dword [ebp + 8]
jne 0x40f056
movzx eax, word [eax + 0x4a]
cmp ax, 0xffff
jne 0x40f097
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x40f091
lea eax, [ebp - 0x2c]
push eax
call fcn.0043fedb
pop ecx
push 2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x40f0a6
mov ecx, dword [esi]
mov ax, word [ebp - 0x4c]
mov word [ecx + 0x4a], ax
mov eax, dword [esi]
mov ax, word [eax + 0x4a]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043df43
leave
ret 4
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x40f091
xor eax, eax
jmp 0x40f097

Function at 0x411802
Capabilities:
Read file on windows

Disassembly:
push 0x10c
mov eax, 0x461fe0
call fcn.0043f4b0
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
inc edi
cmp eax, 0xffffffff
cmove eax, edi
mov dword [ebp - 0x118], ebx
test ecx, ecx
je 0x411887
lea edi, [ebp - 0x118]
push edi
push eax
push edx
call fcn.0043a914
test al, al
jne 0x4118d9
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x46be90
mov dword [ebp - 0x48], 0x46c540
call fcn.004064d5
push 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], ebx
call fcn.004129ff
push 0x47b39c
lea eax, [ebp - 0x114]
push eax
call fcn.0043df52
push ebx
lea ecx, [ebp - 0x118]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4118d9
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004064d5
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], edi
call fcn.0041264d
push 0x47b328
lea eax, [ebp - 0xc0]
jmp 0x411881
mov eax, dword [ebp - 0x118]
call fcn.0043f45f
ret 8