joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50c730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.0050bc50
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.0050be70
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.0050c040
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0050bcf0
lea ecx, [esp + 8]
call fcn.0050bd60
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x50c7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 4], esi
call fcn.0050bc50
mov eax, dword [esp + 0x38]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x30], esi
call fcn.0050be10
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0xc]
call fcn.0050c040
mov esi, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0050bcf0
lea ecx, [esp + 8]
call fcn.0050bd60
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x50e2d0
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x6368d0], 0xffffffff
jne 0x50e2dc
xor eax, eax
ret
mov edx, dword [esp + 8]
test edx, edx
je 0x50e3af
cmp edx, 0xc00
jb 0x50e2f5
mov edx, 0xc00
mov eax, dword [0x7193b4]
push ebx
push ebp
push esi
lea ecx, [eax + eax*2]
mov esi, dword [esp + 0x10]
shl ecx, 0xa
push edi
lea eax, [eax + eax*4]
lea ebx, [ecx + 0x713384]
mov ecx, edx
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax*4 + 0x70b2d0]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [0x6368d0]
push eax
push edx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
cmp eax, 0x3e5
pop ebx
je 0x50e362
call fcn.0050e190
mov dword [0x7193a4], 1
xor eax, eax
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x50e398
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x50e379
mov eax, dword [0x7193b4]
jmp 0x50e38e
mov edx, dword [0x7193b4]
lea eax, [edx + 1]
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x50e38e
dec eax
or eax, 0xfffffff8
inc eax
push ecx
push eax
call fcn.0050dee0
add esp, 8
mov eax, dword [0x7193b4]
inc eax
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x50e3aa
dec eax
or eax, 0xfffffff8
inc eax
mov dword [0x7193b4], eax
mov eax, 1
ret
Function at 0x50e3c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, dword [0x6368d0]
cmp ebp, 0xffffffff
jne 0x50e3d0
xor eax, eax
pop ebp
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x50e454
cmp eax, 0xc00
jb 0x50e3e4
mov eax, 0xc00
mov edx, dword [0x7193b4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov ecx, eax
lea edi, [edx + edx*2]
mov edx, ecx
shl edi, 0xa
mov esi, ebx
add edi, 0x713384
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x70b2d0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
cmp eax, 0x3e5
pop ebx
je 0x50e445
call fcn.0050e190
mov dword [0x7193a4], 1
xor eax, eax
pop ebp
ret
mov edx, dword [0x70b2b0]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret

Function at 0x50e490
Capabilities:
Get file version info

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5cdc0b
push eax
mov eax, 0x272c
mov dword fs:[0], esp
call fcn.00573c80
mov eax, dword [0x639698]
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov eax, dword [esp + 0x2740]
mov dword [esp + 0x2734], 1
test eax, eax
jne 0x50e4e1
mov ecx, dword [0x71b608]
mov edx, dword [ecx]
push edx
jmp 0x50e4e2
push eax
lea ecx, [esp + 4]
call fcn.00593864
mov ecx, dword [esp]
lea eax, [esp + 0x14]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 8]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x62d39c
push eax
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [0x639698]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
mov byte [esp + 0x2734], 2
mov eax, dword [edx + 8]
lea edx, [esp + 8]
mov ecx, eax
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
push str._i._i
push edx
call fcn.0058aded
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x50e5d5
mov ecx, dword [0x639698]
mov dword [esp + 4], ecx
mov eax, dword [eax + 0xc]
mov byte [esp + 0x2734], 3
mov ecx, eax
and ecx, 0xffff
je 0x50e5a0
shr eax, 0x10
push ecx
push eax
lea edx, [esp + 0xc]
push str.._i._i
push edx
call fcn.0058aded
add esp, 0x10
jmp 0x50e5b6
shr eax, 0x10
push eax
lea eax, [esp + 8]
push 0x636918
push eax
call fcn.0058aded
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
call fcn.00593af3
lea ecx, [esp + 4]
mov byte [esp + 0x2734], 2
call fcn.005936db
push esi
mov esi, dword [esp + 0x2740]
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00593450
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x2738], 1
call fcn.005936db
lea ecx, [esp + 4]
mov byte [esp + 0x2738], 0
call fcn.005936db
mov ecx, dword [esp + 0x2730]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2738
ret
Function at 0x525fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1509
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x639698]
push ebx
push esi
push edi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], ecx
mov dword [ecx], eax
mov edx, dword [0x639698]
lea esi, [ecx + 4]
mov dword [esp + 0x28], 0
mov dword [esi], edx
mov eax, dword [0x639698]
lea edi, [ecx + 8]
mov dword [edi], eax
mov edx, dword [0x639698]
lea ebx, [ecx + 0xc]
mov dword [ebx], edx
mov eax, dword [esp + 0x30]
mov byte [esp + 0x28], 3
push eax
call fcn.00593814
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00593814
mov edx, dword [esp + 0x38]
mov ecx, edi
push edx
call fcn.00593814
mov eax, dword [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.00593814
mov ecx, 0x719450
mov dword [esp + 0x28], 0xffffffff
call fcn.0052ce40
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
Function at 0x527a60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebx, [esi + 0x150]
mov eax, dword [esi + 0x1fc]
push 0
push edi
push 0x101d
push eax
call ebp
mov dword [ebx], eax
inc edi
add ebx, 0xc
cmp edi, 5
jl 0x527a74
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ah, 0x80
jne 0x527ab2
push 0x10
call edi
test ah, 0x80
jne 0x527ab2
xor ebx, ebx
mov dword [esi + 0x340], ebx
jmp 0x527ab4
xor ebx, ebx
cmp dword [esi + 0x18c], ebx
jne 0x527ac2
mov dword [esi + 0x340], ebx
cmp dword [esi + 0x340], ebx
je 0x527ae5
mov ecx, dword [0x63fd4c]
mov edx, dword [ecx + 0x8f44]
cmp dword [edx - 8], ebx
je 0x527ae5
push 0x379
call fcn.0046be20
mov eax, dword [esi + 0x318]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x527b11
cmp dword [esi + 0x31c], ebx
je 0x527b08
push 2
push eax
call edi
mov eax, dword [esi + 0x318]
push eax
call ebp
mov eax, dword [esi + 0x320]
cmp eax, ebx
je 0x527b31
cmp dword [esi + 0x324], ebx
je 0x527b28
push 3
push eax
call edi
mov ecx, dword [esi + 0x320]
push ecx
call ebp
mov eax, dword [esi + 0x310]
cmp eax, ebx
je 0x527b51
cmp dword [esi + 0x314], ebx
je 0x527b48
push 4
push eax
call edi
mov edx, dword [esi + 0x310]
push edx
call ebp
mov ecx, esi
call fcn.005902d7
mov ecx, dword [esi + 0x35c]
cmp ecx, ebx
je 0x527b7e
call fcn.005975ec
mov ecx, dword [esi + 0x35c]
cmp ecx, ebx
je 0x527b78
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x35c], ebx
cmp esi, ebx
je 0x527b8b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
mov dword [0x63fd48], ebx
pop ebp
pop ebx
ret
Function at 0x527a68
Capabilities:
Log keystrokes via polling
Terminate thread

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebx, [esi + 0x150]
mov eax, dword [esi + 0x1fc]
push 0
push edi
push 0x101d
push eax
call ebp
mov dword [ebx], eax
inc edi
add ebx, 0xc
cmp edi, 5
jl 0x527a74
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ah, 0x80
jne 0x527ab2
push 0x10
call edi
test ah, 0x80
jne 0x527ab2
xor ebx, ebx
mov dword [esi + 0x340], ebx
jmp 0x527ab4
xor ebx, ebx
cmp dword [esi + 0x18c], ebx
jne 0x527ac2
mov dword [esi + 0x340], ebx
cmp dword [esi + 0x340], ebx
je 0x527ae5
mov ecx, dword [0x63fd4c]
mov edx, dword [ecx + 0x8f44]
cmp dword [edx - 8], ebx
je 0x527ae5
push 0x379
call fcn.0046be20
mov eax, dword [esi + 0x318]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x527b11
cmp dword [esi + 0x31c], ebx
je 0x527b08
push 2
push eax
call edi
mov eax, dword [esi + 0x318]
push eax
call ebp
mov eax, dword [esi + 0x320]
cmp eax, ebx
je 0x527b31
cmp dword [esi + 0x324], ebx
je 0x527b28
push 3
push eax
call edi
mov ecx, dword [esi + 0x320]
push ecx
call ebp
mov eax, dword [esi + 0x310]
cmp eax, ebx
je 0x527b51
cmp dword [esi + 0x314], ebx
je 0x527b48
push 4
push eax
call edi
mov edx, dword [esi + 0x310]
push edx
call ebp
mov ecx, esi
call fcn.005902d7
mov ecx, dword [esi + 0x35c]
cmp ecx, ebx
je 0x527b7e
call fcn.005975ec
mov ecx, dword [esi + 0x35c]
cmp ecx, ebx
je 0x527b78
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x35c], ebx
cmp esi, ebx
je 0x527b8b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
mov dword [0x63fd48], ebx
pop ebp
pop ebx
ret

Function at 0x527f30
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x310]
test eax, eax
jne 0x527f90
mov eax, dword [esi + 0xac]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x527f90
mov ecx, dword [esi + 0xb8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x527f90
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x52a200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x310], eax
je 0x527f90
push 0
lea ecx, [esi + 0x21c]
call fcn.00592e1e
mov dword [0x719464], 0xffffffff
pop esi
pop ecx
ret
Function at 0x528660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1e1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x639698]
push ebx
push esi
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x3c]
lea esi, [ecx + 0x1e0]
push 1
lea eax, [esp + 0x40]
mov bl, 6
push edi
push eax
mov ecx, esi
mov byte [esp + 0x3c], bl
call fcn.0058c340
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 7
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 2
lea ecx, [esp + 0x40]
push edi
push ecx
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 8
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 3
lea edx, [esp + 0x40]
push edi
push edx
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 9
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 0
lea eax, [esp + 0x40]
push edi
push eax
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xa
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
push 4
push edi
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.0058c340
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0xb
call fcn.00593814
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call fcn.005936db
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push str.__8s_9s__4s___12s_s
push ecx
call fcn.0058aded
mov esi, dword [esp + 0x54]
add esp, 0x1c
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00593450
mov dword [esp + 0x24], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 5
call fcn.005936db
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.005936db
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.005936db
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.005936db
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005936db
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 0
call fcn.005936db
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x52ce40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d238e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 8]
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], esp
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], esi
call fcn.00593450
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esi + 4]
call fcn.00593450
lea edx, [esp + 0x38]
lea ecx, [esi + 8]
push edx
mov byte [esp + 0x2c], 2
call fcn.00593450
lea eax, [esp + 0x3c]
lea ecx, [esi + 0xc]
push eax
mov byte [esp + 0x2c], 3
call fcn.00593450
push ebp
mov ecx, edi
mov byte [esp + 0x2c], 0
call fcn.0052d350
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 6
call fcn.005936db
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 5
call fcn.005936db
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 4
call fcn.005936db
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret 0x10
Function at 0x540f28
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d5280
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0xd4]
push 0
push 0x1032
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 1
jne 0x540f80
mov eax, dword [0x7194ac]
test eax, eax
jne 0x540f6c
push 0
push 0
push 0
push 0
push str.QslPrint.exe
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov dword [0x7194ac], eax
mov ecx, dword [0x63fd4c]
push 0
push str._QSOCMDDDE:Print_
call fcn.00478270
jmp 0x540f82
jg 0x540f8f
mov eax, dword [0x7194ac]
test eax, eax
je 0x54101c
mov ecx, dword [0x719498]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x82
mov ecx, esi
call fcn.00540250
mov edx, dword [0x639698]
mov dword [esp + 8], edx
push edi
lea eax, [esp + 0xc]
push 0x625a90
push eax
mov dword [esp + 0x24], 0
call fcn.0058aded
lea ecx, [esp + 0x18]
push 0xa2a7
push ecx
call fcn.004ec350
add esp, 0x14
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00593af3
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005936db
push 0x40
push 0
push str.Print_Queue_created
mov ecx, esi
call fcn.005913a9
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x54a7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d6770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push ecx
mov dword [esp + 0x24], 0
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x625b9c
call fcn.00593749
mov ecx, esi
call fcn.0054a1b0
mov eax, dword [esi + 0x128]
test eax, eax
je 0x54a846
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push 0xcda8
push eax
jmp 0x54a871
mov ecx, dword [esi + 0x124]
mov ebx, 1
push 0
push ebx
push 0
push ecx
call dword [esi + 0x100]
add esp, 0x10
test eax, eax
jne 0x54a8a7
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
push 0xcda9
push edx
call fcn.004ec350
add esp, 8
mov ecx, esi
call fcn.0054a1b0
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005936db
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esi + 0x124]
push 0x32
push eax
call dword [esi + 0x104]
mov ecx, dword [0x639698]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x1c]
push 0xcdaa
push edx
mov byte [esp + 0x30], bl
call fcn.004ec350
add esp, 0x10
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
push edi
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x30], 2
call fcn.0058aded
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.005936db
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00593450
mov ecx, esi
call fcn.0054a1b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x124]
push 0x54aa70
push 0x2710
push edi
push ecx
push edx
call dword [esi + 0x110]
add esp, 0x14
test eax, eax
jne 0x54a9cb
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push 0xcdab
push eax
call fcn.004ec350
add esp, 8
mov ecx, esi
call fcn.0054a1b0
mov ecx, dword [esi + 0x124]
push ebx
push ecx
call dword [esi + 0x108]
mov edx, dword [esi + 0x124]
push edx
call dword [esi + 0x10c]
mov esi, dword [esi + 0x9c]
add esp, 0xc
test esi, esi
je 0x54a996
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005936db
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005936db
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8
push ecx
mov dword [esi + 0x128], ebx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xcdac
push ecx
call fcn.004ec350
add esp, 8
mov ecx, esi
call fcn.0054a1b0
mov edx, dword [0x639698]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x18]
push str._s:_i___Telnet
push ecx
mov byte [esp + 0x30], 3
call fcn.0058aded
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push edx
call fcn.00592c97
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.005936db
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005936db
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x54c730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5d6ae1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x6b
mov dword [esp + 0x18], esi
call fcn.0058f216
mov ecx, dword [0x639698]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x60], ecx
mov edx, dword [0x639698]
mov dword [esi + 0x68], edx
lea ebp, [esi + 0x6c]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.0058d50f
mov byte [esp + 0x1c], 3
mov dword [esi], method.CNewTypeDlg.virtual_0
mov dword [esi + 0x5c], 1
call fcn.005aa82c
push 0
push str.StartUp
push 0x6380b0
mov ecx, 0x6646a8
call fcn.004ed500
neg eax
sbb eax, eax
push 0
inc eax
push str.Line
push 0x6380b0
mov ecx, 0x6646a8
mov dword [esi + 0x5c], eax
call fcn.004ed500
mov dword [esi + 0x64], eax
mov eax, dword [0x664814]
push 0x17
push 0x19d
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x54c88a
mov ecx, dword [0x664814]
push ebx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x664814]
push edi
push edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x639698]
mov dword [esp + 0x28], ecx
test eax, eax
mov byte [esp + 0x20], 4
jbe 0x54c87b
mov edi, eax
jmp 0x54c82b
mov ecx, dword [esp + 0x28]
mov al, byte [ebx]
inc ebx
cmp al, 0xd
mov byte [esp + 0x10], al
je 0x54c84a
cmp al, 0xa
je 0x54c84a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.00593ade
jmp 0x54c878
mov eax, dword [ecx - 8]
test eax, eax
je 0x54c878
mov al, byte [ecx]
cmp al, 0x20
je 0x54c86f
cmp al, 0x3b
je 0x54c86f
cmp al, 9
je 0x54c86f
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, ebp
call fcn.0058d717
lea ecx, [esp + 0x28]
call fcn.00593666
dec edi
jne 0x54c827
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.005936db
pop ebx
mov ecx, esi
call fcn.0054c9d0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x54e4a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x54e4e3
mov ecx, dword [ebp + 8]
push ecx
call fcn.00555d9b
add esp, 4
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x40]
test eax, eax
je 0x54e4d9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x54e5fa
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x54e5ba
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
xor eax, eax
mov al, byte [edx + 0x10]
test eax, eax
je 0x54e5a9
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x54e521
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
call dword [ecx]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x54e543
xor al, al
jmp 0x54e5fa
cmp dword [ebp - 4], 2
jne 0x54e54b
jmp 0x54e5a9
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x54e5a4
cmp dword [ebp - 4], 3
je 0x54e560
cmp dword [ebp - 4], 1
jne 0x54e5a4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 8]
jl 0x54e5a4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x11c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ecx + 8], eax
jmp 0x54e509
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x84], ecx
jmp 0x54e5ee
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0xcc
je 0x54e5ee
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x14
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.0054e5fe
add esp, 4
mov esp, ebp
pop ebp
ret