joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463d7e
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x463d8a
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x463d85
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x463d6f
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x463d77
cmp edx, ebx
jne 0x463ec5
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x463d46
add eax, dword [eax + 4]
jmp 0x463d33
mov dword [ebp + 0xc], ebx
jmp 0x463d95
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x463dad
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x463dcb
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x463e29
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x463e10
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x463e19
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x463e23
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x463e05
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x463d8f
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x463e76
dec eax
je 0x463e6d
sub eax, 3
je 0x463e64
mov dword [ebp - 4], 0x40
jmp 0x463e93
mov dword [ebp - 4], 4
jmp 0x463e79
mov dword [ebp - 4], 0x20
jmp 0x463e79
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x463ec5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x463e45
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004636d6
outsb dx, byte [esi]
aad 0xe1
jo 0x463eb9
push dword [ebp + 0x14]
jne 0x463ed0
push 1
push esi
call edi
mov eax, esi
jmp 0x463ed1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x464653
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
stosd dword es:[edi], eax
cld
invalid
call dword [ebp - 0x73]
test dword [esp + edi*8 - 0x17af0001], edx
xor esi, eax
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046369b
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004636d6
dec eax
hlt

Function at 0x465d41
Capabilities:
Parse url

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x6c]
push 0x38
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004131f0
add esp, 0xc
lea ecx, [esp + 0x24]
mov ebx, 1
push ecx
push 0
push esi
mov dword [esp + 0x30], 0x7c
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebx
call fcn.004112d5
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x465dae
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push 0
push edx
mov ecx, edi
call fcn.00403fb0
mov eax, dword [esp + 0x34]
push 0
push eax
mov eax, dword [esp + 0x40]
lea ecx, [edi + 0x10]
call fcn.00403fb0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push 0
push ecx
lea ecx, [edi + 0x20]
call fcn.00403fb0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push 0
push edx
lea ecx, [edi + 0x30]
call fcn.00403fb0
mov eax, dword [esp + 0x50]
push 0
lea esi, [edi + 0x40]
push eax
mov eax, dword [esp + 0x5c]
mov ecx, esi
call fcn.00403fb0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push 0
lea ebp, [edi + 0x50]
push ecx
mov ecx, ebp
call fcn.00403fb0
push ebp
lea edx, [esp + 0x18]
push edx
push esi
call fcn.0044cd63
push eax
lea esi, [edi + 0x60]
call fcn.0040df50
lea ecx, [esp + 0x14]
call fcn.00402620
mov ax, word [esp + 0x3c]
mov word [edi + 0x78], ax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x74], eax
sub eax, ebx
je 0x465e7f
sub eax, ebx
je 0x465e6c
mov dword [edi + 0x70], 3
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov dword [edi + 0x70], 2
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8
mov dword [edi + 0x70], ebx
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x54
ret 8

Function at 0x465fc3
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0xd0], 0
je 0x466001
test al, al
je 0x466001
lea eax, [esi + 0xd4]
push eax
call fcn.00434b61
push esi
push 0
push 0x465fb6
call fcn.00415702
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
pop esi
ret 8
push eax
push esi
call fcn.00465e8e
pop esi
ret 8
Function at 0x465fe6
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
cmp byte [esi + 0xd0], 0
je 0x466001
test al, al
je 0x466001
lea eax, [esi + 0xd4]
push eax
call fcn.00434b61
push esi
push 0
push 0x465fb6
call fcn.00415702
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
pop esi
ret 8
push eax
push esi
call fcn.00465e8e
pop esi
ret 8
Function at 0x410ac5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a044]
jne 0x410acf
repz ret
jmp fcn.00412994

Function at 0x41c7a3
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.0041565d
and dword [ebp - 4], 0
cmp dword [0x42c704], 0
mov ebx, eax
jne 0x41c854
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c905
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41c905
push eax
call fcn.004155eb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42c704], eax
call esi
push eax
call fcn.004155eb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42c708], eax
call esi
push eax
call fcn.004155eb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42c70c], eax
call esi
push eax
call fcn.004155eb
pop ecx
mov dword [0x42c714], eax
test eax, eax
je 0x41c854
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004155eb
pop ecx
mov dword [0x42c710], eax
mov eax, dword [0x42c710]
cmp eax, ebx
je 0x41c8ac
cmp dword [0x42c714], ebx
je 0x41c8ac
push eax
call fcn.00415666
push dword [0x42c714]
mov esi, eax
call fcn.00415666
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c8ac
test edi, edi
je 0x41c8ac
call esi
test eax, eax
je 0x41c8a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c8a3
test byte [ebp - 0xc], 1
jne 0x41c8ac
or dword [ebp + 0x10], 0x200000
jmp 0x41c8e5
mov eax, dword [0x42c708]
cmp eax, ebx
je 0x41c8e5
push eax
call fcn.00415666
pop ecx
test eax, eax
je 0x41c8e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c8e5
mov eax, dword [0x42c70c]
cmp eax, ebx
je 0x41c8e5
push eax
call fcn.00415666
pop ecx
test eax, eax
je 0x41c8e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c704]
call fcn.00415666
pop ecx
test eax, eax
je 0x41c905
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c907
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x58784888
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6ce946ef
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x40579a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x40579a
lcall 0x5de5, 0x8b10c483
jmp loc.0078207c
Function at 0x4045b0
Capabilities:
Check if file exists

Disassembly:
push 0x268
mov eax, 0x5effdc
call fcn.0044e95a
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x264], eax
call fcn.00403028
mov ecx, eax
call fcn.0052eaef
push eax
lea ecx, [ebp - 0x260]
call fcn.00404479
lea eax, [ebp - 0x248]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040451c
pop ecx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x268], esi
call fcn.0051a738
mov dword [ebp - 0x26c], eax
push 7
mov dword [ebp - 0x220], esi
xor eax, eax
pop ebx
mov esi, str..wnpf
mov byte [ebp - 4], 2
push esi
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x230], ax
call fcn.005454d1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00403bdf
push dword [ebp - 0x264]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
push 0
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00404398
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004037bf
and dword [ebp - 0x220], 0
xor eax, eax
mov esi, str..swnpf
mov dword [ebp - 0x21c], ebx
push esi
mov word [ebp - 0x230], ax
call fcn.005454d1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00403bdf
push dword [ebp - 0x264]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
push 0
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00404398
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004037bf
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ecx]
mov dword [ebp - 0x270], eax
cmp eax, ecx
je 0x4047c6
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esi, [eax + 0x10]
cmp dword [esi + 0x14], 8
jb 0x404713
mov edx, dword [esi]
jmp 0x404715
mov edx, esi
cmp dword [edi + 0x14], 8
jb 0x40471f
mov ecx, dword [edi]
jmp 0x404721
mov ecx, edi
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push edx
cmovae eax, dword [ebp - 0x260]
push ecx
push eax
lea eax, [ebp - 0x218]
push str._sSkin_s_s
push eax
call fcn.00404de4
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x4047f9
cmp dword [esi + 0x14], 8
jb 0x404765
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x40476f
mov ecx, dword [edi]
jmp 0x404771
mov ecx, edi
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
lea eax, [ebp - 0x218]
push 0x5f9f20
push eax
call fcn.00404de4
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x4047f9
lea ecx, [ebp - 0x270]
call fcn.00528c5d
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x26c]
jne 0x404706
xor esi, esi
lea ecx, [ebp - 0x26c]
call fcn.0040449e
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004037bf
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.004037bf
mov eax, esi
call fcn.0044e904
ret
cmp word [ebp - 0x218], 0
jne 0x404807
xor eax, eax
jmp 0x404814
lea eax, [ebp - 0x218]
push eax
call fcn.005454d1
pop ecx
mov ecx, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00403bdf
xor esi, esi
inc esi
jmp 0x4047c8
Function at 0x404e67
Capabilities:
Read .ini file

Disassembly:
push 0x258
mov eax, 0x5f0025
call fcn.0044e95a
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x404e8f
xor al, al
jmp 0x404fef
call fcn.0040524b
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005426c0
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, edi
push dword [ebp - 0x264]
push eax
call fcn.004055fa
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov esi, 0x5f9ed8
push 0x104
push ecx
push esi
push eax
push 0x5f9fe4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00549fb0
pop ecx
pop ecx
test eax, eax
jne 0x404f9e
and dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x230]
push ecx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
mov ecx, edi
push eax
push 0x5f9fe4
call fcn.004050c1
test al, al
jne 0x404f68
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004037bf
xor bl, bl
jmp 0x404fde
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00549ff0
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004037bf
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004054b9
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x404fcd
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00403b4a
push 0
push 1
lea ecx, [ebp - 0x260]
mov bl, 1
call fcn.004037bf
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004037bf
mov al, bl
call fcn.0044e904
ret 8

Function at 0x40503d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.00403028
mov ecx, eax
call fcn.0052ea5b
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x5f9ed8
push str.MainID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xcc], 0
jne 0x40508d
xor eax, eax
jmp 0x40509a
lea eax, [ebp - 0xcc]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0xcc]
mov ecx, esi
push eax
call fcn.00403bdf
cmp dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
seta al
xor ecx, ebp
pop esi
call fcn.0044e8de
mov esp, ebp
pop ebp
ret 4
Function at 0x4051c7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.00403028
mov ecx, eax
call fcn.0052ea5b
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x5f9ed8
push 0x5f9fc4
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xcc], 0
jne 0x405217
xor eax, eax
jmp 0x405224
lea eax, [ebp - 0xcc]
push eax
call fcn.005454d1
pop ecx
push eax
lea eax, [ebp - 0xcc]
mov ecx, esi
push eax
call fcn.00403bdf
cmp dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
seta al
xor ecx, ebp
pop esi
call fcn.0044e8de
mov esp, ebp
pop ebp
ret 4

Function at 0x40527a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x69f564]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00403028
mov ecx, eax
call fcn.0052ea5b
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x5f9ed8
push 0x5f9fc4
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xcc]
push eax
call fcn.005454d1
cmp eax, 1
pop ecx
mov ecx, dword [ebp - 4]
setg al
xor ecx, ebp
call fcn.0044e8de
mov esp, ebp
pop ebp
ret
Function at 0x40a82a
Capabilities:
Check if file exists

Disassembly:
push 0x98
mov eax, 0x5f0b7e
call fcn.0044e95a
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
lea eax, [edi + 0xc]
push eax
call fcn.004021d9
lea eax, [ebp - 0x88]
xor ebx, ebx
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ebx
push eax
call fcn.0051ef1d
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0053f541
lea ecx, [ebp - 0x58]
push ecx
push 0x9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
call fcn.0053f541
lea ecx, [ebp - 0x58]
push ecx
push 0x9c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040222d
lea esi, [edi + 0x110]
mov byte [ebp - 4], 2
push esi
call fcn.005454f0
pop ecx
test eax, eax
je 0x40a8f0
push esi
lea ecx, [ebp - 0x28]
call fcn.004021d9
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0051ef1d
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004044cb
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004037bf
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040376a
call fcn.0053f541
lea ecx, [ebp - 0x70]
push ecx
push 0x9f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ecx, [ebp - 0xa4]
call fcn.004196f3
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0040778b
mov esi, 0x5f9f64
test al, al
mov ecx, esi
mov ebx, 0x5f9f68
cmove ecx, ebx
push ecx
push str.is_vip
lea ecx, [ebp - 0xa4]
call fcn.0041b6a0
mov ecx, edi
call fcn.0040a76e
test al, al
lea ecx, [ebp - 0xa4]
cmove esi, ebx
push esi
push str.is_super_vip
call fcn.0041b6a0
lea eax, [edi + 0x41c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004021d9
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0051ef1d
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x40a988
mov eax, dword [eax]
push eax
push str.ex_time
lea ecx, [ebp - 0xa4]
call fcn.0041b6a0
xor ebx, ebx
lea ecx, [ebp - 0x40]
xor esi, esi
push ebx
inc esi
push esi
call fcn.004037bf
push ebx
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040376a
add edi, 0x318
push edi
call fcn.005454f0
pop ecx
test eax, eax
je 0x40aa3f
push edi
lea ecx, [ebp - 0x40]
call fcn.004021d9
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0051ef1d
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.0040376a
call fcn.00403028
mov ecx, eax
call fcn.005164d5
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40aa32
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.UserFace
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor esi, esi
lea ecx, [ebp - 0x28]
push ebx
inc esi
push esi
call fcn.004037bf
lea ecx, [ebp - 0xa4]
call fcn.00419776
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.004037bf
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.004037bf
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.0040376a
call fcn.0044e904
ret