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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x59d150]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4554c3
cmp byte [ebx], 0xa
jne 0x4554c3
or byte [edi + eax + 0x28], 4
jmp 0x4554c8
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4555c7
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4555aa
inc eax
cmp dl, 0xd
je 0x4554f4
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x45551a
cmp eax, ecx
jae 0x455528
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4554dc
jmp 0x4555c7
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4555a5
cmp dword [ebp - 0x10], 0
je 0x4555a5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x59d150]
test byte [eax + edi + 0x28], 0x48
je 0x45557f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x45556a
mov byte [esi], dl
jmp 0x45557b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x59d150]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4555c7
cmp byte [ebp - 1], 0xa
jne 0x45558e
cmp esi, ebx
jne 0x45558e
mov byte [esi], 0xa
jmp 0x4555c6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0045620b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4555c7
mov byte [esi], 0xd
jmp 0x4555c6
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x59d150]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4555c4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4555c7
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4555d0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x59d150]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x455616
cmp word [ebx], dx
jne 0x455616
or byte [eax + edi + 0x28], 4
jmp 0x45561b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x45577e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x45575e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x45565c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x455692
cmp eax, edx
jae 0x4556a0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x455637
jmp 0x45577e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x455759
cmp dword [ebp - 0x18], 0
je 0x455759
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x59d150]
test byte [eax + edi + 0x28], 0x48
je 0x45572f
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4556f3
mov word [esi], cx
jmp 0x45572a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x59d150]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x59d150]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x59d150]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x45577e
pop eax
cmp word [ebp - 4], ax
jne 0x45573f
cmp esi, ebx
jne 0x45573f
mov word [esi], ax
jmp 0x45577b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0045620b
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x45577e
push 0xd
pop eax
jmp 0x45573a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x59d150]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x455778
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x45577e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4589f7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x481128
push 0x481120
push str.FlsAlloc
push 0x1f
call fcn.004588b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x458a2b
push dword [ebp + 8]
mov ecx, esi
call dword [0x463430]
call esi
jmp 0x458a31
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x458a75
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x481138
push 0x481130
push str.FlsGetValue
push 0x21
call fcn.004588b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x458aac
push dword [ebp + 8]
mov ecx, esi
call dword [0x463430]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x458ab4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x481140
push 0x481138
push str.FlsSetValue
push 0x22
call fcn.004588b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x458aee
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x463430]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x45bf1f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x45bfbc
push ebx
push esi
call fcn.0045bee8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004583f4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x45bf69
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45bfbb
push edi
push eax
call fcn.004563ca
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x45bf89
call fcn.00456390
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x45bfba
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004583f4
add esp, 0x20
test eax, eax
jne 0x45bfa8
push edi
call fcn.00456390
jmp 0x45bfb0
push ebx
call fcn.00456390
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x461f37
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00461eb3
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4620a6
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4620a6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x46205b
jg 0x461f93
test eax, eax
je 0x462051
push 1
push 0x1000
call fcn.004575e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x461fb6
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x462048
push 0x8000
push ebx
call fcn.00453072
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x461fdf
jg 0x461fda
cmp ecx, 0x1000
jb 0x461fdf
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0045465a
add esp, 0x10
cmp eax, 0xffffffff
je 0x462024
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x461fda
jl 0x46200b
test ecx, ecx
jne 0x461fcc
push dword [ebp - 0xc]
push ebx
call fcn.00453072
push esi
call fcn.00456390
add esp, 0xc
xor ebx, ebx
jmp 0x4620b4
cmp byte [edi + 0x24], 0
je 0x46203b
cmp dword [edi + 0x20], 5
jne 0x46203b
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x462046
mov ebx, dword [edi + 0x18]
jmp 0x462048
xor ebx, ebx
push esi
call fcn.00456390
pop ecx
jmp 0x4620b4
test ecx, ecx
jg 0x46201d
jl 0x46205b
test eax, eax
jae 0x46201d
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045620b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46207b
cmp byte [edi + 0x1c], 0
je 0x46201d
jmp 0x4620ac
push ebx
call fcn.0045c713
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x46201d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4620b4
cmp byte [edi + 0x1c], 0
je 0x4620b1
mov ebx, dword [edi + 0x18]
jmp 0x4620b4
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0045620b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x462580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4625ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4625ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x408350
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
dec eax
test eax, eax
jle 0x40838c
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
lea ecx, [ecx + eax*4 - 4]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx]
xor edi, ebx
sub ecx, 4
add edi, edx
xor edi, esi
dec eax
mov dword [ecx + 4], edi
jne 0x408375
pop edi
pop esi
pop ebx
ret

Function at 0x408390
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [eax - 1]
test edx, edx
jle 0x4083cc
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [ecx]
add ecx, 4
xor eax, edi
sub eax, esi
mov dword [ecx - 4], eax
mov ebx, dword [ecx]
xor eax, ebx
dec edx
mov dword [ecx - 4], eax
jne 0x4083b3
pop edi
pop esi
pop ebx
ret

Function at 0x4083f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [ecx + 0x2288]
push edi
mov edi, dword [ecx + 0x2284]
mov edx, 0x8a0
mov eax, dword [ecx]
add ecx, 4
xor eax, edi
sub eax, esi
mov dword [ecx - 4], eax
mov ebx, dword [ecx]
xor eax, ebx
dec edx
mov dword [ecx - 4], eax
jne 0x408404
pop edi
pop esi
pop ebx
ret

Function at 0x4116b0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x436260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
mov dword [esp + 0x18], 0
call fcn.00411770
add esp, 8
lea ecx, [esp]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::MakeUpper
mov edx, dword [esp]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4533e0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41172b
mov dword [0x4533e0], 0
xor ecx, ecx
cmp eax, 0xb7
sete cl
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.00434b38
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00434b38
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x418eb0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x436cf4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], 0
lea ebp, [edi + 0x84]
mov dword [esp + 0x10], ebp
mov esi, dword [sym.imp.GRBase.dll_public:_void___thiscall_CGoRunSoftware::GString::destructor_void_]
lea ecx, [ebp + 0x10]
mov byte [esp + 0x1c], 9
call esi
lea ecx, [ebp + 0xc]
mov byte [esp + 0x1c], 8
call esi
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 7
call esi
lea ebp, [edi + 0x74]
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 0xc]
mov byte [esp + 0x1c], 0xc
call esi
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0xb
call esi
lea ecx, [ebp + 4]
mov byte [esp + 0x1c], 0xa
call esi
mov ecx, ebp
mov byte [esp + 0x1c], 6
call esi
lea ebp, [edi + 0x40]
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 0x18]
mov byte [esp + 0x1c], 0x11
call esi
lea ecx, [ebp + 0x14]
mov byte [esp + 0x1c], 0x10
call esi
lea ecx, [ebp + 0x10]
mov byte [esp + 0x1c], 0xf
call esi
lea ecx, [ebp + 0xc]
mov byte [esp + 0x1c], 0xe
call esi
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0xd
call esi
lea ecx, [ebp + 4]
mov byte [esp + 0x1c], 5
call esi
lea ebp, [edi + 0x30]
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 0xc]
mov byte [esp + 0x1c], 0x14
call esi
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x13
call esi
lea ecx, [ebp + 4]
mov byte [esp + 0x1c], 0x12
call esi
mov ecx, ebp
mov byte [esp + 0x1c], 4
call esi
lea ebp, [edi + 0x24]
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x15
call esi
lea ecx, [ebp + 4]
mov byte [esp + 0x1c], 3
call esi
lea ebp, [edi + 0x18]
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x16
call esi
lea ecx, [ebp + 4]
mov byte [esp + 0x1c], 2
call esi
lea ecx, [edi + 0x14]
mov byte [esp + 0x1c], 1
call esi
lea ebp, [edi + 4]
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 0xc]
mov byte [esp + 0x1c], 0x19
call esi
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 0x18
call esi
lea ecx, [ebp + 4]
mov byte [esp + 0x1c], 0x17
call esi
mov ecx, ebp
mov byte [esp + 0x1c], 0
call esi
mov ecx, dword [esp + 0x14]
mov dword [edi], 0x43bb7c
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x426730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4387e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea eax, [esp + 0x10]
push edi
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CTime::CTime
mov ecx, dword [esp + 0x38]
mov eax, ecx
push ecx
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 7
test ecx, ecx
jle 0x42679f
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
lea ecx, [esp + 0xc]
call fcn.00426840
jmp 0x4267b0
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx], eax
lea ecx, [esp + 0xc]
call fcn.00426850
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0xc]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea edx, [esp + 0x18]
push str._d__02d__02d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
add esp, 0x14
mov ecx, esi
push eax
call dword [sym.imp.GRBase.dll_public:_void___thiscall_CGoRunSoftware::GString::constructor_char_const__]
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00434b38
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
Function at 0x429d60
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x438d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
lea ecx, [esp + 0x44]
mov ebp, eax
push ecx
mov ecx, edi
call fcn.00426fd0
mov edx, dword [eax]
push 0xfffffffffffffffe
mov dword [esp + 0x28], edx
push 0
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
sub eax, ecx
shl eax, 1
mov edx, eax
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [ecx + edx + 2]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [edi + 0x188]
mov ecx, dword [esp + 0x24]
test esi, esi
jle 0x429e01
mov eax, dword [esp + 0x2c]
sub eax, ecx
cdq
idiv esi
mov ebx, eax
jmp 0x429e03
xor ebx, ebx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], 0
test edx, edx
lea eax, [esi - 1]
je 0x429e24
jle 0x429e24
cmp edx, esi
jge 0x429e24
mov eax, edx
mov dword [esp + 0x10], edx
jmp 0x429e28
mov edx, dword [esp + 0x10]
cmp edx, eax
jg 0x429f20
mov esi, edx
shl edx, 3
imul esi, ebx
sub edx, dword [esp + 0x10]
lea edi, [edi + edx*4 + 0x2ec]
mov edx, dword [esp + 0x10]
sub eax, edx
inc eax
mov dword [esp + 0x64], eax
jmp 0x429e54
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], eax
mov eax, dword [edi]
lea ecx, [esi + ecx + 2]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x12]
lea ecx, [ebx + ecx - 4]
and edx, 0xff
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x11]
shl edx, 8
and ecx, 0xff
and eax, 0xff
or edx, ecx
mov ecx, ebp
shl edx, 8
or edx, eax
push edx
lea edx, [esp + 0x38]
push edx
call sub.MFC42.DLL_CDC::FillSolidRect
push 0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CBrush::CBrush
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 4]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_FrameRect]
mov dword [esp + 0x1c], 0x43bb90
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], 0
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x64]
add esi, ebx
add edi, 0x1c
dec eax
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x1c], 0x43bb7c
mov dword [esp + 0x64], eax
jne 0x429e50
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x42f640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439505
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00435282
lea edi, [esi + 0xd0]
mov dword [esp + 0x24], 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x44227c
mov eax, dword [sym.imp.Dialogs.dll_const_CGREdit::vftable]
mov dword [edi], eax
mov dword [edi + 0x40], 0
lea edi, [esi + 0x114]
mov byte [esp + 0x24], 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4421bc
lea edx, [esp + 0xc]
mov dword [esi], 0x4420c0
mov ecx, dword [0x4533dc]
push 0x28
push edx
push 0x45c7fc
mov byte [esp + 0x30], 2
mov dword [esp + 0x1c], 0xb5
mov dword [esp + 0x18], ecx
call dword [sym.imp.tooldll.dll_void___cdecl_LoadBitmapA_unsigned_char___struct_CGoRunSoftware::SResourceID_const___long_int_]
mov eax, dword [0x45ccc4]
xor edx, edx
mov ecx, eax
mov dl, ah
and ecx, 0xff
xor eax, eax
mov al, byte [0x45ccc6]
add esp, 0xc
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [0x45c7f8], ecx
mov ecx, esi
call fcn.00431d60
mov ecx, dword [0x4530c0]
push 0
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
lea eax, [eax + eax*2]
cdq
sub eax, edx
lea edx, [esp + 0x14]
sar eax, 1
push edx
mov dword [0x47c890], eax
call fcn.0042fd60
push eax
push 0x80400100
push 0x451fb8
push 0
mov ecx, esi
call sub.MFC42.DLL_CMiniFrameWnd::Create
test eax, eax
je 0x42f770
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::EnableToolTips
mov ecx, esi
call fcn.00430a40
mov eax, dword [0x45309c]
test eax, eax
je 0x42f770
push 4
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4