joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b483
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b2f4

Function at 0x41b87d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b260
mov eax, dword [0x510540]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00419264
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41b8bf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ba1b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426310
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x512ba0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041c61c
mov ecx, dword [esi*4 + 0x512ba0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41ba14
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ba14
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ba14
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c61c
add esp, 0x14
test edx, edx
jl 0x41ba14
jg 0x41b98a
test eax, eax
jb 0x41ba14
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ba14
jl 0x41b9a4
cmp dword [ebp - 0x1008], eax
ja 0x41ba14
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41b9c2
test ebx, ebx
je 0x41b9fb
cmp ecx, edi
jae 0x41b9fb
mov al, byte [ecx]
cmp al, 0xd
jne 0x41b9dc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41b9e8
cmp byte [ecx + 1], 0xa
jne 0x41b9e8
inc ecx
jmp 0x41b9e8
movzx eax, al
movsx eax, byte [eax + 0x510808]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41b9c2
cmp edx, ebx
jne 0x41b9c2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ba19
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a62d
leave
ret
Function at 0x41baba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x512ba0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41bafa
cmp byte [ebx], 0xa
jne 0x41bafa
or byte [eax + edi + 0x28], 4
jmp 0x41baff
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41bbfd
mov al, byte [edx]
cmp al, 0x1a
je 0x41bbdf
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41bb2e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41bb53
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41bb5d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41bb10
jmp 0x41bbfd
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bbda
cmp dword [ebp - 0xc], 0
je 0x41bbda
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x512ba0]
test byte [eax + edi + 0x28], 0x48
je 0x41bbb4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41bb9f
mov byte [esi], dl
jmp 0x41bbb0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x512ba0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41bbfd
cmp byte [ebp - 1], 0xa
jne 0x41bbc3
cmp esi, ebx
jne 0x41bbc3
mov byte [esi], 0xa
jmp 0x41bbfc
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041c63a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41bbfd
mov byte [esi], 0xd
jmp 0x41bbfc
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x512ba0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41bbf9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41bbfd
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41bc06
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x512ba0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41bc49
cmp word [esi], dx
jne 0x41bc49
or byte [edi + eax + 0x28], 4
jmp 0x41bc4e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41bda1
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41bd81
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41bc90
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41bcc6
cmp eax, edx
jae 0x41bcd2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41bc68
jmp 0x41bda1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bd7d
cmp dword [ebp - 0x14], 0
je 0x41bd7d
mov eax, dword [ebx*4 + 0x512ba0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41bd55
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41bd1e
mov word [esi], cx
jmp 0x41bd51
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x512ba0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x512ba0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x512ba0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41bda1
pop ebx
cmp word [ebp - 4], bx
jne 0x41bd66
cmp esi, dword [ebp + 0xc]
jne 0x41bd66
mov word [esi], bx
jmp 0x41bd9e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041c63a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41bda1
push 0xd
jmp 0x41bd9a
mov ecx, dword [ebx*4 + 0x512ba0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41bd98
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41bda1
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x408b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b5731
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea edi, [esi + 4]
mov dword [esi], 0x4f1ea8
mov dword [esp + 0xc], esi
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
push 0x2c
mov byte [esp + 0x20], 1
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
call fcn.00494d02
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x1c], 2
je 0x408b9c
mov ecx, eax
call fcn.00407eb0
jmp 0x408b9e
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.004075c0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4b57c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x4f1eac
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x411670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5b91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x54a47c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x54a47c
mov dword [esp + 0x10], esi
lea ebx, [esi + 0x30]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov edx, dword [0x54a47c]
mov ecx, 0x54a47c
mov dword [esp + 0x1c], 0
lea ebp, [esi + 0x34]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [0x54a47c]
mov ecx, 0x54a47c
mov byte [esp + 0x1c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x38], eax
xor eax, eax
mov ecx, 0xc
mov edi, esi
push eax
rep stosd dword es:[edi], eax
push 0x4f1cf1
mov ecx, ebx
mov byte [esp + 0x24], 2
call fcn.004031a0
push 0
push 0x4f1cf1
mov ecx, ebp
call fcn.004031a0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4127a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5c84
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
xor ebp, ebp
lea edi, [esi + 8]
mov dword [esi], 0x4f4fe4
mov dword [esp + 0x20], ebp
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov eax, dword [0x54a47c]
mov ebx, 1
mov ecx, 0x54a47c
mov byte [esp + 0x20], bl
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov edx, dword [0x54a47c]
mov ecx, 0x54a47c
mov byte [esp + 0x20], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
push 0x40
mov byte [esp + 0x24], 3
mov dword [esi + 4], ebx
call fcn.00494d02
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov ebp, dword [esp + 0x28]
mov byte [esp + 0x20], 4
je 0x41283b
push ebp
mov ecx, eax
call fcn.004120c0
jmp 0x41283d
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x24], 3
call fcn.00411c70
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov edi, dword [ebp + 0x20]
test edi, edi
jne 0x412862
xor eax, eax
jmp 0x412870
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412867
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x20]
call fcn.004031a0
mov edi, dword [ebp + 0x24]
test edi, edi
jne 0x412885
xor eax, eax
jmp 0x412899
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412890
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x24]
call fcn.004031a0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
mov dword [esi + 0x30], ecx
mov edx, dword [ebp + 0x48]
mov eax, dword [edx + 8]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
xor ecx, ecx
lea eax, [esi + 0x44]
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], ecx
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], ecx
mov dword [edx + 0x34], ecx
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], ecx
mov word [eax], cx
pop edi
mov word [esi + 0x46], cx
mov ecx, dword [esp + 0x14]
mov word [esi + 0x48], bx
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4160f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5ef3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00461710
mov dword [esi], 0x4f52b0
mov eax, dword [0x54a47c]
mov ecx, 0x54a47c
mov dword [esp + 0x10], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x40], eax
xor ecx, ecx
xor eax, eax
mov dword [esi + 0x30], ecx
mov ecx, esi
mov byte [esp + 0x10], 1
mov dword [esi + 0x2c], eax
call fcn.00461360
mov ecx, dword [esp + 8]
mov byte [esi + 0x3c], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41ad30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6201
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0x4f58e8
mov eax, dword [0x54a47c]
mov ecx, 0x54a47c
mov dword [esp + 4], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov ecx, esi
mov byte [esp + 0x10], 2
call fcn.0041a4d0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x425470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b6832
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi], 0x4f5bf8
mov eax, 2
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x10
mov dword [esi + 0xc], 0x14
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xffffff
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0x12c
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov byte [esi + 0x26], bl
mov ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov eax, dword [0x54a47c]
mov ecx, 0x54a47c
mov byte [esp + 0x1c], 1
lea edi, [esi + 0x54]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov edx, dword [0x54a47c]
mov ecx, 0x54a47c
mov byte [esp + 0x1c], 3
lea ebp, [esi + 0x74]
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [0x54a47c]
mov ecx, 0x54a47c
mov byte [esp + 0x1c], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x78], eax
push ebx
push 0x4f1cf1
mov ecx, edi
mov byte [esp + 0x24], 5
call fcn.004031a0
push ebx
push 0x4f1cf1
mov ecx, ebp
call fcn.004031a0
push ebx
push 0x4f1cf1
lea ecx, [esi + 0x78]
call fcn.004031a0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x429300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 0x18]
sub esp, 0x4c
push esi
xor esi, esi
cmp ecx, esi
jle 0x4294f3
cmp ecx, 0xff
jl 0x429368
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
jne 0x429368
mov ecx, dword [esp + 0x58]
push esi
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push esi
call fcn.004790c0
pop esi
add esp, 0x4c
ret 0x24
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x14]
sar ecx, 4
push ebx
mov ebx, dword [eax + 0x10]
push edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x7c]
mov edi, 1
shl edi, cl
mov cl, byte [esp + 0x78]
xor eax, eax
test cl, cl
sete al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
xor eax, eax
cmp edx, esi
mov dword [esp + 0xc], eax
jle 0x4294f1
push ebp
lea esp, [esp]
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x7c], ebp
jle 0x4294e2
mov ecx, dword [esp + 0x80]
mov edx, eax
sar edx, cl
lea ecx, [edx*4]
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp 0x4293e5
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov esi, ebp
sar esi, cl
mov ecx, dword [esp + 0x1c]
and esi, 3
xor esi, ecx
and esi, 0xf
add esi, edx
mov edx, dword [esp + 0x20]
cmp dword [esi*4 + 0x51ce98], edx
jg 0x4294cc
test ebp, ebp
mov esi, edi
mov edx, edi
mov ecx, ebp
jge 0x42941b
xor ecx, ecx
mov ebp, dword [esp + 0x10]
test ebp, ebp
jge 0x429425
xor eax, eax
lea ebp, [ecx + edi]
cmp ebp, ebx
jle 0x429430
mov esi, ebx
sub esi, ecx
mov ebx, dword [esp + 0x2c]
lea ebp, [eax + edi]
cmp ebp, ebx
jle 0x42943f
mov edx, ebx
sub edx, eax
add edx, eax
add esi, ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x38], ecx
add ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
lea edx, [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
sub eax, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
je 0x4294af
dec eax
jne 0x4294c4
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
push edx
push eax
push 0xe
jmp 0x4294bb
mov eax, dword [esp + 0x64]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x70]
call fcn.004790c0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
add ebp, edi
cmp ebp, ebx
mov dword [esp + 0x7c], ebp
jl 0x4293e1
mov edx, dword [esp + 0x2c]
add eax, edi
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4293b0
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x4c
ret 0x24
Function at 0x445050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b7078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [0x54a47c]
mov ecx, 0x54a47c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 4]
lea ecx, [esi + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x10]
push str._02d__s
push ecx
mov dword [esp + 0x24], 0
call fcn.0040df00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.0040bca0
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x18
mov dword [esp + 0x10], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4450e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x459470
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b8690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004073c0
mov ecx, dword [esp + 0x34]
push ecx
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], edi
call fcn.004073c0
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.00403010
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov ecx, eax
mov byte [esp + 0x2c], 2
call fcn.00403010
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x20]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x34], 3
call fcn.00403010
mov ecx, eax
call fcn.0048abd0
mov ecx, eax
call fcn.00457290
mov eax, dword [esp + 0x14]
cmp eax, edi
mov byte [esp + 0x2c], 2
je 0x459542
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, edi
mov dword [eax], esi
jne 0x45953a
mov al, byte [ecx + 8]
test al, al
je 0x45952b
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x45953a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
mov byte [esp + 0x2c], 1
je 0x459582
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, edi
mov dword [eax], esi
jne 0x45957a
mov al, byte [ecx + 8]
test al, al
je 0x45956b
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x45957a
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x4595a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4595cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x45ea00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b8c40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.0044f7d0
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.004073c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x24], 2
mov dword [esp + 0x14], 0x4f9078
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ea6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0045d7c0
cmp eax, dword [esi + 4]
mov dword [esp + 0xc], eax
je 0x45ea9d
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.004969c4
add esp, 8
test eax, eax
jl 0x45ea9d
lea eax, [esp + 0xc]
jmp 0x45eaa8
mov edx, dword [esi + 4]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [esi + 4]
jne 0x45eae4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x45eace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
push edi
lea ecx, [eax + 0x10]
call fcn.00403010
mov ecx, eax
call fcn.0045db40
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x45eb15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4