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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31000]
push edi
jmp 0x43c80a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43c811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43c800
mov eax, 1
add ebx, ebx
jne 0x43c823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43c818
jne 0x43c834
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43c818
xor ecx, ecx
sub eax, 3
jb 0x43c848
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43c8ba
mov ebp, eax
add ebx, ebx
jne 0x43c853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43c860
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43c884
inc ecx
add ebx, ebx
jne 0x43c870
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43c865
jne 0x43c881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43c865
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43c8a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43c895
jmp 0x43c806
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43c8a4
add edi, ecx
jmp 0x43c806
pop esi
mov edi, esi
mov ecx, 0x55b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43c8c2
cmp byte [edi], 7
jne 0x43c8c2
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 0x43c8c7
lea edi, [esi + 0x3a000]
mov eax, dword [edi]
or eax, eax
je 0x43c93f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4171c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x41804]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43c8f4
mov ecx, edi
jns 0x43c923
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 + 0x4180c]
or eax, eax
je 0x43c939
mov dword [ebx], eax
add ebx, 4
jmp 0x43c911
call dword [esi + 0x41808]
mov ebp, dword [esi + 0x41810]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x43c973
sub esp, 0xffffff80
jmp 0x408185
Function at 0x408c84
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42914c]
jne 0x408c8e
repz ret
jmp fcn.00412cac

Function at 0x414605
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040c0dd
and dword [ebp - 4], 0
cmp dword [0x47b138], 0
mov ebx, eax
jne 0x4146b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414767
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x414767
push eax
call fcn.0040c06b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47b138], eax
call esi
push eax
call fcn.0040c06b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47b13c], eax
call esi
push eax
call fcn.0040c06b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47b140], eax
call esi
push eax
call fcn.0040c06b
pop ecx
mov dword [0x47b148], eax
test eax, eax
je 0x4146b6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c06b
pop ecx
mov dword [0x47b144], eax
mov eax, dword [0x47b144]
cmp eax, ebx
je 0x41470e
cmp dword [0x47b148], ebx
je 0x41470e
push eax
call fcn.0040c0e6
push dword [0x47b148]
mov esi, eax
call fcn.0040c0e6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41470e
test edi, edi
je 0x41470e
call esi
test eax, eax
je 0x414705
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414705
test byte [ebp - 0xc], 1
jne 0x41470e
or dword [ebp + 0x10], 0x200000
jmp 0x414747
mov eax, dword [0x47b13c]
cmp eax, ebx
je 0x414747
push eax
call fcn.0040c0e6
pop ecx
test eax, eax
je 0x414747
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414747
mov eax, dword [0x47b140]
cmp eax, ebx
je 0x414747
push eax
call fcn.0040c0e6
pop ecx
test eax, eax
je 0x414747
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47b138]
call fcn.0040c0e6
pop ecx
test eax, eax
je 0x414767
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414769
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x50f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb9000]
push edi
jmp 0x50f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50f9f0
mov eax, 1
add ebx, ebx
jne 0x50fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50fa24
jne 0x50fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50fa43
dec eax
add ebx, ebx
jne 0x50fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50fa08
add ebx, ebx
jne 0x50fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50fa95
xor ecx, ecx
sub eax, 3
jb 0x50fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50faca
sar eax, 1
mov ebp, eax
jmp 0x50fa66
add ebx, ebx
jne 0x50fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50fa34
inc ecx
add ebx, ebx
jne 0x50fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50fa34
add ebx, ebx
jne 0x50fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50fa76
jne 0x50fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50faa6
jmp 0x50f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50fab4
add edi, ecx
jmp 0x50f9f6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50fad2
cmp byte [edi], 0x11
jne 0x50fad2
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 0x50fad7
lea edi, [esi + 0x108000]
mov eax, dword [edi]
or eax, eax
je 0x50fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x146900]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x146a7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50fb04
mov ecx, edi
jns 0x50fb33
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 + 0x146a80]
or eax, eax
je 0x50fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x50fb21
call dword [esi + 0x146a90]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50fb80
cmp al, 0xef
ja 0x50fb73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50fb55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50fb62
mov ebp, dword [esi + 0x146a84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x50fbb4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
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
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x75bf2250
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4f1746b
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401e50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [esi + 8]
call fcn.00401ca0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x401e79
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov edi, dword [esi + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push edi
push 0x401c20
push 0
push 0
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x10], eax
test eax, eax
je 0x401ebd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401ebd
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x10], 0
mov eax, dword [esi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x4026c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489e88
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x638], edi
lea eax, [edi + 8]
mov dword [edi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], edi
jb 0x40271a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ecx
cmp dword [edi + 0x34], 8
jb 0x402737
mov eax, dword [edi + 0x20]
jmp 0x40273a
lea eax, [edi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x402754
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x40276e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 3
call fcn.0043a5e1
push eax
call fcn.00446342
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00432e20
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x402821
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.00432e20
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x402812
test eax, eax
je 0x402812
add eax, eax
cmp eax, 0x412
jae 0x40280d
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x402818
call fcn.00413cbe
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x20]
call fcn.00402020
mov eax, dword [edi + 0x30]
test eax, eax
je 0x40284d
cmp dword [edi + 0x34], 8
jb 0x402833
mov ecx, dword [edi + 0x20]
jmp 0x402836
lea ecx, [edi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x40284d
push 1
push 0x4a5544
lea ecx, [edi + 0x20]
call fcn.00403cb0
cmp dword [edi + 0x30], 0
jne 0x402862
push 3
push 0x4a5548
lea ecx, [edi + 0x20]
call fcn.00402070
mov dword [edi + 4], 0
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.004134d9
mov esp, ebp
pop ebp
ret
Function at 0x406fa0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x40702a
cmp byte [edi + 1], 0
je 0x40702a
push ebx
push esi
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 4]
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop word [eax + eax]
cmp esi, 0x14
jl 0x406feb
cmp byte [edi + 3], 0
je 0x406ffb
cmp byte [edi + 2], 0
jne 0x406fff
push 0x1f4
inc esi
call ebx
jmp 0x406fe0
cmp byte [edi + 2], 0
pop esi
pop ebx
jne 0x40702a
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
pop edi
test eax, eax
je 0x407039
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x408e00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a6bb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
push eax
push 0x4a5558
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00402070
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00432e20
add esi, 0x18
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x408e84
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x48f63c
push 0x48f640
push str.SVSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x408eb4
xor ecx, ecx
jmp 0x408ecf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ec0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402070
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0043a1ca
mov ecx, dword [ebp - 0x21c]
add esp, 4
mov esi, eax
cmp ecx, 8
jb 0x408f1f
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00402170
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.004134d9
mov esp, ebp
pop ebp
ret
Function at 0x408f80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a706
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x4ae1dc]
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
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.004207d6
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x828], ax
lea ecx, [ebp - 0x828]
lea eax, [ebp - 0x840]
mov dword [ebp - 0x814], 7
push eax
mov dword [ebp - 0x818], 0
call fcn.00402290
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00432e20
add esi, 0x18
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x409029
mov esi, dword [esi]
cmp dword [ebp - 0x82c], 8
lea ecx, [ebp - 0x810]
push esi
push 0x400
push ecx
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x810], 0
jne 0x409061
xor ecx, ecx
jmp 0x40907f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409070
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00402070
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.0043a1ca
mov ecx, dword [ebp - 0x814]
add esp, 4
mov esi, eax
cmp ecx, 8
jb 0x4090cf
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.00402170
xor eax, eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x818], 0
cmp eax, 8
jb 0x40910a
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.00402170
mov eax, esi
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.004134d9
mov esp, ebp
pop ebp
ret 0xc

Function at 0x409140
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x18
cmp dword [ecx + 0x14], 8
jb 0x40914e
mov ecx, dword [ecx]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop ebp
ret 0xc
Function at 0x409170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x218], 0
call fcn.00432e20
add esi, 0x18
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4091cb
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x40920b
xor ecx, ecx
jmp 0x409223
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409214
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00402070
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134d9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x409360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ae1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.00432e20
lea eax, [esi + 0x18]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x409397
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.NULL
push str.45e51
push str.SVSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], 0
jne 0x4093c7
xor ecx, ecx
jmp 0x4093df
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4093d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x30]
call fcn.00402070
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004134d9
mov esp, ebp
pop ebp
ret
Function at 0x414000
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b983
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ae1dc]
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 + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4aff60
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x4aff60
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x48f4a0
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00417bf0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418441
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x48be0e
call fcn.00458cd6
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x418541
cmp byte [ebx + 0x3d], 0
je 0x418541
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x41847b
xor al, al
jmp 0x418543
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00418967
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4184d9
sub eax, 1
je 0x4184dd
dec eax
sub eax, 1
je 0x41852f
xor bl, bl
jmp 0x418531
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x418515
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00445a63
add esp, 0x10
cmp esi, eax
jne 0x4184d5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x41852f
test esi, esi
jne 0x41849f
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00412850
jmp 0x418499
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004188e8
mov al, bl
jmp 0x418543
mov al, 1
call fcn.00458c91
ret

Function at 0x419082
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x41991f
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x41b463
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x41b544
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x41b487
inc edx
cmp edx, 2
jg 0x41b4c5
cmp al, 0x7f
ja 0x41b4c5
movzx eax, al
mov al, byte [eax + 0x491bf0]
cmp al, 0x7f
je 0x41b4c5
cmp al, 0x40
jae 0x41b4a0
test edx, edx
jne 0x41b4c5
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x41b47a
test ecx, ecx
je 0x41b544
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x41b4ca
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x41b4c7
push 0xffffffffffffffee
pop eax
jmp 0x41b546
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x41b53e
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x491bf0]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x41b52f
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x41b51a
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x41b527
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x41b52f
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x41b4df
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret