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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov esi, ecx
xor edi, edi
lea esp, [esp]
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4a5d2b
xor eax, eax
jmp 0x4a5d33
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x4a5d4b
lea ecx, [ecx + edi*4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call fcn.004a52d0
inc edi
jmp 0x4a5d20
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4a5e82
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov eax, 0x7ee2825b
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc], eax
je 0x4a5e82
push ebp
call fcn.004a3f20
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4a5d9d
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov eax, 0x7ee2825b
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jge 0x4a5deb
mov ecx, dword [esi + 0x38]
push 0
push 0x42000000
push 3
push 0
lea edi, [ecx + ebx]
push 3
push 1
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 4], eax
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x7c]
lea eax, [edx + ebx]
mov edx, dword [eax + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
inc ebp
mov dword [esi + 0x7c], eax
add ebx, 0x1024
jmp 0x4a5d80
lea eax, [esp + 0x18]
push eax
push 0
push esi
push 0x4a5740
push 0
push 0
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
xor ebx, ebx
mov dword [esi + 0x80], eax
xor edi, edi
lea ebx, [ebx]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4a5e3d
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov eax, 0x7ee2825b
imul ecx
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x4a5e72
mov eax, dword [esi + 0x38]
add eax, edi
mov dword [eax + 0x1020], 1
mov ecx, dword [esi + 0x38]
lea eax, [ecx + edi]
lea edx, [eax + 0x100c]
push edx
push eax
mov eax, dword [esi + 0x7c]
push 0x1024
push eax
call ebp
inc ebx
add edi, 0x1024
jmp 0x4a5e20
mov ecx, dword [esi + 0x84]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x4a61c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f64f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 1
call fcn.004a7a80
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 8], esp
push eax
mov byte [esp + 0x28], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
mov byte [esp + 0x2c], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004a7f80
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x20], 1
call fcn.004a7a90
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret

Function at 0x4a6950
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f6589
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
push esi
push edi
mov edi, dword [esp + 0x2e0]
test edi, edi
mov esi, ecx
jne 0x4a6981
xor eax, eax
jmp 0x4a6ab5
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 8]
push edi
mov dword [esp + 0x1c], ecx
call fcn.004a6470
test eax, eax
je 0x4a69a7
mov eax, dword [eax + 4]
test eax, eax
jne 0x4a6ab5
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4511
push 0x2b4
lea eax, [esp + 0x28]
push eax
push 0x80
push edi
call ebx
test eax, eax
je 0x4a6ab4
push ebp
mov ebp, dword [esp + 0x24]
push 0x4510
push 0x2b4
lea ecx, [esp + 0x2c]
push ecx
push 0x80
push edi
call ebx
xor ecx, ecx
cmp eax, ecx
jne 0x4a69f6
xor eax, eax
jmp 0x4a6ab3
mov eax, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x4a6a53
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
push edx
push 0x520ffc
push 2
mov dword [esp + 0x2ec], ecx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a6a3e
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x2c]
push 0
push edx
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x2e0], 0xffffffff
je 0x4a6a53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x10
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x2e0], 1
je 0x4a6a7b
mov ecx, eax
call fcn.004a60e0
mov esi, eax
jmp 0x4a6a7d
xor esi, esi
mov dword [esi], ebp
mov dword [esi + 4], ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x238]
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x2e4], 0xffffffff
mov dword [esi + 8], edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
mov ecx, dword [esp + 0x18]
push edi
call fcn.004a64e0
mov dword [eax], esi
mov eax, esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d0]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2d4
ret 4
Function at 0x4a7ae0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0
call edi
test eax, eax
jne 0x4a7b12
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
cmp dword [esp + 0x10], 2
jne 0x4a7b0a
push 0
lea edx, [esp + 0x14]
push edx
push 2
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 1
call edi
test eax, eax
je 0x4a7b0a
cmp dword [esp + 0x10], 2
jne 0x4a7b0a
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x14]
push edx
push 2
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], ecx
call edi
test eax, eax
je 0x4a7b0a
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 2
pop edi
sete al
pop esi
pop ecx
ret 8
Function at 0x4a7be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push 2
push 0
push ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebp, eax
test ebp, ebp
jne 0x4a7c0e
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [esp + 0x1c]
test eax, eax
push esi
push edi
je 0x4a7d62
push 0xe
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a7d8f
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a7d8f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4a7d8f
movzx eax, word [edi + 4]
dec eax
shl eax, 5
add eax, 0x438
push eax
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x10], esi
je 0x4a7d8f
movzx ecx, word [edi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esi + 0x20c]
push edx
mov dword [esi + 0x414], ecx
call ebx
push 0x4feb50
lea eax, [esi + 4]
push eax
call ebx
mov eax, dword [esi + 0x414]
test eax, eax
mov dword [esp + 0x24], 0
jbe 0x4a7d62
mov ebx, esi
add ebx, 0x424
add edi, 0x12
mov dword [esp + 0x20], edi
mov edi, edi
mov ecx, dword [esp + 0x20]
movzx edx, word [ecx]
push 3
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4a7d77
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4a7d7e
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov dword [ebx + 4], eax
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebx + 4]
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [ebx]
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx - 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004a7b70
test eax, eax
mov edx, dword [esp + 0x10]
je 0x4a7d85
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov ecx, dword [edx + 0x414]
inc eax
add esi, 0xe
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
jb 0x4a7cc0
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov eax, dword [esp + 0x10]
push eax
jmp 0x4a7d86
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x4a7d86
push edx
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 8
Function at 0x4a7dd0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
jne 0x4a7e09
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 8
push ebx
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x414]
push ecx
push esi
mov ecx, edi
call fcn.004a7ae0
test eax, eax
jne 0x4a7e33
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 8
mov eax, dword [ebx + 0x414]
push ebp
xor ebp, ebp
test eax, eax
jbe 0x4a7efe
lea edi, [ebx + 0x42c]
lea ebx, [ebx]
mov cl, byte [edi - 0x10]
mov dl, byte [edi - 0x14]
mov byte [esp + 0x15], cl
mov ecx, dword [edi]
mov byte [esp + 0x14], dl
mov byte [esp + 0x17], 0
mov dx, word [ecx + 0xc]
mov word [esp + 0x18], dx
mov cx, word [ecx + 0xe]
movzx esi, cx
movzx edx, dx
imul esi, edx
cmp esi, 8
mov word [esp + 0x1a], cx
jl 0x4a7e8c
mov byte [esp + 0x16], 0
jmp 0x4a7e96
mov dl, 1
mov ecx, esi
shl dl, cl
mov byte [esp + 0x16], dl
mov ecx, dword [edi - 4]
shl eax, 4
add eax, 6
test ebp, ebp
mov dword [esp + 0x1c], ecx
jbe 0x4a7eb8
lea ecx, [ebx + 0x428]
mov edx, ebp
nop
add eax, dword [ecx]
add ecx, 0x20
dec edx
jne 0x4a7eb0
mov ecx, dword [esp + 0x2c]
push 0
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x28], eax
push 0x10
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4a7f70
cmp dword [esp + 0x10], 0x10
jne 0x4a7f70
mov eax, dword [ebx + 0x414]
inc ebp
add edi, 0x20
cmp ebp, eax
jb 0x4a7e50
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x414]
xor ebp, ebp
test eax, eax
jbe 0x4a7f5a
lea esi, [ebx + 0x42c]
mov eax, dword [esi]
mov edi, dword [eax + 0x14]
push 0
mov dword [eax + 0x14], 0
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4a7f70
mov eax, dword [esp + 0x10]
cmp eax, dword [esi - 4]
jne 0x4a7f70
mov ecx, dword [esi]
mov dword [ecx + 0x14], edi
mov eax, dword [ebx + 0x414]
inc ebp
add esi, 0x20
cmp ebp, eax
jb 0x4a7f10
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 8
Function at 0x4a993d
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc0]
push esi
xor esi, esi
cmp eax, esi
jl 0x4a9966
push eax
lea ecx, [ebx + 0xb8]
call fcn.004a8d30
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x4a996e
or eax, 0xffffffff
jmp 0x4a9a63
push dword [ebx + 0xc0]
mov ecx, ebx
call sub.MFC71U.DLL_CStatusBar::GetItemID
push 1
push eax
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.004a8c09
mov eax, dword [ebx]
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 4]
mov ecx, ebx
call dword [eax + 0x174]
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call sub.MFC71U.DLL_COleControl::ClientToParent
mov dword [0x54ff70], ebx
mov dword [ebx + 0xd4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x4a9524
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp dword [ebp + 0xc], esi
mov dword [0x54ff6c], eax
mov dword [ebx + 0xc8], 2
je 0x4a99e4
push esi
push esi
push esi
push 0x28
call dword [sym.imp.USER32.dll_keybd_event]
cmp dword [ebp - 0x18], esi
jge 0x4a99ec
mov dword [ebp - 0x18], esi
push edi
mov dword [ebp - 0x2c], 0x14
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004010c5
xor esi, esi
cmp eax, esi
pop edi
jne 0x4a9a0e
xor ecx, ecx
jmp 0x4a9a11
mov ecx, dword [eax + 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x2c]
push edx
push ecx
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0x40
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
cmp dword [ebx + 0xd4], esi
jne 0x4a9a4a
push esi
push 0xffffffffffffffff
push 0x448
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0xc8], esi
push dword [0x54ff6c]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push esi
push dword [ebp - 4]
mov ecx, ebx
call fcn.004a8c09
xor eax, eax
pop esi
pop ebx
leave
ret 8
Function at 0x4acb37
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x4f6a4a
call fcn.004e6580
sub esp, 0x28
and dword [ebp - 0x10], 0
push esi
mov byte [ebp - 0x20], 0x30
mov byte [ebp - 0x1f], 0x31
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x34
mov byte [ebp - 0x1b], 0x35
mov byte [ebp - 0x1a], 0x36
mov byte [ebp - 0x19], 0x37
mov byte [ebp - 0x18], 0x38
mov byte [ebp - 0x17], 0x39
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x62
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x66
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR71.dll_srand]
pop ecx
xor esi, esi
call dword [sym.imp.MSVCR71.dll_rand]
cdq
push 0x10
pop ecx
idiv ecx
inc esi
cmp esi, 0xa
mov al, byte [ebp + edx - 0x20]
mov byte [ebp + esi - 0x35], al
jl 0x4acb99
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x2a], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4ba647
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4f75e3
call fcn.004e6580
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call sub.MFC71U.DLL_CClientDC::CClientDC
and dword [ebp - 4], 0
mov dword [esi], 0x51aee0
lea ecx, [esi + 0x28]
mov dword [esi + 0x24], 0x51af38
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_9]
lea ebx, [esi + 0x2c]
and dword [ebx], 0
push 0xa
lea ecx, [esi + 0x34]
call fcn.004ba04c
lea ecx, [esi + 0x50]
call fcn.004b7628
lea ecx, [esi + 0x64]
call fcn.004b7654
mov edi, 0x4feb50
push edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_1]
mov eax, dword [ebp + 8]
push edi
mov ecx, ebx
mov dword [esi + 0x20], eax
call fcn.004d3519
push esi
mov dword [esi + 0x30], 1
call fcn.00442679
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4bc8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f7a05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xc], 1
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
mov dword [esi], 0x51b888
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ebp, [esi + 0x30]
mov ecx, ebp
mov byte [esp + 0x18], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebp
mov byte [esp + 0x1c], 5
mov dword [esi + 8], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4bebe0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.004e67d0
mov eax, dword [0x54f4a0]
xor eax, esp
push ebx
push esi
push edi
mov dword [esp + 0x100c], eax
mov eax, dword [esp + 0x1014]
push 0x51b99c
push eax
mov edi, ecx
mov bl, 1
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bec22
xor al, al
jmp 0x4becca
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
je 0x4bec36
push eax
call dword [sym.imp.libexpat.dll_Ordinal_21]
add esp, 4
push 0
push 0
push 0
mov dword [edi], 0
call dword [sym.imp.libexpat.dll_Ordinal_20]
add esp, 0xc
test eax, eax
mov dword [edi], eax
je 0x4bec66
lea ecx, [edi - 4]
call fcn.004beb80
mov eax, dword [edi]
push edi
push eax
call dword [sym.imp.libexpat.dll_Ordinal_52]
add esp, 8
test byte [esi + 0xc], 0x10
jne 0x4becbe
push ebp
mov ebp, dword [sym.imp.libexpat.dll_Ordinal_16]
test bl, bl
je 0x4becbd
push esi
push 0x1000
lea ecx, [esp + 0x18]
push 1
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
test eax, eax
jge 0x4beca1
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bec98
sub eax, edx
push 0
push eax
mov eax, dword [edi]
lea edx, [esp + 0x18]
push edx
push eax
call ebp
add esp, 0x10
test eax, eax
mov al, byte [esi + 0xc]
setne bl
test al, 0x10
je 0x4bec73
pop ebp
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e6c56
add esp, 0x1004
ret 4
Function at 0x4c25f0
Capabilities:
Terminate process

Disassembly:
push ecx
mov eax, dword [0x54f4a0]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
xor eax, esp
push ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov dword [ebx], ecx
mov ecx, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
add esp, 4
jmp fcn.004e6c56
Function at 0x4c3890
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4f818c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x844
mov eax, dword [0x54f4a0]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x858]
push esi
mov esi, dword [esp + 0x860]
push edi
mov dword [esp + 0x84c], eax
mov edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test esi, esi
mov dword [esp + 0xc], eax
je 0x4c38e8
mov dword [esi], 0
push ebx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x20]
lea esi, [edi + 0x80]
push eax
mov ecx, esi
mov dword [esp + 0x85c], 0
call fcn.004c24e0
cmp eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
je 0x4c3935
add eax, 0xc
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
jne 0x4c3935
lea eax, [esp + 0x1c]
jmp 0x4c3940
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov esi, dword [eax]
lea ecx, [esp + 0x20]
mov dword [esp + 0x858], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, dword [edi + 0x84]
je 0x4c3a53
cmp dword [esi + 0x2c], 1
je 0x4c3973
mov eax, 0x80004004
jmp 0x4c3a1d
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x4c3a53
push ebp
mov ecx, ebx
call fcn.004bf230
test eax, eax
je 0x4c3a4c
lea ebp, [esi + 0x28]
push ebp
mov ecx, ebx
call fcn.004bf230
push eax
push 0x51b690
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call fcn.004bf260
push eax
mov ecx, edi
call fcn.004c29b0
test eax, eax
jne 0x4c3a4c
mov edi, dword [edi + 0x6c]
mov eax, dword [ebp]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4c3a45
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esi + 0x2c], 2
je 0x4c39e7
mov ebp, dword [ebp]
mov dword [eax], ebp
mov edx, dword [ebp]
push ebp
call dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
push str._Load_addin__s_dll_use_time__d__n
lea ecx, [esp + 0x5c]
push 0x400
push ecx
call dword [sym.imp.MSVCR71.dll_int___cdecl_swprintf_wchar_t___unsigned_int__wchar_t_const__]
add esp, 0x14
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x850]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x844]
pop ebx
xor ecx, esp
call fcn.004e6c56
add esp, 0x850
ret 8
mov dword [esi + 0x2c], 3
mov eax, 0x80004005
jmp 0x4c3a1c
mov eax, 0x80004005
jmp 0x4c3a1d