joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x438caf
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
mov esi, 0xf7d9a669
push 0x66dcbf30
pop ecx
call fcn.00438cf8
sub ecx, 0xd790cec1
xor dword [edi], ebx
add ecx, 0xe2fd4d99
and esi, ecx
mov ecx, 0xaff44894
inc edi
mov ecx, 0xfc92c459
add ecx, ecx
sub esi, 0x4e82d796
cmp edi, edx
jne fcn.00438caf
add ecx, 1
ret
Function at 0xdce058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00dce1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xdce07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdce06a
add dl, dl
jne 0xdce089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdce0dc
xor eax, eax
add dl, dl
jne 0xdce096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdce17d
add dl, dl
jne 0xdce0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdce0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdce0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdce0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdce0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdce075
mov eax, 1
add dl, dl
jne 0xdce0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdce0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdce0e1
sub eax, ebx
mov ebx, 1
jne 0xdce128
mov ecx, 1
add dl, dl
jne 0xdce10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdce119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdce105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdce075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdce13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdce14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdce136
cmp eax, 0x7d00
jae 0xdce16d
cmp eax, 0x500
jb 0xdce168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdce075
cmp eax, 0x7f
ja 0xdce170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdce075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdce19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xdce075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40121a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x4092a4]
mov word [ebp - 0x418], ax
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00405a30
add esp, 0xc
mov ax, word [0x4092a4]
mov word [ebp - 0x210], ax
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00405a30
add esp, 0xc
push 0x208
lea eax, [ebp - 0x418]
push eax
call fcn.004014d3
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x4012e9
push 0
push 0
lea eax, [ebp - 0x420]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x40
push 0x4092a8
push dword [ebp - 0x420]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
inc eax
jmp 0x40144d
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [ebp + eax*2 - 0x212]
cmp eax, 0x5c
je 0x401319
push 0x4092b8
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.0040103e
lea eax, [ebp - 0x210]
push eax
call fcn.0040145b
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40144a
and dword [ebp - 0x424], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0xfffffffd
je 0x401416
cmp dword [ebp - 0x428], 0xfffffffe
je 0x401376
cmp dword [ebp - 0x428], 0xffffffff
je 0x401367
jmp 0x401422
mov dword [ebp - 0x424], 0x4092bc
jmp 0x40142c
push 0
push 0x200
lea eax, [ebp - 0x420]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov dword [ebp - 0x41c], eax
push str._r_npath:__
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
call fcn.0040108a
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
call fcn.0040108a
push 0x4092ec
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
call fcn.0040108a
push 0x40
push 0x4092a8
push dword [ebp - 0x420]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40142c
mov dword [ebp - 0x424], 0x4092f0
jmp 0x40142c
mov dword [ebp - 0x424], 0x409314
cmp dword [ebp - 0x424], 0
je 0x40144a
push 0
push 0x4092a8
push dword [ebp - 0x424]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004016c9
leave
ret 0x10
Function at 0x4014d3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareBishop_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401501
xor al, al
jmp 0x401553
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 0
push 0
push str.DataPath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x401522
xor al, al
jmp 0x401553
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0
jbe 0x401551
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x401551
push 0x4092b8
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040108a
mov al, 1
leave
ret
Function at 0x401555
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
and dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.00405a30
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 0x440
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4015b3
cmp dword [ebp - 0x1c], 0x20
jg 0x401678
push 0
push 0x200
lea eax, [ebp - 0x40]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov dword [ebp - 0x44], eax
push str._r_npath:__
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.0040108a
cmp dword [ebp + 0xc], 0
je 0x401601
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
jmp 0x401608
mov dword [ebp - 0x48], str._current_dir_
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.0040108a
push str.__r_nexe:__
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.0040108a
cmp dword [ebp + 8], 0
je 0x401634
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
jmp 0x40163b
mov dword [ebp - 0x4c], str._unknown_application_
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.0040108a
push 0x4092ec
push dword [ebp - 0x44]
push dword [ebp - 0x40]
call fcn.0040108a
push 0x40
push 0x4093f0
push dword [ebp - 0x40]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
jmp 0x4016c7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
je 0x40168c
cmp dword [ebp - 0x50], 2
je 0x401699
jmp 0x4016a4
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x4016a4
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x14], 0
je 0x4016b4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x4016c5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4016c5
xor al, al
jmp 0x4016c7
mov al, 1
leave
ret

Function at 0x4016c9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x4016d3
repz ret
jmp fcn.00401889
Function at 0x403953
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402837
and dword [ebp - 4], 0
cmp dword [0x40b568], 0
mov ebx, eax
jne 0x403a04
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x403ab5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x403ab5
push eax
call fcn.004027c5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b568], eax
call esi
push eax
call fcn.004027c5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b56c], eax
call esi
push eax
call fcn.004027c5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b570], eax
call esi
push eax
call fcn.004027c5
pop ecx
mov dword [0x40b578], eax
test eax, eax
je 0x403a04
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004027c5
pop ecx
mov dword [0x40b574], eax
mov eax, dword [0x40b574]
cmp eax, ebx
je 0x403a5c
cmp dword [0x40b578], ebx
je 0x403a5c
push eax
call fcn.00402840
push dword [0x40b578]
mov esi, eax
call fcn.00402840
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x403a5c
test edi, edi
je 0x403a5c
call esi
test eax, eax
je 0x403a53
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x403a53
test byte [ebp - 0xc], 1
jne 0x403a5c
or dword [ebp + 0x10], 0x200000
jmp 0x403a95
mov eax, dword [0x40b56c]
cmp eax, ebx
je 0x403a95
push eax
call fcn.00402840
pop ecx
test eax, eax
je 0x403a95
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x403a95
mov eax, dword [0x40b570]
cmp eax, ebx
je 0x403a95
push eax
call fcn.00402840
pop ecx
test eax, eax
je 0x403a95
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b568]
call fcn.00402840
pop ecx
test eax, eax
je 0x403ab5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x403ab7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40143c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x200
call fcn.00450ef4
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
mov edi, str.SoftwareAdobeAdobe_Acrobat9.0LanguageNext
push edi
mov ebx, reloc.AXE8SharedExpat.dll_Ordinal_1
push ebx
call esi
test eax, eax
je 0x4014c1
lea eax, [ebp - 4]
push eax
push edi
lea edi, [ebx + 1]
push edi
call esi
test eax, eax
je 0x4014c1
lea eax, [ebp - 4]
push eax
push str.SoftwareAdobeAdobe_Reader9.0LanguageNext
push ebx
call esi
test eax, eax
je 0x4014c1
lea eax, [ebp - 4]
push eax
push str.SoftwareAdobeAdobe_Reader9.0LanguageNext
push edi
call esi
test eax, eax
je 0x4014c1
lea eax, [ebp - 4]
push eax
push str.SoftwareAdobeAdobe_Reader9.0LanguageCurrent
push edi
call esi
test eax, eax
je 0x4014c1
or esi, 0xffffffff
push dword [ebp - 8]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
shr eax, 1
test edi, edi
jne 0x4014ae
cmp dword [ebp - 0x10], 1
jne 0x4014ae
cmp eax, 4
jb 0x4014ae
lea edi, [esi + eax*2 - 8]
mov esi, dword [sym.imp.MSVCR80.dll__wcsicmp]
push 0x4660f4
push edi
call esi
test eax, eax
pop ecx
pop ecx
je 0x40153b
push 0x4660fc
push edi
call esi
test eax, eax
pop ecx
pop ecx
je 0x40153b
mov ecx, dword [ebp + 8]
push 4
mov edx, edi
pop eax
call fcn.00401014
xor esi, esi
inc esi
jmp 0x4014b1
xor esi, esi
jmp 0x4014b1

Function at 0x401d4b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b673
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0xffffffffffffffff
push str.ShowNotification
lea ecx, [esp + 0x18]
call fcn.0044b840
and dword [esp + 0x30], 0
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x20]
call fcn.00435740
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401a31
push 1
mov ecx, esi
call fcn.00401e96
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40287a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b578
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a48
and dword [esp + 0x38], 0
lea edi, [ebp + 8]
lea ebx, [esp + 0x10]
call fcn.00402bd3
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00403429
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0040228c
test al, al
jne 0x4028f8
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.00402d19
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0x24]
mov ebx, esi
call fcn.00402b1b
or dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x1c], 0
je 0x40291c
mov ecx, dword [esp + 0x18]
call fcn.0044d9a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x402931
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b555
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00401a48
and dword [esp + 0x30], 0
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00402f98
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00403429
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xc]
call fcn.0040228c
test al, al
jne 0x4029b3
push dword [esp + 0xc]
lea eax, [esp + 0x1c]
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00402d19
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00402c4d
or dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x14], 0
je 0x4029d8
mov ecx, dword [esp + 0x10]
call fcn.0044d9a0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4029eb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b532
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00401a48
and dword [esp + 0x30], 0
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00402f98
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00403429
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
call fcn.0040228c
test al, al
jne 0x402a6d
push dword [esp + 0x10]
lea eax, [esp + 0x20]
push dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00402d19
or dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x18], 0
je 0x402a82
mov ecx, dword [esp + 0x14]
call fcn.0044d9a0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4042a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc0
mov eax, str.BIBCacheAddRemoveClientPurgeProcV2
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov eax, 0x466250
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
movzx eax, byte [esp + 0xc4]
push eax
push 0x477ee0
push str.BIBCacheInterface
lea ecx, [esp + 0xc]
push 0x17
push ecx
mov dword [esp + 0x14], str.NewCacheID
mov dword [esp + 0x18], str.BIBCacheNewCacheIDProc
mov dword [esp + 0x1c], str.AddRef
mov dword [esp + 0x20], str.BIBCacheAddRefProc
mov dword [esp + 0x24], str.Release
mov dword [esp + 0x28], str.BIBCacheReleaseProc
mov dword [esp + 0x2c], str.Attach
mov dword [esp + 0x30], str.BIBCacheAttachProcV2
mov dword [esp + 0x34], 0x45dbe0
mov dword [esp + 0x38], str.BIBCacheAddProc
mov dword [esp + 0x3c], str.UpdateCost
mov dword [esp + 0x40], str.BIBCacheUpdateCostProc
mov dword [esp + 0x44], str.ReturnCost
mov dword [esp + 0x48], str.BIBCacheReturnCostProc
mov dword [esp + 0x4c], str.MarkNoPurge
mov dword [esp + 0x50], str.BIBCacheMarkNoPurgeProcV2
mov dword [esp + 0x54], str.MarkPurge
mov dword [esp + 0x58], str.BIBCacheMarkPurgeProc
mov dword [esp + 0x5c], str.GetCacheTime
mov dword [esp + 0x60], str.BIBCacheGetCacheTimeProc
mov dword [esp + 0x64], str.CurrentCacheSize
mov dword [esp + 0x68], str.BIBCurrentCacheSizeProc
mov dword [esp + 0x6c], str.NewCachePurge
mov dword [esp + 0x70], str.BIBCacheNewCachePurgeProc
mov dword [esp + 0x74], str.PurgeNextBlock
mov dword [esp + 0x78], str.BIBCachePurgeNextBlockProc
mov dword [esp + 0x7c], str.DeleteCachePurge
mov dword [esp + 0x80], str.BIBCacheDeleteCachePurgeProc
mov dword [esp + 0x84], str.PurgeAllStaticCaches
mov dword [esp + 0x88], str.BIBCachePurgeAllStaticCachesProc
mov dword [esp + 0x8c], str.AddClientPurge
mov dword [esp + 0x94], str.RemoveClientPurge
mov dword [esp + 0x9c], str.NewCacheSet
mov dword [esp + 0xa0], str.BIBCacheNewCacheSetProc
mov dword [esp + 0xa4], str.AddRefCacheSet
mov dword [esp + 0xa8], str.BIBCacheAddRefCacheSetProc
mov dword [esp + 0xac], str.DeleteCacheSet
mov dword [esp + 0xb0], str.BIBCacheDeleteCacheSetProc
mov dword [esp + 0xb4], str.SearchForID
mov dword [esp + 0xb8], str.BIBCacheSearchForIDProc
mov dword [esp + 0xbc], str.RemoveID
mov dword [esp + 0xc0], str.BIBCacheRemoveIDProc
mov dword [esp + 0xc4], str.RemoveIDs
mov dword [esp + 0xc8], str.BIBCacheRemoveIDsProc
call fcn.00404250
neg eax
sbb eax, eax
neg eax
add esp, 0xd4
ret
Function at 0x404800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
mov eax, 0x466250
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
movzx eax, byte [esp + 0x8c]
push eax
push 0x477f98
push str.BIBContainerInterface
lea ecx, [esp + 0xc]
push 0x10
push ecx
mov dword [esp + 0x14], str.NewFullContainer
mov dword [esp + 0x18], str.BIBNewFullContainerV5Proc
mov dword [esp + 0x1c], str.NewContainer
mov dword [esp + 0x20], str.BIBNewContainerV2Proc
mov dword [esp + 0x24], str.CloneContainer
mov dword [esp + 0x28], str.BIBCloneContainerProc
mov dword [esp + 0x2c], str.AddRef
mov dword [esp + 0x30], str.BIBAddRefContainerV2Proc
mov dword [esp + 0x34], str.Release
mov dword [esp + 0x38], str.BIBReleaseContainerProc
mov dword [esp + 0x3c], str.DecrementWithoutDelete
mov dword [esp + 0x40], str.BIBDecrementWithoutDeleteProc
mov dword [esp + 0x44], str.DeleteUnownedContainer
mov dword [esp + 0x48], str.BIBDeleteUnownedContainerProc
mov dword [esp + 0x4c], str.RegisterInterface
mov dword [esp + 0x50], str.BIBRegisterInterfaceV2Proc
mov dword [esp + 0x54], str.RegisterInstance
mov dword [esp + 0x58], str.BIBRegisterInstanceV2Proc
mov dword [esp + 0x5c], str.GetMethod
mov dword [esp + 0x60], str.BIBGetMethodV3Proc
mov dword [esp + 0x64], str.GetParentMethod
mov dword [esp + 0x68], str.BIBGetParentMethodV2Proc
mov dword [esp + 0x6c], str.GetInstance
mov dword [esp + 0x70], str.BIBGetInstanceProc
mov dword [esp + 0x74], str.NGetInstance
mov dword [esp + 0x78], str.BIBNGetInstanceProc
mov dword [esp + 0x7c], str.GetSignature
mov dword [esp + 0x80], str.BIBGetSignatureProc
mov dword [esp + 0x84], str.DebugGetRefCountAddr
mov dword [esp + 0x88], str.BIBGetRefCountAddrProc
mov dword [esp + 0x8c], str.GetOffsetToPrimaryInstance
mov dword [esp + 0x90], str.BIBGetOffsetToPrimaryInstProc
call fcn.00404250
neg eax
sbb eax, eax
neg eax
add esp, 0x9c
ret

Function at 0x406100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
call fcn.004019d8
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], esi
call fcn.0044b8d0
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.004019d8
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret