joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bec2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100123ff
call fcn.100110a9
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x1000bf70
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.10008d7e
add esp, 0xc
test eax, eax
js 0x1000bf70
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x1000bf56
push edi
call fcn.10001a54
pop ecx
test al, al
je 0x1000bf56
mov eax, edi
call fcn.10010fd0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000bf62
push edi
lea ecx, [ebp - 0x428]
call fcn.10008d7e
push 3
push edi
push esi
push eax
call fcn.10008d7e
cmp eax, ebx
jne 0x1000bfad
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000bf89
lea ecx, [ebp - 0x418]
call fcn.1000a9be
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10001519
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.10011105
ret 0x10
push 2
push ebx
push eax
call fcn.1000abcb
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x1000bfce
call fcn.1000235a
mov esi, eax
jmp 0x1000c098
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x1000bff1
call fcn.1000235a
jmp 0x1000c08a
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1000bfe7
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x1000c021
mov esi, 0x8007000e
jmp 0x1000c08c
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10008d7e
mov dword [ebp - 4], 1
jmp 0x1000c04f
cmp dword [ebp - 0x418], ebx
je 0x1000c01a
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.10008d7e
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.10008d7e
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000bf8e
lea ecx, [ebp - 0x418]
call fcn.1000a9be
jmp 0x1000bf8e
Function at 0x1000d596
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push edi
mov edi, dword [eax + 8]
push str.http:__
push ebx
add edi, 0x568
call esi
pop ecx
pop ecx
test eax, eax
je 0x1000d61b
push str.file:__
push ebx
call esi
pop ecx
pop ecx
test eax, eax
je 0x1000d61b
push dword [ebp + 0xc]
push ebx
call esi
pop ecx
pop ecx
test eax, eax
je 0x1000d61b
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x3c], 0x3c
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push ebx
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
je 0x1000d61e
cmp dword [ebp - 0x30], 1
je 0x1000d617
cmp dword [ebp - 0x30], 2
jle 0x1000d61e
cmp dword [ebp - 0x30], 4
jg 0x1000d61e
mov edi, ebx
jmp 0x1000d61e
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.10008d7e
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x488a9f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x488aae
pop dword [ebp - 0x4c]
mov eax, 0x972cbebc
add eax, 0x691bcbf2
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xf80b8d18
sub dword [ebp - 0x5c], 0xa9b947cd
mov dword [ebp - 0x58], 0xe9ecaa4a
sub dword [ebp - 0x58], 0xb7b95e05
mov dword [ebp - 0x54], 0x434102f3
add dword [ebp - 0x54], 0x90b413b
mov dword [ebp - 0x50], 0x1869f338
sub dword [ebp - 0x50], 0x1869f338
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xf695a68f
sub dword [ebp - 0x5c], 0x82233d39
mov dword [ebp - 0x58], 0xa246f6a0
sub dword [ebp - 0x58], 0x60da952b
mov dword [ebp - 0x54], 0x430c51ec
add dword [ebp - 0x54], 0x20631a80
mov dword [ebp - 0x50], 0x6ae617f7
add dword [ebp - 0x50], 0x9519e809
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x4cee109f
add eax, 0xb35b7f85
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x714c8
push 0
call eax
mov ecx, 0xff21eec4
sub ecx, 0xff219812
xor ebx, ebx
add ebx, eax
mov edx, 0x4c5e00
add edx, dword [ebp - 0x4c]
mov edi, 0xb28f5a06
add edi, 0xde22a527
mov dword [ebp - 8], 0x4e0d20e3
mov esi, dword [edx]
xor dword [ebp - 0x3c], eax
xor esi, edi
add dword [ebp - 0x48], 0x5d492858
mov dword [ebx], esi
sub dword [ebp - 0x44], edx
add ebx, 0x24f178de
add ebx, 0xdb0e8726
add edx, 4
loop 0x488bc7
add eax, 0x3887fe79
sub eax, 0x3886b0de
mov ebx, eax
add eax, 0x6804fe28
add eax, 0x97fb01dd
mov ecx, 0xfe935204
sub ecx, 0xfe535204
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x411087
Capabilities:
Terminate process

Disassembly:
jmp 0x41a840
jmp fcn.0041bc60
cmp ecx, dword [0x42620c]
jne 0x41a84a
repz ret
jmp 0x411221
Function at 0x10008c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10008c4f
pop dword [ebp - 0x50]
mov eax, 0x10008c4f
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x357c7
push 0
mov eax, 0xfdff7101
add eax, 0x12018f43
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xc416aa5a
sub ecx, 0xc41668f5
mov edi, eax
mov edx, 0x10019800
add edx, dword [ebp - 0x50]
mov esi, 0xe0a68ee1
add esi, 0xe0208643
mov dword [ebp - 0x30], 0x44da46b7
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0xbba87ad0
xor ebx, esi
mov dword [edi], ebx
xor dword [ebp - 0x10], edi
add edi, 4
add edx, 0xa8ec092b
add edx, 0x5713f6d9
loop 0x10008ca3
add eax, 0xf867
xor ebx, ebx
add ebx, eax
add eax, 0x4fe114f3
add eax, 0xb01eeb12
mov ecx, 0x8603a265
sub ecx, 0x7603a265
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x405cb5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c56c], 0
push esi
jne 0x405cec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405cc6
mov dword [ecx*4 + 0x42c568], eax
inc ecx
cmp ecx, 0x100
jl 0x405cc1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d1d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c568]
xor eax, esi
inc ecx
dec edx
jne 0x405cff
pop edi
not eax
pop esi
ret 0xc

Function at 0xd40a34
Capabilities:
Encode data using xor

Disassembly:
jmp 0xd40a3e
pushal
call 0xd40a44
pop ebp
sub ebp, 0x10
sub ebp, 0x940a34
jmp 0xd40a5a
mov eax, 0x940a34
add eax, ebp
add eax, 0x4c
mov ecx, 0x5dd
mov edx, 0x171a8174
xor byte [eax], dl
inc eax
dec ecx
jne 0xd40a71
jmp 0xd40a84
invalid
Function at 0x403a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f64b7
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
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.004161fe
lea ebp, [esi + 8]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.004161fe
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call fcn.004161fe
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 2
call fcn.004161fe
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 3
call fcn.004161fe
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 4
call fcn.004161fe
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 5
call fcn.004161fe
lea ecx, [esi + 0x74]
mov byte [esp + 0x1c], 6
call fcn.004161fe
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 7
call fcn.004161fe
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 8
call fcn.004161fe
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 9
call fcn.004161fe
lea ecx, [esi + 0x94]
mov byte [esp + 0x1c], 0xa
call fcn.004161fe
lea ecx, [esi + 0x98]
mov byte [esp + 0x1c], 0xb
call fcn.004161fe
lea ecx, [esi + 0x9c]
mov byte [esp + 0x1c], 0xc
call fcn.004161fe
lea ecx, [esi + 0xa0]
mov byte [esp + 0x1c], 0xd
call fcn.004161fe
push 0x5a852c
mov ecx, ebx
mov byte [esp + 0x20], 0xe
mov dword [esi], 0x512810
call fcn.00416366
push 0x5a852c
mov ecx, ebp
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0xc]
call fcn.00416366
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push 0x5a852c
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x38]
call fcn.00416366
push 0x59b380
lea ecx, [esi + 0x3c]
call fcn.00416366
mov eax, 0x2710
push 0x5a852c
lea ecx, [esi + 0x60]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x74]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x78]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x80]
mov dword [esi + 0x7c], edi
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x90]
mov word [esi + 0x84], di
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x94]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x98]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x9c]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0xa0]
call fcn.00416366
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xac], edi
mov word [esi + 0xa4], 0x50
mov dword [esi + 0xa8], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6587
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x512810
mov dword [esp + 0x10], 0xe
call fcn.00403e10
lea ecx, [esi + 0xa0]
mov byte [esp + 0x10], 0xd
call fcn.004161d4
lea ecx, [esi + 0x9c]
mov byte [esp + 0x10], 0xc
call fcn.004161d4
lea ecx, [esi + 0x98]
mov byte [esp + 0x10], 0xb
call fcn.004161d4
lea ecx, [esi + 0x94]
mov byte [esp + 0x10], 0xa
call fcn.004161d4
lea ecx, [esi + 0x90]
mov byte [esp + 0x10], 9
call fcn.004161d4
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 8
call fcn.004161d4
lea ecx, [esi + 0x78]
mov byte [esp + 0x10], 7
call fcn.004161d4
lea ecx, [esi + 0x74]
mov byte [esp + 0x10], 6
call fcn.004161d4
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 5
call fcn.004161d4
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 4
call fcn.004161d4
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 3
call fcn.004161d4
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.004161d4
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.004161d4
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call fcn.004161d4
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.004161d4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40b210
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f70c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov eax, dword [esp + 0x1c]
push 0x80
push eax
nop
call 0x75beecd3
mov ecx, dword [esp + 0x1c]
push ecx
nop
call 0x75bd5444
mov edx, dword [esp + 0x20]
lea eax, [esp + 8]
push edx
push 4
xor esi, esi
push 1
push eax
mov dword [esp + 0x18], esi
nop
call 0x7506f3c8
mov eax, dword [esp + 0x18]
add esp, 0x10
cmp eax, esi
jle 0x40b2c0
mov ecx, dword [esp + 0x1c]
push 0x59b884
push ecx
nop
call 0x7506b2c4
mov edi, eax
add esp, 8
cmp edi, esi
je 0x40b2c0
cmp dword [esp + 8], esi
jle 0x40b2b6
push ebx
mov ebx, dword [0x511dfc]
push ebp
mov ebp, dword [0x511df4]
mov edx, dword [esp + 0x28]
push edi
push edx
call ebp
add esp, 4
xor eax, 0xcc
push eax
call ebx
mov eax, dword [esp + 0x18]
add esp, 8
inc esi
cmp esi, eax
jl 0x40b295
pop ebp
pop ebx
push edi
nop
call 0x75063d79
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004161d4
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x414c70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00416642
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x512464
mov ebx, dword [esp + 0x2c]
mov dword [esi], 0x513eb8
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x414d41
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x58]
test ebx, ebx
jne 0x414ce3
xor eax, eax
jmp 0x414ce6
mov eax, dword [ebx + 4]
push eax
nop
call 0x754f54f4
push eax
mov ecx, esi
call fcn.0041663c
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
nop
call 0x754f5f49
push eax
mov ecx, ebp
call fcn.004165b2
test ebp, ebp
je 0x414d1f
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0041664e
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call 0x416636
jmp 0x414d53
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x414d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f896b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x513eb8
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x414e20
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x414de7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
nop
call 0x754f5ea6
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x414e11
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0041664e
jmp 0x414e26
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0041664e
jmp 0x414e26
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x512450
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0041659a
mov ecx, esi
mov dword [edi], 0x5123e0
mov dword [esp + 0x1c], 0xffffffff
call fcn.00416630
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x419310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8dcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.00419110
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call fcn.004191f0
mov esi, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.0041644a
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.00419190
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x41e2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f98d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebx
call fcn.0041d5a0
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x1cc], 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0xc]
mov al, byte [0x5a852c]
mov dword [esp + 0x15], ecx
mov dword [esp + 0x19], ecx
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x1d], ecx
mov word [esp + 0x21], cx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1d8]
cmp eax, ebx
mov byte [esp + 0x23], cl
je 0x41e389
push edx
lea ecx, [esp + 0x2c]
call fcn.0041d720
jmp 0x41e3a0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0041d670
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
call fcn.0041d7e0
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xc5]
mov byte [esp + 0xc4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x5a852c
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call fcn.00416450
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x145]
mov byte [esp + 0x144], bl
rep stosd dword es:[edi], eax
mov ebx, dword [0x511e50]
mov byte [esp + 0x1cc], 2
stosw word es:[edi], ax
stosb byte es:[edi], al
xor esi, esi
lea ebp, [esp + 0x145]
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0xc4]
lea edx, [esp + 0xc4]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov cl, byte [esp + esi + 0x14]
push ecx
push 0x59c7e4
push edx
call ebx
mov al, byte [esp + 0xd0]
mov cl, byte [esp + 0xd1]
add esp, 0xc
mov byte [ebp - 1], al
mov byte [ebp], cl
inc esi
add ebp, 2
cmp esi, 0x10
jl 0x41e407
lea edx, [esp + 0x144]
lea ecx, [esp + 0x10]
push edx
call fcn.00416366
lea ecx, [esp + 0x10]
call fcn.004f3938
mov esi, dword [esp + 0x1d4]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0041644a
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1cc], 1
call fcn.004161d4
lea ecx, [esp + 0x28]
call fcn.0041d5e0
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c0
ret
Function at 0x423a70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fa0ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.004161fe
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x20], edi
call fcn.004161fe
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 1
call fcn.004161fe
lea ecx, [esi + 0x10]
mov byte [esp + 0x20], 2
call fcn.004161fe
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 3
call fcn.004161fe
lea ebp, [esi + 0x48]
push 0x400
mov ecx, ebp
mov byte [esp + 0x24], 4
mov dword [esp + 0x18], ebp
call fcn.004f39b6
push 0xa
lea ecx, [ebp + 0x28]
mov byte [esp + 0x24], 5
call fcn.00416828
mov dword [ebp], 0x512ef4
lea ebp, [esi + 0x8c]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], edi
lea ecx, [ebp + 8]
mov byte [esp + 0x20], 7
call fcn.004161fe
mov dword [ebp], 0x5145f4
mov dword [esi + 0x98], edi
lea ecx, [esi + 0xa0]
mov byte [esp + 0x20], 9
call fcn.004161fe
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], 0xa
mov dword [esi + 0xa8], 0x5145e0
push 0x5a852c
mov ecx, ebx
mov byte [esp + 0x24], 0xb
mov dword [esi], 0x512f78
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 8]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0xc]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x10]
call fcn.00416366
mov ebp, 2
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], edi
mov dword [esi + 0x1c], edi
mov ebx, 1
push 0x5a852c
lea ecx, [esi + 0x44]
mov dword [esi + 0x2c], ebx
call fcn.00416366
mov dword [esi + 0x34], ebx
mov word [esi + 0x30], di
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ebx
push 0x5a852c
lea ecx, [esi + 0xa0]
mov dword [esi + 0x9c], ebp
call fcn.00416366
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4240b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa0e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x5a852c
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 8]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0xc]
call fcn.00416366
push 0x5a852c
lea ecx, [esi + 0x10]
call fcn.00416366
mov dword [esi + 0x1c], ebx
push 0x5a852c
lea ecx, [esi + 0x44]
mov dword [esi + 0x1c], ebx
call fcn.00416366
mov dword [esi + 0x34], 1
mov word [esi + 0x30], bx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov edi, dword [esi + 0x90]
cmp edi, ebx
je 0x4241cf
lea eax, [edi + 0x14]
push eax
nop
call 0x75bd13f0
test eax, eax
jne 0x4241c9
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x4241c9
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov byte [ebp - 4], 2
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x5a852c
push eax
nop
call 0x750783c0
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
call fcn.004161d4
mov al, byte [ebp - 0x11]
test al, al
je 0x424196
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call fcn.00416318
mov eax, dword [edi]
push eax
nop
call 0x75bd5444
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00416324
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004161d4
push edi
call fcn.00416306
add esp, 4
xor ebx, ebx
mov dword [esi + 0x90], ebx
mov edi, dword [esi + 0x98]
cmp edi, ebx
je 0x42426b
lea eax, [edi + 0x14]
push eax
nop
call 0x75bd13f0
test eax, eax
jne 0x424265
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x424265
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 4
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x5a852c
push eax
nop
call 0x750783c0
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne byte [ebp - 0x11]
call fcn.004161d4
mov al, byte [ebp - 0x11]
test al, al
je 0x424232
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call fcn.00416318
mov eax, dword [edi]
push eax
nop
call 0x75bd5444
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00416324
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004161d4
push edi
call fcn.00416306
add esp, 4
xor ebx, ebx
mov dword [esi + 0x98], ebx
push 0x5a852c
lea ecx, [esi + 0xa0]
mov dword [esi + 0x9c], 2
call fcn.00416366
mov eax, dword [esi + 0xc4]
cmp eax, ebx
je 0x42429e
push eax
call fcn.00416306
add esp, 4
mov dword [esi + 0xc4], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret