joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404220
Capabilities:
Get file size
Read file via mapping

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
lea edx, [esi + 0x18]
mov eax, edi
sub edx, edi
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x404230
push 0
push 0x80
push 3
push 0
push 0
push connect
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x404267
pop edi
xor eax, eax
pop esi
ret 4
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x14], eax
test eax, eax
je 0x404260
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x404260
mov eax, dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push edi
mov ecx, esi
call fcn.00401480
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x4042c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x438808
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4423c8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.KMappingFileToBuf.0
mov dword [esp + 0x18], 0
call fcn.00401460
test eax, eax
je 0x40430e
mov ecx, esi
call fcn.00401460
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40431e
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x404328
push eax
call edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00401400
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x408b50
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
mov eax, dword [0x4423c8]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x408b70
sub ecx, esi
sar ecx, 1
push ecx
push eax
mov ecx, 0x442258
call fcn.00402a30
push 1
push 0
push 0x439ce0
mov ecx, 0x442258
call fcn.00408750
push eax
push 0
lea eax, [esp + 0xc]
push eax
mov ecx, 0x442258
call fcn.004046b0
mov ecx, dword [esp + 0x18]
push 2
push 0x439cd8
push ecx
push 0
lea ecx, [esp + 0x14]
call fcn.00408820
pop esi
test eax, eax
je 0x408bda
cmp dword [esp + 0x18], 8
jb 0x408c17
mov edx, dword [esp + 4]
push edx
jmp 0x408c0f
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [esp + 0x24]
push 0
push 0x408890
push 0
push 0x100
mov dword [0x44392c], eax
call sub.kso10.dll__kso_GetLocalInst
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp dword [esp + 0x18], 8
jb 0x408c17
mov ecx, dword [esp + 4]
push ecx
call fcn.0040ffa4
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
xor eax, eax
call fcn.004109f8
add esp, 0x20
ret 0x10

Function at 0x408e10
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x198
mov eax, dword [0x4423c8]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1a8]
push edi
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00410170
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x403
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xc8
lea edx, [esp + 0x18]
mov ebp, eax
push edx
push ebp
call ebx
lea eax, [esp + 0x14]
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
call ebp
push 0x190
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00410170
add esp, 0xc
push 0x402
push esi
call edi
push 0xc8
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x1c], eax
call ebx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
push 0x190
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00410170
add esp, 0xc
push 0x3e8
push esi
call edi
push 0xc8
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], eax
call ebx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call ebp
push 0x190
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00410170
add esp, 0xc
push 0x401
push esi
call edi
mov esi, eax
push 0xc8
lea edx, [esp + 0x18]
push edx
push esi
call ebx
lea eax, [esp + 0x14]
push eax
push esi
call ebp
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004109f8
add esp, 0x198
ret
Function at 0x409380
Capabilities:
Check for peb beingdebugged flag
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x438b43
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4423c8]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4423c8]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24c]
lea eax, [esp + 0x30]
push eax
xor ebx, ebx
push 0x104
mov dword [esp + 0x24c], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea ebp, [ebx + 2]
add ecx, edx
cmp ecx, ebp
jbe 0x4094ae
lea edi, [ebx + 0x38]
xor edx, edx
lea eax, [esp + 0x30]
mov word [esp + 0x18], dx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409420
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402a30
mov eax, dword [esi + 4]
push 0xffffffffffffffff
add eax, edi
push ebx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 1
call fcn.00402920
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x409467
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x2c], 8
mov byte [esp + 0x244], bl
jb 0x409489
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040ffa4
add esp, 4
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add edi, 0x1c
cmp ebp, eax
jb 0x409402
cmp dword [esp + 0x264], ebx
je 0x4094d6
cmp dword [esp + 0x268], 8
mov eax, dword [esp + 0x254]
jae 0x4094cf
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x268], 8
jb 0x4094f0
mov ecx, dword [esp + 0x254]
push ecx
call fcn.0040ffa4
add esp, 4
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004109f8
add esp, 0x234
ret
Function at 0x409520
Capabilities:
Parse url

