joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487b40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67f673
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00489390
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp + 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.004753c0
sub esp, 0x48
lea eax, [ebp + 8]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x44], esi
push eax
call fcn.0046cf20
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0046cf20
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x30]
call fcn.0046cf20
call fcn.00487ce0
mov edi, eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
push eax
push edi
mov byte [ebp - 0x40], 0
call sym.agshelper.exe_AGDServiceConvertAGDStatusTypeEnumToString
add esp, 0x50
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x40]
lea ecx, [ebp + 8]
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp + 0x20]
cmp dword [ebp - 0x2c], 0x10
push 0
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp + 0x1c], 0x10
push esi
cmovae ecx, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
push edx
cmovae eax, dword [ebp + 0x20]
push ecx
push eax
call sym.agshelper.exe_RSDServiceRecordStatus
mov edx, dword [ebp - 0x2c]
add esp, 0x14
cmp edx, 0x10
jb 0x487c5f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487c55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487cd8
push edx
push ecx
call fcn.0060c992
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x487ca1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487c97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487cd8
push edx
push ecx
call fcn.0060c992
add esp, 8
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0047b5e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
call fcn.0061883f
int3
Function at 0x488570
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67fbc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x780784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0060c962
mov esi, eax
add esp, 4
test esi, esi
je 0x4885d0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.005fa0c4
add esp, 4
mov dword [esi + 4], eax
jmp 0x4885d2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x20], ecx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x34], esi
lea esi, [eax + 8]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp - 0x10]
not ecx
and ecx, 1
mov dword [edi], 0
shl ecx, 2
mov eax, ebx
mov dword [edx], 0
mov edx, ecx
or edx, 2
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and al, 2
mov dword [esi + 0x38], 0
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x489460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
call fcn.0060f310
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4894c1
push 0x104
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0061d59e
add esp, 0xc
lea edx, [ebp - 0x108]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4894d0
sub edx, ecx
lea eax, [ebp - 0x108]
push edx
push eax
mov ecx, esi
call fcn.00475240
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
Function at 0x48ed60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x681bf9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x780784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x785dc4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x785dc4
mov dword [esi + 0x30], 0x785dc4
mov dword [esi + 0x34], 0x785dc4
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x48ee01
sub edx, ebx
push edx
push edi
call fcn.004943e0
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x48ee20
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.004943e0
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x48ee40
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.004943e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x681c33
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x780784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x785dc4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x785dc4
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x6c3ff5
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004943e0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4902a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x681d48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x780784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4902f1
push ebx
push ebx
push ebx
push 2
call fcn.004938e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x490307
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x4902f8
push 2
push 0
push ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.0061dccb
push ebx
call fcn.0062507b
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.0061dccb
add esp, 0x1c
test esi, esi
jg 0x49036e
push 0
push 0
push 0
push 0xd
mov ecx, edi
call fcn.004938e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], 0x785dc4
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004944c0
lea eax, [esi + 1]
push eax
call fcn.0060c9a0
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.0061d8b9
add esp, 0x14
cmp eax, 1
je 0x4903c7
push ebx
call fcn.0060c9a9
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.004938e0
xor bl, bl
jmp 0x490465
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
mov al, byte [ebx]
test al, al
je 0x49042f
cmp al, 0xa
jne 0x4903f0
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00494390
inc esi
mov ecx, esi
jmp 0x490429
cmp al, 0xd
jne 0x490428
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x490406
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00494390
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.00494390
xor eax, eax
cmp byte [esi + 1], 0xa
sete al
inc eax
add esi, eax
mov ecx, esi
jmp 0x490429
inc esi
mov al, byte [esi]
test al, al
jne 0x4903d8
sub esi, ecx
je 0x49043d
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.00494390
push ebx
call fcn.0060c9a9
mov eax, dword [ebp - 0x10]
add esp, 4
mov edx, dword [edi]
add eax, 8
mov ecx, edi
push dword [ebp + 0xc]
push 0
push eax
call dword [edx + 0xc]
cmp byte [edi + 0x2c], 0
je 0x490463
xor bl, bl
jmp 0x490465
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x785dc4
je 0x490479
push ecx
call fcn.0060c9a9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4949d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
dec eax
push esi
push edi
cmp eax, 0xfe
ja case.0x4949fb.2
movzx eax, byte [eax + 0x494ae8]
jmp dword [eax*4 + 0x494ac8]
mov esi, 0x2b
jmp 0x494a31
mov esi, 0x23
jmp 0x494a31
mov esi, 0x1a
jmp 0x494a31
mov esi, 0x1c
jmp 0x494a31
mov esi, 0x2a
jmp 0x494a31
mov esi, 0x26
jmp 0x494a31
mov esi, 0x2c
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
mov eax, esi
or eax, 0x8000
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x494a71
cmp esi, 0x2c
jne 0x494ab5
push 1
push ebx
call fcn.004949d0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
call fcn.00494940
mov edi, eax
add esp, 4
test edi, edi
je 0x494ab5
push 0x104
push edi
push 0x104
push ebx
call fcn.00494890
push edi
mov esi, eax
call fcn.0061de50
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret

Function at 0x494cc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.004948e0
mov edi, eax
add esp, 4
test edi, edi
je 0x494ced
push esi
push edi
call fcn.00626a45
push edi
mov esi, eax
call fcn.0061de50
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebp
ret
push 0x16
call fcn.0061891c
add esp, 4
or eax, 0xffffffff
pop edi
pop ebp
ret

Function at 0x494e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x494edf
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00494940
mov esi, eax
add esp, 4
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x494e94
sub ecx, edx
je 0x494eaa
cmp byte [ecx + esi - 1], 0x5c
jne 0x494eaa
mov byte [ecx + esi - 1], al
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x494eb0
sub ecx, edx
push ecx
push esi
push dword [ebp + 0xc]
push edi
call fcn.00494890
push esi
call fcn.0061de50
add esp, 0x14
mov eax, edi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
Function at 0x496240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x682b2e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x780784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
push 0x16c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0060c962
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 2
push 0x74
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0060c962
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0xf
mov byte [edi + 0x94], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0xf
mov byte [edi + 0xac], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0xf
mov byte [edi + 0xc4], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0xf
mov byte [edi + 0xdc], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0xf
mov byte [edi + 0xf4], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0xf
mov byte [edi + 0x10c], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0xf
mov byte [edi + 0x124], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0xf
mov byte [edi + 0x13c], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0xf
mov byte [edi + 0x154], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0xf
mov byte [edi + 0x16c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0xf
mov byte [edi + 0x184], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d9310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi + 0x44]
test al, al
js 0x4d93ff
push ebx
xor ebx, ebx
push edi
test al, al
jle 0x4d9399
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ecx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x4d937e
mov eax, dword [ecx + 0x14]
dec dword [eax + 0x78]
mov edx, dword [eax + 0x88]
mov dword [ecx + 0x10], edx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], ecx
push dword [ecx + 4]
mov eax, dword [eax + 0x98]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.0060d430
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x4d9387
push ecx
call fcn.00515ff0
add esp, 4
mov ecx, dword [ebp - 4]
inc ebx
movsx eax, byte [esi + 0x44]
add ecx, 4
mov dword [ebp - 4], ecx
cmp ebx, eax
jl 0x4d9331
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x4d93f0
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.0060d430
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [ebp + 8]
add esp, 0x10
pop edi
pop ebx
mov byte [esi + 0x44], 0xff
pop esi
mov esp, ebp
pop ebp
ret
push edx
call fcn.00515ff0
add esp, 4
mov byte [esi + 0x44], 0xff
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4da470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push esi
push ebx
push edi
mov eax, dword [edi + 0x50]
call eax
movzx eax, word [esi + 0x10]
add esp, 0xc
mov edx, dword [esi + 0xc]
cmp eax, edx
je 0x4da633
movzx esi, word [esi + 0x12]
add esi, ebx
cmp esi, dword [edi + 0x3c]
jbe 0x4da4cf
push 0x6d8534
push 0x1134c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004c19e0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 0x34]
sub edx, eax
mov esi, dword [esi - 4]
bswap esi
mov dword [ebp + 0x10], edi
mov ecx, dword [edi + 0x24]
lea eax, [edx - 1]
sub ecx, 4
xor edx, edx
add eax, ecx
div ecx
mov ebx, eax
test ebx, ebx
je 0x4da633
nop word [eax + eax]
dec ebx
mov dword [ebp - 4], 0
mov dword [ebp + 8], 0
cmp esi, 2
jb 0x4da609
cmp esi, dword [edi + 0x2c]
ja 0x4da609
test ebx, ebx
je 0x4da549
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
push edi
call fcn.004e7800
add esp, 0x10
test eax, eax
jne 0x4da635
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4da559
mov edi, dword [ebp + 0x10]
push esi
push edi
call fcn.004d8f70
mov edi, eax
add esp, 8
test edi, edi
je 0x4da58a
mov ecx, dword [edi + 0x48]
cmp word [ecx + 0x1e], 1
je 0x4da58a
push 0x6d8534
push 0x11371
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004c19e0
add esp, 0x14
mov dword [ebp + 8], 0xb
jmp 0x4da59a
push esi
push edi
push dword [ebp + 0x10]
call fcn.004e5820
add esp, 0xc
mov dword [ebp + 8], eax
test edi, edi
je 0x4da5f3
mov edx, dword [edi + 0x48]
test edx, edx
je 0x4da5f3
test byte [edx + 0x1c], 0x20
je 0x4da5ea
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.0060d430
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x4da5f3
push edx
call fcn.00515ff0
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4da635
mov esi, dword [ebp - 4]
test ebx, ebx
je 0x4da633
mov edi, dword [ebp + 0x10]
jmp 0x4da500
push 0x6d8534
push 0x1135d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004c19e0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eb640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
mov al, byte [esi + 0x44]
test al, al
js 0x4eb6de
je 0x4eb754
push dword [esi + 0x74]
call fcn.004f3ac0
add esp, 4
sub byte [esi + 0x44], 1
je 0x4eb6d3
push ebx
movsx eax, byte [esi + 0x44]
mov eax, dword [esi + eax*4 + 0x78]
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x4eb6c3
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.0060d430
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x4eb6cc
push edx
call fcn.00515ff0
add esp, 4
sub byte [esi + 0x44], 1
jne 0x4eb673
pop ebx
mov eax, dword [esi + 0x78]
mov dword [esi + 0x74], eax
jmp 0x4eb76c
cmp dword [esi + 0x40], 0
jne 0x4eb6f2
pop edi
mov byte [esi], 1
mov eax, 0x10
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
cmp al, 3
jb 0x4eb71a
cmp al, 4
jne 0x4eb705
mov eax, dword [esi + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 0x10]
call fcn.004cc7a0
add esp, 4
mov dword [esi + 0x10], 0
mov byte [esi], 1
movzx eax, byte [esi + 2]
lea edi, [esi + 0x74]
push eax
mov eax, dword [esi + 8]
push 0
push edi
push dword [esi + 0x40]
push dword [eax + 4]
call fcn.004e7400
mov ecx, eax
add esp, 0x14
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4eb748
pop edi
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov byte [esi + 0x44], 0
mov al, byte [eax + 2]
mov byte [esi + 0x45], al
mov eax, dword [esi + 0x74]
cmp byte [eax], 0
je 0x4eb7d3
movzx eax, byte [eax + 2]
xor ecx, ecx
cmp dword [esi + 0x70], ecx
sete cl
cmp ecx, eax
jne 0x4eb7d3
and byte [esi + 1], 0xf1
xor eax, eax
mov word [esi + 0x46], ax
mov word [esi + 0x32], ax
mov eax, dword [esi + 0x74]
cmp word [eax + 0x18], 0
jbe 0x4eb790
mov eax, dword [ebp - 4]
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [eax + 8], 0
jne 0x4eb6e4
cmp dword [eax + 4], 1
je 0x4eb7b3
push 0x10ed7
call fcn.005017b0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
mov eax, dword [ecx + eax + 8]
bswap eax
push eax
push esi
mov byte [esi], 0
call fcn.004eb3b0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x6d8534
push 0x10eca
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.004c19e0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ee1f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x4ee224
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
movq qword [eax], xmm0
jmp 0x4ee29b
movzx eax, word [ebx + 0x8c]
cdq
mov edi, eax
add edi, 0x28
adc edx, 0
push edx
push edi
call fcn.00512960
mov esi, eax
add esp, 8
test esi, esi
je 0x4ee250
push edi
push 0
push esi
call fcn.0060f310
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ecx], esi
test esi, esi
jne 0x4ee28b
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x98]
dec ecx
mov esi, dword [ebx + 0x3c]
push 0
cdq
push ecx
mov edi, dword [esi]
push edx
push eax
call fcn.0060d430
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, 7
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [esi + 0x28]
mov dword [esi + 0x1c], 0x10020
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
inc dword [ebx + 0x78]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret