joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419720
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0xffffffffffffffff
push 0x464588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push 0x488010
mov dword [esp + 0xc], 0x488010
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x488008]
mov eax, dword [ecx]
cmp eax, ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
je 0x419770
cmp dword [eax + 8], edx
je 0x41976e
mov eax, dword [eax]
cmp eax, ecx
jne 0x419763
cmp eax, ecx
mov bl, byte [esp + 0x20]
setne al
cmp bl, al
jne 0x419799
push 0x488010
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
test bl, bl
je 0x4197e4
push edi
push edx
push str.enable__p
push 0x487ff4
call fcn.004014b0
mov esi, dword [0x488008]
mov edx, dword [esi + 4]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push edx
push esi
mov ecx, 0x488004
call fcn.00419550
push 1
mov ecx, 0x488004
mov edi, eax
call fcn.00419680
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
pop edi
jmp 0x419806
push edx
push str.disable__p
push 0x487ff4
call fcn.004014b0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x488004
call fcn.0041c830
mov eax, dword [0x48800c]
test eax, eax
mov eax, dword [0x487ff0]
jne 0x419843
test eax, eax
je 0x419885
push str.unhook
push 0x487ff4
call fcn.004014b0
mov edx, dword [0x487ff0]
add esp, 8
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x487ff0], 0
jmp 0x419885
test eax, eax
jne 0x419885
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x419580
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x487ff0], eax
test eax, eax
mov eax, str.success
jne 0x419872
mov eax, str.fail
push eax
push str.hook__s
push 0x487ff4
call fcn.004014b0
add esp, 0xc
test bl, bl
je 0x419896
mov eax, dword [0x487ff0]
test eax, eax
jne 0x419896
xor bl, bl
jmp 0x419898
mov bl, 1
push 0x488010
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a900
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46462b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov ecx, dword [ecx + 8]
push ecx
mov dword [esp + 0x228], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41a972
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenClipboard_getText_
lea ecx, [esp + 0x11c]
call fcn.00443bf0
mov esi, eax
push 0x47c164
lea eax, [esp + 0x14]
mov ecx, 0x41
lea edi, [esp + 0x14]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x41a9ae
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41a9ae
push eax
call fcn.0041a7f0
push 0
mov esi, eax
call fcn.004470fd
push esi
mov dword [esp + 0x18], esi
call fcn.0041a8b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x41a9d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46cc6c
push 0x488070
call fcn.004014b0
add esp, 0xc
jmp 0x41a9e5
push str.closed_clipboard_getText_
push 0x488070
call fcn.004014b0
add esp, 8
push 0
call fcn.004470fd
mov ecx, dword [esp + 0x220]
add esp, 4
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41aa10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
mov ecx, dword [ecx + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41aa81
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenClipboard_setText_
lea ecx, [ebp - 0x120]
call fcn.00443bf0
mov esi, eax
push 0x47c164
lea eax, [ebp - 0x224]
mov ecx, 0x41
lea edi, [ebp - 0x224]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 8]
push ecx
mov byte [ebp - 4], 1
call fcn.0041a850
mov esi, eax
add esp, 4
push esi
mov dword [ebp - 0x18], esi
call fcn.0041a8b0
mov eax, esi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41aaa7
sub eax, edx
lea edi, [eax + 1]
push edi
push 2
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
push ebx
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x41ab2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46cd4c
lea ecx, [ebp - 0x120]
call fcn.00443bf0
push 0x47c164
lea edx, [ebp - 0x42c]
mov esi, eax
mov ecx, 0x41
lea edi, [ebp - 0x42c]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x41ab70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46cd2c
lea ecx, [ebp - 0x120]
call fcn.00443bf0
mov esi, eax
push 0x47c164
lea eax, [ebp - 0x328]
mov ecx, 0x41
lea edi, [ebp - 0x328]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
push str.set_clipboard
xor esi, esi
push 0x488070
mov dword [ebp - 0x14], esi
call fcn.004014b0
mov ecx, dword [ebp - 0x18]
add esp, 8
push ecx
call fcn.004470fd
add esp, 4
jmp 0x41abaf
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x41abdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46ccec
push 0x488070
call fcn.004014b0
add esp, 0xc
jmp 0x41abed
push str.closed_clipboard_setText_
push 0x488070
call fcn.004014b0
add esp, 8
test esi, esi
je 0x41ac0a
push str.freeing_clipboard_handle
push 0x488070
call fcn.004014b0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c370
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46479c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov dword [esp + 0x18], ebx
mov dword [ebx], esi
mov dword [esp + 0x234], esi
mov dword [esp + 0x10], esi
push 0x104
mov byte [esp + 0x238], 1
call fcn.00447107
add esp, 4
mov edi, eax
push esi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41c3de
mov byte [edi], al
mov esi, dword [ebp + 8]
test esi, esi
jne 0x41c3e7
mov esi, edi
push 0
push 0x80
push 3
push 0
push 1
push bind
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
mov byte [esp + 0x234], 3
jne 0x41c445
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46d2e8
lea ecx, [esp + 0x12c]
call fcn.00443bf0
mov esi, eax
push 0x47c164
lea eax, [esp + 0x24]
mov ecx, 0x41
lea edi, [esp + 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
test eax, eax
mov byte [esp + 0x234], 2
je 0x41c458
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x41c49d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetVersionInfoSize_failed
lea ecx, [esp + 0x12c]
call fcn.00443bf0
push 0x47c164
lea edx, [esp + 0x24]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x24]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
push edi
call fcn.00447107
add esp, 4
push eax
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
push edi
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x41c4ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetVersionInfo_failed
lea ecx, [esp + 0x12c]
call fcn.00443bf0
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push 0x47c164
lea ecx, [esp + 0x24]
push ecx
call fcn.0044777e
mov edx, dword [esp + 0x10]
push edx
call fcn.004470fd
mov ecx, dword [esp + 0x230]
add esp, 4
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c520
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x200
mov eax, dword [0x488188]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push eax
call esi
test eax, eax
jne 0x41c56d
push str.no_EventManager
lea ecx, [esp + 0x10c]
call fcn.004012a0
mov esi, eax
mov ecx, 0x40
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push 0x47bc3c
lea ecx, [esp + 0xc]
push ecx
call fcn.0044777e
mov edx, dword [0x488188]
push edx
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c8a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4647c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x414f40
push fcn.00405710
mov esi, ecx
push 0x3f
push 4
lea eax, [esi + 0x200]
push eax
mov dword [esp + 0x1c], esi
mov dword [esi], 0x46d368
call fcn.00448b1a
lea edi, [esi + 0x300]
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esi + 0x2fc], 0
call fcn.004228c0
push 0
push 0
push 1
push 0
mov dword [edi + 4], eax
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x30c], eax
mov ecx, dword [0x488188]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 0x310], eax
mov edx, dword [0x488188]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41c950
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x310]
push edi
mov dword [esi], 0x46d368
mov ecx, dword [0x488188]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0x30c]
test eax, eax
je 0x41c97f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x300]
mov ecx, edi
mov dword [esi + 0x30c], 0
call fcn.0040eee0
mov edx, dword [edi + 4]
push edx
call fcn.00447102
add esp, 4
push 0x414f40
push 0x3f
push 4
add esi, 0x200
push esi
mov dword [edi + 4], 0
call fcn.00448aba
pop edi
pop esi
ret

Function at 0x41cdd0
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46485c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x46d3e0
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x24], ebx
call fcn.00442cf0
add esp, 8
mov dword [esi + 0xc], eax
lea ebp, [esi + 0x18]
push ebp
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x30], ebx
push 0x20
mov byte [esp + 0x20], 3
mov byte [esi + 0x38], bl
call fcn.00447245
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x41ce4a
lea ecx, [edi + 4]
push ecx
mov dword [edi], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x1c], ebx
jmp 0x41ce4c
xor edi, edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea edx, [esi + 8]
push edx
push 4
push esi
push 0x41cb10
push ebx
push ebx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4699b4
push esi
mov dword [esi + 4], eax
mov eax, dword [esi + 0xc]
push eax
push str.created
push str.__16.16s__s__lx_:__s
push 0x48818c
mov dword [esi + 0x10], ebx
call fcn.004014b0
mov ecx, dword [esp + 0x2c]
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41ceb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46485c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x46d3e0
mov dword [esp + 8], esi
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
xor ebx, ebx
push str.Native
mov dword [esp + 0x1c], ebx
mov dword [esi + 8], ecx
call fcn.00442cf0
add esp, 8
mov dword [esi + 0xc], eax
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x30], ebx
push ebx
push ebx
push 1
push ebx
mov byte [esp + 0x24], 3
mov byte [esi + 0x38], bl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [esi + 0xc]
push 0x4699b4
push esi
push edx
push str.created
push str.__16.16s__s__lx_:__s
push 0x48818c
mov dword [esi + 0x30], eax
mov dword [esi + 0x10], 4
call fcn.004014b0
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x41cf60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x46487b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x48819c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x41cfcf
push esi
push 0x3c
call fcn.00447245
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x10], 0
je 0x41cfbc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
mov ecx, esi
call fcn.0041ceb0
mov esi, eax
jmp 0x41cfbe
xor esi, esi
mov ecx, dword [0x48819c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x464a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x14], 1
call fcn.0041ea00
mov dword [esi], 0x46d5c4
lea edx, [esp + 0x2c]
lea ecx, [esi + 0x14]
push edx
mov byte [esp + 0x14], 2
call fcn.0041eac0
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.0041e4b0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0041e8f0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00447102
mov ecx, dword [esp + 0xc]
add esp, 4
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
Function at 0x420d20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
mov eax, dword [0x486940]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x36c], eax
call fcn.004549a0
mov eax, dword [0x4881f8]
test eax, eax
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x37c], 0
je 0x420dbd
push esi
push 0
push edi
call eax
test eax, eax
jne 0x420f09
call ebx
cmp eax, 0x78
je 0x420dbd
call ebx
push eax
push str.GetFileAttributesExW
lea ecx, [esp + 0x12c]
call fcn.00443bf0
mov esi, eax
push 0x47c164
lea eax, [esp + 0x24]
mov ecx, 0x41
lea edi, [esp + 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
push edi
call fcn.00454d60
mov edi, eax
mov al, 1
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x1c], al
mov byte [esp + 0x37c], al
mov eax, dword [0x488200]
test eax, eax
je 0x420e20
push esi
push 0
push edi
call eax
test eax, eax
jne 0x420f00
call ebx
push eax
push str.GetFileAttributesExA
lea ecx, [esp + 0x12c]
call fcn.00443bf0
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push 0x47c164
lea ecx, [esp + 0x24]
push ecx
call fcn.0044777e
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x420e5c
call ebx
push eax
push str.GetFileAttributes
lea ecx, [esp + 0x12c]
call fcn.00443bf0
push 0x47c164
lea edx, [esp + 0x24]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x24]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
lea eax, [esp + 0x228]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x420ea0
call ebx
push eax
push str.GetFileAttributes_FindFirstFile_
lea ecx, [esp + 0x12c]
call fcn.00443bf0
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push 0x47c164
lea ecx, [esp + 0x24]
push ecx
call fcn.0044777e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x230]
mov dword [esi], edx
mov edx, dword [esp + 0x234]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x238]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x23c]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x240]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x244]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x248]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
push edi
call fcn.004470fd
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x37c], 0xffffffff
call fcn.00454960
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x36c]
mov eax, esi
call fcn.00448c5b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x421cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464e86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x10]
test al, 4
mov dword [esp + 4], ecx
je 0x421ed8
push 0x70
call fcn.00447245
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x421d45
mov ecx, dword [esp + 0x1c]
push esi
push ecx
mov ecx, eax
call fcn.00421500
mov esi, eax
jmp 0x421d47
xor esi, esi
push ebx
push edi
mov edi, dword [esp + 0x20]
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x24], esi
call dword [edx]
mov ebx, eax
cmp byte [ebx], 0
je 0x421d78
mov eax, ebx
cmp byte [eax], 0x5c
jne 0x421d70
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x421d68
push ebp
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 8]
push ebx
push eax
mov dword [esp + 0x24], 1
call fcn.00401080
add esp, 8
test eax, eax
je 0x421daf
push 0xffffffffffffffff
push ebx
call fcn.00442cf0
mov ebp, eax
mov eax, dword [esi + 8]
push eax
call fcn.004470fd
add esp, 0xc
mov dword [esi + 8], ebp
mov ebp, dword [edi + 4]
mov ecx, dword [ebp + 0x40]
push 1
push 0
push 0
push ecx
call fcn.00448df0
mov ecx, dword [ebp + 0x44]
xor ebp, ebp
add eax, ecx
adc edx, ebp
mov dword [esi + 0x10], eax
push 1
mov dword [esi + 0x14], edx
mov ebp, dword [edi + 4]
mov edx, dword [ebp + 0x2c]
push 0
push 0
push edx
call fcn.00448df0
mov ecx, dword [ebp + 0x28]
xor ebp, ebp
add eax, ecx
adc edx, ebp
mov dword [esi + 0x18], eax
push 1
mov dword [esi + 0x1c], edx
mov ebp, dword [edi + 4]
mov edx, dword [ebp + 0x34]
push 0
push 0
push edx
call fcn.00448df0
mov ecx, dword [ebp + 0x30]
xor ebp, ebp
add eax, ecx
adc edx, ebp
mov dword [esi + 0x20], eax
push 1
mov dword [esi + 0x24], edx
mov ebp, dword [edi + 4]
mov edx, dword [ebp + 0x3c]
push 0
push 0
push edx
call fcn.00448df0
mov ecx, dword [ebp + 0x38]
xor ebp, ebp
add eax, ecx
adc edx, ebp
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x24]
push eax
call fcn.0041f4d0
push 0x10
mov dword [esi + 0xc], eax
call fcn.00447245
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x1c], 2
pop ebp
je 0x421e6a
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x24]
push edx
mov ecx, eax
call fcn.0041f640
jmp 0x421e6c
xor eax, eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 1
call fcn.00421c50
mov edi, dword [esp + 0xc]
lea esi, [edi + 0x30]
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x24]
push ecx
lea edx, [edi + 4]
push edx
lea ecx, [edi + 0x24]
mov byte [esp + 0x20], 3
call fcn.0041f1c0
mov ecx, eax
add ecx, 4
call fcn.00421ca0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call fcn.004470fd
add esp, 4
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
push eax
push 0x46d90c
push 0x4885fc
call fcn.004048e0
mov ecx, dword [esp + 0x14]
add esp, 0xc
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc