joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a400
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [esi - 1]
cmp ax, 0x5a
ja 0x40a457
mov eax, dword [0x47b20c]
test eax, eax
jne 0x40a446
push edi
push str.LocalPR_PROGRESS
push 4
xor edi, edi
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
push edi
push edi
push 6
push eax
mov dword [0x47b204], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x47b20c], eax
pop edi
xor ecx, ecx
mov word [eax + 4], si
inc ecx
mov word [eax], cx
pop esi
pop ebp
jmp fcn.0040bf43
pop esi
pop ebp
ret

Function at 0x40bd8f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x470824]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x10c]
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40bdad
push ebx
lea ecx, [ebp - 0x10c]
push esi
xor esi, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bdc4
sub ecx, edx
lea eax, [ebp - 0x10a]
movzx ebx, cx
push 0x5c
push eax
mov dword [ebp - 0x110], ebx
call fcn.0042eba0
pop ecx
pop ecx
test eax, eax
je 0x40befe
push edi
inc eax
push 0x5c
push eax
call fcn.0042eba0
pop ecx
pop ecx
mov edi, eax
jmp 0x40bef5
cmp si, bx
jge 0x40befd
lea eax, [ebp - 0x10c]
mov byte [edi], 0
push 0
push eax
call fcn.0043aa81
pop ecx
pop ecx
test ax, ax
je 0x40bed4
lea eax, [ebp - 0x10c]
push eax
call fcn.0043ac23
movzx esi, ax
pop ecx
test si, si
je 0x40be74
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
mov eax, 0xb7
cmp si, ax
je 0x40be74
movsx eax, si
push str.Error_Creating_Directory
push eax
call fcn.0040c222
pop ecx
pop ecx
push 0
push str.New_Directory
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
movzx eax, si
xor ebx, ebx
mov edx, 0xb7
cmp si, dx
cmovne ecx, eax
test cx, cx
je 0x40bec9
cmp ebx, 0x64
jge 0x40bec9
lea eax, [ebp - 0x10c]
inc ebx
push 2
push eax
call fcn.0043aa81
movzx eax, ax
pop ecx
pop ecx
test ax, ax
je 0x40bec9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10c]
push eax
call fcn.0043ac23
movzx eax, ax
pop ecx
test ax, ax
jne 0x40be8b
call fcn.0040bf43
mov ebx, dword [ebp - 0x110]
lea eax, [edi + 1]
mov byte [edi], 0x5c
push 0x5c
push eax
call fcn.0042eba0
pop ecx
mov edi, eax
pop ecx
mov ax, di
lea ecx, [ebp - 0x10c]
sub ax, cx
movzx esi, ax
test edi, edi
jne 0x40be01
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0042dc3d
leave
ret
Function at 0x424316
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x470824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x12c], 0x128
push 2
pop ebx
cmp word [ebp + 0xc], di
jne 0x4243d1
mov eax, dword [0x47d59c]
test eax, eax
je 0x42435a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x47d59c], edi
push edi
push ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [0x47d59c], eax
cmp eax, 0xffffffff
je 0x4243f3
lea ecx, [ebp - 0x12c]
push ecx
push eax
call sub.KERNEL32.dll_Process32First
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4243c8
test dl, dl
je 0x4243c4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4243c8
add eax, ebx
add ecx, ebx
test dl, dl
jne 0x424385
jmp 0x4243c4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4243c8
test dl, dl
je 0x4243c4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4243c8
add eax, ebx
add ecx, ebx
test dl, dl
jne 0x4243aa
mov eax, edi
jmp 0x4243cd
sbb eax, eax
or eax, 1
test eax, eax
je 0x424409
lea eax, [ebp - 0x12c]
push eax
push dword [0x47d59c]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4243a1
push dword [0x47d59c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [0x47d59c], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042dc3d
leave
ret
mov eax, dword [ebp - 0x124]
jmp 0x4243fb
Function at 0x424411
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, esi
push edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x424421
movzx eax, word [ebp + 0xc]
sub edx, ecx
xor ecx, ecx
cmp edx, 6
push 0x14
cmovae ecx, eax
and dword [ebp - 4], 0
movzx eax, cx
push 0x32
mov dword [ebp - 8], eax
call fcn.0040bfc5
mov edi, dword [ebp + 8]
push 0
push edi
call fcn.00424316
add esp, 0x10
mov ebx, eax
jmp 0x424536
cmp word [ebp - 8], 0
jle 0x42447d
push edi
push 0x457ed8
push 0
push 0x7d00
push 1
push esi
call fcn.0040d35e
add esp, 0x18
push ebx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4244b5
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
movsx eax, cx
push eax
imul eax, eax, 0xa
push eax
call fcn.0040bfc5
pop ecx
pop ecx
jmp 0x42451d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
je 0x4244f1
push edi
push str.engine_still_in_RAM_based_on_name___killing_process
push 0
push 0x7d00
push 1
push esi
call fcn.0040d35e
push ebx
push str.Error_number
push 0
push 0x7d00
push 1
push esi
call fcn.0040d8df
add esp, 0x30
jmp 0x42451d
mov eax, dword [ebp - 8]
test ax, ax
je 0x424514
push edi
push str.engine_still_in_RAM_based_on_name___is_from_a_different_session_id___do_not_kill
push 0
push 0x7d00
push 1
push esi
call fcn.0040d35e
mov eax, dword [ebp - 8]
add esp, 0x18
mov ecx, dword [ebp - 4]
cmp cx, 0x13
jg 0x424548
push 1
push edi
call fcn.00424316
mov ebx, eax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
pop ecx
pop ecx
cmp ax, 0x1d
jg 0x424540
test ebx, ebx
jne 0x42445e
jmp 0x424565
push edi
push str.engine_still_in_RAM_based_on_name___tried_30_times_to_kill_process___giving_up
jmp 0x424553
test ax, ax
je 0x424565
push edi
push str.engine_still_in_RAM_based_on_name___is_from_a_different_session_id___after_20_runs_its_likely_all_extra_copies_are_from_a_different_session___giving_up
push 0
push 0x7d00
push 1
push esi
call fcn.0040d35e
add esp, 0x18
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x42456c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
inc edi
push 0xa
push 0x64
call fcn.0040bfc5
pop ecx
pop ecx
push dword [ebp + 8]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x424634
push dword [ebp + 8]
push str.engine_still_in_RAM___performing_strong_terminate_process_3
push 0
push 0x7d00
push 1
push dword [ebp + 0xc]
call fcn.0040d35e
add esp, 0x18
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test ax, ax
je 0x424634
push dword [ebp + 8]
push str.start_terminate_Level_3
push 0
push 0x7d00
push 1
push dword [ebp + 0xc]
call fcn.0040d35e
add esp, 0x18
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x424634
push 0x63
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
push str.end_terminate_Level_3
push 0
push 0x7d00
push 1
push dword [ebp + 0xc]
call fcn.0040d35e
movsx eax, di
add esp, 0x18
imul eax, eax, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
inc edi
pop eax
cmp di, ax
jg 0x424645
jmp 0x424637
push 3
pop eax
inc edi
cmp di, ax
jg 0x424645
test esi, esi
jne 0x424575
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x42e857
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42e896
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42e896
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42e896
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42e896
cmp dword [ecx + 0x74], 0xe
jbe 0x42e896
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44372f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004435a5

Function at 0x44c4f9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c176

Function at 0x451d30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x451d5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x451d5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4089bd
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x52a258
call fcn.00489263
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov dword [ebp - 0x38], edi
je 0x408ad4
cmp byte [edi + 0x41], bl
je 0x408ad4
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4089f5
xor al, al
jmp 0x408ad6
push ebx
push 8
pop esi
lea eax, [ebp - 0x30]
call fcn.00408590
mov dword [ebp - 4], ebx
lea eax, [edi + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add ebx, esi
push ebx
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x408a6c
dec eax
je 0x408a70
dec eax
dec eax
je 0x408ad0
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040436b
mov al, bl
jmp 0x408ad6
mov byte [edi + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
mov ebx, dword [ebp - 0x34]
sub ebx, eax
je 0x408aae
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
push dword [edi + 0x4c]
push ebx
push 1
push eax
call fcn.0048b431
add esp, 0x10
cmp ebx, eax
jne 0x408a56
cmp byte [edi + 0x41], 0
je 0x408ad0
test ebx, ebx
jne 0x408a0a
push ebx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.004085b2
mov edi, dword [ebp - 0x38]
jmp 0x408a0a
mov bl, 1
jmp 0x408a58
mov al, 1
call fcn.004892e6
ret

Function at 0x415df9
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x5a1614]
mov dword [edi + 0x30], eax
mov eax, dword [0x592e3c]
mov dword [edi + 0x34], eax
mov eax, dword [0x592e40]
mov dword [edi + 0x44], eax
mov eax, dword [0x592e44]
xor ebx, ebx
mov dword [edi + 0x38], eax
cmp dword [0x5a1574], ebx
je 0x415e2e
or dword [edi + 0x3c], 0xffffffff
jmp 0x415e59
push ebx
push ebx
push edi
push 0x415ec1
push ebx
push ebx
call fcn.0048a119
add esp, 0x18
push 1
lea esi, [edi + 0x124]
push eax
mov dword [esi], eax
call dword [0x53f210]
push dword [esi]
call dword [0x53f1b4]
cmp dword [edi + 0x3c], ebx
jg 0x415e64
push ebx
call fcn.00415e92
mov eax, dword [0x5a1618]
mov dword [edi + 0x11c], eax
mov eax, dword [0x592e48]
mov dword [edi + 0x120], eax
push ebx
mov eax, edi
call fcn.004153ee
mov esi, edi
call fcn.004158b3
call fcn.004156bf
pop edi
pop esi
pop ebx
ret
Function at 0x449804
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x5287f8
call fcn.00489263
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov dword [ebp - 0x38], edi
je 0x449922
cmp byte [edi + 0x42], bl
je 0x449922
mov eax, dword [edi]
mov esi, 0xffff
push esi
call dword [eax + 4]
movzx eax, ax
cmp ax, si
jne 0x449843
xor al, al
jmp 0x449924
push ebx
push 8
pop esi
lea eax, [ebp - 0x30]
call fcn.00408590
mov dword [ebp - 4], ebx
lea eax, [edi + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add ebx, esi
push ebx
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x4498ba
dec eax
je 0x4498be
dec eax
dec eax
je 0x44991e
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0040436b
mov al, bl
jmp 0x449924
mov byte [edi + 0x42], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
mov ebx, dword [ebp - 0x34]
sub ebx, eax
je 0x4498fc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.004086a8
mov esi, eax
call fcn.00408e52
push dword [edi + 0x4c]
push ebx
push 1
push eax
call fcn.0048b431
add esp, 0x10
cmp ebx, eax
jne 0x4498a4
cmp byte [edi + 0x42], 0
je 0x44991e
test ebx, ebx
jne 0x449858
push ebx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.004085b2
mov edi, dword [ebp - 0x38]
jmp 0x449858
mov bl, 1
jmp 0x4498a6
mov al, 1
call fcn.004892e6
ret
Function at 0x46f544
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52a952
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5913d0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x5913d0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
call fcn.00417c21
xor esi, esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x88], 1
push esi
push esi
push 0x1200
push dword [ebx + 4]
call dword [0x53f688]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
call dword [0x53f6bc]
push dword [esp + 0x2c]
call dword [0x53f114]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x28]
cmp eax, esi
je 0x46f5ea
lea ecx, [esp + 0x1c]
push ecx
push eax
mov esi, ecx
lea edi, [esp + 0x34]
call fcn.004692a5
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
call fcn.0046f8a1
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0046f73e
lea ecx, [esp + 0x2c]
call fcn.0046f68e
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push 0xcc0020
xor ebx, ebx
push ebx
push ebx
push dword [esp + 0x20]
push eax
push ecx
push ebx
push ebx
push dword [esp + 0x4c]
call dword [0x53f12c]
mov byte [esp + 0x88], bl
cmp dword [esp + 0x14], ebx
je 0x46f653
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x18], ebx
call dword [0x53f0dc]
or dword [esp + 0x88], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.00417c72
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004891eb
mov esp, ebp
pop ebp
ret

Function at 0x472c0e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51fc22
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5913d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push dword [esi + 4]
lea eax, [esp + 0x10]
push eax
call fcn.0042beee
and dword [esp + 0x30], 0
and dword [esp + 8], 0
mov byte [esp + 0x30], 1
lea ecx, [esp + 0xc]
mov edx, esi
call fcn.00472d22
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call dword [0x53f6bc]
cmp dword [esi + 0x38], 0
lea eax, [esp + 0x14]
je 0x472c84
push eax
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00472ccf
jmp 0x472c8e
push esi
lea ecx, [esp + 0x10]
call fcn.00472caf
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.0042bf21
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x48a2ee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x48a32b
cmp dword [ebp + 0x14], edi
je 0x48a32b
cmp ecx, edi
jne 0x48a332
call fcn.00497a72
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00489e20
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x48a346
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x48a367
cmp ebx, 0xffffffff
je 0x48a356
push ebx
push edi
push ecx
call fcn.00489310
add esp, 0xc
cmp esi, edi
je 0x48a313
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x48a313
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x48a383
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x48a38a
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x48a47b
test word [esi + 0xc], 0x10c
je 0x48a3de
mov eax, dword [esi + 4]
test eax, eax
je 0x48a3de
jl 0x48a4dc
cmp ebx, eax
mov edi, ebx
jb 0x48a3af
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x48a483
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00488c11
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x48a473
cmp ebx, dword [ebp - 0xc]
jb 0x48a44b
cmp dword [ebp - 0xc], 0
je 0x48a408
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x48a3fd
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x48a404
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x48a413
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x48a413
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x48a4af
push eax
push dword [ebp - 8]
push esi
call fcn.0049d339
pop ecx
push eax
call fcn.0049d23c
add esp, 0xc
test eax, eax
je 0x48a4ee
cmp eax, 0xffffffff
je 0x48a4dc
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x48a473
push esi
call fcn.0049cb5b
cmp eax, 0xffffffff
pop ecx
je 0x48a4e0
cmp dword [ebp - 4], 0
je 0x48a4af
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x48a392
mov eax, dword [ebp + 0x14]
jmp 0x48a32d
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x48a49a
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00489310
add esp, 0xc
call fcn.00497a72
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x48a323
cmp dword [ebp + 0xc], 0xffffffff
je 0x48a4c5
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00489310
add esp, 0xc
call fcn.00497a72
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x48a323
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x48a32d
or dword [esi + 0xc], 0x10
jmp 0x48a4e0
Function at 0x4b7080
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xc3d2e1f0
mov esp, ebp
pop ebp
ret

Function at 0x4be5af
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d905
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5913d0]
xor eax, esp
mov dword [esp + 0x80], eax
push esi
mov eax, dword [0x5913d0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
push dword [edi + 4]
lea eax, [esp + 0x40]
push eax
call fcn.00417c21
and dword [esp + 0x98], 0
push dword [edi + 4]
lea eax, [esp + 0x30]
push eax
call fcn.00466290
pop ecx
pop ecx
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
call fcn.004732ec
mov byte [esp + 0x98], 1
lea eax, [esp + 0x10]
lea esi, [esp + 0x2c]
call fcn.00473951
mov byte [esp + 0x98], 2
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.004be4d0
lea eax, [esp + 0x10]
push eax
mov eax, edi
call fcn.004be37e
push edi
lea esi, [esp + 0x14]
call fcn.004be54e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x2c]
call fcn.0047398d
mov byte [esp + 0x98], 0
lea eax, [esp + 0xc]
push eax
call fcn.00473355
or dword [esp + 0x98], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.00417c72
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004891eb
mov esp, ebp
pop ebp
ret
Function at 0x4c2001
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x514133
call fcn.004891fa
mov esi, ecx
mov edi, edx
mov eax, dword [ebp + 0x10]
mov ebx, dword [0x53f7ac]
shl eax, 2
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 6
push dword [esi]
call ebx
push 4
lea eax, [ebp - 0x10]
push eax
push 0x41
push dword [esi]
call ebx
mov eax, dword [esi]
push dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004051eb
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
cmp dword [edi + 0x40], ebx
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
jne 0x4c208e
cmp dword [edi + 0x4c], ebx
je 0x4c2087
push 0x4c15e2
jmp 0x4c2093
push 0x4c1771
jmp 0x4c2093
push 0x4c1ca3
push ebx
push ebx
call fcn.0048a119
mov edi, dword [0x53f1c8]
add esp, 0x18
push dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push eax
call edi
cmp eax, 0x102
jne 0x4c20c4
push dword [esi]
call dword [0x53f7c4]
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov dword [esi], ebx
call edi
push dword [ebp + 0xc]
call dword [0x53f1b4]
mov esi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.00462f1f
mov eax, esi
call fcn.004892d2
ret 0xc

Function at 0x4c3bbe
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x51aa1b
call fcn.004891fa
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x4c3b80
push ebx
push ebx
call fcn.0048a119
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
add esp, 0x18
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], bl
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.004229df
call fcn.004892d2
ret 4