joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
test edi, edi
jne 0x403bf0
push str.Error:_Unable_to_register_MTU_notification__no_callback__n
call fcn.00403fb0
add esp, 4
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
push esi
push 0x10
call fcn.004040cb
mov esi, eax
add esp, 4
test esi, esi
jne 0x403c17
push str.Error:_NOTIFICATION_CONTEXT_memory_allocation_failure._n
call fcn.00403fb0
add esp, 4
pop esi
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x403c70
push 0
push 0
mov byte [esi + 4], cl
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, 0xffffffff
jne 0x403c62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_Unable_to_register_notification__error__d_n
call fcn.00403fb0
push esi
call fcn.00404091
add esp, 0xc
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x403fb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x411014]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x404]
push 0x400
push edx
call fcn.0040464c
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403ffe
mov esp, ebp
pop ebp
ret

Function at 0x403ffe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411014]
jne 0x404008
repz ret
jmp fcn.00404887

Function at 0x408a56
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
invalid
test dword [edx - 4], ecx
invalid
Function at 0x444810
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x31000]
push edi
jmp 0x44482a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x444831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444820
mov eax, 1
add ebx, ebx
jne 0x444843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x444854
jne 0x444873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444873
dec eax
add ebx, ebx
jne 0x444860
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x444838
add ebx, ebx
jne 0x44486f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4448c5
xor ecx, ecx
sub eax, 3
jb 0x44488b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4448fa
sar eax, 1
mov ebp, eax
jmp 0x444896
add ebx, ebx
jne 0x444896
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444864
inc ecx
add ebx, ebx
jne 0x4448a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x444864
add ebx, ebx
jne 0x4448b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4448a6
jne 0x4448c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4448a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4448e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4448d6
jmp 0x444826
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4448e4
add edi, ecx
jmp 0x444826
pop esi
mov edi, esi
mov ecx, 0xba3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x444902
cmp byte [edi], 5
jne 0x444902
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x444907
lea edi, [esi + 0x42000]
mov eax, dword [edi]
or eax, eax
je 0x44497f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x449f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44ad8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x444934
mov ecx, edi
jns 0x444963
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44ae0]
or eax, eax
je 0x444979
mov dword [ebx], eax
add ebx, 4
jmp 0x444951
call dword [esi + 0x44adc]
mov ebp, dword [esi + 0x44ae4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4449b3
sub esp, 0xffffff80
jmp 0x41c550
Function at 0x403ad0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4147a9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x41e180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00403170
add eax, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00403170
add eax, 0x10
add esp, 8
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
mov al, byte [edi]
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], al
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], 0x416874
mov byte [ebp - 4], 6
mov dword [ebp - 0x28], 0x416890
mov dword [ebp - 0x24], 0x404360
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 9
lea eax, [ebp - 0x38]
push eax
push 0x403a80
call dword [sym.imp.USER32.dll_EnumWindows]
mov bl, byte [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402ab0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406024
mov esp, ebp
pop ebp
ret

Function at 0x403bc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4147e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x41e180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403520
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x13
push str.DingTalkUpdater.exe
call fcn.00402f40
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403c22
push dword [ebp - 0x10]
call fcn.00404b00
add esp, 4
mov bl, al
jmp 0x403c24
xor bl, bl
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403c48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404560
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4149b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41e180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00403170
add eax, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00403170
add eax, 0x10
add esp, 8
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
mov al, byte [edi]
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], al
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
push 0x4032c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov bl, byte [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402ab0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406024
mov esp, ebp
pop ebp
ret
Function at 0x404810
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414a81
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x41e180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor edi, edi
push 0
push str.StandardFrame_DingTalk
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
jne 0x404963
mov ebx, 0x41638c
call eax
lea eax, [ebp - 0x38]
push eax
call fcn.004036c0
add esp, 4
mov dword [ebp - 4], 0
call fcn.00403430
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x404959
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
test ebx, 0xffff0000
jne 0x4048c3
movzx ebx, bx
push 0
push ebx
call fcn.004030b0
add esp, 8
test eax, eax
je 0x4048d0
push ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.004039b0
jmp 0x4048d0
push 0x41638c
lea ecx, [ebp - 0x34]
call fcn.00402c00
mov byte [ebp - 4], 2
mov word [ebp - 0x30], pe_nt_image_headers32
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], 0x416874
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], 0x416890
mov dword [ebp - 0x24], 0x403140
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 8
lea eax, [ebp - 0x38]
push eax
push 0x403a80
call dword [sym.imp.USER32.dll_EnumWindows]
mov bl, byte [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00402ab0
test bl, bl
jne 0x404946
inc esi
xor edi, edi
cmp esi, 0xf
jmp 0x40494f
inc edi
xor esi, esi
cmp edi, 0x96
jle 0x40483f
xor al, al
jmp 0x404967
push 0x80004005
call fcn.00403120
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406024
mov esp, ebp
pop ebp
ret

Function at 0x404990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4049a5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4049e4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4049e0
lea ebx, [ebx]
cmp esi, edx
jae 0x4049e4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x4049d0
cmp esi, edx
jb 0x4049e9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x404b00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00406ae0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x28], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
dec eax
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x404b60
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414b18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x41e180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Local3C6BA908_906F_4F76_BA06_A5D051D9645B
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp eax, 0xb7
jne 0x404bba
xor esi, esi
jmp 0x404d09
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402880
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x404be2
lea esi, [ecx + 1]
jmp 0x404ceb
js 0x404ce6
push str.dingtalk:__dingtalkclient_
push eax
call fcn.00406e44
mov esi, eax
add esp, 8
test esi, esi
je 0x404ce6
sub esi, dword [ebp - 0x14]
sar esi, 1
js 0x404ce6
push 0
push 0x41e15c
push 0x41e0b4
call fcn.004018b0
add esp, 0xc
lea ecx, [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
mov eax, dword [eax - 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push eax
call fcn.00402b90
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404c67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.StandardFrame_DingTalk
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x404c9e
call fcn.00403bc0
test al, al
jne 0x404c88
mov esi, 3
jmp 0x404ceb
cmp byte [ebp - 0xd], 0
je 0x404c9e
call fcn.00404810
test al, al
jne 0x404c9e
mov esi, 4
jmp 0x404ceb
push str.dingtalkscheme:__dingtalkclient_
push str.dingtalk:__dingtalkclient_
lea ecx, [ebp - 0x14]
call fcn.00403dc0
cmp byte [ebp - 0xd], 0
lea eax, [ebp - 0x14]
push eax
je 0x404cd0
call fcn.00404480
xor ecx, ecx
add esp, 4
test al, al
mov esi, 4
cmovne esi, ecx
jmp 0x404ceb
call fcn.00404630
xor ecx, ecx
add esp, 4
test al, al
mov esi, 4
cmovne esi, ecx
jmp 0x404ceb
mov esi, 2
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x404d09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x404d22
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41098c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040c33f
mov dword [ebp - 0x14], eax
cmp dword [0x420574], esi
jne 0x410a7f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410a0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410b5f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410b5f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410b5f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x420574], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x420578], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42057c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x420584], eax
test eax, eax
je 0x410a7c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x420580], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410aa4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410a97
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410ab9
push 4
pop eax
jmp 0x410b61
cmp dword [ebp - 0x14], esi
je 0x410ab9
push dword [0x420574]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410a9e
mov eax, dword [0x420580]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410b17
cmp dword [0x420584], edi
je 0x410b17
push eax
call ebx
push dword [0x420584]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410b17
test eax, eax
je 0x410b17
call ecx
test eax, eax
je 0x410b0c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410b0c
test byte [ebp - 8], 1
jne 0x410b17
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410b47
mov eax, dword [0x420578]
cmp eax, edi
je 0x410b44
push eax
call ebx
test eax, eax
je 0x410b44
call eax
mov esi, eax
test esi, esi
je 0x410b44
mov eax, dword [0x42057c]
cmp eax, edi
je 0x410b44
push eax
call ebx
test eax, eax
je 0x410b44
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x420574]
call ebx
test eax, eax
je 0x410b5f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410b61
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406024
mov esp, ebp
pop ebp
ret
Function at 0x402cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
cmp ecx, 0x10
jb 0x402ce0
mov esi, dword [eax]
jmp 0x402ce2
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x402d01
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x402cf0
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x402d16
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
lea edx, [eax + ecx*8]
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebp - 0xc], ecx
jmp 0x402d30
cmp eax, ecx
jne 0x402d38
mov eax, ecx
jmp 0x402d3d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x402e4b
cmp dword [ebp - 8], 0x10
lea ecx, [esi + 8]
jb 0x402d55
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x402d58
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
jb 0x402d66
mov ecx, dword [ecx]
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
test edx, edx
je 0x402dc9
sub edx, 4
jb 0x402d87
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x402d8c
add ecx, 4
add edi, 4
sub edx, 4
jae 0x402d76
cmp edx, 0xfffffffc
je 0x402dc0
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x402db9
cmp edx, 0xfffffffd
je 0x402dc0
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x402db9
cmp edx, 0xfffffffe
je 0x402dc0
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x402db9
cmp edx, 0xffffffff
je 0x402dc0
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x402dc0
sbb eax, eax
or eax, 1
jmp 0x402dc2
xor eax, eax
test eax, eax
jne 0x402dd9
mov eax, dword [ebp - 4]
cmp eax, ebx
jb 0x402dd9
xor eax, eax
cmp dword [ebp - 4], ebx
setne al
test eax, eax
je 0x402de9
mov esi, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x402d30
cmp dword [esi + 0x1c], 0x10
mov edi, dword [esi + 0x18]
lea ecx, [esi + 8]
jb 0x402df7
mov ecx, dword [ecx]
cmp dword [ebp - 8], 0x10
jb 0x402e05
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, edi
cmp ebx, edi
cmovb eax, ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.00402890
add esp, 0xc
test eax, eax
jne 0x402e40
cmp ebx, edi
jb 0x402e40
cmp ebx, edi
setne al
test eax, eax
jne 0x402e40
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a387
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x45fc48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x4066d4
mov dword [edi], 0x44d970
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
push 0
mov eax, dword [eax + 4]
lea esi, [edi + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
push esi
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00408210
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.004067c0
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x46216c]
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4