Disassembly:
sub esp, 0xc70
mov eax, dword [0x4423c8]
xor eax, esp
mov dword [esp + 0xc6c], eax
mov ecx, dword [esp + 0xc74]
push ebx
mov ebx, dword [esp + 0xc80]
push esi
mov esi, dword [esp + 0xc88]
lea eax, [esp + 0x454]
mov dword [esp + 0xc], eax
mov eax, 0x104
lea edx, [esp + 0x44]
mov dword [esp + 0x18], edx
push edi
mov edi, dword [esp + 0xc84]
lea edx, [esp + 0x868]
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0x664]
mov dword [esp + 0x34], edx
push 0x10000000
lea edx, [esp + 0x258]
mov dword [esp + 0x40], edx
push 0
lea edx, [esp + 0xa7c]
push ecx
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x50], edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x409642
movzx ecx, word [esp + 0x24]
lea eax, [esp + 0x48]
mov dword [esi], ecx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4095e0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
call fcn.00402a30
lea eax, [esp + 0x250]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409606
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x254]
push eax
mov ecx, ebx
call fcn.00402a30
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc6c]
xor ecx, esp
call fcn.004109f8
add esp, 0xc70
ret
mov ecx, dword [esp + 0xc78]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004109f8
add esp, 0xc70
ret

Function at 0x409f70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
mov edx, dword [edi + edx*4]
xor edx, ecx
movzx ecx, dl
add ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [edi + ecx*4]
mov dword [esi + 8], edx
ret
Function at 0x409ff0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4423c8]
xor eax, esp
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], 0xc
mov eax, dword [esp + 0x20]
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov esi, edx
jge 0x40a030
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004109f8
add esp, 0x1c
ret
mov eax, dword [0x443940]
inc eax
mov dword [0x443940], eax
cmp eax, 1
jne 0x40a055
push 0
call fcn.004121b3
xor eax, 0xbb40e64e
push eax
call fcn.00412204
add esp, 8
push ebp
mov eax, edi
mov ecx, esi
mov edx, ebx
call fcn.00409fb0
xor ebp, ebp
call fcn.00412216
mov ebx, eax
sar ebx, 7
mov eax, esi
and ebx, 0xff
call fcn.00409f50
mov dword [esp + 0x10], eax
mov eax, ebx
call fcn.00409f70
xor bl, byte [esp + 0x10]
inc ebp
cmp ebp, 0xa
mov byte [esp + ebp + 0x1b], bl
jl 0x40a063
mov edx, dword [esp + 0x18]
mov eax, edi
mov ecx, esi
call fcn.00409fb0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
xor ebp, ebp
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, esi
call fcn.00409f50
mov bl, byte [esp + ebp + 0x1c]
mov dword [esp + 0x10], eax
movzx eax, bl
call fcn.00409f70
mov edx, dword [esp + 0x18]
xor bl, byte [esp + 0x10]
add edx, ebp
inc ebp
cmp ebp, 0xa
mov byte [esp + edx + 0x1c], bl
jl 0x40a0b0
mov eax, esi
call fcn.00409f50
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
shr ebx, 0x10
mov eax, ebx
and eax, 0xff
call fcn.00409f70
xor bl, byte [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [eax + ebp], bl
mov eax, esi
inc ebp
call fcn.00409f50
mov ebx, eax
mov eax, dword [esp + 0x3c]
shr eax, 0x18
call fcn.00409f70
mov ecx, dword [esp + 0x14]
xor al, bl
mov byte [ecx + ebp], al
mov ecx, dword [esp + 0x28]
lea eax, [ebp + 1]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004109f8
add esp, 0x1c
ret

Function at 0x40a8b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
cmp dword [ebx + 0x4090], 0
je 0x40a910
cmp dword [ebx + 0x6c], 0
jbe 0x40a910
push ebp
mov eax, 0xffffff78
push esi
sub eax, ebx
push edi
lea esi, [ebx + 0x4094]
lea ebp, [ebx + 0x88]
mov dword [esp + 0x10], eax
lea esp, [esp]
mov eax, esi
call fcn.00409f50
mov edi, dword [ebx + 0x40a0]
mov dword [esp + 0xc], eax
movzx eax, byte [ebp]
call fcn.00409f70
mov al, byte [esp + 0xc]
xor byte [ebp], al
mov ecx, dword [esp + 0x10]
inc ebp
add ecx, ebp
cmp ecx, dword [ebx + 0x6c]
jb 0x40a8e0
pop edi
pop esi
pop ebp
mov edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x20]
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebx + 0x88]
push eax
mov eax, dword [ebx + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, dword [ebx + 0x6c]
mov dword [ebx + 0x6c], 0
je 0x40a93e
or eax, 0xffffffff
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x40aa30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x40aa44
pop edi
mov eax, 0xffffff9a
pop ebx
ret
cmp dword [ebx + 0x2c], edi
je 0x40aa3c
cmp dword [ebx + 0x80], 8
push ebp
push esi
mov dword [ebx + 0x34], edi
jne 0x40aaa0
cmp dword [ebx + 0x84], edi
jne 0x40aaa0
lea ebp, [ebx + 0x30]
cmp dword [ebx + 0x40], 0
jne 0x40aa7d
call fcn.0040a8b0
lea eax, [ebx + 0x88]
mov dword [ebx + 0x40], 0x4000
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 0x44]
push 4
push ebp
call fcn.0040b9b0
mov ecx, dword [ebx + 0x44]
sub ecx, esi
add dword [ebx + 0x6c], ecx
mov edi, eax
add esp, 8
test edi, edi
je 0x40aa62
cmp edi, 1
jne 0x40aaa0
xor edi, edi
cmp dword [ebx + 0x6c], 0
jbe 0x40aab6
test edi, edi
jne 0x40aab6
call fcn.0040a8b0
cmp eax, 0xffffffff
jne 0x40aab6
or edi, eax
cmp dword [ebx + 0x80], 8
jne 0x40aadd
cmp dword [ebx + 0x84], 0
jne 0x40aaf7
lea edx, [ebx + 0x30]
push edx
call fcn.0040bed0
add esp, 4
mov edi, eax
mov dword [ebx + 0x68], 0
cmp dword [ebx + 0x84], 0
jne 0x40aaf7
mov eax, dword [ebx + 0x408c]
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov esi, dword [ebx + 0x74]
mov ebp, dword [ebx + 0x40a4]
mov ecx, dword [esp + 0x1c]
add ebp, dword [ebx + 0x44]
add esi, 0x10
mov edx, 4
call fcn.0040a270
mov esi, dword [ebx + 0x74]
add esi, 0x14
mov ecx, ebp
call fcn.0040a270
mov ecx, 1
cmp dword [ebx + 0x5c], ecx
jne 0x40ab39
mov esi, dword [ebx + 0x74]
add esi, 0x24
lea edx, [ecx + 1]
call fcn.0040a270
mov esi, dword [ebx + 0x74]
mov ecx, dword [esp + 0x18]
add esi, 0x18
mov edx, 4
call fcn.0040a270
test edi, edi
jne 0x40ab67
mov edx, dword [ebx + 0x78]
mov eax, dword [ebx + 0x74]
push edx
push eax
lea ecx, [ebx + 0x24]
push ecx
call fcn.0040a1a0
add esp, 0xc
mov edi, eax
mov edx, dword [ebx + 0x74]
push edx
call fcn.0040ff16
add esp, 4
test edi, edi
jne 0x40ac12
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0xc]
push eax
push ecx
call edx
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x70]
push edi
add eax, 0xe
push eax
mov eax, dword [ebx + 0x10]
push ecx
push edx
call eax
add esp, 0x18
test eax, eax
je 0x40abad
or edi, 0xffffffff
jmp 0x40abf4
mov ecx, dword [ebx + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
mov esi, 4
mov edx, ebx
call fcn.0040a240
mov edi, eax
add esp, 4
test edi, edi
jne 0x40abf4
mov edx, dword [ebx + 0x20]
push edx
mov ecx, ebp
mov edx, ebx
call fcn.0040a240
mov edi, eax
add esp, 4
test edi, edi
jne 0x40abf4
mov eax, dword [ebx + 0x20]
mov ecx, dword [esp + 0x18]
push eax
mov edx, ebx
call fcn.0040a240
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
push 0
push ecx
mov ecx, dword [ebx + 0x10]
push edx
push eax
call ecx
add esp, 0x10
test eax, eax
je 0x40ac12
or edi, 0xffffffff
inc dword [ebx + 0x40b0]
pop esi
pop ebp
mov eax, edi
pop edi
mov dword [ebx + 0x2c], 0
pop ebx
ret
Function at 0x4109f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4423c8]
jne 0x410a02
repz ret
jmp fcn.0041857c

Function at 0x42164f
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.00417eae
and dword [ebp - 4], 0
cmp dword [0x4442e8], 0
mov ebx, eax
jne 0x421700
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4217b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4217b1
push eax
call fcn.00417e3c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4442e8], eax
call esi
push eax
call fcn.00417e3c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4442ec], eax
call esi
push eax
call fcn.00417e3c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4442f0], eax
call esi
push eax
call fcn.00417e3c
pop ecx
mov dword [0x4442f8], eax
test eax, eax
je 0x421700
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00417e3c
pop ecx
mov dword [0x4442f4], eax
mov eax, dword [0x4442f4]
cmp eax, ebx
je 0x421758
cmp dword [0x4442f8], ebx
je 0x421758
push eax
call fcn.00417eb7
push dword [0x4442f8]
mov esi, eax
call fcn.00417eb7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x421758
test edi, edi
je 0x421758
call esi
test eax, eax
je 0x42174f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42174f
test byte [ebp - 0xc], 1
jne 0x421758
or dword [ebp + 0x10], 0x200000
jmp 0x421791
mov eax, dword [0x4442ec]
cmp eax, ebx
je 0x421791
push eax
call fcn.00417eb7
pop ecx
test eax, eax
je 0x421791
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x421791
mov eax, dword [0x4442f0]
cmp eax, ebx
je 0x421791
push eax
call fcn.00417eb7
pop ecx
test eax, eax
je 0x421791
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4442e8]
call fcn.00417eb7
pop ecx
test eax, eax
je 0x4217b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4217b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405270
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
test eax, eax
jne 0x40527f
xor edi, edi
jmp 0x405282
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x20]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
jne 0x40529c
xor esi, esi
jmp 0x40529f
mov esi, dword [eax + 0x20]
mov bl, byte [esp + 0x14]
push 0xfffffffffffffff0
test bl, bl
push edi
jne 0x4052cf
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x4052ec
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push 0
push esi
call edi
pop edi
mov al, bl
pop esi
pop ebx
ret 8
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
jne 0x4052ec
push 5
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push 5
push esi
call edi
pop edi
mov al, bl
pop esi
pop ebx
ret 8
Function at 0x418300
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x4da8]
mov ecx, ebx
call fcn.0047b0f9
mov edi, eax
test edi, edi
je 0x418421
push ebp
push 0
mov ecx, ebx
call fcn.0047bb78
mov ebp, eax
cmp edi, ebp
jne 0x41837f
push edi
mov ecx, esi
call fcn.004167f0
test al, al
je 0x41834c
push 0
lea ecx, [esi + 0x5378]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
jmp 0x41836a
push 1
push edi
mov ecx, ebx
call fcn.0047ad8c
neg eax
sbb eax, eax
lea ecx, [esi + 0x5378]
neg eax
push eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
lea ecx, [esi + 0x5240]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
lea ecx, [esi + 0x52dc]
jmp 0x4183e1
push 2
push edi
mov ecx, ebx
call fcn.0047ad8c
cmp eax, ebp
jne 0x4183a1
push ebp
mov ecx, esi
call fcn.004167f0
test al, al
je 0x41839d
push 0
jmp 0x4183b2
push 1
jmp 0x4183b2
push 2
push edi
mov ecx, ebx
call fcn.0047ad8c
neg eax
sbb eax, eax
neg eax
push eax
lea ecx, [esi + 0x52dc]
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
push edi
mov ecx, ebx
call fcn.0047ad8c
neg eax
sbb eax, eax
lea ecx, [esi + 0x5378]
neg eax
push eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
lea ecx, [esi + 0x5240]
call sub.MFC42.DLL_CWnd::EnableWindow
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0047b681
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x5260]
xor edx, edx
cmp ebx, 0xd
sete dl
push 0
push edx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0
lea ecx, [esi + 0x52dc]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
lea ecx, [esi + 0x5378]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
lea ecx, [esi + 0x5240]
call sub.MFC42.DLL_CWnd::EnableWindow
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x44d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x10]
lea eax, [esi + 0x1c764]
push eax
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CSingleLock::Lock
mov ebp, dword [esp + 0x28]
mov dl, byte [ebp]
cmp dl, 1
sete byte [esp + 0x28]
test dl, dl
je 0x44d874
push edi
mov edi, str.NONE
mov eax, ebp
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x44d841
test cl, cl
je 0x44d83d
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x44d841
add eax, 2
add edi, 2
test cl, cl
jne 0x44d81d
xor eax, eax
jmp 0x44d846
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop edi
jne 0x44d853
mov byte [esi + 0x1c361], al
jmp 0x44d874
test dl, dl
je 0x44d874
mov al, byte [esp + 0x28]
test al, al
jne 0x44d874
push 0x401
lea ecx, [esi + 0x1c361]
push ebp
push ecx
call fcn.004625f0
add esp, 0xc
mov edx, dword [esi + 0x1bf5c]
and edx, 0xffffffdf
mov eax, edx
mov dword [esi + 0x1bf5c], edx
test al, 0x10
jne 0x44d893
cmp byte [ebp], 0
je 0x44d89b
test al, 8
je 0x44d89b
or al, 0x20
mov dword [esi + 0x1bf5c], eax
mov eax, dword [esi + 0x1a524]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esi + 0x1bf5c]
mov dword [esi + 0x1c774], ecx
lea edx, [eax + 0x200000]
lea ecx, [esp + 0xc]
xor edx, eax
mov dword [esp + 0x20], 0xffffffff
and edx, 0xe00000
xor edx, eax
mov al, byte [esp + 0x2c]
shr ebx, 5
mov dword [esi + 0x1a524], edx
mov byte [esi + 0x1c76c], al
and bl, 1
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x18]
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

Function at 0x44f070
Capabilities:
Delete file

Disassembly:
sub esp, 0x404
push ebx
push ebp
mov ebp, dword [esp + 0x410]
mov ebx, ecx
mov eax, ebp
mov ecx, ebp
shr eax, 0x10
and eax, 0xfff
and ecx, 0xfff
xor eax, ecx
push edi
xor ecx, ecx
lea edx, [ecx + eax]
and edx, 0xfff
mov edi, dword [ebx + edx*4]
test edi, edi
je 0x44f0cb
cmp dword [edi + 0x19f5c], ebp
je 0x44f0c7
inc ecx
cmp ecx, 0x1000
jl 0x44f098
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x404
ret 4
test edi, edi
jne 0x44f0d9
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x404
ret 4
mov al, byte [edi + 0x1adc8]
test al, al
jne 0x44f147
push esi
push 2
push 1
mov ecx, edi
call fcn.0044a640
mov eax, dword [0x4fa100]
mov ecx, dword [eax + 0x4564]
push ecx
push edi
call fcn.0044e050
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0044eeb0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0x404
ret 4
push ebp
mov ecx, ebx
call fcn.0044eeb0
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0x404
ret 4