joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456950
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4b8b54]
cmp byte [eax + 0xa5], 0
jne 0x4569c1
cmp dword [0x4b8b6c], 0
jne 0x456982
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45690c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b8b6c], eax
cmp dword [0x4b8b68], 0
jne 0x45699d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b8b68], eax
cmp dword [0x4b8b70], 0
jne 0x4569c1
push esp
push 0
push 0
push 0x4568b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b8b70], eax
pop edx
ret

Function at 0x457054
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b8b54]
cmp dword [eax + 0x30], 0
je 0x4570fe
cmp dword [ebx + 0x94], 0
jne 0x4570f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456fe4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4570f8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4570be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4570f8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c250
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4570cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457c5c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x457c91
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404e78
jmp 0x457c9e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ddc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458dc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458e01
mov eax, esi
call fcn.0043f418
test al, al
je 0x458e01
mov eax, dword [ebx + 0x84]
call fcn.0043f114
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458e01
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f114
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45a4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405274
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45a4f8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b76d8]
mov dl, 1
mov eax, dword [0x459fc4]
call fcn.0040d800
call fcn.004046dc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045a0cc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45cf8c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
cmp eax, 0x1388
jbe 0x45d142
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x45d085
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp dword [eax + 0x44], 0
jne 0x45d078
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp byte [eax + 0x41], 0
jne 0x45d078
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp byte [eax + 0x40], 0
jne 0x45d078
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [eax + 0x48]
call sub.kernel32.dll_GetTickCount
pop edx
sub eax, edx
cmp eax, 0xbb8
jbe 0x45d078
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
xor eax, eax
push ebp
push 0x45d06e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403f54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d078
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x45cfd1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x45d142
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [eax + 0x28]
call sub.kernel32.dll_GetTickCount
pop edx
sub eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cdq
cmp edx, dword [esp + 4]
jne 0x45d0d0
cmp eax, dword [esp]
pop edx
pop eax
jae 0x45d135
jmp 0x45d0d4
pop edx
pop eax
jge 0x45d135
xor eax, eax
push ebp
push 0x45d12b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp dword [eax + 0x14], 0
jle 0x45d121
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x14]
push eax
call sub.Svr_intf.dll_Asio_closesocket
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
xor edx, edx
mov dword [eax + 0x14], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45d135
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x45d09d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x46a00c
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4b3374], 0
mov eax, dword [0x4b76b8]
cmp dword [eax], 2
jne 0x46a1e5
mov eax, dword [0x4b7220]
cmp dword [eax], 5
jl 0x46a1e5
call fcn.0046713c
test al, al
jne 0x46a03d
call fcn.00467148
call fcn.00467134
mov dword [0x4b337c], eax
push 0x46a1e8
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3340], eax
cmp dword [0x4b3340], 0
jne 0x46a098
mov edx, 0x8000
mov eax, 0x46a1fc
call fcn.0040f3c0
mov dword [0x4b3378], eax
mov eax, dword [0x4b3378]
mov dword [0x4b337c], eax
push 0x46a1e8
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3340], eax
cmp dword [0x4b3340], 0
je 0x46a1e0
push 0x46a208
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3344], eax
cmp dword [0x4b3344], 0
je 0x46a1e0
push 0x46a214
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3348], eax
cmp dword [0x4b3348], 0
je 0x46a1e0
mov byte [0x4b3374], 1
push 0x46a224
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b334c], eax
push 0x46a230
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3350], eax
push 0x46a23c
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3354], eax
push 0x46a24c
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3358], eax
push 0x46a25c
mov eax, dword [0x4b337c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b335c], eax
mov edx, 0x8000
mov eax, 0x46a274
call fcn.0040f3c0
mov dword [0x4b3380], eax
cmp dword [0x4b3380], 0
je 0x46a1e5
push 0x46a284
mov eax, dword [0x4b3380]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3360], eax
push 0x46a2a0
mov eax, dword [0x4b3380]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3364], eax
push 0x46a2c0
mov eax, dword [0x4b3380]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3368], eax
push 0x46a2dc
mov eax, dword [0x4b3380]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b336c], eax
push 0x46a2f4
mov eax, dword [0x4b3380]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3370], eax
ret
call fcn.00469f8c
ret
Function at 0x46c91c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46ca44
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0046c804
mov eax, dword [esi]
call fcn.00405e90
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x464ab0]
call fcn.0040606c
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00403044
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00403044
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00405e90
mov dword [ebp - 0xc], eax
mov eax, dword [0x4b75c8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004653fc
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.004037f0
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00405e90
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.00465320
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.00464e3c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004653f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ca4b
lea eax, [ebp - 8]
mov edx, dword [0x464ab0]
call fcn.00406198
ret

Function at 0x47d910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor edx, edx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x47d9e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
call fcn.0047b168
cmp dword [ebp - 8], 0
je 0x47d9ce
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.004037f0
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x440
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, 0x47d9f4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
call fcn.00405274
mov dword [ebp - 0x38], eax
call fcn.00403268
mov word [ebp - 0xa], ax
xor eax, eax
push ebp
push 0x47d9c7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x47d9b0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_WaitForInputIdle
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d9ce
mov ax, word [ebp - 0xa]
call fcn.00403258
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d9eb
lea eax, [ebp - 8]
call fcn.00404d88
ret
Function at 0x47de20
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, edx
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47de4c
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00404e78
jmp 0x47de53
mov eax, ebx
call fcn.00404d88
add esp, 0x14
pop ebx
ret

Function at 0x480488
Capabilities:
Write file on windows

Disassembly:
add esp, 0xffffffb8
mov dword [esp], eax
mov eax, dword [0x4b7524]
cmp byte [eax], 0
je 0x4804e7
mov eax, dword [0x4b71d0]
call fcn.00403634
call fcn.00402fb0
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
call fcn.00409db0
push eax
lea eax, [esp + 0xc]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 8]
push eax
push 2
push 0x48052c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x48051d
push 0x40
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x4b7150]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b8668]
call fcn.00406274
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x48
ret
Function at 0x482a50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x4b3d2f
lea ecx, [ebp - 0x200]
push ecx
call fcn.00480638
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.004805f8
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.004805f8
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x4b3d31
lea ecx, [ebp - 0x200]
push ecx
call fcn.00480638
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.004805f8
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00484568
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x482b61
push esi
call fcn.004805f8
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.004805f8
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00480530
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x482b38
xor eax, eax
jmp 0x482be8
push esi
call fcn.004805f8
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.004805f8
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004805c4
add esp, 0xc
jmp 0x482ba1
mov edi, dword [ebx + 0x24]
push edi
call fcn.004805f8
pop ecx
push eax
push esi
call fcn.004805f8
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004805f8
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0048056c
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x482ba1
xor eax, eax
jmp 0x482be8
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00480638
add esp, 8
push 0x4b3d33
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00480638
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00480638
add esp, 8
push 0x4b3d35
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00480638
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485628
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
push 0x4001f
push 0
push 0
push 0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x48567c
push esi
call fcn.004805f8
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x879700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x300000]
push edi
or ebp, 0xffffffff
jmp 0x879722
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x879729
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x879718
mov eax, 1
add ebx, ebx
jne 0x87973b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x87974c
jne 0x87976b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87976b
dec eax
add ebx, ebx
jne 0x879758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x879730
add ebx, ebx
jne 0x879767
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8797bd
xor ecx, ecx
sub eax, 3
jb 0x879783
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8797f2
sar eax, 1
mov ebp, eax
jmp 0x87978e
add ebx, ebx
jne 0x87978e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87975c
inc ecx
add ebx, ebx
jne 0x87979c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87975c
add ebx, ebx
jne 0x8797a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x87979e
jne 0x8797ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x87979e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8797dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8797ce
jmp 0x87971e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8797dc
add edi, ecx
jmp 0x87971e
pop esi
mov edi, esi
mov ecx, 0x673d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8797fa
cmp byte [edi], 0x24
jne 0x8797fa
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 0x8797ff
lea edi, [esi + 0x476000]
mov eax, dword [edi]
or eax, eax
je 0x879877
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x47eb28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x47ec74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x87982c
mov ecx, edi
jns 0x87985b
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 + 0x47ec7c]
or eax, eax
je 0x879871
mov dword [ebx], eax
add ebx, 4
jmp 0x879849
call dword [esi + 0x47ec78]
mov ebp, dword [esi + 0x47ec80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x8798ab
sub esp, 0xffffff80
jmp 0x4e7a01
Function at 0x41dc90
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41dfa7
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
lea ecx, [ecx + 0x18]
call fcn.00441779
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
call fcn.00441779
mov byte [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.00441779
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.00441779
push 0x472e60
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0044194c
push 0x472e5c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
lea ebx, [esi + 0x48]
call fcn.0044194c
push 0x472e58
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
lea edi, [esi + 0x4c]
call fcn.0044194c
push 0x472e54
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0044194c
lea ecx, [esi + 0x50]
push str.M_d_yy
mov byte [ebp - 4], 7
call fcn.0044194c
lea ecx, [esi + 0x54]
push str.intl
mov byte [ebp - 4], 8
call fcn.0044194c
lea ecx, [esi + 0x58]
push str.iDate
mov byte [ebp - 4], 9
call fcn.0044194c
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x5c]
push str.iTime
call fcn.0044194c
lea ecx, [esi + 0x60]
push str.iTLZero
mov byte [ebp - 4], 0xb
call fcn.0044194c
lea ecx, [esi + 0x64]
push str.s1159
mov byte [ebp - 4], 0xc
call fcn.0044194c
lea ecx, [esi + 0x68]
push str.s2359
mov byte [ebp - 4], 0xd
call fcn.0044194c
lea ecx, [esi + 0x6c]
push str.sDate
mov byte [ebp - 4], 0xe
call fcn.0044194c
lea ecx, [esi + 0x70]
push str.sTime
mov byte [ebp - 4], 0xf
call fcn.0044194c
lea ecx, [esi + 0x74]
push 0x472e08
mov byte [ebp - 4], 0x10
call fcn.0044194c
lea ecx, [esi + 0x78]
push 0x472e04
mov byte [ebp - 4], 0x11
call fcn.0044194c
lea ecx, [esi + 0x7c]
push 0x472e00
mov byte [ebp - 4], 0x12
call fcn.0044194c
lea ecx, [esi + 0x80]
push 0x472dfc
mov byte [ebp - 4], 0x13
call fcn.0044194c
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call fcn.004419d7
lea ecx, [esi + 0x38]
push ecx
lea ecx, [esi + 0x1c]
call fcn.004419d7
push ebx
lea ecx, [esi + 0x20]
call fcn.004419d7
push edi
lea ecx, [esi + 0x24]
call fcn.004419d7
sub esp, 4
mov dword [ebp - 0x14], esp
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0043f8cb
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.0041dfc0
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret