joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df453
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
lea ecx, [esi + 0x10]
mov word [esi + 4], 0x1389
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
xor ebx, ebx
push 0x13
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.masterconn11.qq.com
mov dword [esp + 0x10], esi
mov byte [ecx + 4], bl
call fcn.00405f60
push 0xffffffffffffffff
mov dword [esp + 0x38], ebx
lea eax, [esi + 0x10]
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00405b10
mov byte [esp + 0x34], 1
mov ecx, dword [0x5155c8]
cmp ecx, ebx
movzx eax, word [esi + 8]
je 0x483f13
cmp dword [esp + 0x24], 0x10
mov edx, dword [esp + 0x10]
jae 0x483f0b
lea edx, [esp + 0x10]
push 1
push eax
push edx
call ecx
mov dword [esi], eax
cmp dword [esp + 0x24], 0x10
jb 0x483f27
mov eax, dword [esp + 0x10]
push eax
call fcn.004b83e9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004b83ee
add esp, 0x30
ret

Function at 0x484c50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push esi
push 0x5c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.004be240
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x6c], esi
call fcn.00484750
mov edx, dword [esp + 0x74]
push edx
lea esi, [esp + 0x18]
call fcn.00484af0
add esp, 0x14
pop esi
add esp, 0x5c
ret
Function at 0x485530
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x4dd732
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x434], edi
push ebx
mov ecx, 0x4f5874
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
call fcn.00415200
push edi
push edi
push 3
push edi
push 3
push edi
mov dword [esp + 0x44c], edi
push 0x4f62c8
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48562d
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x400
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push edi
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004be240
add esp, 0xc
push edi
lea ecx, [esp + 0x18]
push ecx
push 0x400
lea edx, [esp + 0x34]
push edx
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x485626
mov edi, dword [esp + 0x38]
movsx ecx, byte [esp + edi + 0x28]
lea edi, [esp + edi + 0x28]
push ecx
call fcn.004bcba4
add esp, 4
test eax, eax
je 0x485626
mov edx, edi
call fcn.00415380
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004b83ee
add esp, 0x428
ret
Function at 0x485910
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4e2e1c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xdc]
xor esi, esi
cmp ebp, esi
jne 0x48595f
xor eax, eax
jmp 0x485b1a
lea ecx, [esp + 0x18]
call fcn.00485530
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xd8], esi
call fcn.00485660
add esp, 4
mov ebx, 1
mov byte [esp + 0xd4], bl
mov edx, dword [0x5143cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143cc
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xdc], 2
call fcn.00485770
add esp, 8
mov byte [esp + 0xd4], 3
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov esi, dword [eax - 0xc]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
jle 0x485a0a
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004169b0
mov eax, dword [esp + 0x18]
push esi
push eax
lea edi, [esp + 0x30]
call fcn.004892f0
mov eax, dword [esp + 0x28]
mov esi, dword [eax - 0xc]
add esp, 8
cmp dword [eax - 4], ebx
jle 0x485a35
mov edx, esi
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004169b0
mov eax, dword [esp + 0x20]
push esi
push eax
lea edi, [esp + 0x30]
call fcn.004892f0
mov eax, dword [esp + 0x24]
mov esi, dword [eax - 0xc]
add esp, 8
cmp dword [eax - 4], ebx
jle 0x485a60
mov ecx, esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004169b0
mov eax, dword [esp + 0x1c]
push esi
push eax
lea edi, [esp + 0x30]
call fcn.004892f0
push ebp
mov esi, edi
call fcn.004893b0
mov byte [esp + 0xe0], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485a9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd4], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485ac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd4], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485aed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xd4], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004b83ee
add esp, 0xc4
ret
Function at 0x486320
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [esi + 4], 0
jne 0x4863c8
push edi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.004be240
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push 0x4f6334
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.004bc754
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
call edi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call edi
cmp dword [esi + 4], 0
pop edi
jne 0x4863c8
or dword [esi + 0x1c], 1
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004b83ee
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 1
call fcn.004b83ee
add esp, 0x210
ret
Function at 0x486af0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub esp, 0x78
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
push esi
mov esi, dword [eax]
xor eax, eax
cmp esi, 0xffffffff
push edi
mov edi, ecx
je 0x486bc0
push 0x44
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004be240
mov eax, dword [edi]
or dword [esp + 0x50], 0x101
add esp, 0xc
mov dword [esp + 0x50], esi
mov ecx, 7
mov esi, str.ipconfig__all
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x8000000
push 1
push 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
push 0
lea eax, [esp + 0x80]
push eax
push 0
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x486baa
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004b83ee
add esp, 0x78
ret 4
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.004b83ee
add esp, 0x78
ret 4
Function at 0x486be0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e1476
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov eax, dword [esp + 0x438]
mov edx, dword [0x5143cc]
mov ebp, dword [esp + 0x43c]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xc]
mov esi, ecx
mov ecx, 0x5143cc
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x430], 0
mov eax, dword [esi]
test eax, eax
je 0x486c70
cmp eax, 0xffffffff
je 0x486c70
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x486db9
mov dword [esi], 0xffffffff
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x486d46
mov edi, dword [esp + 0x18]
test edi, edi
je 0x486d46
mov edx, dword [0x5143cc]
mov eax, dword [edx]
push 1
push edi
mov ecx, 0x5143cc
call eax
test eax, eax
je 0x486de4
test edi, edi
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
jl 0x486de9
cmp edi, dword [esi - 8]
jg 0x486de9
push edi
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esi - 0xc], edi
push esi
mov byte [edi + esi], 0
call fcn.004b8413
add esp, 0x10
mov byte [esp + 0x430], 1
mov eax, dword [esi - 0xc]
push eax
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.004322b0
lea eax, [esi - 0x10]
mov byte [esp + 0x430], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486d23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x400
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x486c93
mov esi, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x18]
call fcn.00486e00
push esi
call fcn.00487850
push esi
call fcn.00487d10
mov dword [esp + 0x430], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486d8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004b83ee
add esp, 0x424
ret 8
lea eax, [edi - 0x10]
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486de0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x486d90
call fcn.00414fa0
push 0x80070057
call fcn.00401350
int3
Function at 0x489670
Capabilities:
Create thread

Disassembly:
sub esp, 0xf8
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0xf0], eax
cmp dword [0x5158ec], 0
push ebp
push esi
push edi
mov esi, ecx
je 0x4896af
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004b83ee
add esp, 0xf8
ret
call fcn.00489ef0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4896c0
sub eax, edx
sar eax, 1
push eax
push esi
mov esi, 0x5158c0
call fcn.00402530
xor eax, eax
push 0xc6
push eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x3a]
push eax
mov dword [0x5158ec], 1
mov byte [esp + 0x1c], 0
call fcn.004be240
add esp, 0xc
push 1
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4f63e0
lea ecx, [esp + 0x38]
push 0x63
push ecx
call fcn.004b8a0a
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0x10
lea edx, [esp + 0x30]
push edx
push 1
push 1
lea eax, [esp + 0x30]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
mov eax, dword [0x5158b4]
test eax, eax
je 0x48979c
push eax
call ebp
push 0
push 0
push 0
push 0
mov dword [0x5158b4], edi
call esi
mov esi, eax
mov eax, dword [0x5158b8]
test eax, eax
je 0x4897ba
push eax
call ebp
cmp dword [0x5158b4], 0
mov dword [0x5158b8], esi
je 0x48981a
test esi, esi
je 0x48981a
push 0
push 0
push 0x5158b0
push 0x489c90
push 0
push 0
call fcn.004b92a4
mov esi, eax
mov eax, dword [0x5158bc]
add esp, 0x18
test eax, eax
je 0x4897f5
push eax
call ebp
xor eax, eax
test esi, esi
mov dword [0x5158bc], esi
setne al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004b83ee
add esp, 0xf8
ret
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004b83ee
add esp, 0xf8
ret

Function at 0x489e60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [eax + 0x2c], 0
push esi
lea esi, [eax + 0x2c]
jne 0x489ee1
cmp dword [eax + 0x28], 8
jb 0x489e76
mov eax, dword [eax + 0x14]
jmp 0x489e79
add eax, 0x14
push 0x4f6498
push eax
push esi
call fcn.004b8d9c
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x489ee1
push edi
push 2
push 0
push eax
call fcn.004bd709
mov eax, dword [esi]
push eax
call fcn.004bd0e5
mov ecx, dword [esi]
push 0
push 0
push ecx
mov edi, eax
call fcn.004bd709
add esp, 0x1c
test edi, edi
pop edi
jne 0x489ee1
mov edx, dword [esi]
push edx
push 2
lea eax, [esp + 0xc]
mov word [esp + 0xd], 0
push 1
push eax
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xfe
mov byte [esp + 0x16], 0
call fcn.004b8f4b
add esp, 0x10
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ecx
ret
Function at 0x489ef0
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4e2dc8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x5158c4]
mov ebx, 8
cmp dword [0x5158d8], ebx
jae 0x489f2d
mov eax, 0x5158c4
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48a006
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x489f63
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x80000
jb 0x48a006
cmp dword [0x5158d8], ebx
mov ecx, dword [0x5158c4]
jae 0x489f89
mov ecx, 0x5158c4
lea eax, [esp + 0x14]
push eax
call fcn.00409c00
lea esi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.0048a020
cmp dword [0x5158d8], ebx
mov edi, dword [0x5158c4]
jae 0x489fb7
mov edi, 0x5158c4
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push esi
call ebx
push 1
push esi
call fcn.0048b7d0
add esp, 8
push 0
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a006
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x48a4b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e13eb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x36]
push edi
push eax
mov dword [esp + 0x38], edi
mov word [esp + 0x3c], di
call fcn.004be240
mov eax, 1
add esp, 0xc
test byte [0x5161fc], al
lea ebp, [edi + 7]
jne 0x48a53e
or dword [0x5161fc], eax
push 0x4e6cd0
mov dword [0x5161f8], ebp
mov dword [0x5161f4], edi
mov word [0x5161e4], di
call fcn.004b9593
add esp, 4
cmp dword [0x5161f4], edi
jne 0x48a5d0
push 0x104
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48a570
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x18]
call fcn.00402530
push 0xffffffffffffffff
push edi
mov eax, esi
mov ecx, 0x5161e0
mov dword [esp + 0x24c], edi
call fcn.004020f0
mov dword [esp + 0x244], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x48a5c3
mov eax, dword [esp + 0x14]
push eax
call fcn.004b83e9
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
push 0xffffffffffffffff
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
mov eax, 0x5161e0
mov ecx, ebx
mov word [ebx + 4], di
call fcn.004020f0
mov eax, ebx
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b83ee
add esp, 0x238
ret
Function at 0x48a620
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e13eb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [esp + 0x36]
push edi
push eax
mov dword [esp + 0x38], edi
mov word [esp + 0x3c], di
call fcn.004be240
mov eax, 1
add esp, 0xc
test byte [0x5161dc], al
lea ebp, [edi + 7]
jne 0x48a6ae
or dword [0x5161dc], eax
push 0x4e6d00
mov dword [0x5161d8], ebp
mov dword [0x5161d4], edi
mov word [0x5161c4], di
call fcn.004b9593
add esp, 4
cmp dword [0x5161d4], edi
jne 0x48a740
push 0x104
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48a6e0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x18]
call fcn.00402530
push 0xffffffffffffffff
push edi
mov eax, esi
mov ecx, 0x5161c0
mov dword [esp + 0x24c], edi
call fcn.004020f0
mov dword [esp + 0x244], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x48a733
mov eax, dword [esp + 0x14]
push eax
call fcn.004b83e9
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
push 0xffffffffffffffff
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
push edi
mov eax, 0x5161c0
mov ecx, ebx
mov word [ebx + 4], di
call fcn.004020f0
mov eax, ebx
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b83ee
add esp, 0x238
ret
Function at 0x48b280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e1388
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor ebp, ebp
mov ebx, edx
mov eax, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], bp
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x48b2d0
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x58]
call fcn.00402530
mov dword [esp + 0x78], ebp
mov eax, dword [ebx + 0x14]
push 0x4ebcc4
mov edi, 1
mov ecx, ebx
call fcn.004147c0
test eax, eax
push 0xffffffffffffffff
push ebp
jne 0x48b31c
mov eax, esi
mov ecx, ebx
call fcn.004020f0
cmp dword [esp + 0x68], 8
jmp 0x48b476
mov eax, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
call fcn.004020f0
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 1
call fcn.0048ad60
cmp dword [esp + 0x64], ebp
jbe 0x48b3b5
mov edx, dword [esp + 0x2c]
cmp edx, ebp
jbe 0x48b3b5
lea edi, [edx - 1]
cmp edi, edx
jbe 0x48b364
call fcn.004b9ac9
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x48b377
lea eax, [esp + 0x1c]
movzx ecx, word [eax + edi*2]
xor eax, eax
lea ecx, [ecx]
cmp cx, word [eax + 0x4ec240]
je 0x48b3ba
add eax, 2
cmp eax, 4
jb 0x48b380
lea esi, [esp + 0x18]
mov edi, edx
call fcn.0047ba30
add eax, 1
cmp eax, edi
je 0x48b3b5
push 0x5c
mov eax, 1
mov ebx, esi
call fcn.0047c5f0
mov ebx, dword [esp + 0x14]
mov esi, 8
lea edi, [esp + 0x18]
call fcn.0048afb0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x58]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
call fcn.004020f0
lea eax, [esp + 0x34]
mov byte [esp + 0x78], 2
call fcn.0048b000
cmp dword [esp + 0x4c], esi
mov edx, dword [esp + 0x38]
jae 0x48b400
lea edx, [esp + 0x38]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x48b405
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00403580
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x20]
mov ecx, ebx
call fcn.004020f0
cmp dword [esp + 0x4c], esi
jb 0x48b440
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x30], esi
mov edi, 7
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
jb 0x48b465
mov edx, dword [esp + 0x1c]
push edx
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
jb 0x48b485
mov eax, dword [esp + 0x54]
push eax
call fcn.004b83e9
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004b83ee
add esp, 0x68
ret