joyce8/EMBER2024-capa huggingface dataset:
Function at 0x650ba0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x58
call fcn.004038d8
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret

Function at 0x65120c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 4], eax
jmp 0x65122d
push 1
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xd], 0
jne 0x651269
call sub.KERNEL32.DLL_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
imul eax, dword [eax + 0x14], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x651265
cmp eax, dword [esp]
pop edx
pop eax
ja 0x65121a
jmp 0x651269
pop edx
pop eax
jg 0x65121a
pop ecx
pop ebp
ret

Function at 0x65126c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 4], eax
jmp 0x65128d
push 1
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xd], 0
jne 0x6512c6
call sub.KERNEL32.DLL_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
imul eax, dword [eax + 0x48], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x6512c2
cmp eax, dword [esp]
pop edx
pop eax
ja 0x65127a
jmp 0x6512c6
pop edx
pop eax
jg 0x65127a
pop ecx
pop ebp
ret
Function at 0x6540cc
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004056e0
xor eax, eax
push ebp
push 0x6541f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x50]
lea eax, [ebp - 0x18]
mov ecx, 0x654210
call fcn.0040553c
mov eax, dword [ebp - 0x18]
call fcn.0040b3a8
test al, al
jne 0x654132
mov eax, dword [ebp - 0xc]
mov edx, 0x654224
call fcn.00405268
jmp 0x6541d6
push 0
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push 0x65424c
push dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004055b0
mov eax, dword [ebp - 0x1c]
call fcn.004056f0
push eax
call sub.KERNEL32.DLL_WinExec
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 8]
call fcn.0040b3a8
test al, al
je 0x6541af
call sub.KERNEL32.DLL_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x14]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x654199
cmp eax, 0x7530
jbe 0x6541a1
jmp 0x65419b
jle 0x6541a1
mov byte [ebp - 0xe], 1
jmp 0x6541af
mov eax, dword [0x6b83b8]
mov eax, dword [eax]
call fcn.004a0e18
jmp 0x654169
cmp byte [ebp - 0xe], 0
je 0x6541d2
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.0040b858
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov edx, 0x654264
call fcn.0040553c
jmp 0x6541d6
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x654200
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405238
lea eax, [ebp - 8]
call fcn.00405214
ret

Function at 0x657ca4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x657d19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.0040587c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004056f0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004054f0
push eax
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040587c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00657ba4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x657d20
lea eax, [ebp - 0xc]
call fcn.00405214
ret
Function at 0x65b374
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004056f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x65b402
xor eax, eax
push ebp
push 0x65b3ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00402bc0
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], esi
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004056f0
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x65b402
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x67b634
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push esi
push edi
push ebx
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, 0x10
mov eax, dword [edx]
xchg ah, al
rol eax, 0x10
xchg ah, al
mov dword [esi], eax
add esi, 4
add edx, 4
dec ecx
jne 0x67b64e
mov ecx, 0x30
mov edi, dword [esi - 0x1c]
mov eax, dword [esi - 8]
mov ebx, eax
mov edx, eax
ror eax, 0x11
ror edx, 0x13
shr ebx, 0xa
xor eax, edx
xor eax, ebx
add edi, eax
mov eax, dword [esi - 0x3c]
mov ebx, eax
mov edx, eax
ror eax, 7
ror edx, 0x12
shr ebx, 3
xor eax, edx
xor eax, ebx
add eax, edi
add eax, dword [esi - 0x40]
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x67b667
pop ebx
pop edi
pop esi
pop ecx
pop ecx
pop ebp
ret
Function at 0x67ee50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x67efd1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x67efac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x119], 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x105
lea eax, [ebp - 0x119]
push eax
lea eax, [ebp - 0x120]
mov dl, byte [ebp - 1]
call fcn.004053fc
lea eax, [ebp - 0x120]
mov edx, 0x67efe4
call fcn.004054f8
mov eax, dword [ebp - 0x120]
call fcn.004056f0
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x67ef10
lea eax, [ebp - 0x119]
call fcn.0040ba50
mov ecx, eax
lea edx, [ebp - 0x119]
mov eax, dword [ebp - 8]
call fcn.00405304
jmp 0x67ef18
mov eax, dword [ebp - 8]
call fcn.00405214
cmp byte [ebp - 1], 0x61
jae 0x67ef3e
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00410b90
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.00405268
jmp 0x67ef5c
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00410abc
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 8]
call fcn.00405268
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x134]
xor ecx, ecx
mov eax, 0x67eff0
call fcn.0040c2d0
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 8]
call fcn.00405268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67efb3
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret

Function at 0x688ed4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x688f47
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 4], edx
test al, al
je 0x688f31
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00688d30
cmp dword [ebp - 8], 0
je 0x688f26
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041eb68
test al, al
je 0x688f31
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x688f31
mov eax, dword [ebp - 0xc]
call fcn.00688e2c
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x688f4e
lea eax, [ebp - 0xc]
call fcn.00405214
ret
Function at 0x688fe8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x6890a2
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x689011
mov eax, ebx
call fcn.00405214
jmp 0x68908c
mov ecx, ebx
lea edx, [ebp - 4]
call fcn.00688d30
cmp dword [ebp - 4], 0
je 0x68908c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041eb50
test al, al
je 0x689085
xor eax, eax
push ebp
push 0x68907e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00688f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68908c
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.0041eb50
test al, al
je 0x68907d
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.00405214
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6890a9
lea eax, [ebp - 0xc]
call fcn.004071f8
ret
Function at 0x405ef7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1274], 0
push esi
jne 0x405f2e
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 0x405f08
mov dword [ecx*4 + 0x7a1270], eax
inc ecx
cmp ecx, 0x100
jl 0x405f03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5f
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 + 0x7a1270]
xor eax, esi
inc ecx
dec edx
jne 0x405f41
pop edi
not eax
pop esi
ret 0xc

Function at 0x1001495
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1001918
call fcn.01001624
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1002370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001250
cmp eax, esi
jne 0x1001243
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001253
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100122a
xor esi, esi
inc esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x1001266
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001295
mov eax, dword [0x100236c]
test eax, eax
jne 0x100128f
mov dword [0x100236c], esi
push 0x10010a0
push 0x1001094
call fcn.0100118c
pop ecx
pop ecx
test eax, eax
je 0x1001295
jmp 0x10013b9
mov dword [0x1002034], esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x10012b9
push 0x1001090
push 0x1001088
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100236c], 2
cmp dword [ebp - 0x20], ebx
jne 0x10012c6
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1002374], ebx
je 0x10012e7
push 0x1002374
call fcn.01001599
pop ecx
test eax, eax
je 0x10012e7
push ebx
push 2
push ebx
call dword [0x1002374]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x10013b9
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1001351
cmp cx, bx
je 0x100130c
cmp dword [ebp - 0x1c], ebx
jne 0x1001351
movzx ecx, word [eax]
cmp cx, bx
je 0x1001321
cmp cx, 0x20
ja 0x1001321
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100130c
test byte [ebp - 0x40], 1
je 0x100132d
movzx ecx, word [ebp - 0x3c]
jmp 0x1001330
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1002030], eax
cmp dword [0x1002024], ebx
jne 0x1001396
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1001362
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10012f6
cmp dword [0x1002034], ebx
jne 0x10013a4
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1002030]
jmp 0x10013c5
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01001669
ret
call fcn.01001771
jmp 0x10011ed
Function at 0x403950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403969
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40397d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40399e
cmp esi, eax
jae 0x403977
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403990
cmp esi, eax
jae 0x403977
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x404d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x420f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00404580
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004013a0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x404e22
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409ac0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x421570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], 0
call sub.MFC70.DLL_Ordinal_1006
mov esi, eax
test esi, esi
je 0x409c32
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetForwardPlugInID
push esi
call edi
test eax, eax
je 0x409c1e
call eax
cmp eax, 1
jne 0x409c1e
push str.GetWorkName
push esi
call edi
push str.GetTabWndClass
push esi
mov ebp, eax
call edi
push str.GetObjToolIconID
push esi
mov dword [esp + 0x1c], eax
call edi
push str.GetObjToolBarID
push esi
mov dword [esp + 0x18], eax
call edi
test ebp, ebp
mov dword [esp + 0x18], eax
je 0x409c0e
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x409c0e
mov edx, dword [esp + 0x10]
test edx, edx
je 0x409c0e
test eax, eax
je 0x409c0e
call ecx
mov edi, eax
call ebp
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
mov byte [esp + 0x24], 1
call dword [esp + 0x10]
mov ebp, eax
call dword [esp + 0x18]
push eax
push ebp
push edi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401740
push esi
mov ecx, ebx
call fcn.00405530
mov ecx, dword [ebx + 0xfb04]
test ecx, ecx
mov esi, eax
je 0x409bdc
mov eax, dword [ecx]
call dword [eax + 0x284]
test eax, eax
jne 0x409bdc
mov edx, dword [esi]
push eax
mov eax, dword [ebx + 0xfb04]
push 1
push 3
push eax
mov ecx, esi
call dword [edx + 0x2e8]
jmp 0x409bf8
mov edx, dword [esi]
push 0xf000
mov ecx, esi
call dword [edx + 0x1b0]
push 0
push 0
push esi
mov ecx, ebx
call dword [sym.imp.BCGCBPRO720.dll_public:_void___thiscall_CBCGPMDIFrameWnd::DockControlBar_class_CBCGPBaseControlBar___unsigned_int__struct_tagRECT_const__]
lea ecx, [esp + 0x14]
call fcn.00401760
lea ecx, [esp + 0x2c]
call fcn.00401760
mov eax, esi
jmp 0x409c5a
push 0xffffffffffffffff
push 0x10
push 0x4278
call sub.MFC70.DLL_Ordinal_1013
jmp 0x409c32
push 0xffffffffffffffff
push 0x10
push 0x4279
call sub.MFC70.DLL_Ordinal_1013
push esi
call sub.MFC70.DLL_Ordinal_962
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 4
Function at 0x4126a0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc
push esi
push edi
push 8
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xc]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 1
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC70.DLL_Ordinal_494
push edi
mov dword [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esi + 0xc], 0
call sub.MFC70.DLL_Ordinal_5921
pop edi
pop esi
add esp, 0xc
ret

Function at 0x412720
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x421fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push str.CInstanceChecker_MMF_
lea ecx, [esp + 0xc]
call fcn.00405870
xor ebx, ebx
mov eax, str.Forward.Net
mov dword [esp + 0x20], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412758
sub eax, edx
push eax
push str.Forward.Net
lea ecx, [esp + 0x10]
call fcn.00404600
mov eax, dword [esp + 8]
push eax
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x4127c2
push edi
push 8
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 1
add esi, 4
push esi
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC70.DLL_Ordinal_494
cmp dword [edi + 4], ebx
jne 0x4127b1
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0x10]
call sub.MFC70.DLL_Ordinal_5921
pop edi
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x415ae0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4389b8]
xor eax, dword [esp + 0x14c]
push ebx
mov ebx, dword [esp + 0x154]
mov dword [esp + 0x14c], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x415b37
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x154]
xor ecx, dword [esp + 0x158]
mov edx, edi
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x14c
jmp fcn.0041fbeb

Function at 0x415bc0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x422471
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x4389b8]
xor eax, dword [esp + 0x120]
push esi
push edi
mov dword [esp + 0x118], eax
push 0x100
lea eax, [esp + 0x18]
xor edi, edi
push eax
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call sub.MFC70.DLL_Ordinal_982
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x124], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415c28
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
call fcn.00401960
mov esi, dword [esp + 8]
push 0x5c
push esi
call dword [sym.imp.MSVCR70.dll__mbsrchr]
add esp, 8
cmp eax, edi
jne 0x415c59
or eax, 0xffffffff
jmp 0x415c5b
sub eax, esi
inc eax
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00404d60
push 0x426c3c
lea edx, [esp + 0x10]
push edx
mov ecx, eax
mov byte [esp + 0x12c], 1
call fcn.00415b80
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], 2
call fcn.004035b0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x124], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x124], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.004013a0
mov edi, dword [esp + 0x130]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x124], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415d20
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x118]
xor ecx, dword [esp + 0x128]
mov eax, edi
pop edi
pop esi
add esp, 0x120
jmp fcn.0041fbeb
Function at 0x415d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x4389b8]
xor eax, dword [ebp + 4]
mov dword [esp + 4], 0
mov dword [esp + 0x20c], eax
push esi
push edi
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3d
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x108], 0
mov ecx, 0x40
lea edi, [esp + 0x109]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x415dfa
lea ecx, [esp + 0xc]
push ecx
call fcn.00415bc0
mov eax, dword [eax]
add esp, 4
lea edx, [esp + 0x108]
push edx
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415dfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x108]
push eax
mov ecx, esi
call fcn.00405870
mov ecx, dword [esp + 0x214]
xor ecx, dword [ebp + 4]
mov eax, esi
call fcn.0041fbeb
pop edi
pop esi
mov esp, ebp
pop ebp
ret