joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b404
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x438e80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b399
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004164a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b453
cmp dword [ebp - 0x1c], 5
jb 0x42b46b
jmp 0x42b467
cmp dword [ebp - 0x10], 1
jne 0x42b46b
cmp dword [ebp - 0x1c], 4
ja 0x42b467
jne 0x42b46b
cmp dword [ebp - 0x18], 0
jbe 0x42b46b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x432844
call fcn.0042b26d
test eax, eax
jge 0x42b48c
mov byte [0x43a368], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00416243
add ebp, 0x78
leave
ret

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40452d
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.004105f0
mov eax, dword [0x282879c]
mov ecx, dword [0x2828228]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x404603
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x282879c], 0x959
jne 0x4045f1
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403f20
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403f6c
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0x403f98
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push 0x403fd0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00404404
add edi, 8
dec ebx
jne 0x404559
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40493a
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.004105f0
push ebx
push esi
xor esi, esi
cmp dword [0x282879c], 0x400
push edi
jne 0x404a3a
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x814]
push eax
push 0x4041e0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0x404200
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateA]
push esi
push esi
call fcn.004056ca
push esi
push esi
call fcn.00404fd9
push esi
call fcn.00405665
add esp, 0x14
push esi
call fcn.00405964
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404b10
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404c90
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00405120
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404dc0
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004053b0
fstp st(0)
push esi
call fcn.004059d8
add esp, 0xc
push esi
push esi
call fcn.00404edd
push esi
call fcn.00405777
add esp, 0xc
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor edi, edi
cmp edi, 0xacd
jge 0x404a67
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
push esi
push esi
push esi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be410
jg 0x404a89
inc edi
cmp edi, 0x33309e9
jl 0x404a42
xor edi, edi
cmp edi, 0x16d2a
jge 0x404a9a
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x404ab8
inc edi
cmp edi, 0x3011b
jl 0x404a8b
mov eax, dword [0x430c8c]
mov dword [0x282879c], eax
call fcn.00404606
mov edi, 0x2ec37
cmp dword [0x282879c], 0x51f
jne 0x404ae4
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404acc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a6fe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d480]
jne 0x40a708
repz ret
jmp fcn.0040f8b0
Function at 0x40f4da
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040a0a8
and dword [ebp - 0x14], 0
cmp dword [0x44545c], 0
mov dword [ebp - 0x18], eax
jne 0x40f58d
push 0x4036c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40f635
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4036b4
push ebx
call edi
test eax, eax
je 0x40f635
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4036a4
push ebx
mov dword [0x44545c], eax
call edi
push eax
call esi
push 0x403690
push ebx
mov dword [0x445460], eax
call edi
push eax
call esi
push 0x403674
push ebx
mov dword [0x445464], eax
call edi
push eax
call esi
mov dword [0x44546c], eax
test eax, eax
je 0x40f58d
push 0x40365c
push ebx
call edi
push eax
call esi
mov dword [0x445468], eax
mov eax, dword [0x445468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40f5e6
cmp dword [0x44546c], ecx
je 0x40f5e6
push eax
call esi
push dword [0x44546c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40f5e6
test ebx, ebx
je 0x40f5e6
call edi
test eax, eax
je 0x40f5dd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40f5dd
test byte [ebp - 8], 1
jne 0x40f5e6
or dword [ebp + 0x10], 0x200000
jmp 0x40f619
mov eax, dword [0x445460]
cmp eax, dword [ebp - 0x18]
je 0x40f619
push eax
call esi
test eax, eax
je 0x40f619
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f619
mov eax, dword [0x445464]
cmp eax, dword [ebp - 0x18]
je 0x40f619
push eax
call esi
test eax, eax
je 0x40f619
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44545c]
call esi
test eax, eax
je 0x40f635
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40f637
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a6fe
leave
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x675008], 0x8088405
inc edx
mov dword [ebx + 0x675008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cc40
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cc71
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc59
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cccd
xor eax, eax
add dl, dl
jne 0x41cc89
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd6a
add dl, dl
jne 0x41cc98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cca3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccb9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41ccc3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cc68
mov eax, 1
add dl, dl
jne 0x41ccdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cce6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccd2
sub eax, ebx
mov ebx, 1
jne 0x41cd19
mov ecx, 1
add dl, dl
jne 0x41ccff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccf6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cd30
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd3b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd27
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cd8b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cc68
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x65e6d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e2c5
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e2ae
test esi, esi
jbe 0x41e2c5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088dc
test eax, eax
jne 0x41e2a0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e2c5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e27d
jmp 0x41e2c5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e2c5
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65e6da
ret
Function at 0x41eb1c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x65f0cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eb57
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41eb70
lea eax, [ebp - 0x10]
mov edx, dword [0x677258]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41eb83
lea eax, [ebp - 0x10]
mov edx, dword [0x677258]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41eb8f
adc edx, 0
mov edx, dword [edx*4 + 0x6760e8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41ec9d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ec90
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dcc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ec90
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ec90
cmp dx, 0x150
ja 0x41ec90
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d6c
test eax, eax
je 0x41ec90
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ec90
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41ecb5
inc ebx
cmp ebx, 0x19
jne 0x41eb49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65f0d2
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4011ea
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x409950
push 0xffffffffffffffff
push 0x482328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea ecx, [esp + 8]
call fcn.004018e8
mov edi, str.LC_ScriptEngine_ver1.0
or ecx, 0xffffffff
xor eax, eax
push 0x4a1d00
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x30], 0
mov eax, ecx
mov esi, edi
mov edi, 0x4a1d00
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.00401bef
mov esi, dword [esp + 8]
push 4
call dword [0x4b053c]
push eax
push 0x7f00
push 0
call dword [0x4b07fc]
mov ecx, dword [esp + 0x38]
push eax
push str.MAINICON
push ecx
call dword [0x4b0800]
mov edx, dword [str.LCSE]
mov ecx, dword [0x4a754c]
push eax
push 0x1003
push esi
push edx
call fcn.00401712
test al, al
jne 0x409a07
push 0
push str.error
push str.WindowClass
jmp 0x409a9e
mov eax, dword [0x4a1d84]
mov ecx, dword [0x4a1d80]
push ebx
push ebp
push eax
push ecx
push 0
lea edx, [esp + 0x28]
push 0
push edx
call dword [0x4b0804]
push 0
lea eax, [esp + 0x20]
push 0xca0000
push eax
call dword [0x4b0808]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub edi, ebp
mov ebp, dword [0x4b080c]
push 0
sub esi, eax
call ebp
sub eax, esi
push 1
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
call ebp
sub eax, edi
mov ecx, dword [0x4a754c]
cdq
sub eax, edx
push 0
mov edx, dword [ecx]
push 0
sar eax, 1
push edi
push esi
push eax
mov eax, dword [esp + 0x24]
push ebx
push 0x2ca0000
push eax
mov eax, dword [str.LCSE]
push eax
call dword [edx + 0x70]
pop ebp
pop ebx
test al, al
jne 0x409aca
push 0
push str.error
push str.Window
push 0
call dword [0x4b082c]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401b0e
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [0x4a754c]
push 5
mov edx, dword [ecx + 0x114]
push edx
call dword [0x4b0810]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00401b0e
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x401280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4161b0
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebp, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov al, byte [esi + 0x74]
add ebp, ebx
mov ebx, ecx
mov dword [esp + 0x10], ebp
sub ebx, edx
test al, al
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x20], ebx
je 0x4161f9
lea edx, [eax + ebx]
cmp edx, ebx
jle 0x4161ed
sub ecx, eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
jmp 0x416207
mov ecx, eax
sub ecx, edx
mov edx, eax
sub edx, ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], edx
xor ecx, ecx
test eax, eax
mov dword [esp + 0xc], ecx
jbe 0x4162a7
mov edx, dword [esp + 0x18]
push edi
jmp 0x416220
mov ebp, dword [esp + 0x14]
mov edi, dword [esi + 0x70]
mov eax, dword [esi + 0x54]
imul edi, ecx
imul ebp, dword [edx + 0x40]
add edi, eax
mov eax, dword [edx + 8]
sub eax, ecx
mov dword [esp + 0x20], 0
sub eax, ebx
dec eax
imul eax, dword [edx + 0x3c]
add eax, ebp
mov ebp, dword [edx + 0x38]
add eax, ebp
xor ebp, ebp
cmp dword [esi + 0x58], ebp
jbe 0x416296
xor ecx, ecx
mov cl, byte [edi]
mov ebx, ecx
mov ecx, ebp
shl ebx, cl
test bl, 0x80
je 0x416271
mov cl, byte [esi + 0x4e]
mov byte [eax], cl
mov cl, byte [esi + 0x4d]
mov byte [eax + 1], cl
mov cl, byte [esi + 0x4c]
mov byte [eax + 2], cl
add eax, 3
cmp ebp, 7
jne 0x41627d
or ebp, 0xffffffff
inc edi
mov ecx, dword [esp + 0x20]
mov ebx, dword [esi + 0x58]
inc ecx
inc ebp
cmp ecx, ebx
mov dword [esp + 0x20], ecx
jb 0x416251
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jb 0x41621c
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x401c7b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414400
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2c]
test eax, eax
jge 0x414416
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [0x4b05f8]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x414441
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
push 0
push 0
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edx*4]
push ecx
push ebx
call dword [0x4b05b0]
cmp eax, 0xffffffff
jne 0x414471
push ebx
call dword [0x4b0694]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0xc]
mov edi, dword [esp + 0x14]
push 0
lea ecx, [eax + eax*8]
push edx
lea edx, [eax + ecx*2]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edx*4 + 4]
push ecx
push edi
push ebx
call dword [0x4b05a0]
test eax, eax
jne 0x4144a9
push ebx
call dword [0x4b0694]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0xc]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x4144d3
push ebx
call dword [0x4b0694]
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret 4
cmp dword [eax + 0x48], 1
jne 0x414500
xor eax, eax
test ecx, ecx
jbe 0x414500
mov dl, byte [0x492125]
mov cl, byte [eax + edi]
xor cl, dl
mov byte [eax + edi], cl
mov ecx, dword [esi + 0x2c]
inc eax
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
mov edx, dword [esi + 0x1c]
cmp eax, dword [edx + ecx*4 + 4]
jb 0x4144df
push ebx
call dword [0x4b0694]
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x401cf3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x416020
push ecx
mov edx, dword [esp + 0x10]
mov al, byte [ecx + 0x74]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [ecx + 0x60]
push esi
mov esi, dword [ecx + 0x64]
add ebp, ebx
mov ebx, edx
sub ebx, esi
mov dword [esp + 0xc], ebp
test al, al
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x18], ebx
je 0x416065
lea esi, [eax + ebx]
cmp esi, ebx
jle 0x416059
sub edx, eax
mov dword [esp + 0x18], edx
mov ebx, edx
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], 0
jmp 0x416073
mov edx, eax
sub edx, esi
mov esi, eax
sub esi, edx
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x78], esi
xor edx, edx
test eax, eax
mov dword [esp + 0x1c], edx
jbe 0x416154
push edi
jmp 0x416088
mov ebp, dword [esp + 0x10]
mov edi, dword [ecx + 0x70]
mov eax, dword [ecx + 0x54]
imul edi, edx
add edi, eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
imul ebp, dword [eax + 0x40]
sub esi, edx
sub esi, ebx
dec esi
imul esi, dword [eax + 0x3c]
add esi, ebp
mov ebp, dword [eax + 0x38]
mov eax, dword [ecx + 0x58]
add esi, ebp
xor ebp, ebp
test eax, eax
jbe 0x416143
mov bl, byte [esi]
xor eax, eax
mov al, byte [ecx + 0x4e]
mov edx, ebx
and edx, 0xff
add esi, 3
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
mov bl, byte [esi - 2]
mov byte [esi - 3], al
xor eax, eax
mov al, byte [ecx + 0x4d]
mov edx, ebx
and edx, 0xff
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
mov bl, byte [esi - 1]
mov byte [esi - 2], al
xor eax, eax
mov al, byte [ecx + 0x4c]
mov edx, ebx
and edx, 0xff
sub eax, edx
xor edx, edx
mov dl, byte [edi]
imul eax, edx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add al, bl
inc edi
mov byte [esi - 1], al
mov eax, dword [ecx + 0x58]
inc ebp
cmp ebp, eax
jb 0x4160bb
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x5c]
inc edx
cmp edx, eax
mov dword [esp + 0x20], edx
jb 0x416084
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc