joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c30
Capabilities:
Create directory
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x40f9e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x414210]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x414210]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
call fcn.00402ee0
mov ebx, 0x10
test al, al
jne 0x402d01
mov edx, dword [0x41511c]
cmp dword [0x415130], ebx
jae 0x402c86
mov edx, 0x41511c
mov eax, edx
lea esi, [eax + 1]
jmp 0x402c90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c90
sub eax, esi
push eax
push edx
mov ecx, 0x415118
call fcn.00402040
mov eax, dword [0x41511c]
cmp dword [0x415130], ebx
jae 0x402cb7
mov eax, 0x41511c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x402cf4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402cf4
push str.CreatePCFolder_failed.
call fcn.00403080
add esp, 4
push 0
push 0x411bf3
mov ecx, 0x415118
call fcn.00402040
jmp 0x402e2d
push str.CreatePCFolder_successfully.
call fcn.00403020
add esp, 4
push 0x415118
lea esi, [esp + 0x18]
call fcn.004030e0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4150fc
mov dword [esp + 0x48], 0
call fcn.00401af0
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], ebx
jb 0x402d44
mov eax, dword [esp + 0x18]
push eax
call fcn.00403454
add esp, 4
push 0x4150fc
lea edi, [esp + 0x18]
call fcn.00403190
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4150fc
mov dword [esp + 0x48], 1
call fcn.00401af0
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], ebx
jb 0x402d87
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00403454
add esp, 4
push 4
push str..log
mov eax, 0x4150fc
call fcn.00401f30
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0x415100]
cmp dword [0x415114], ebx
jae 0x402db2
mov eax, 0x415100
push 0
push 0x80
push 4
push 0
push 0
push 0x80000001
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402de5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Could_not_open_file.
call fcn.00403080
add esp, 4
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x402e2d
cmp dword [esp + 0x10], 0
jne 0x402e15
cmp edi, 0x19000
jb 0x402e2d
mov ecx, dword [0x415100]
cmp dword [0x415114], ebx
jae 0x402e28
mov ecx, 0x415100
call fcn.004011c0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0040345f
add esp, 0x30
ret
Function at 0x402e50
Capabilities:
Get session user name

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0x411bf3
mov ecx, ebp
mov edi, 1
call fcn.00402040
push 0x104
mov dword [esp + 0x18], 0x104
call fcn.00403244
mov ebx, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push esi
call ebx
test eax, eax
jne 0x402eb3
push esi
call fcn.0040366a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00403244
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
push esi
call ebx
mov edi, eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402eb8
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.00402040
push esi
call fcn.0040366a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x402ee0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x414210]
xor eax, esp
mov dword [esp + 0x104], eax
lea eax, [esp]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x402ff2
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
push edi
push str.DatacardService
lea ecx, [esp + 0x10]
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea edx, [esp + 0x10]
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x402f48
call ebx
cmp eax, 0xb7
jne 0x402f77
push str.CreatePCFolder_successfully.
call fcn.00403020
add esp, 4
push 0x411e80
lea eax, [esp + 0x10]
push eax
call esi
push 0
lea ecx, [esp + 0x10]
push ecx
call edi
test eax, eax
jne 0x402f9e
call ebx
cmp eax, 0xb7
je 0x402f9e
push str.CreatePCFolder_failed.
call fcn.00403080
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0040345f
add esp, 0x108
ret
push str.CreatePCFolder_successfully.
call fcn.00403020
lea eax, [esp + 0x10]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402fb2
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov eax, 0x415118
call fcn.00401f30
push str.GetPCFolderPath_successfully.
call fcn.00403020
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0040345f
add esp, 0x108
ret
push str.GetPCFolderPath_failed.
call fcn.00403080
mov ecx, dword [esp + 0x108]
add esp, 4
xor ecx, esp
xor al, al
call fcn.0040345f
add esp, 0x108
ret

Function at 0x40345f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414210]
jne 0x403469
repz ret
jmp fcn.004049aa
Function at 0x40adae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004075fe
and dword [ebp - 4], 0
cmp dword [0x415b0c], 0
mov ebx, eax
jne 0x40ae5f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40af10
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40af10
push eax
call fcn.0040758c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x415b0c], eax
call esi
push eax
call fcn.0040758c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x415b10], eax
call esi
push eax
call fcn.0040758c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x415b14], eax
call esi
push eax
call fcn.0040758c
pop ecx
mov dword [0x415b1c], eax
test eax, eax
je 0x40ae5f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040758c
pop ecx
mov dword [0x415b18], eax
mov eax, dword [0x415b18]
cmp eax, ebx
je 0x40aeb7
cmp dword [0x415b1c], ebx
je 0x40aeb7
push eax
call fcn.00407607
push dword [0x415b1c]
mov esi, eax
call fcn.00407607
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aeb7
test edi, edi
je 0x40aeb7
call esi
test eax, eax
je 0x40aeae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aeae
test byte [ebp - 0xc], 1
jne 0x40aeb7
or dword [ebp + 0x10], 0x200000
jmp 0x40aef0
mov eax, dword [0x415b10]
cmp eax, ebx
je 0x40aef0
push eax
call fcn.00407607
pop ecx
test eax, eax
je 0x40aef0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40aef0
mov eax, dword [0x415b14]
cmp eax, ebx
je 0x40aef0
push eax
call fcn.00407607
pop ecx
test eax, eax
je 0x40aef0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x415b0c]
call fcn.00407607
pop ecx
test eax, eax
je 0x40af10
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40af12
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x6f7f6d4a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
mov ecx, 0x55c55628
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x407feb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x407ff5
repz ret
jmp fcn.0040dc77

Function at 0x40adfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
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.00406409
and dword [ebp - 0x14], 0
cmp dword [0x43a734], 0
mov dword [ebp - 0x18], eax
jne 0x40aeaf
push 0x402228
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40221c
push ebx
call edi
test eax, eax
je 0x40af57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40220c
push ebx
mov dword [0x43a734], eax
call edi
push eax
call esi
push 0x4021f8
push ebx
mov dword [0x43a738], eax
call edi
push eax
call esi
push 0x4021dc
push ebx
mov dword [0x43a73c], eax
call edi
push eax
call esi
mov dword [0x43a744], eax
test eax, eax
je 0x40aeaf
push 0x4021c4
push ebx
call edi
push eax
call esi
mov dword [0x43a740], eax
mov eax, dword [0x43a740]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af08
cmp dword [0x43a744], ecx
je 0x40af08
push eax
call esi
push dword [0x43a744]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af08
test ebx, ebx
je 0x40af08
call edi
test eax, eax
je 0x40aeff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aeff
test byte [ebp - 8], 1
jne 0x40af08
or dword [ebp + 0x10], 0x200000
jmp 0x40af3b
mov eax, dword [0x43a738]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af3b
mov eax, dword [0x43a73c]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43a734]
call esi
test eax, eax
je 0x40af57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407feb
leave
ret
Function at 0x414780
Capabilities:
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1414
call fcn.0040eb50
cmp dword [0x7ea214], 0x37
jne 0x414844
push 0x403430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
lea eax, [esp + 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403440
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
lea edx, [esp + 0x418]
push edx
push 0x403454
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov eax, dword [0x7ea628]
mov edx, dword [0x7e9cf8]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1414
ret
Function at 0x414e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x7ea214]
sub esp, 0x484
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x414f16
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x40376c
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x403798
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x439df0]
mov dword [0x7ea214], eax
jne 0x414eb5
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x439de4]
mov dword [0x7ea628], edx
call fcn.00414aa0
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4022fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x4807c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x402366
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00401b4a
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00403a65
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40237e
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402e72
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40232e
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406114
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402e72
jmp 0x402368

Function at 0x403ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ecx
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4816f0], eax
push 0x27
push 0x480218
push 0x547
mov esi, 0x480240
push esi
call fcn.0040239c
push 0x8aafdc01
push dword [0x4816f0]
call fcn.004022fd
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x403f40
call fcn.00403de5
xor eax, eax
pop ecx
ret 0x10
Function at 0x409470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x111
jne 0x4094ad
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x38]
push 5
push 0
push ecx
push str.iexplore.exe
push 0x483d44
mov eax, 1
push 0
mov word [edx], ax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop ebp
ret 0x24
cmp eax, 0x103
jne 0x4094e4
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push esi
mov esi, dword [edx + 0x18]
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [ebp + 0x1c]
push ecx
push 0x483b00
push esi
call edx
mov eax, dword [ebp + 0x1c]
cmp esi, eax
pop esi
jne 0x4094dc
mov ecx, dword [ebp + 8]
mov byte [ecx + 4], 1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
pop ebp
ret 0x24

Function at 0x40b410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479d80
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x52ce84], 0
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
jne 0x40b474
push 0x58
call esi
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40b466
push eax
call fcn.00424cd0
jmp 0x40b468
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x52ce84], eax
lea edi, [ebp - 0x2c]
call fcn.004251e0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov edi, dword [ebp - 0x2c]
jae 0x40b48f
lea edi, [ebp - 0x2c]
cmp dword [0x52ce84], 0
jne 0x40b4b9
push 0x58
call esi
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x40b4b2
push eax
call fcn.00424cd0
jmp 0x40b4b4
xor eax, eax
mov dword [0x52ce84], eax
push 5
push edi
push 0x48432c
push str.tqreport.exe
push 0x483d44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x18], 8
jb 0x40b4e6
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret
Function at 0x414a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4787c0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a3140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_class_std::_Vector_val_wchar_t__class_std::allocator_wchar_t____.0
mov eax, dword [edi + 0xc]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
push 0
lea edx, [edi + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.004024f0
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x414b17
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov dword [esi], 0x486164
mov dword [esi + 0x2c], 0x486170
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x414d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479a58
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4a3140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_class_std::_Vector_val_wchar_t__class_std::allocator_wchar_t____.0
mov eax, dword [edi + 0xc]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], eax
push ebx
add edi, 0x10
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov byte [ecx], bl
call fcn.004024f0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi], 0x486164
mov dword [esi + 0x2c], 0x486170
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 4