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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
mov dword [esp + 4], 0
push esi
push edi
mov dl, byte [ebx + 0x44]
test dl, dl
js 0x41ef11
lea edi, [ebx + 0x74]
je 0x41ef7d
mov eax, dword [edi]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x41ee95
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov esi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004f4a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
lea edi, [ebx + 0x74]
jmp 0x41ee9a
call fcn.0040f8d0
mov dl, byte [ebx + 0x44]
sub dl, 1
mov byte [ebx + 0x44], dl
je 0x41ef07
movsx eax, dl
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x41eef4
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov esi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004f4a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x41eef9
call fcn.0040f8d0
mov dl, byte [ebx + 0x44]
sub dl, 1
mov byte [ebx + 0x44], dl
jne 0x41eea5
lea edi, [ebx + 0x74]
mov esi, dword [ebx + 0x78]
mov dword [edi], esi
jmp 0x41ef9c
cmp dword [ebx + 0x3c], 0
jne 0x41ef26
mov byte [ebx], 0
mov eax, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx]
cmp al, 3
jb 0x41ef3f
cmp al, 4
jne 0x41ef3a
mov eax, dword [ebx + 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00419c80
movzx eax, byte [ebx + 2]
lea edi, [ebx + 0x74]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x3c]
push eax
push 0
mov ecx, dword [ecx + 4]
push edi
call fcn.0041b430
mov ecx, eax
add esp, 0xc
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x41ef6f
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
xor dl, dl
mov byte [ebx + 0x44], 0
mov al, byte [eax + 2]
mov byte [ebx + 0x45], al
mov esi, dword [edi]
cmp byte [esi], 0
je 0x41f044
movzx eax, byte [esi + 2]
xor ecx, ecx
cmp dword [ebx + 0x70], ecx
sete cl
cmp ecx, eax
jne 0x41f044
and byte [ebx + 1], 0xf1
xor eax, eax
mov word [ebx + 0x46], ax
mov word [ebx + 0x2a], ax
cmp word [esi + 0x16], ax
jbe 0x41efbe
mov eax, dword [esp + 0xc]
mov byte [ebx], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], al
jne 0x41f036
cmp dword [esi + 4], 1
je 0x41efd5
push 0x54b514
push 0xfcc4
jmp 0x41f04e
mov eax, dword [esi + 0x38]
movzx ecx, byte [esi + 9]
mov esi, dword [ecx + eax + 8]
mov eax, dword [ebx + 0xc]
mov byte [ebx], 1
mov dword [esp + 0xc], eax
cmp dl, 0x13
jl 0x41effb
push 0x54b514
push 0xfc2d
jmp 0x41f04e
movsx eax, dl
xor ecx, ecx
bswap esi
mov edx, esi
mov word [ebx + eax*2 + 0x48], cx
movsx ecx, byte [ebx + 0x44]
mov eax, dword [edi]
mov dword [ebx + ecx*4 + 0x78], eax
xor eax, eax
mov ecx, dword [esp + 0xc]
inc byte [ebx + 0x44]
mov word [ebx + 0x46], ax
movzx eax, byte [ebx + 2]
push eax
push ebx
push edi
call fcn.0041b430
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebx], al
mov eax, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x54b514
push 0xfcb7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00407d30
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret