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

Disassembly:
push 0xffffffffffffffff
push 0x6c4dc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x10], edi
mov dword [edi + 0x28], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x50], ebx
lea esi, [edi + 0x70]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 2
mov ecx, esi
mov byte [esp + 0x20], 3
mov byte [edi + 0x80], bl
call fcn.0047efd0
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0xc], 0x732158
jne 0x4b744a
xor edx, edx
jmp 0x4b7452
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebx
je 0x4b7473
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x4b7473
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b7485
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov edx, dword [esi + 4]
cmp edx, ebx
mov dword [esp + 0xc], 0x7308ac
jne 0x4b7498
xor ecx, ecx
jmp 0x4b74a0
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x4b74c1
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4b74c1
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b74d3
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], 3
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4b74f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c4dc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x10], edi
mov dword [edi + 0x28], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x50], ebx
lea esi, [edi + 0x70]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 1
mov ecx, esi
mov byte [esp + 0x20], 3
mov byte [edi + 0x80], bl
call fcn.0047efd0
mov ecx, dword [esi + 4]
cmp ecx, ebx
mov dword [esp + 0xc], 0x7308ac
jne 0x4b755a
xor edx, edx
jmp 0x4b7562
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
cmp ecx, ebx
je 0x4b7583
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x4b7583
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b7595
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], 2
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4b75c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c4dc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x10], edi
mov dword [edi + 0x28], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x50], ebx
lea esi, [edi + 0x70]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 3
mov ecx, esi
mov byte [esp + 0x20], 3
mov byte [edi + 0x80], bl
call fcn.0047efd0
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0xc], 0x732158
jne 0x4b762a
xor edx, edx
jmp 0x4b7632
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebx
je 0x4b7653
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x4b7653
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b7665
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov edx, dword [esi + 4]
cmp edx, ebx
mov dword [esp + 0xc], 0x7308ac
jne 0x4b7678
xor ecx, ecx
jmp 0x4b7680
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x4b76a1
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4b76a1
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b76b3
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov edx, dword [esi + 4]
cmp edx, ebx
mov dword [esp + 0xc], 0x7308ac
jne 0x4b76c6
xor ecx, ecx
jmp 0x4b76ce
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x4b76ef
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4b76ef
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b7701
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], 4
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4b7720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c4dc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x10], edi
mov dword [edi + 0x28], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x50], ebx
lea esi, [edi + 0x70]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 2
mov ecx, esi
mov byte [esp + 0x20], 3
mov byte [edi + 0x80], bl
call fcn.0047efd0
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0xc], 0x7308ac
jne 0x4b778a
xor edx, edx
jmp 0x4b7792
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebx
je 0x4b77b3
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x4b77b3
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b77c5
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov edx, dword [esi + 4]
cmp edx, ebx
mov dword [esp + 0xc], 0x732158
jne 0x4b77d8
xor ecx, ecx
jmp 0x4b77e0
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x4b7801
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4b7801
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b7813
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], 3
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4b7830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c4dc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x10], edi
mov dword [edi + 0x28], 0xffffffff
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x50], ebx
lea esi, [edi + 0x70]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 2
mov ecx, esi
mov byte [esp + 0x20], 3
mov byte [edi + 0x80], bl
call fcn.0047efd0
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0xc], 0x732158
jne 0x4b789a
xor edx, edx
jmp 0x4b78a2
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebx
je 0x4b78c3
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x4b78c3
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b78d5
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov edx, dword [esi + 4]
cmp edx, ebx
mov dword [esp + 0xc], 0x732158
jne 0x4b78e8
xor ecx, ecx
jmp 0x4b78f0
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x4b7911
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4b7911
mov eax, dword [esi + 8]
mov dword [eax], vtable.type_info.0
add eax, 4
mov dword [esi + 8], eax
jmp 0x4b7923
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push 1
push eax
mov ecx, esi
call fcn.00487c00
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], 3
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4cd780
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c534b
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x440]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x20]
push ebx
push edi
push eax
call fcn.0051fc70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4cd7c7
mov ecx, esi
call fcn.00527800
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
push 0x324
call fcn.0062e875
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4cd7ef
mov ecx, eax
call fcn.00526880
mov esi, eax
jmp 0x4cd7f1
xor esi, esi
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [eax + 0x28], 0xd
mov dword [eax + 0x2c], 0
mov word [eax + 0x30], di
mov word [eax + 0x32], bx
call fcn.00534cd0
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
mov ecx, esi
mov dword [esi + 0x318], eax
call fcn.00527c50
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4e7046
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c58a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esi + 8], eax
mov dword [esp + 4], esi
mov dword [esi + 0x28], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x50], eax
lea ecx, [esi + 0x70]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push eax
mov byte [esp + 0x14], 3
mov byte [esi + 0x80], al
call fcn.0047efd0
mov ecx, dword [esp + 8]
mov dword [esi + 0x28], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4ebe50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
push edi
mov edi, ecx
mov ecx, dword [edi + 0x44c]
xor ebx, ebx
cmp ecx, ebx
je 0x4ebfea
push esi
call fcn.0060c880
xor esi, esi
mov dword [esp + 0xc], esi
call fcn.00554d50
mov ecx, eax
call fcn.00553510
test eax, eax
jle 0x4ebfe9
push 0x20
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.0062f6b0
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
push esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], bl
mov dword [esp + 0x7d], ebx
call fcn.00554d50
mov ecx, eax
call fcn.00553b10
test al, al
je 0x4ebfcc
mov ecx, dword [edi + 0x44c]
push 0xffffffffffffffff
push ebx
push 0x6d1416
call fcn.0060cc00
mov ecx, dword [edi + 0x44c]
mov edx, dword [ecx]
call dword [edx + 0x6c]
mov esi, eax
xor eax, eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x29], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x2d], eax
push 0x6e101c
push edx
dec esi
mov byte [esp + 0x1c], bl
mov byte [esp + 0x39], al
call fcn.0062f64e
mov ecx, dword [edi + 0x44c]
add esp, 0xc
push ebx
push 0x82
lea eax, [esp + 0x18]
push eax
push ebx
push esi
call fcn.00452520
mov edx, dword [esp + 0x70]
xor ecx, ecx
mov dword [esp + 0x31], ecx
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x41], ecx
push edx
mov dword [esp + 0x49], ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x4d], ecx
push 0x6d3010
push eax
mov byte [esp + 0x3c], bl
mov byte [esp + 0x59], cl
call fcn.0062f64e
add esp, 0xc
push ebx
push 0x5f
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [edi + 0x44c]
push 1
push esi
call fcn.00452520
mov ecx, dword [edi + 0x44c]
push ebx
push 0x5f
push 0x6e1010
push 2
push esi
call fcn.00452520
mov ecx, dword [edi + 0x44c]
push 2
push esi
call fcn.0060c900
cmp eax, ebx
je 0x4ebfcc
mov dword [eax + 0x100], 0xff00ff00
mov eax, dword [eax + 0x114]
cmp eax, ebx
je 0x4ebfcc
mov dword [eax + 0x100], 0xffffffff
mov esi, dword [esp + 0xc]
inc esi
mov dword [esp + 0xc], esi
call fcn.00554d50
mov ecx, eax
call fcn.00553510
cmp esi, eax
jl 0x4ebe87
pop esi
pop edi
pop ebx
add esp, 0x70
ret
Function at 0x4fda30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c5cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x34]
push esi
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.0062f7d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0xc]
call fcn.00404c50
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004fdb80
cmp dword [esp + 0x1c], 0x10
jb 0x4fdaa7
mov edx, dword [esp + 8]
push edx
call fcn.00630114
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x30]
cmp eax, ecx
pop esi
jne 0x4fdac4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x1c]
add eax, 0x28
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4ff410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c5cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x34]
push esi
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.0062f7d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0xc]
call fcn.00404c50
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004fdbf0
cmp dword [esp + 0x1c], 0x10
jb 0x4ff487
mov edx, dword [esp + 8]
push edx
call fcn.00630114
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x30]
cmp eax, ecx
pop esi
jne 0x4ff4a4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x1c]
add eax, 0x28
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4ff4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c5cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x34]
push esi
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.0062f7d0
add esp, 4
push eax
push esi
lea ecx, [esp + 0xc]
call fcn.00404c50
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.004fdb10
cmp dword [esp + 0x1c], 0x10
jb 0x4ff537
mov edx, dword [esp + 8]
push edx
call fcn.00630114
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x30]
cmp eax, ecx
pop esi
jne 0x4ff554
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x1c]
add eax, 0x28
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x51c378
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x6c6586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x10], esi
call fcn.005956c0
mov dword [edi + 4], eax
mov bl, 1
mov byte [eax + 0x11], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0x1c], ebp
call fcn.005956c0
mov dword [edi + 4], eax
mov byte [eax + 0x11], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
pop edi
mov dword [esi], ebp
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], bl
mov dword [esi + 4], 0x3e800000
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x51c8d0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + 0x18]
test esi, esi
jne 0x51c8e2
pop esi
xor eax, eax
pop ebx
ret
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x51c8dd
cmp word [esi], 0x5a4d
jne 0x51c8dd
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi]
add eax, esi
cmp ecx, 0x4550
jne 0x51c8dd
push edi
mov edi, dword [eax + 0x80]
add edi, esi
cmp edi, eax
jne 0x51c919
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [edi + 0xc]
test eax, eax
je 0x51c958
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, dword [ebx + 0x18]
add esi, eax
mov eax, dword [ebx + 4]
push eax
push esi
call ebp
test eax, eax
je 0x51c957
mov ecx, dword [ebx + 8]
push ecx
push esi
call ebp
test eax, eax
je 0x51c957
mov edx, dword [ebx + 0xc]
push edx
push esi
call ebp
test eax, eax
je 0x51c957
mov eax, dword [edi + 0x20]
add edi, 0x14
test eax, eax
jne 0x51c927
pop ebp
mov ecx, dword [edi + 0xc]
pop edi
xor eax, eax
test ecx, ecx
pop esi
setne al
pop ebx
ret
Function at 0x51c970
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov ecx, 0x88
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], 0x224
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x51c9ac
mov eax, dword [esi + 8]
test eax, eax
jne 0x51c9ac
mov eax, dword [esi + 0xc]
test eax, eax
je 0x51ca01
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x51ca26
push 0x1c
lea eax, [esp + 0x10]
push eax
push fcn.0051c8d0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [esp + 0x10]
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x28]
mov ebx, eax
push ecx
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x51c9fa
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x51ca0a
lea edx, [esp + 0x28]
push edx
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x51c9e3
mov dword [esi + 0x18], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov dword [esi + 0x18], eax
call fcn.0051c8d0
add esp, 4
test eax, eax
je 0x51c9fa
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.0051c8d0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53ddf0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x204
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x124]
test eax, eax
push edi
je 0x53de43
mov eax, dword [esi + 0x120]
xor edi, edi
test eax, eax
jle 0x53de43
mov eax, dword [esi + 0x124]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x53de38
mov ecx, dword [0x750818]
push eax
call fcn.005b2b60
mov ecx, dword [esi + 0x124]
mov dword [ecx + edi*4], 0
mov eax, dword [esi + 0x120]
inc edi
cmp edi, eax
jl 0x53de12
mov edx, dword [esi + 0x120]
shl edx, 2
push edx
call fcn.0062e919
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x120]
add esp, 4
xor edi, edi
test eax, eax
jle 0x53df42
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esi + 0x124]
push 0
push 0x1a
push 0x40
mov dword [eax + edi*4], 0
mov ecx, dword [0x750818]
push 0x40
call fcn.005b2990
mov ecx, dword [esi + 0x124]
mov dword [ecx + edi*4], eax
mov edx, dword [esi + 0x124]
mov ecx, dword [edx + edi*4]
test ecx, ecx
lea eax, [edx + edi*4]
je 0x53df4f
mov eax, ecx
mov edx, dword [eax]
call dword [edx + 4]
test al, al
je 0x53df4f
lea eax, [esp + 0x110]
push eax
push 0x104
call ebp
mov ecx, dword [esi + 0x30]
add ecx, edi
mov edx, dword [ecx*4 + 0x73c448]
push edx
lea eax, [esp + 0x14]
push 0x6e738c
push eax
call fcn.0062f64e
lea ecx, [esp + 0x1c]
push ecx
call fcn.0057da20
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x53df15
mov edx, dword [esi + 0x124]
mov ecx, dword [edx + edi*4]
push 0
push ebx
call fcn.005b36c0
push ebx
call fcn.0057acc0
add esp, 4
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esi + 0x124]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0x14]
test eax, eax
je 0x53df4f
mov eax, dword [esi + 0x120]
inc edi
cmp edi, eax
jl 0x53de71
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x204
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x204
ret

Function at 0x543550
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c6f98
push eax
mov dword fs:[0], esp
push esi
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
jae 0x54357d
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x54]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, esi
call fcn.00601520
cmp dword [esp + 0x30], 0x10
jb 0x5435b7
mov eax, dword [esp + 0x1c]
push eax
call fcn.00630114
add esp, 4
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x28
Function at 0x54b880
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6c73f9
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
call fcn.005499d0
xor ebp, ebp
mov dword [esi + 4], eax
mov dword [esi + 8], ebp
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], ebp
call fcn.0054abe0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.0054ac50
lea edi, [esi + 0x58]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.004fcc30
mov dword [edi + 4], eax
mov byte [eax + 0x31], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x64]
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.005499b0
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x54b897
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6c73f9
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
call fcn.005499d0
xor ebp, ebp
mov dword [esi + 4], eax
mov dword [esi + 8], ebp
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], ebp
call fcn.0054abe0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.0054ac50
lea edi, [esi + 0x58]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.004fcc30
mov dword [edi + 4], eax
mov byte [eax + 0x31], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x64]
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.005499b0
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret