joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41be95
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41d67e
call fcn.004058e0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x41e964
xor eax, eax
push 0xa
lea ecx, [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00411fd1
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.00411fd1
push 0xa
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00411e4e
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x41f9cc
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x4131f0
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x41c386
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x41c3b6
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jl 0x41c440
cmp dword [esp + 0x14], ebx
je 0x41c440
cmp esi, ebx
jne 0x41c3dc
push 0x10
call fcn.0041c1a3
cmp eax, ebx
je 0x41c3cb
mov dword [eax], 0x41fdfc
mov esi, eax
jmp 0x41c3cd
xor esi, esi
push esi
lea ecx, [edi + 0x14]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.0041c145
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41c3f3
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x41c403
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x41c40f
call fcn.00411e18
mov eax, dword [esi + 8]
mov ecx, eax
imul ecx, ecx, 0x3fffffff
add ecx, dword [edi + 0xc]
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
push ebx
lea eax, [ecx + eax*4]
push eax
call fcn.00405ae0
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax + edx*4], ecx
pop ebx
ret 8

Function at 0x41c476
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
mov ebx, ecx
pop edi
cmp dword [esi + 8], edi
mov dword [ebp - 4], edi
jle 0x41c4c9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41c4ac
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + edi*8 + 4], eax
je 0x41c4ac
mov eax, dword [esi + 0xc]
cmp dword [eax + edi*4], 0
je 0x41c4c3
and dword [ebp - 4], 0
jmp 0x41c4c3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x41c4bc
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xc]
and dword [eax + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jl 0x41c48d
cmp dword [ebp - 4], 0
je 0x41c4f7
push esi
lea ecx, [ebx + 0x14]
call fcn.0041c158
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x41c4ed
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x47], 0xa7
call fcn.00405495
inc ebp
popal
fidiv dword [ebp - 0x73]
inc ebp
test al, 0x50
call fcn.004054a5
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040545a
std
invalid
inc dword [ebx - 0x7272ef3c]
push eax
invalid
invalid
call dword [ecx - 1]
ror byte [ebx - 0x727407bb], 1
push esp
invalid
invalid
push dword [ebx]
sal bh, cl
int1
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x405783
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00405495
test byte [eax + 0x458d3504], ah
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x405a00
Capabilities:
Inspect section memory permissions

Disassembly:
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00405406
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
cmp eax, dword [edi + 6]
cmp eax, dword [edi + 6]
jb 0x4059d2
call fcn.00405495
jo 0x405a62
popal
dec ebx
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x405c84
add eax, esi
mov dword [ebp - 0x44], eax
or al, 0xf
test byte [ebx], bl
add al, byte [eax]
add byte [ebx + 0x488bbc45], cl
adc byte [ebx - 0x723cc500], cl
cmp al, 0x31
Function at 0x405a60
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x405a3a
cmp dword [eax + 0xc], ebx
je 0x405add
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00405495
rol word fs:[esi + 0x750c5d39], 1
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov dword [ebp + 0xc], eax
je 0x405c84
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x405a7d
mov dword [ebp + 0x10], edi
jmp 0x405a82
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.00405495
bound esi, qword [ecx - 0xe]
fisttp word [ebx + 0x8b1045]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x405acb
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x405aa6
and eax, 0xffff
push eax
jmp 0x405aaa
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040545a
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x405c84
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x405a8b
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x405a2c
call fcn.00405495
or dword [ebx], edi
loopne 0x405b07
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x405b49
add eax, esi
or byte [edi], cl
mov bh, 9

Function at 0x405b20
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x405b49
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x405b44
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x405b2e
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add byte [ebx + 0x34572bd6], cl
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x405b36
cmp edx, ebx
jne 0x405c84
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x405b05
add eax, dword [eax + 4]
jmp 0x405af2
mov dword [ebp + 0xc], ebx
jmp 0x405b54
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405b6c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x405b8a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x405be8
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
add byte [eax], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x405bcf
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x405bd8
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x405be2
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x405bc4
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405b4e
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x405bc0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x405b49
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x405b44
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x405b2e
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add byte [ebx + 0x34572bd6], cl
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x405b36
cmp edx, ebx
jne 0x405c84
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x405b05
add eax, dword [eax + 4]
jmp 0x405af2
mov dword [ebp + 0xc], ebx
jmp 0x405b54
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405b6c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x405b8a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x405be8
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
add byte [eax], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x405bcf
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x405bd8
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x405be2
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x405bc4
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405b4e
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x406900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
invalid
invalid

