joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bfee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x7c]
push edi
xor edi, edi
push edi
lea eax, [esp + 0x3c]
push eax
push ebx
mov ecx, esi
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x64], 2
call fcn.005674c4
push 2
lea ecx, [esp + 0x4c]
push ecx
push ebx
mov ecx, esi
call fcn.005674c4
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x38]
mov edx, dword [esi + 0x20]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push edi
push 2
push 0x1002
push edx
mov dword [esp + 0x90], eax
call ebx
push eax
call fcn.00567d2d
test eax, eax
mov dword [esp + 0x14], eax
je 0x4bffa1
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 0x20]
push 0xf000
push eax
push 0x102c
push ecx
call ebx
test eax, 0xf000
jne 0x4bffa1
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
push edi
push eax
call fcn.00568851
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00477220
mov eax, dword [esp + 0x30]
sub dword [esp + 0x80], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
push 0
push 0
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
push 0x101d
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call ebx
mov ecx, dword [esp + 0x38]
add eax, ecx
cmp dword [esp + 0x8c], edi
mov dword [esp + 0x20], eax
jne 0x4bfff3
cmp dword [esi + 0x7c], edi
jne 0x4bfff3
mov edx, dword [esp + 0x80]
add dword [esp + 0x18], edx
cmp dword [esp + 0x88], edi
je 0x4c0067
cmp dword [esp + 0x10], 0
je 0x4c005e
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x58]
push eax
add edi, 1
push edi
push 0x1019
push ecx
call ebx
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c0053
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x20]
push 0
push edi
push 0x101d
push eax
mov dword [esp + 0x28], edx
call ebx
add dword [esp + 0x20], eax
cmp dword [esp + 0x8c], 0
jne 0x4c0053
cmp dword [esi + 0x7c], edi
jne 0x4c0053
mov ecx, dword [esp + 0x80]
add dword [esp + 0x18], ecx
cmp edi, dword [esp + 0x88]
jne 0x4bfffc
jmp 0x4c0067
cmp edi, dword [esp + 0x88]
jne 0x4c0083
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ebp], edx
mov edx, dword [esp + 0x24]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x70
ret 0x10
Function at 0x4c26b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x4c26d7
or eax, 0xffffffff
pop edi
add esp, 8
ret
cmp dword [esp + 8], 2
jne 0x4c26cf
cmp word [esp + 4], 0
jne 0x4c26cf
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x4c26cf
cmp dword [esp + 8], 2
jne 0x4c26cf
cmp word [esp + 4], 1
jne 0x4c26cf
push 0
lea ecx, [esp + 0xc]
push ecx
push 2
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
je 0x4c26cf
cmp dword [esp + 8], 2
jne 0x4c26cf
movzx eax, word [esp + 4]
pop edi
add esp, 8
ret
Function at 0x4c2b30
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
jne 0x4c2b5e
xor eax, eax
pop edi
add esp, 8
ret
cmp dword [esp + 8], 2
jne 0x4c2b57
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 1
call edi
test eax, eax
je 0x4c2b57
cmp dword [esp + 8], 2
jne 0x4c2b57
movzx ecx, word [esp + 0x10]
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], ecx
call edi
test eax, eax
je 0x4c2b57
xor eax, eax
cmp dword [esp + 8], 2
pop edi
sete al
add esp, 8
ret

Function at 0x4c2bf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x4c2c3b
mov ecx, dword [ebp + 0x20c]
push ecx
mov esi, ebx
call fcn.004c2b30
add esp, 4
test eax, eax
jne 0x4c2c45
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor esi, esi
cmp dword [ebp + 0x20c], esi
jbe 0x4c2cf2
lea edi, [ebp + 0x224]
lea esp, [esp]
mov al, byte [edi - 0x10]
mov dl, byte [edi - 0x14]
mov byte [esp + 0x19], al
mov eax, dword [edi]
mov byte [esp + 0x18], dl
mov byte [esp + 0x1b], 0
mov dx, word [eax + 0xc]
mov word [esp + 0x1c], dx
mov ax, word [eax + 0xe]
movzx ecx, ax
movzx edx, dx
imul ecx, edx
cmp ecx, 8
mov word [esp + 0x1e], ax
jl 0x4c2c9c
mov byte [esp + 0x1a], 0
jmp 0x4c2ca4
mov al, 1
shl al, cl
mov byte [esp + 0x1a], al
mov ecx, dword [edi - 4]
mov dword [esp + 0x20], ecx
mov edx, esi
mov ecx, ebp
call fcn.004c2bc0
push 0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x2c], eax
push 0x10
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x4c2c3b
cmp dword [esp + 0x10], 0x10
jne 0x4c2c3b
add esi, 1
add edi, 0x20
cmp esi, dword [ebp + 0x20c]
jb 0x4c2c60
xor ebx, ebx
cmp dword [ebp + 0x20c], ebx
jbe 0x4c2d50
lea edi, [ebp + 0x224]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
push 0
mov dword [eax + 0x14], 0
mov edx, dword [edi - 4]
mov eax, dword [edi - 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x4c2c3b
mov edx, dword [esp + 0x10]
cmp edx, dword [edi - 4]
jne 0x4c2c3b
mov eax, dword [edi]
add ebx, 1
mov dword [eax + 0x14], esi
add edi, 0x20
cmp ebx, dword [ebp + 0x20c]
jb 0x4c2d02
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
Function at 0x4c5450
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6ac91c]
mov cl, byte [esp + 4]
mov byte [eax + 0x6ac920], cl
add eax, 1
cmp eax, 0xfe
mov dword [0x6ac91c], eax
jl 0x4c5473
jmp fcn.004c5480
ret

Function at 0x4c5480
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6ac91c]
test eax, eax
jle 0x4c54bc
mov ecx, dword [0x6aca28]
push ecx
push eax
call fcn.005a658e
mov edx, dword [0x6aca28]
mov eax, dword [0x6ac91c]
push edx
push eax
push 1
push 0x6ac920
call fcn.005a13d9
add esp, 0x18
mov dword [0x6ac91c], 0
ret
Function at 0x4c6570
Capabilities:
Delete file

Disassembly:
push ecx
push esi
push edi
push 0x63f3d0
push ebx
call fcn.0059f606
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c658b
pop edi
pop esi
pop ecx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push esi
push eax
call fcn.004c5f50
add esp, 0x14
push esi
mov edi, eax
call fcn.0059f7da
add esp, 4
test edi, edi
jne 0x4c65be
push ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4c71c0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x605c68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
mov dword [ebx], vtable.CRectTracker.0
call fcn.0058c5ff
mov dword [esp + 0x34], 0
mov eax, 1
mov ecx, eax
mov dword [ebx + 0x18], eax
mov dword [ebx], vtable.CPntRectTracker.0
mov dword [ebx + 0x20], 6
mov dword [ebx + 4], 0x12
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x48], 0xffffffff
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x98]
push ecx
push edx
push 0
lea eax, [ebx + 0x70]
push 0
push eax
call dword [sym.imp.user32.dll_SetRect]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 0x4c]
call fcn.004b5b30
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 0x4c]
lea ebp, [ebx + 0x60]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebp + 4], edx
mov dword [ebp + 8], eax
lea edi, [esp + 0x18]
mov dword [ebp + 0xc], ecx
call fcn.004b2340
mov esi, edi
mov edi, dword [ebx + 0x4c]
call fcn.004b2460
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov dword [ebx + 0x50], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x58], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x14], esi
mov esi, dword [esp + 0x44]
push esi
push edi
mov ecx, ebx
call fcn.0058cc23
cmp eax, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x84], esi
jne 0x4c72e7
push ebp
lea eax, [ebx + 0x70]
push eax
call dword [sym.imp.user32.dll_EqualRect]
test eax, eax
jne 0x4c72f3
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x9ac], 0
je 0x4c7316
mov esi, dword [sym.imp.user32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
js 0x4c7316
push 0x10
call esi
test ax, ax
mov eax, ebx
js 0x4c7318
mov dword [ebx + 0x48], 0xffffffff
jmp 0x4c7318
mov eax, ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
Function at 0x4d0290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x609b10
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x24
xor ebx, ebx
push str.AlgorithmParametersBase:_parameter__
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.004dabd0
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x78], ebx
call fcn.004db830
push str.__not_used
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x84], 1
call fcn.004db830
add esp, 0x18
push eax
push 6
mov ecx, esi
mov byte [esp + 0x74], 2
call fcn.004cf720
mov byte [esp + 0x6c], 4
cmp dword [esp + 0x44], 0x10
jb 0x4d0338
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0055dbfb
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x6c], 5
cmp dword [esp + 0x60], 0x10
jb 0x4d0361
mov edx, dword [esp + 0x4c]
push edx
call fcn.0055dbfb
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x6c], 6
cmp dword [esp + 0x28], 0x10
jb 0x4d038a
mov eax, dword [esp + 0x14]
push eax
call fcn.0055dbfb
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::AlgorithmParametersBase::ParameterNotUsed.0
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x64
ret 4

Function at 0x4d0650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60aea8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
push eax
push 0
push edi
call fcn.005a3bb0
push edi
call fcn.0055dbfb
add esp, 0x10
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004db900
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4d06c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x612423
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call fcn.005d2e88
mov dword [esp + 0x78], 0
mov dword [esi], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [esi + 4], vtable.CryptoPP::BaseN_Decoder.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esp + 0x88]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 2
call fcn.005d2aa0
push 1
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x14]
push str.DecodingLookupArray
push edx
call fcn.004db910
add esp, 0x10
lea ecx, [esp + 0x84]
push ecx
push str.Log2Base
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.004db950
push eax
mov ecx, esi
mov byte [esp + 0x7c], 4
call fcn.005d4baa
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.004d07f0
mov byte [esp + 0x78], 2
mov dword [esp + 0xc], vtable.CryptoPP::AlgorithmParametersBase.0
call fcn.005c7394
test al, al
jne 0x4d07b7
cmp byte [esp + 0x14], al
je 0x4d07b7
cmp byte [esp + 0x15], al
jne 0x4d07b7
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x48]
call fcn.004d0290
push 0x66ebe4
lea ecx, [esp + 0x48]
push ecx
call fcn.005a3b61
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x74
ret 0xc

Function at 0x4d08b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60ae78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
push eax
push 0
push edi
call fcn.005a3bb0
push edi
call fcn.0055dbfb
add esp, 0x10
lea ecx, [esi + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.004db900
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4d0d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605b71
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.005cf6bb
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], 1
call fcn.005cfd21
mov esi, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.005cf6bb
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 1
call fcn.005cdd68
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x4d1a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x608cd7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x4c]
mov dword [esp + 0x18], 4
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.005cdd68
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 3
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.005cdd68
mov byte [esp + 0x18], 2
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
push eax
push 0
push edi
call fcn.005a3bb0
push edi
call fcn.0055dbfb
mov byte [esp + 0x28], 1
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
push eax
push 0
push edi
call fcn.005a3bb0
push edi
call fcn.0055dbfb
mov byte [esp + 0x38], 0
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
push eax
push 0
push edi
call fcn.005a3bb0
push edi
call fcn.0055dbfb
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
push eax
push 0
push edi
call fcn.005a3bb0
push edi
call fcn.0055dbfb
add esp, 0x40
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4d3270
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x60d0cb
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.005a28e0
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebp
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x1010]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1020]
mov ebp, dword [esp + 0x1024]
mov dword [esp + 8], 0
cmp dword [eax + 0x198], 0
je 0x4d3358
mov eax, dword [eax + 0x19c]
push eax
push 0x1000
lea eax, [esp + 0x14]
push eax
push ebp
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.00404e10
push 0x6428d8
push str.nl
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1024], 0
call fcn.0041b850
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401db0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x101c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d336b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4d336b
call fcn.00568851
mov eax, dword [eax + 4]
push ebp
push ebx
push edi
push esi
mov ecx, eax
call fcn.00576505
mov eax, esi
mov ecx, dword [esp + 0x1010]
mov dword fs:[0], ecx
pop ecx
pop ebp
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x1014
ret 8
Function at 0x4d3520
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x615418
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
push 0
push 6
call fcn.005d8171
push eax
lea ecx, [esp + 0x20]
call fcn.004d06c0
mov dword [esp + 0x14], vtable.CryptoPP::Base64Decoder.0
mov dword [esp + 0x18], vtable.CryptoPP::Base64Decoder.1.0
mov edi, dword [ebp + 0x14]
add edi, edi
push edi
mov dword [esp + 0x5c], 0
call fcn.005a0b1e
mov esi, eax
mov eax, dword [ebp + 8]
add esp, 4
cmp dword [eax + 0x198], 0
je 0x4d35ad
mov eax, dword [eax + 0x19c]
push eax
mov eax, dword [ebp + 0xc]
push edi
push esi
push 0x639ce8
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
jmp 0x4d35f8
call fcn.00568851
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push 0x639ce8
push ebx
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00576505
mov eax, dword [eax]
push edi
push eax
push esi
call fcn.005a2c60
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d35f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d3600
push 1
sub eax, edx
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0x14]
push esi
lea ecx, [esp + 0x24]
call eax
push esi
call fcn.005a01b3
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add esp, 4
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005cc299
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x58], 0xffffffff
call fcn.004d08b0
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d3fe0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 1
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4d4003
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
cmp dword [0x6b5580], esi
jne 0x4d3ff8
push esi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4d3ff8
push 1
mov dword [esp + 0x18], esi
mov dword [0x6b5580], 1
mov dword [esp + 0x10], esi
call dword [sym.imp.user32.dll_GetClipboardData]
mov ebx, eax
cmp ebx, esi
je 0x4d407c
push ebx
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d4044
sub eax, edx
add eax, 1
push eax
call fcn.005a0b1e
mov esi, eax
mov edx, esi
add esp, 4
mov dword [esp + 0xc], esi
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4d4067
push ebx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
jmp 0x4d4080
mov esi, dword [esp + 0x14]
call dword [sym.imp.user32.dll_CloseClipboard]
cmp dword [esp + 0xc], 0
je 0x4d4171
mov edi, dword [ebp + 8]
push 0
push esi
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.004d5ad0
test eax, eax
je 0x4d40cd
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d40b0
sub eax, edx
push 1
push eax
mov edx, esi
mov ecx, edi
call fcn.004d60a0
mov dword [esp + 0x10], eax
jmp 0x4d4133
push str.PD:
push esi
call fcn.0059e260
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4d4133
push str.EK:
push ebx
call fcn.0059e260
add esp, 8
test eax, eax
je 0x4d4133
sub eax, ebx
add eax, 4
mov edi, eax
lea eax, [edi + 0x10]
push 1
push eax
call fcn.005a1b21
mov esi, eax
add esp, 8
test esi, esi
je 0x4d4133
push edi
push ebx
push esi
call fcn.005a34c0
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push edi
mov edx, esi
call fcn.004d60a0
push esi
mov dword [esp + 0x14], eax
call fcn.005a01b3
add esp, 4
mov ecx, dword [esp + 0xc]
push ecx
call fcn.005a01b3
mov esi, dword [esp + 0x14]
add esp, 4
test esi, esi
je 0x4d4171
push 0
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4d4160
call dword [sym.imp.user32.dll_EmptyClipboard]
call dword [sym.imp.user32.dll_CloseClipboard]
mov edx, dword [ebp + 8]
mov dword [edx + 0x100], esi
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [0x6b5580], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606ea6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.004da8b0
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 0
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.005cdd68
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.005cdd68
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret