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

Disassembly:
mov ecx, dword [0x6bcf1c]
test ecx, ecx
jne 0x4b19f3
mov ecx, dword [0x6bcf20]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x6bcee8]
lea eax, [edx + eax + 0x158]
ret
lea edx, [eax + eax*4]
mov eax, dword [0x6bcf20]
mov edx, dword [eax + edx*4]
push 0
push edx
push ecx
call fcn.005a931a
add esp, 0xc
test eax, eax
je 0x4b1a11
xor eax, eax
ret
mov eax, dword [0x6bcf1c]
push esi
mov esi, dword [0x6bcee8]
push eax
push 1
add esi, 0x158
push 0x70
push esi
call fcn.005a9841
add esp, 0x10
cmp eax, 1
jne 0x4b1a60
movzx ecx, word [esi]
mov edx, dword [0x6bcf1c]
lea eax, [ecx + ecx + 3]
shr eax, 2
push edx
lea eax, [eax*4 + 0x70]
add eax, 0xffffff90
push 1
push eax
lea eax, [esi + 0x70]
push eax
call fcn.005a9841
add esp, 0x10
xor ecx, ecx
cmp eax, 1
setl cl
sub ecx, 1
and ecx, esi
mov eax, ecx
pop esi
ret
Function at 0x4b6ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0x10
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4b6b99
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0x9f8]
push ebx
mov ebx, dword [ecx + 4]
sub ebx, dword [ebp + 0x9fc]
push esi
push edi
mov edi, dword [ecx]
sub edi, eax
mov eax, edi
cdq
mov esi, eax
xor esi, edx
sub esi, edx
mov eax, ebx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
xor edx, edx
test edi, edi
setge dl
xor eax, eax
test ebx, ebx
setge al
lea edx, [edx + edx - 1]
mov dword [esp + 0x14], edx
lea eax, [eax + eax - 1]
mov edi, eax
mov eax, dword [ebp + 0x9b0]
cmp eax, 0xc
je 0x4b6b71
cmp eax, 0xd
je 0x4b6b71
cmp eax, 0xe
je 0x4b6b71
cmp eax, 0xf
je 0x4b6b71
cmp eax, 0x10
je 0x4b6b71
cmp eax, 0x11
je 0x4b6b71
cmp eax, 0x12
je 0x4b6b71
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jle 0x4b6b5d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jg 0x4b6b6d
cmp esi, ecx
mov edx, dword [esp + 0x14]
jle 0x4b6b69
xor ecx, ecx
jmp 0x4b6b7b
xor esi, esi
jmp 0x4b6b7b
mov edx, dword [esp + 0x14]
cmp esi, ecx
jle 0x4b6b79
mov esi, ecx
jmp 0x4b6b7b
mov ecx, esi
mov eax, dword [esp + 0x18]
imul edx, esi
imul edi, ecx
add edx, dword [ebp + 0x9f8]
mov dword [eax], edx
add edi, dword [ebp + 0x9fc]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4ba230
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov ebx, eax
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x90], eax
push edi
jne 0x4ba253
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
cmp dword [esi + 0xa84], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], eax
jbe 0x4ba339
call fcn.005a841a
cdq
mov ecx, 0x168
idiv ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x65d568]
fstp qword [esp + 0x20]
call fcn.005a841a
xor edx, edx
div ebp
test edx, edx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
jge 0x4ba2a1
fadd qword [0x65d230]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
call fcn.005ab5b0
fmul qword [esp + 0x18]
call fcn.005ab4c0
fld qword [esp + 0x20]
mov edi, eax
add edi, dword [ebx]
call fcn.005ab6e0
fmul qword [esp + 0x18]
call fcn.005ab4c0
add eax, dword [ebx + 4]
cmp dword [esi + 0x9d8], 0
mov dword [esp + 0x2c], eax
jne 0x4ba2ee
push 2
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
mov eax, dword [esp + 0x2c]
jns 0x4ba2f6
mov ecx, dword [esi + 0x9c0]
jmp 0x4ba2fc
mov ecx, dword [esi + 0x9b8]
push eax
push edi
push ecx
lea ecx, [esi + 0x74]
call fcn.004e9740
test eax, eax
je 0x4ba31a
cmp dword [esp + 0x44], 0
mov dword [esp + 0x44], 1
jne 0x4ba322
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esi + 0xa84]
mov dword [esp + 0x14], eax
jb 0x4ba267
mov eax, dword [ebx]
mov dword [0x6be190], eax
mov ecx, dword [ebx + 4]
sub eax, ebp
sub ecx, ebp
mov edi, 0x6be190
mov dword [0x6be190], eax
mov dword [0x6be194], ecx
call fcn.004b4d00
call fcn.004b4ea0
mov eax, dword [ebx]
mov dword [0x6be198], eax
mov ebx, dword [ebx + 4]
add eax, ebp
add ebx, ebp
mov edi, 0x6be198
mov dword [0x6be198], eax
mov dword [0x6be19c], ebx
call fcn.004b4d00
call fcn.004b4ea0
mov eax, dword [0x6be190]
mov ecx, dword [0x6be198]
cmp eax, ecx
mov edi, dword [0x6be194]
mov ebx, dword [0x6be19c]
mov edx, eax
jle 0x4ba3aa
mov edx, ecx
mov ecx, eax
mov eax, dword [0x6be194]
mov ebp, dword [0x6be19c]
cmp eax, ebp
jle 0x4ba3bd
mov edi, ebp
mov ebx, eax
mov eax, dword [esi + 0x20]
sub edx, 1
mov dword [esp + 0x30], edx
push 0
lea edx, [esp + 0x34]
push edx
sub edi, 1
add ecx, 1
add ebx, 1
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x4be850
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esi + 0x20]
push edi
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 0xce26
push 0x419
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push eax
push 0x416
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0xce28
push 0x419
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x20]
push 0x416
push eax
call edi
mov cx, word [esi + 0x86c]
mov eax, dword [esi + 0x20]
sub cx, 1
movzx edx, cx
push 0
or edx, 0x10000
push edx
push 0x427
push eax
call edi
pop edi
ret
Function at 0x4c2b60
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.0056dd48
push 2
lea ecx, [esp + 0x4c]
push ecx
push ebx
mov ecx, esi
call fcn.0056dd48
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.0056e5b1
test eax, eax
mov dword [esp + 0x14], eax
je 0x4c2c21
mov eax, dword [esp + 0x84]
mov ecx, dword [esi + 0x20]
push 0xf000
push eax
push 0x102c
push ecx
call ebx
test eax, 0xf000
jne 0x4c2c21
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x18]
push ecx
push edi
push eax
call fcn.005702dd
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00479650
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 0x4c2c73
cmp dword [esi + 0x7c], edi
jne 0x4c2c73
mov edx, dword [esp + 0x80]
add dword [esp + 0x18], edx
cmp dword [esp + 0x88], edi
je 0x4c2ce7
cmp dword [esp + 0x10], 0
je 0x4c2cde
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 0x4c2cd3
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 0x4c2cd3
cmp dword [esi + 0x7c], edi
jne 0x4c2cd3
mov ecx, dword [esp + 0x80]
add dword [esp + 0x18], ecx
cmp edi, dword [esp + 0x88]
jne 0x4c2c7c
jmp 0x4c2ce7
cmp edi, dword [esp + 0x88]
jne 0x4c2d03
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 0x4c5330
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 0x4c5357
or eax, 0xffffffff
pop edi
add esp, 8
ret
cmp dword [esp + 8], 2
jne 0x4c534f
cmp word [esp + 4], 0
jne 0x4c534f
push 0
lea edx, [esp + 0xc]
push edx
push 2
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x4c534f
cmp dword [esp + 8], 2
jne 0x4c534f
cmp word [esp + 4], 1
jne 0x4c534f
push 0
lea ecx, [esp + 0xc]
push ecx
push 2
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
je 0x4c534f
cmp dword [esp + 8], 2
jne 0x4c534f
movzx eax, word [esp + 4]
pop edi
add esp, 8
ret
Function at 0x4c57b0
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 0x4c57de
xor eax, eax
pop edi
add esp, 8
ret
cmp dword [esp + 8], 2
jne 0x4c57d7
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 0x4c57d7
cmp dword [esp + 8], 2
jne 0x4c57d7
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 0x4c57d7
xor eax, eax
cmp dword [esp + 8], 2
pop edi
sete al
add esp, 8
ret

Function at 0x4c5870
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 0x4c58bb
mov ecx, dword [ebp + 0x20c]
push ecx
mov esi, ebx
call fcn.004c57b0
add esp, 4
test eax, eax
jne 0x4c58c5
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 0x4c5972
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 0x4c591c
mov byte [esp + 0x1a], 0
jmp 0x4c5924
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.004c5840
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 0x4c58bb
cmp dword [esp + 0x10], 0x10
jne 0x4c58bb
add esi, 1
add edi, 0x20
cmp esi, dword [ebp + 0x20c]
jb 0x4c58e0
xor ebx, ebx
cmp dword [ebp + 0x20c], ebx
jbe 0x4c59d0
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 0x4c58bb
mov edx, dword [esp + 0x10]
cmp edx, dword [edi - 4]
jne 0x4c58bb
mov eax, dword [edi]
add ebx, 1
mov dword [eax + 0x14], esi
add edi, 0x20
cmp ebx, dword [ebp + 0x20c]
jb 0x4c5982
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 0x4c80e0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6b4e58]
mov cl, byte [esp + 4]
mov byte [eax + 0x6b4d58], cl
add eax, 1
cmp eax, 0xfe
mov dword [0x6b4e58], eax
jl 0x4c8103
jmp fcn.004c8110
ret

Function at 0x4c8110
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6b4e58]
test eax, eax
jle 0x4c814c
mov ecx, dword [0x6b4e64]
push ecx
push eax
call fcn.005ade1e
mov edx, dword [0x6b4e64]
mov eax, dword [0x6b4e58]
push edx
push eax
push 1
push 0x6b4d58
call fcn.005a8c68
add esp, 0x18
mov dword [0x6b4e58], 0
ret
Function at 0x4c9240
Capabilities:
Delete file

Disassembly:
push ecx
push esi
push edi
push 0x647660
push ebx
call fcn.005a6c42
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c925b
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.004c8c10
add esp, 0x14
push esi
mov edi, eax
call fcn.005a6e16
add esp, 4
test edi, edi
jne 0x4c928e
push ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4cb150
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x60db48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
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.00593dee
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.004b8550
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.004b4dc0
mov esi, edi
mov edi, dword [ebx + 0x4c]
call fcn.004b4ee0
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.00594412
cmp eax, 8
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x84], esi
jne 0x4cb277
push ebp
lea eax, [ebx + 0x70]
push eax
call dword [sym.imp.user32.dll_EqualRect]
test eax, eax
jne 0x4cb283
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x9ac], 0
je 0x4cb2a6
mov esi, dword [sym.imp.user32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
js 0x4cb2a6
push 0x10
call esi
test ax, ax
mov eax, ebx
js 0x4cb2a8
mov dword [ebx + 0x48], 0xffffffff
jmp 0x4cb2a8
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 0x4d39c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push AdjustWindowRectEx
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x69e3d4]
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.005df8e0
mov dword [esp + GetMenuItemCountx78], 0
mov dword [esi], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [esi + 4], vtable.CryptoPP::BaseN_Decoder.0
mov dword [esi + GetMenuItemInfoAx30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esp + 0x88]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 2
call fcn.005df4f8
push 1
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x14]
push str.DecodingLookupArray
push edx
call fcn.004de600
add esp, 0x10
lea ecx, [esp + 0x84]
push ecx
push str.Log2Base
lea edx, [esp + 0x28]
push edx
mov ecx, eax
call fcn.004de640
push eax
mov ecx, esi
mov byte [esp + 0x7c], 4
call fcn.005daf08
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call fcn.004d3b10
mov byte [esp + 0x78], 2
mov dword [esp + 0xc], vtable.CryptoPP::AlgorithmParametersBase.0
call fcn.005ced80
test al, al
jne 0x4d3ab7
cmp byte [esp + 0x14], al
je 0x4d3ab7
cmp byte [esp + 0x15], al
jne 0x4d3ab7
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x48]
call fcn.004d35e0
push GetInputState
lea ecx, [esp + 0x48]
push ecx
call fcn.005ab3f1
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x74
ret 0xc

Function at 0x4d3ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push CreateIconFromResource
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[TabbedTextOutA], eax
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.005d487e
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], 1
call fcn.005d4ee4
mov esi, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.005d487e
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.005d2b12
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[GetDlgItemInt], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x4d4c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x610b27
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x69e3d4]
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.005d2b12
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.005d2b12
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
push eax
push 0
push edi
call fcn.005ab440
push edi
call fcn.005655db
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
push ecx
push 0
push edi
call fcn.005ab440
push edi
call fcn.005655db
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
push edx
push 0
push edi
call fcn.005ab440
push edi
call fcn.005655db
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
push eax
push 0
push edi
call fcn.005ab440
push edi
call fcn.005655db
add esp, 0x40
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push ebx
mov ebx, ecx
test ebx, ebx
push esi
push edi
je 0x4dd0ce
lea esi, [ebx + 0x60]
jmp 0x4dd0d0
xor esi, esi
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
add eax, eax
add eax, eax
push eax
push 0
push edi
call fcn.005ab440
push edi
call fcn.005655db
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push edi
call fcn.005ab440
push edi
call fcn.005655db
add esp, 0x20
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp 0x4d4c90

Function at 0x4d64d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x614b6b
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.005aa170
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebp
mov eax, dword [0x69e3d4]
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 0x4d65b8
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.00404eb0
push 0x64a380
push str.nl
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1024], 0
call fcn.0041c5b0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401de0
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 0x4d65cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4d65cb
call fcn.005702dd
mov eax, dword [eax + 4]
push ebp
push ebx
push edi
push esi
mov ecx, eax
call fcn.0057dfee
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.005a58d9
add esp, 0x1014
ret 8
Function at 0x4d6780
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x61e128
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
push 0
push 6
call fcn.005e043b
push eax
lea ecx, [esp + 0x1c]
call fcn.004d39c0
mov dword [esp + 0x10], vtable.CryptoPP::Base64Decoder.0
mov dword [esp + 0x14], vtable.CryptoPP::Base64Decoder.1.0
mov edi, dword [esp + 0x64]
add edi, edi
push edi
mov dword [esp + 0x54], 0
call fcn.005a854a
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 4
cmp dword [eax + 0x198], 0
je 0x4d680b
mov eax, dword [eax + 0x19c]
push eax
push edi
push esi
push 0x641d28
push ebx
push ebp
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
jmp 0x4d6853
call fcn.005702dd
mov eax, dword [eax + 4]
push 0x641d28
push ebx
push ebp
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.0057dfee
mov eax, dword [eax]
push edi
push eax
push esi
call fcn.005aa4f0
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d6853
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d6858
push 1
sub eax, edx
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0x14]
push esi
lea ecx, [esp + 0x20]
call eax
push esi
call fcn.005a8a7b
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
add esp, 4
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.005d8ae6
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x40]
push ecx
mov esi, eax
mov eax, dword [esp + 0x48]
push 0
push eax
mov edi, eax
call fcn.005ab440
push edi
call fcn.005655db
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.004de5f0
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x44
ret 0x10