Function at 0x40f0f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
lea ecx, [eax*8]
cmp ecx, 0x400
push ebp
push esi
jbe 0x40f10d
mov eax, 0x80
cmp eax, dword [edi]
jne 0x40f119
xor eax, eax
pop esi
pop ebp
add esp, 8
ret
lea edx, [eax*8]
push 0
push edx
call fcn.0040dcf0
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 8], esi
je 0x40f111
mov eax, dword [edi + 0xc]
push eax
call fcn.0040a140
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x47a038]
mov ebp, eax
shr ebp, 3
add esp, 4
lea ecx, [ebp*8]
push ecx
push 0
push esi
mov dword [esp + 0x20], ebp
mov dword [edi], ebp
call sub.msvcrt.dll_memset
mov ecx, dword [edi + 8]
add esp, 0xc
test ecx, ecx
mov dword [edi + 8], 0
je 0x40f21e
mov edi, edi
mov esi, dword [ecx + 0xc]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x40f1ad
movzx edx, dl
movzx edx, byte [edx + 0x472788]
lea ebp, [eax*8]
xor edx, ebp
add esi, 1
xor eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x40f18b
mov ebp, dword [esp + 0x14]
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
xor edx, edx
div ebp
mov eax, dword [esp + 8]
lea eax, [eax + edx*8]
test eax, eax
je 0x40f1f9
mov esi, dword [eax]
test esi, esi
je 0x40f1cd
mov edx, dword [eax + 4]
jmp 0x40f1cf
xor edx, edx
add esi, 1
test edx, edx
mov dword [eax], esi
mov dword [eax + 4], ecx
je 0x40f1f9
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x40f1f1
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x40f212
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x40f212
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x40f208
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x40f180
pop esi
mov eax, 1
pop ebp
add esp, 8
ret
Function at 0x40f230
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [eax], 0
cmp dword [0x47a008], 0
push esi
je 0x40f293
mov eax, dword [0x47c4a8]
test eax, eax
je 0x40f260
push eax
call dword [0x47a05c]
add esp, 4
lea ebx, [esp + 0x10]
mov eax, 0x14
call fcn.0040cdc0
mov eax, dword [0x47c4a8]
test eax, eax
je 0x40f281
push eax
call dword [0x47a064]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40f2a2
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x14
call dword [0x47a02c]
add esp, 4
mov esi, eax
jmp 0x40f285
cmp dword [0x47a00c], 0
je 0x40f2cf
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x4063c0
push 0
push 0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
test eax, eax
mov dword [esi], eax
jne 0x40f2df
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x40f2f7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x18]
mov dword [edx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x412700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41276d
mov esi, dword [ebp + 8]
test esi, esi
je 0x412720
cmp byte [esi + 0x41], 0
jne 0x41276d
cmp dword [0x47a008], 0
je 0x412776
mov eax, dword [0x47c4a8]
test eax, eax
je 0x41273c
push eax
call dword [0x47a05c]
add esp, 4
lea ebx, [esp + 0x10]
mov eax, 8
call fcn.0040cdc0
mov eax, dword [0x47c4a8]
test eax, eax
je 0x41275d
push eax
call dword [0x47a064]
add esp, 4
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x412789
test esi, esi
je 0x41276d
mov byte [esi + 0x41], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call dword [0x47a02c]
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
jmp 0x412761
test byte [ebp + 0x10], 1
mov eax, dword [edi]
mov dword [ebx], eax
jne 0x4127a6
mov ecx, dword [edi]
mov eax, 1
cmp ecx, eax
jle 0x4127a6
mov edi, edi
add eax, eax
cmp eax, ecx
jl 0x4127a0
test esi, esi
je 0x4127b4
cmp byte [esi + 0x41], 0
je 0x4127b4
xor edi, edi
jmp 0x4127d6
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
push 0
push eax
call fcn.0040dcf0
add esp, 8
test eax, eax
jne 0x4127d4
test esi, esi
je 0x4127d4
mov byte [esi + 0x41], 1
mov edi, eax
test edi, edi
mov dword [ebx + 4], edi
jne 0x41280b
test esi, esi
je 0x4127f9
cmp dword [esi + 0x1d8], edi
je 0x4127f9
mov eax, ebx
call fcn.0040cda0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0040a140
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 4]
mov edx, ecx
cmp dword [edx], 0
mov dword [esp + 0x14], 0
jle 0x41288f
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi]
mov edx, dword [ebp + 8]
push 0
push ecx
push eax
push edx
call fcn.004128a0
mov dword [edi], eax
mov ebx, dword [esi + 4]
mov eax, dword [ebp + 8]
add esp, 0x10
call fcn.00411fe0
mov dword [edi + 4], eax
mov ebx, dword [esi + 8]
mov eax, dword [ebp + 8]
call fcn.00411fe0
mov dword [edi + 8], eax
mov al, byte [esi + 0xc]
and dword [edi + 0x10], 0xfffffffe
mov byte [edi + 0xc], al
mov eax, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
xor ecx, eax
and ecx, 2
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x14], edx
add eax, 1
add edi, 0x18
add esi, 0x18
cmp eax, dword [ecx]
mov dword [esp + 0x14], eax
jl 0x412820
mov ebx, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424b10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, eax
movzx ecx, word [edi + 0x12]
movzx edx, word [edi + 0xe]
movzx eax, byte [edi + 6]
mov esi, dword [edi + 0x38]
lea ebp, [edx + ecx*2]
xor ebx, ebx
mov bh, byte [esi + eax + 5]
lea ecx, [esi + eax + 5]
lea edx, [esi + eax + 6]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov bl, byte [edx]
cmp ebp, ebx
jle 0x424b89
test ebx, ebx
jne 0x424b60
mov ecx, dword [edi + 0x34]
mov ebx, 0x10000
cmp dword [ecx + 0x24], ebx
je 0x424b89
push 0x47735c
push 0xd837
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.0041f550
add esp, 0xc
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp byte [esi + eax + 2], 0
jne 0x424b97
cmp byte [esi + eax + 1], 0
je 0x424bcf
lea edx, [ebp + 2]
cmp edx, ebx
jg 0x424bcf
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
push edi
call fcn.004224a0
add esp, 0xc
test eax, eax
je 0x424bc7
mov edx, dword [esp + 0x24]
sub eax, esi
mov dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x424c19
mov esi, dword [esp + 0x20]
lea eax, [esi + ebp + 2]
cmp eax, ebx
jle 0x424bfe
call fcn.004225d0
test eax, eax
jne 0x424c19
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ebx, ebx
mov bh, byte [ecx]
mov bl, byte [edx]
sub ebx, 1
and ebx, 0xffff
add ebx, 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub ebx, esi
mov eax, ebx
sar eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x24]
mov dword [eax], ebx
mov byte [edx], bl
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x438a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x44], 0
push esi
push edi
mov dword [esp + 0x10], 0
jl 0x438b25
lea edi, [ebx + 0x78]
mov dword [esp + 0x14], edi
mov eax, dword [edi]
test eax, eax
je 0x438b01
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x438ae1
add dword [esi + 0x78], 0xffffffff
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
sub ecx, 1
push 0
push ecx
call fcn.0046e8a0
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x24]
add esp, 0x10
jmp 0x438ae6
call fcn.00409690
cmp dword [esi + 0x78], 0
jne 0x438b01
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x438b01
push esi
call fcn.004353d0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [edi], 0
movsx ecx, byte [ebx + 0x44]
add eax, 1
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
jle 0x438a88
pop edi
pop esi
mov byte [ebx + 0x44], 0xff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fd30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov al, byte [edi + 0x42]
push ebx
xor ebx, ebx
cmp al, 3
push esi
mov dword [esp + 0xc], ebx
jb 0x43fd67
cmp al, 4
jne 0x43fd55
mov eax, dword [edi + 0x3c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x30]
push eax
call fcn.0040a140
add esp, 4
mov dword [edi + 0x30], ebx
mov byte [edi + 0x42], bl
mov al, byte [edi + 0x44]
cmp al, bl
jl 0x43fe30
je 0x43fe76
jmp 0x43fd80
mov al, byte [edi + 0x44]
movsx ecx, al
mov ecx, dword [edi + ecx*4 + 0x78]
sub al, 1
mov byte [edi + 0x44], al
mov eax, dword [ecx + 0x48]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x43fde0
add dword [esi + 0x78], 0xffffffff
mov edx, dword [esi + 0x88]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov ebx, dword [ecx]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
cdq
push edx
push eax
sub ecx, 1
push 0
push ecx
call fcn.0046e8a0
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [esi + 0x3c]
push eax
call edx
add esp, 0x10
xor ebx, ebx
jmp 0x43fde5
call fcn.00409690
cmp dword [esi + 0x78], ebx
jne 0x43fe25
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], ebx
jne 0x43fe25
mov al, byte [esi + 0x10]
cmp al, 6
je 0x43fe1e
cmp al, bl
je 0x43fe1e
cmp al, 2
jb 0x43fe0d
mov eax, esi
call fcn.00434b70
jmp 0x43fe1e
cmp byte [esi + 4], bl
jne 0x43fe1e
push ebx
push ebx
mov eax, esi
call fcn.0040eb10
add esp, 8
mov eax, esi
call fcn.004114d0
cmp byte [edi + 0x44], bl
jne 0x43fd80
jmp 0x43fe76
mov eax, dword [edi + 0x34]
cmp eax, ebx
jne 0x43fe42
mov byte [edi + 0x42], bl
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [edi + 0x41]
mov edx, dword [edi]
push ecx
mov ecx, dword [edx + 4]
push ebx
lea esi, [edi + 0x78]
push esi
push ecx
call fcn.00438960
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x43fe6b
mov byte [edi + 0x42], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov byte [edi + 0x44], bl
mov al, byte [edx + 2]
mov byte [edi + 0x45], al
mov eax, dword [edi + 0x78]
cmp byte [eax], bl
je 0x43fefb
movzx edx, byte [eax + 2]
xor ecx, ecx
cmp dword [edi + 0x48], ebx
sete cl
cmp ecx, edx
jne 0x43fefb
and byte [edi + 0x40], 0xf1
mov word [edi + 0x50], bx
mov word [edi + 0x24], bx
cmp word [eax + 0x12], bx
jbe 0x43fead
mov byte [edi + 0x42], 1
mov eax, dword [esp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [eax + 5], bl
jne 0x43feee
cmp dword [eax + 0x54], 1
je 0x43fec8
mov eax, 0xe55e
call fcn.0041f640
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 6]
mov edx, dword [eax + 0x38]
mov eax, dword [ecx + edx + 8]
bswap eax
push eax
mov eax, edi
mov byte [edi + 0x42], 1
call fcn.0043be80
add esp, 4
mov dword [esp + 0xc], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x42], bl
mov eax, dword [esp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x47735c
push 0xe553
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.0041f550
add esp, 0xc
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x48]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
call fcn.00428350
mov esi, eax
test esi, esi
jne 0x441083
mov ecx, dword [ebx + 0x54]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0043f820
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x28], eax
call fcn.00427ed0
mov esi, dword [esp + 0x28]
add esp, 0x18
test esi, esi
je 0x4410d0
test edi, edi
mov eax, dword [ebp + 8]
mov dword [eax], 0
je 0x4410c7
mov edi, dword [edi + 0x48]
test byte [edi + 0x18], 0x40
mov ebx, dword [edi + 0x10]
je 0x4410a5
mov ecx, edi
call fcn.00408cd0
jmp 0x4410ac
mov eax, edi
call fcn.00409690
cmp dword [ebx + 0x78], 0
jne 0x4410c7
mov ecx, dword [ebx + 0xcc]
cmp dword [ecx + 0xc], 0
jne 0x4410c7
push ebx
call fcn.004353d0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, byte [ebx + 1]
add edx, edx
push edx
lea eax, [ebx + 0x16]
push eax
lea ecx, [edi + 0x16]
push ecx
call sub.msvcrt.dll_memcpy
movzx edx, byte [ebx + 1]
add edx, edx
add esp, 0xc
add edx, edx
push edx
lea eax, [ebx + 0x20]
push eax
lea ecx, [edi + 0x20]
push ecx
call sub.msvcrt.dll_memcpy
mov dl, byte [ebx + 1]
mov byte [edi + 1], dl
mov eax, dword [edi + 0x38]
movzx ecx, byte [eax]
and ecx, 0xfffffff7
add esp, 0xc
push ecx
mov esi, ebx
call fcn.004247c0
movzx eax, byte [ebx + 6]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x38]
bswap edx
mov dword [eax + ecx + 8], edx
mov edx, dword [ebp + 8]
add esp, 4
mov dword [edx], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret