joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005283
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x10084f4], ebx
push esi
push edi
jne 0x1005305
push 0x1001ad0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1005340
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001ac4
push edi
call esi
test eax, eax
mov dword [0x10084f4], eax
je 0x1005340
push 0x1001ab4
push edi
call esi
push 0x1001aa0
push edi
mov dword [0x10084f8], eax
call esi
cmp dword [0x100832c], 2
mov dword [0x10084fc], eax
jne 0x1005305
push 0x1001a84
push edi
call esi
test eax, eax
mov dword [0x1008504], eax
je 0x1005305
push 0x1001a6c
push edi
call esi
mov dword [0x1008500], eax
mov eax, dword [0x1008500]
test eax, eax
je 0x100534a
call eax
test eax, eax
je 0x1005331
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1008504]
test eax, eax
je 0x1005331
test byte [ebp - 8], 1
jne 0x100534a
cmp dword [0x1008338], 4
jb 0x1005344
or byte [ebp + 0x12], 0x20
jmp 0x1005369
xor eax, eax
jmp 0x1005379
or byte [ebp + 0x12], 4
jmp 0x1005369
mov eax, dword [0x10084f8]
test eax, eax
je 0x1005369
call eax
mov ebx, eax
test ebx, ebx
je 0x1005369
mov eax, dword [0x10084fc]
test eax, eax
je 0x1005369
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x10084f4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1006484
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01004aa0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10064ea
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x100832c]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x10064ee
xor eax, eax
jmp 0x10064fb
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4036a0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x2c
push ebx
push 0xf0000000
push 0x18
push 0
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x20
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x403761
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x403754
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x403749
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x403749
push esi
push edi
mov edi, dword [esp + 0x44]
mov ecx, 8
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
pop edi
pop esi
sete bl
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
add esp, 0x2c
ret
Function at 0x41a920
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040db50
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41a9eb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41a9eb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41a99e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41a9a9
or bh, 8
and edi, 0x8000000
je 0x41a9c4
mov eax, dword [0xe3e51c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41a9eb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41adc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41adeb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41ae0f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41ae2a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41f1d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41f215
call fcn.00426064
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41f215
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41f20c
xor eax, eax
jmp 0x41f21d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041f223
pop edi
pop esi
pop ebx
ret 4

Function at 0x424c37
Capabilities:
Create http request

Disassembly:
mov eax, 0x429880
call fcn.0040dcd0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x424c6f
call fcn.00426064
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x424c94
push eax
push dword [esi + 4]
call fcn.00425915
jmp 0x424ca0
push esi
push eax
mov ecx, 0xe3c9c0
call fcn.00424cb1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x424f7e
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4298df
call fcn.0040dcd0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004224f2
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0xe36cf0]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.004204e4
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.004204e4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b5ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b728]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21b72c]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b73c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b730]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x30f01ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x30f01ef9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x30f01f0d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x30f01f2e
cmp esi, eax
jae 0x30f01f07
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x30f01f20
cmp esi, eax
jae 0x30f01f07
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x30f02150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esi + 0x18]
push eax
call edi
lea ecx, [esi + 8]
push ecx
call edi
pop edi
mov ecx, esi
pop esi
jmp fcn.30f07aa0

Function at 0x30f02170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 4]
call fcn.30f07aa0
mov ecx, esi
pop esi
jmp fcn.30f07aa0

Function at 0x30f03ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x30f262e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x34], ebx
call fcn.30f03a20
mov dword [esi + 0x10], sym.MKernel.dll_const_MCPersistStorageImpl::vftable
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov al, 1
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], al
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x24], al
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2d], al
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x30f07a25
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [0x30f332c8]
mov dword [esp], eax
mov ecx, dword fs:[0x30]
mov ecx, dword [ecx + 0xc]
add ecx, 0xc
mov edx, ecx
xor edi, edi
jmp 0x30f07a5c
xor ebx, ebx
cmp ebx, dword [esp]
je 0x30f07a97
mov edx, dword [edx]
cmp edx, ecx
je 0x30f07a93
mov esi, dword [edx + 0x30]
movzx ebp, word [esi]
test bp, bp
je 0x30f07a55
add esi, 2
xor ebx, ebx
jmp 0x30f07a85
movzx eax, bp
add ebx, eax
movzx ebp, word [esi]
add esi, 2
test bp, bp
je 0x30f07a57
lea eax, [ebp - 0x41]
cmp ax, 0x1a
jae 0x30f07a75
add ebp, 0x20
jmp 0x30f07a75
xor ebx, ebx
jmp 0x30f07a9a
mov ebx, dword [edx + 0x18]
mov esi, dword [0x30f332a8]

Function at 0x30f07aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
Function at 0x30f07eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor ecx, ecx
xor ebx, ebx
nop
imul ecx, eax
movzx ebp, byte [esi + ebx]
add ecx, ebp
inc ebx
cmp edi, ebx
jne 0x30f07eb5
mov eax, dword [0x30f33298]
mov edi, dword [esp]
mov ebx, dword [edi + 0x3c]
lea esi, [edi + ebx]
mov esi, dword [esi + eax*8 + 0x78]
mov eax, dword [edi + esi + 0x18]
mov dword [esp + 4], eax
test eax, eax
je 0x30f07f9b
mov dword [esp + 0x20], ebx
mov eax, dword [edi + esi + 0x20]
add eax, edi
mov dword [esp + 8], eax
mov eax, dword [edi + esi + 0x1c]
add eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [edi + esi + 0x24]
add eax, edi
mov dword [esp + 0x2c], eax
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
add esi, edi
mov ebx, 0xffffffff
xor eax, eax
mov edi, eax
cmp byte [esi + ebx + 1], 0
lea ebx, [ebx + 1]
lea eax, [eax + 1]
inc eax
add dword [ebp - 0xf], esi
test ebx, ebx
je 0x30f07f65
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul ebx, edx
movzx eax, byte [esi]
add ebx, eax
inc esi
dec edi
jne 0x30f07f45
cmp ebx, ecx
jne 0x30f07f6b
jmp 0x30f07f7f
xor ebx, ebx
cmp ebx, ecx
je 0x30f07f7f
inc ebp
cmp ebp, dword [esp + 4]
mov edi, dword [esp]
jne 0x30f07f15
mov dword [esp + 0x10], 0
jmp 0x30f07f97
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + ebp*2]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
mov edi, dword [esp]
and al, 1
clc
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x20]
lea eax, [edi + ebx + 0x18]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc]
movsx eax, byte [ecx]
add ecx, eax
mov dword [esp + 0xc], ecx
mov edx, dword [0x30f3328c]
mov ecx, dword [esp + 0x18]
add ecx, eax
mov esi, dword [0x30f3328c]
mov eax, dword [esp + 0x14]
lea edi, [eax + ecx + 1]
mov ebp, 0xffffffff
nop
nop
nop
nop
nop
nop
cmp byte [edi + ebp + 1], 0
lea ebp, [ebp + 1]
jne 0x30f07fd5
mov dword [esp + 8], 0
test ebp, ebp
mov eax, 0
je 0x30f08003
xor eax, eax
xor ebx, ebx
nop
imul eax, esi
movzx ecx, byte [edi + ebx]
add eax, ecx
inc ebx
cmp ebp, ebx
jne 0x30f07ff5
mov ecx, dword [0x30f33298]
mov esi, dword [esp + 4]
mov ecx, dword [esi + ecx*8 + 0x60]
mov edi, dword [esp]
mov esi, dword [edi + ecx + 0x18]
mov dword [esp + 4], esi
test esi, esi
invalid
invalid
Function at 0x30f09d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x30f26828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x30f29d60
mov dword [esi + 4], 0x30f29d28
mov dword [esi + 0xc], 0x30f29d08
mov dword [esi + 0x10], 0x30f29cf4
mov dword [esi + 0x28], 0x30f29cc8
mov dword [esi + 0x2c], 0x30f29cb4
mov dword [esi + 0x30], 0x30f29c94
mov eax, dword [esi + 0x48]
test eax, eax
mov dword [esp + 0x14], 0
je 0x30f09d64
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x30f09d71
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push edi
lea edi, [esi + 0x38]
push eax
push ecx
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.30f08d60
mov eax, dword [edi + 4]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [esi], 0x30f29850
mov dword [esi + 4], 0x30f29818
mov dword [esi + 0xc], 0x30f297f8
mov dword [esi + 0x10], 0x30f297e4
mov esi, dword [esi + 0x1c]
add esp, 4
test esi, esi
mov dword [esp + 0x18], 0xffffffff
pop edi
je 0x30f09dd3
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x30f09e40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x30f26848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.30f061f0
mov byte [esi + 0x34], 1
xor ebx, ebx
lea edi, [esi + 0x38]
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x30f29d60
mov dword [esi + 4], 0x30f29d28
mov dword [esi + 0xc], 0x30f29d08
mov dword [esi + 0x10], 0x30f29cf4
mov dword [esi + 0x28], 0x30f29cc8
mov dword [esi + 0x2c], 0x30f29cb4
mov dword [esi + 0x30], 0x30f29c94
call fcn.30f146b0
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0x15], 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], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x3c]
mov byte [esi + 0x4c], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x30f0d880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x30f26bee
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.30f061f0
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov byte [esi + 0x30], 1
mov dword [esi + 0x2c], 0x30f29ae4
mov dword [esi], 0x30f29f6c
mov dword [esi + 4], 0x30f29f34
mov dword [esi + 0xc], 0x30f29f14
mov dword [esi + 0x10], 0x30f29f00
mov dword [esi + 0x28], 0x30f29ed8
mov dword [esi + 0x2c], 0x30f29e9c
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.30f1aa70
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x29], 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
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x30f10410
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x30f26f98
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
push esi
push edi
je 0x30f10438
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x30f10451
mov eax, 0x80004003
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x24
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x18], 0
call fcn.30f09810
mov esi, eax
test esi, esi
jl 0x30f104d7
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push ebx
mov ecx, esi
call fcn.30f07140
mov ecx, dword [esi]
push edi
push 0x30f293e4
push esi
call dword [ecx]
mov edx, dword [esi]
push esi
mov edi, eax
mov dword [esp + 0x18], 0xffffffff
call dword [edx + 8]
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x24
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
je 0x30f104ed
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x24