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

Disassembly:
push 0xffffffffffffffff
push 0x689ea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x24]
push ebx
push esi
mov dword [esp + 0xc], 0
test dword [eax + 0x17b], 0x40000
je 0x49053b
xor ecx, ecx
mov cl, byte [eax + 0x1c3]
mov esi, ecx
cmp esi, 1
jbe 0x49053b
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push 0x1118
lea ecx, [esp + 0x30]
push 0x7a3800
push ecx
push 0x2286
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
call fcn.0059cec2
add esp, 0x10
lea edx, [esp + 0x24]
mov ebx, eax
push 0x1118
push 0x7a3800
push edx
push 0x16f2
call fcn.0059cec2
add esp, 0x10
xor ebx, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push 0x111a
push 0x7a3800
push eax
push esi
call fcn.0059cec2
shl esi, 0xc
add esp, 0x10
mov dword [esp + 8], esi
shl eax, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.00490558
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x14
ret 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
pop esi
pop ebx
mov dword [eax], 0
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x497c64
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68a0ff
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
push edi
mov dword [esi], ebx
lea edi, [esi + 0x28]
mov ebp, 0x16
mov ecx, edi
call fcn.005b586e
add edi, 0x98
dec ebp
jne 0x497c8c
lea edi, [esi + 0xd38]
mov dword [esp + 0x10], edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
lea ecx, [edi + 0x30]
mov dword [esp + 0x1c], 1
call fcn.00452993
lea ecx, [edi + 0x3c]
call fcn.00452993
lea ecx, [edi + 0x4c]
call fcn.0045d2af
lea ecx, [edi + 0x5e]
mov byte [esp + 0x1c], 2
call fcn.00452993
lea ecx, [edi + 0x6a]
call fcn.0045d2af
lea ecx, [edi + 0x7e]
call fcn.00452993
lea ecx, [edi + 0x8e]
call fcn.0045d2af
lea ecx, [edi + 0xb6]
mov byte [esp + 0x1c], 3
call fcn.00452993
lea ecx, [edi + 0xcc]
call fcn.00452993
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xe52], ebx
mov dword [esi + 0xe56], ebx
mov dword [esi + 0xe5a], ebx
mov dword [esi + 0xe5e], ebx
mov dword [esi + 0xe62], ebx
mov dword [esi + 0xe66], ebx
mov dword [esi + 0xe6a], ebx
mov dword [esi + 0xe6e], ebx
mov dword [esi + 0xe72], ebx
mov dword [esi + 0xe76], ebx
mov dword [esi + 0xe7a], ebx
mov dword [esi + 0xe7e], ebx
mov dword [esi + 0xe82], ebx
mov dword [esi + 0xe86], ebx
mov dword [esi + 0xe8a], ebx
mov dword [esi + 0xe8e], ebx
mov dword [esi + 0xe92], ebx
mov dword [esi + 0xe96], ebx
mov dword [esi + 0xe9a], ebx
mov dword [esi + 0xe9e], ebx
mov dword [esi + 0xea2], ebx
mov dword [esi + 0xea6], ebx
mov dword [esi + 0xeaa], ebx
mov dword [esi + 0xeae], ebx
mov dword [esi + 0xeb2], ebx
mov dword [esi + 0xeb6], ebx
mov dword [esi + 0xeba], ebx
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
Function at 0x4a07ce
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x68a248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push edi
push ebx
call fcn.004a01cd
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x20]
imul ecx, edi
add ecx, ebx
mov word [edx + ecx*2], ax
mov eax, edi
and eax, 0xffff
mov ecx, ebx
shl eax, 0x10
and ecx, 0xffff
mov dword [esp + 0x10], 1
or eax, ecx
mov dword [esp + 0x18], 3
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x28], eax
call fcn.00560da7
push 1
push edi
push ebx
mov ecx, esi
call fcn.0049ea9c
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8

Function at 0x4a499a
Capabilities:
Decompress data using quicklz

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1d4]
lea ecx, [esp + 0xc]
push ecx
push 0x44
mov ecx, eax
call fcn.004a1c82
test eax, eax
je 0x4a4ab8
mov eax, dword [esp + 0xc]
push ebp
push ebx
push 0x13c
mov dx, word [eax + 4]
lea ecx, [eax + 0x1a]
mov word [edi + 0xb1], dx
mov bx, word [eax + 0xf4]
mov ebp, dword [ecx]
mov edx, esi
push 0x7a3e78
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
shr ebx, 2
mov dword [edx + 4], ebp
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [eax + 0x12d]
mov ecx, dword [edi + 8]
xor eax, eax
mov ax, word [edx + 0xf8]
mov edx, dword [ecx + 0x370]
xor ecx, ecx
shr eax, 1
mov cx, word [edx + 0x63a]
shr ecx, 1
add eax, ecx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
mov ecx, dword [edi + 0xc]
sar edx, 5
mov eax, edx
add ecx, 0x15a0
shr eax, 0x1f
add edx, eax
push ecx
push 0x200
mov ebp, edx
call fcn.0059cec2
movsx edx, bl
shl edx, 9
mov ebx, dword [esi + 4]
add esp, 0x10
lea eax, [eax + edx + 0x100]
mov edx, dword [esi]
and eax, 0x7ff
push 0x80
and eax, 0x7ff
push 0x92
shl eax, 2
push esi
mov ecx, dword [eax + 0x7cdc88]
imul ecx, ebp
sar ecx, 0x10
add edx, ecx
mov ecx, edi
mov dword [esi], edx
mov edx, dword [eax + 0x7cd488]
imul edx, ebp
sar edx, 0x10
add ebx, edx
mov dword [esi + 4], ebx
call fcn.004bf443
pop ebx
mov eax, 1
pop ebp
pop edi
pop esi
ret 4
push 0
push 0x91
mov ecx, edi
call fcn.004c46d4
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret 4
Function at 0x4bf1f4
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
push edi
xor ebp, ebp
mov ecx, dword [esi + 8]
call fcn.004ff6ad
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x4bf22b
mov eax, dword [esi + 8]
push ebx
push edi
push eax
lea ecx, [eax + 0x124]
call fcn.0051c3e3
test eax, eax
je 0x4bf22b
mov ebp, 1
test bl, 1
je 0x4bf2f4
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x370]
test byte [ecx + 0x686], 1
je 0x4bf26a
mov dx, word [eax + 0x28]
cmp dx, word [0x6d0b2c]
jne 0x4bf26a
mov ecx, esi
call fcn.004d30f3
test eax, eax
je 0x4bf26a
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov esi, dword [esi + 8]
mov bl, byte [esi + 0x417]
cmp bl, 0xff
je 0x4bf2f4
test byte [esi + 0x46f], 2
je 0x4bf2f4
mov al, byte [esi + 0x3e1]
test al, al
jbe 0x4bf2f4
mov eax, dword [esi + 0x2a]
xor ecx, ecx
mov cx, word [eax + 6]
mov esi, dword [ecx*4 + 0x6ccb20]
test esi, esi
je 0x4bf2f4
cmp byte [esi + 0x417], bl
jne 0x4bf2ce
test byte [esi + 0x46f], 4
je 0x4bf2ce
mov edx, dword [esi + 0x370]
test byte [edx + 0x686], 1
je 0x4bf2ce
lea ecx, [esi + 0x24e]
call fcn.004d30f3
test eax, eax
jne 0x4bf2e8
xor eax, eax
mov ax, word [esi + 0x10]
mov esi, dword [eax*4 + 0x6ccb20]
test esi, esi
jne 0x4bf29f
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 8
Function at 0x50ef8e
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68bb88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov edx, dword [esp + 0x30]
push esi
mov esi, ecx
push edx
mov ecx, dword [0x6c3634]
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0xc], esi
mov eax, dword [ecx]
call dword [eax + 0x1d8]
mov dx, word [esi + 4]
lea ecx, [esp + 8]
push ecx
push edx
push 4
mov ecx, eax
call fcn.004a1bb5
test eax, eax
je 0x50f163
mov esi, dword [esp + 8]
push edi
push ebp
push ebx
mov ebx, dword [esi + 0xf7]
lea eax, [esi + 0xf7]
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004f3dfa
mov edx, dword [ebx + 0xa9]
mov ecx, dword [0x739a48]
lea ebp, [esi + 0x1a]
mov di, ax
mov eax, dword [ecx]
push ebp
push 0xf4
push edx
mov edx, dword [esi + 0x2e]
and edi, 0xffff
push edx
call dword [eax + 0x20]
mov dword [esi + 0x2e], eax
mov eax, dword [esi + 0x109]
test eax, eax
je 0x50f070
mov al, byte [esi + 0xf6]
mov ecx, dword [esp + 0x10]
push eax
push 0
add ecx, 0x219
call fcn.00550fa2
test eax, eax
je 0x50f05c
mov edx, dword [esp + 0x10]
mov word [edx + 0x217], 0
mov ax, word [esi + 4]
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0xa21
call fcn.0054fdf8
mov edx, dword [esp + 0x10]
mov ecx, dword [0x6c3634]
push 0
push edi
mov ax, word [edx + 4]
push ebp
push eax
call fcn.0055987f
mov ecx, dword [esi + 0x1e]
mov edx, dword [ebp]
sar ecx, 0xc
sar edx, 0xc
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push edi
call fcn.00506117
test byte [ebx + 0x8b], 0x20
je 0x50f11d
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov eax, edi
mov ecx, ebx
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
xor edx, edx
mov dx, word [esi + 0x28]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0x11
mov ecx, dword [0x6c3634]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00560da7
mov ecx, dword [0x6c3634]
push 0
push edi
push ebx
add ecx, 0x9da
call fcn.0049f5bc
push 0
mov ecx, esi
call fcn.004f2d5e
mov dword [esp + 0x34], 0xffffffff
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x739a48]
push ebp
push 0xf5
mov eax, dword [eax]
mov edx, dword [ecx]
mov eax, dword [eax + 0xa9]
push eax
mov eax, dword [esi + 0x2e]
push eax
call dword [edx + 0x20]
pop ebx
mov dword [esi + 0x2e], eax
pop ebp
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 8
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 8
Function at 0x51db8c
Capabilities:
Encrypt data using curve25519

Disassembly:
push 0xffffffffffffffff
push 0x68bcf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push 0x45d0cd
push 0x51dd6c
push 0xc
lea eax, [esp + 0x1c]
xor ebx, ebx
push 0xa
push eax
mov dword [esp + 0x134], ebx
call fcn.006759d6
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
push 0x45d0cd
push 0x51dd6c
push 5
lea ecx, [esp + 0xc8]
push 8
push ecx
mov byte [esp + 0x134], 7
call fcn.006759d6
mov al, byte [esp + 0x116]
mov dword [esp + 0xe6], 0x10000
and al, 0xf8
mov dword [esp + 0xea], 0x50000
and al, 0xc7
mov dword [esp + 0x102], ebx
or al, 0x40
mov dword [esp + 0x106], ebx
and al, 0x7f
mov dword [esp + 0x10a], ebx
mov byte [esp + 0x116], al
mov al, byte [esp + 0x117]
and al, 0xfe
mov dword [esp + 0x10e], ebx
and al, 0xfd
mov word [esp + 0x112], bx
mov byte [esp + 0x114], bl
mov byte [esp + 0x115], bl
mov byte [esp + 0x117], al
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x12c]
mov cx, word [esp + 0x130]
mov dword [esp + 0x8c], edx
mov edx, dword [0x6cb9f0]
mov dword [esp + 0x90], eax
push edx
push 0x51db3a
lea eax, [esp + 0x10]
push 0x13333
push eax
mov byte [esp + 0x130], 8
mov byte [0x6cb95c], bl
mov word [esp + 0xf4], cx
call dword [0x6cb9e0]
mov cl, byte [0x6cb95c]
add esp, 0x10
mov byte [esp + 7], cl
push 0x45d0cd
push 5
lea edx, [esp + 0xc4]
push 8
push edx
mov byte [esp + 0x130], 0xf
call fcn.006758b6
push 0x45d0cd
push 0xc
lea eax, [esp + 0x18]
push 0xa
push eax
mov byte [esp + 0x130], bl
call fcn.006758b6
mov ecx, dword [esp + 0x118]
mov al, byte [esp + 7]
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret
Function at 0x52dfb3
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x19]
xor ebp, ebp
mov bl, byte [eax + 0x44f]
mov byte [esp + 0x10], bl
call fcn.005300f3
mov ax, word [eax + 0x36]
and eax, 0xffff
mov eax, dword [eax*4 + 0x6ccb20]
test eax, eax
je 0x52e004
mov cl, 0xb
cmp byte [eax + 0x18], cl
jne 0x52dff3
xor edx, edx
mov dx, word [eax + 0x4b]
add edi, edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [edx*4 + 0x6ccb20]
test eax, eax
jne 0x52dfe6
mov ecx, esi
call fcn.005300f3
mov ax, word [eax + 6]
and eax, 0xffff
mov eax, dword [eax*4 + 0x6ccb20]
test eax, eax
je 0x52e039
cmp byte [eax + 0x36f], bl
jne 0x52e028
inc ebp
xor ecx, ecx
mov cx, word [eax + 0x10]
mov eax, dword [ecx*4 + 0x6ccb20]
test eax, eax
jne 0x52e01f
cmp ebp, edi
jae 0x52e0da
test bl, bl
je 0x52e0da
mov eax, dword [esp + 0x18]
mov cx, word [esi + 0x1d]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [0x6cba64]
push ecx
push edx
lea ecx, [eax + 8]
call fcn.0050370f
test eax, eax
je 0x52e0da
lea eax, [esp + 0x10]
mov ecx, dword [0x6cba64]
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
lea edi, [eax + 0xf4]
push edi
lea edi, [eax + 0x1a]
mov ax, word [eax + 0x28]
push edi
push eax
push 0x144
call dword [edx + 0x38c]
mov ecx, dword [esp + 0x18]
push 1
call fcn.004d819c
mov ecx, dword [esp + 0x18]
push 0x7b
call fcn.004d819c
mov eax, dword [0x6cba64]
mov cx, word [esi + 0x1d]
push 1
push 0
push 0
push ecx
push 0x41
lea ecx, [eax + 0x2e54]
call fcn.0050feb3
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x5377bd
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 6]
mov eax, edx
and eax, 0xffff
push ebp
push esi
mov dword [esp + 0xc], ecx
mov esi, dword [eax*4 + 0x6ccb20]
mov ecx, dword [esp + 0x18]
and ecx, 0xffff
add ebx, 0x9da
mov ax, word [esi + 0xe]
push edi
mov edi, dword [ecx*4 + 0x6ccb20]
test ax, ax
je 0x537830
and eax, 0xffff
mov ecx, esi
mov ebp, dword [eax*4 + 0x6ccb20]
push ebp
call fcn.0053105c
mov eax, dword [esp + 0x10]
mov dx, word [ebp + 4]
push edx
mov ecx, dword [eax + 6]
add ecx, 8
call fcn.00503924
mov ax, word [esi + 0xe]
test ax, ax
jne 0x5377fb
mov edx, dword [esp + 0x18]
mov ax, word [edi + 0xe]
test ax, ax
je 0x53786e
and eax, 0xffff
mov ecx, edi
mov ebp, dword [eax*4 + 0x6ccb20]
push ebp
call fcn.0053105c
mov cx, word [ebp + 4]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + 6]
add ecx, 8
call fcn.00503924
mov ax, word [edi + 0xe]
test ax, ax
jne 0x537839
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, dword [ebx + 0x14]
mov al, byte [edi + 0x2d]
mov ebp, eax
xor eax, eax
mov al, byte [edi + 0x2e]
imul eax, dword [ebx + 0xc]
add eax, ebp
shl eax, 4
add eax, ecx
test word [eax + 2], 0xfff
je 0x5378c8
mov cx, word [eax + 2]
mov ebp, edx
xor ebp, ecx
and ebp, 0xfff
xor ebp, ecx
xor ecx, ecx
mov cl, byte [eax + 4]
mov word [eax + 2], bp
mov ebp, ecx
xor ecx, ecx
mov cl, byte [eax + 5]
mov eax, ecx
mov ecx, dword [ebx + 0x14]
imul eax, dword [ebx + 0xc]
add eax, ebp
shl eax, 4
add eax, ecx
test word [eax + 2], 0xfff
jne 0x537890
xor edx, edx
xor eax, eax
mov dl, byte [esi + 0x30]
mov al, byte [edi + 0x2e]
mov ebp, edx
xor edx, edx
imul ebp, dword [ebx + 0xc]
mov dl, byte [esi + 0x2f]
xor ecx, ecx
mov cl, byte [edi + 0x2d]
add ebp, edx
mov edx, dword [ebx + 0x14]
add edi, 0x35
shl ebp, 4
lea edx, [ebp + edx + 4]
mov byte [edx], cl
mov byte [edx + 1], al
mov al, byte [edi - 8]
mov byte [esi + 0x2f], al
mov cl, byte [edi - 7]
mov byte [esi + 0x30], cl
mov dl, byte [edi - 6]
mov byte [esi + 0x2f], dl
mov al, byte [edi - 5]
mov byte [esi + 0x30], al
mov cx, word [edi + 0x72]
mov dx, word [esi + 0x1d]
add word [esi + 0xa7], cx
push edx
push edi
mov ecx, esi
call fcn.00530101
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00537941
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
Function at 0x537f53
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
mov ecx, dword [esp + 0x14]
push edi
push ebx
push eax
push ecx
mov ecx, dword [esi + 6]
add ecx, 0x9da
call fcn.0049ee63
mov cl, byte [esp + 0x24]
xor edx, edx
test cl, cl
mov dword [esp + 0x20], edx
jne 0x537f98
test eax, eax
jne 0x53802c
pop edi
pop esi
pop ebp
pop ebx
ret 0x20
test eax, eax
jne 0x53802c
mov ecx, dword [esi + 0x16]
test ecx, ecx
je 0x537fde
xor ecx, ecx
mov cx, word [esi + 0xe]
mov ecx, dword [ecx*4 + 0x6ccb20]
test ecx, ecx
je 0x537fde
mov dx, word [esi + 0x1a]
cmp word [ecx + 4], dx
je 0x537fd9
xor ebp, ebp
mov bp, word [ecx + 0x21]
mov ecx, dword [ebp*4 + 0x6ccb20]
test ecx, ecx
jne 0x537fbc
mov edx, dword [esp + 0x20]
jmp 0x537fde
mov edx, 1
test eax, eax
jne 0x53802c
test edx, edx
jne 0x53802c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push edi
push ebx
push eax
push ecx
mov ecx, esi
call fcn.005371fe
test eax, eax
je 0x53805e
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
and edx, 0xffff
mov eax, dword [edx*4 + 0x6ccb20]
mov edx, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, 1
mov byte [edx], 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x20
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push edi
push ebx
push eax
push ecx
mov ecx, esi
call fcn.005372ae
test eax, eax
je 0x53805e
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x20
Function at 0x551a9c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x68c718
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp eax, ebx
mov dword [edi + 0x60], eax
jne 0x551af0
lea ecx, [edi + 0x8f]
mov dword [edi + 0x60], ebx
mov dword [edi + 0x70], ebx
call fcn.005001ba
mov dword [edi + 0x64], 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop ebx
add esp, 0x1c
ret 8
push esi
push ebp
mov dword [edi + 0x64], ebx
call fcn.005f9703
mov esi, dword [esp + 0x34]
mov ecx, eax
mov eax, 0x55f0
mov ebp, esi
cdq
and ebp, 0xffff
mov dword [edi + 0x68], ecx
idiv ebp
mov word [esp + 0x10], bx
mov word [esp + 0x12], bx
mov word [esp + 0x16], 0x16
mov word [esp + 0x14], si
mov byte [esp + 0x1a], 6
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
mov dword [esp + 0x1b], ebx
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x74]
mov edx, dword [edi + ecx*4 + 4]
mov ecx, eax
mov dword [eax + 0xf], edx
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov dx, word [esp + 0x1c]
mov word [ecx + 0xc], dx
mov dl, byte [esp + 0x1e]
mov byte [ecx + 0xe], dl
mov dl, byte [eax + 0xa]
mov esi, dword [eax + 0xb]
xor ecx, ecx
cmp dl, bl
setne cl
or esi, ecx
mov ecx, 0x1000
mov dword [eax + 0xb], esi
mov dword [esp + 0x30], ecx
push 1
lea esi, [edi + 0x8f]
push ebx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.004ff89c
mov al, 0xff
mov ecx, dword [esp + 0x20]
mov byte [esi + 0x48], al
mov byte [esi + 0x49], al
mov byte [esi + 0x4a], al
mov byte [edi + 0xda], al
mov al, byte [esi + 0xad]
pop ebp
or al, 8
mov byte [esi + 0xad], al
mov dl, byte [esi + 0x4e]
or dl, 0x80
mov byte [esi + 0x4e], dl
mov eax, dword [0x7354cc]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, 0xcccccccd
shl edx, 3
mul edx
shr edx, 9
mov dword [esi + 4], edx
mov dword [esi + 8], edx
pop esi
pop edi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x56bd63
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x68cb78
push eax
mov dword fs:[0], esp
sub esp, 0x14
xor eax, eax
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebp, ecx
mov ecx, esi
push edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x10], al
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
inc eax
mov dword [esi + 1], eax
mov ecx, dword [ebp + 4]
mov edi, dword [ecx + 0x14]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x30]
mov byte [esi + 0xd], 1
mov dword [esi + 5], eax
mov ecx, dword [0x7398e8]
xor eax, eax
cmp ecx, eax
je 0x56bde0
mov ecx, dword [0x739758]
cmp ecx, 1
je 0x56bdd0
cmp ecx, 2
jne 0x56bde0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov dword [esi + 9], eax
mov byte [esi + 0xe], 1
xor eax, eax
mov cl, byte [esi]
mov byte [esi + 0xf], 0
cmp cl, 0x10
je 0x56be23
add ebp, 0x14
or edi, 0xffffffff
jmp 0x56bdf5
xor eax, eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], eax
push ecx
mov ecx, ebp
call fcn.0056ea35
test eax, eax
je 0x56be23
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0056fd75
mov al, byte [esi]
mov dword [esp + 0x28], edi
cmp al, 0x10
jne 0x56bdf3
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret 4

Function at 0x56bf6b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x68cbe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0056b1db
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x1c], edi
call fcn.005faca7
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 1
call fcn.0056e97a
lea ecx, [esi + 0x264]
mov byte [esp + 0x1c], 2
call fcn.005a078b
push 0x56b59d
push 0x56c03e
lea ebx, [esi + 0x8274]
push 0x60
push 0x131
push ebx
mov byte [esp + 0x30], 3
mov dword [esp + 0x24], ebx
call fcn.006759d6
push 2
mov ecx, ebx
mov byte [esp + 0x20], 4
call fcn.0056b3a3
lea ecx, [esi + 0xf4dc]
mov byte [esp + 0x1c], 5
call fcn.0056b634
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xf728], edi
mov dword [esi + 0xf72c], edi
mov dword [esi + 0xf730], edi
mov dword [esi + 0xf738], edi
mov dword [esi + 0xf734], edi
mov dword [esi + 0xfdec], edi
mov dword [esi], 0x7db820
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x56dd55
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x68cce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, ecx
mov ecx, esi
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x10], al
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
inc eax
mov dword [esi + 1], eax
mov ecx, dword [edi + 4]
mov ebp, dword [ecx + 0x14]
mov ecx, ebp
mov edx, dword [ebp]
call dword [edx + 0x30]
mov byte [esi + 0xd], 1
mov dword [esi + 5], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x34]
xor ebx, ebx
lea ecx, [edi + 0x14]
mov byte [esi + 0xe], 1
mov dword [esi + 9], eax
mov byte [esi + 0xf], bl
mov eax, dword [edi + 0xfdfe]
push ebx
push ecx
lea ecx, [esp + 0x18]
mov byte [esi + 0x10], al
call fcn.005facc8
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call fcn.005face8
test eax, eax
jne 0x56ddfb
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005face3
xor eax, eax
jmp 0x56de60
cmp byte [esi], 0x10
je 0x56de41
lea ebp, [edi + 0x18]
mov dword [esp + 0x28], ebx
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
mov byte [esp + 0x3c], 1
call fcn.0056ea35
test eax, eax
je 0x56de3d
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0056fd75
mov ecx, dword [esi + 1]
mov byte [esp + 0x38], bl
mov dword [edi + 0xf73c], ecx
mov al, byte [esi]
cmp al, 0x10
jne 0x56de03
jmp 0x56de41
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x10]
call fcn.005fad11
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005face3
mov eax, 1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4