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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x450
mov esi, esp
mov ebx, ecx
mov eax, dword [0x587040]
xor eax, ebp
mov dword [esi + 0x448], eax
xor eax, eax
dec eax
lea edx, [esi + 0x28]
mov dword [edx + 4], eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x60]
push edx
call fcn.004e10c0
lea edi, [esi + 0xc0]
push 0x388
push 0xff
push edi
call fcn.004f0940
add esp, 0xc
mov dword [edi], 0
mov edi, dword [ebx + 0x6c]
cmp edi, dword [ebx + 0x70]
mov dword [esi + 0xc], ebx
je 0x4dbb13
lea eax, [ebx + 0x68]
mov dword [esi + 0x10], eax
cmp dword [edi + 0x50], 0
je 0x4dbec3
lea ecx, [edi + 0x50]
call fcn.004b94f0
mov ebx, eax
test al, al
jne 0x4dba39
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x50]
push eax
call fcn.004e0c60
mov ecx, edi
lea eax, [esi + 0x30]
push eax
call fcn.004e5e10
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x30]
mov eax, dword [esi + 0x54]
sbb eax, dword [esi + 0x34]
jl 0x4dbae8
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xb0], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x6c]
cmp eax, dword [ecx + 0x70]
je 0x4dbed1
cmp byte [eax + 0x59], 1
lea edi, [esi + 0x50]
je 0x4dbec6
mov ecx, dword [esi + 0x10]
push 0
push edi
call fcn.004ddd40
test bl, bl
jne 0x4dbdd0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xb4], eax
mov ebx, dword [esi + 0xc]
mov ecx, ebx
push edi
call fcn.004dc520
mov edi, esp
sub esp, 0x70
mov ecx, esp
lea eax, [esi + 0x50]
push eax
call fcn.004e1940
lea ecx, [esi + 0x28]
call fcn.004e0e50
mov esp, edi
lea edi, [esi + 0x50]
mov ecx, edi
call fcn.004e1990
mov edi, dword [ebx + 0x6c]
cmp edi, dword [ebx + 0x70]
jne 0x4db9f8
mov ebx, dword [esi + 0xc0]
test bl, 1
jne 0x4dbea2
xor eax, eax
lea ecx, [esi + 0xc8]
cmp ebx, 2
jae 0x4dbda0
test eax, eax
mov ebx, dword [esi + 0xc]
jne 0x4dbeb0
mov dword [esi + 0xc0], 0
mov ecx, dword [ebx]
cmp dword [ecx + 0x4c], 0x4dd0c0
jne 0x4dbd49
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
cmp dword [ecx + 0x18], 0x4dc290
jne 0x4dbd1b
mov edi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
cmp edi, eax
je 0x4dbd95
cmp dword [ecx + 8], fcn.004dd0b0
jne 0x4dbd7f
cmp byte [ebx + 0x9c], 0
je 0x4dbd95
cmp edi, eax
je 0x4dbed1
cmp dword [ebx + 0x78], 0
jne 0x4dbf0e
mov dword [esi + 0x14], 0
mov eax, dword [ebx]
mov dword [esi + 0x10], edi
mov edi, dword [edi + 0x28]
cmp dword [eax + 0x24], 0x4dc680
jne 0x4dbd2b
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0x64]
mov al, byte [eax + 0x20]
xor ecx, ecx
cmp edi, 2
cmovne ecx, edi
mov edx, dword [ebx + 8]
cmp al, byte [edx + 0x35]
cmovbe ecx, edi
mov eax, dword [esi + 0x10]
movdqu xmm0, xmmword [eax + 0x18]
movdqa xmmword [esi + 0x30], xmm0
mov eax, dword [esi + 0x14]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov al, 1
mov byte [esi + 0x48], al
cmp dword [ebx + 0x5c], 0
jne 0x4dbe2e
mov eax, dword [esi + 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x34]
mov ch, byte [esi + 0x48]
mov cl, byte [ebx + 0x108]
mov byte [esi + 0xb], ch
and ch, cl
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x38]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x40]
mov dword [esi + 0x18], edx
mov edi, dword [esi + 0x44]
mov dword [esi + 0x20], edi
cmp ch, 1
jne 0x4dbd3a
mov ecx, dword [ebx + 0xf0]
xor ecx, dword [esi + 0x10]
mov edi, eax
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0xf4]
mov eax, edi
xor ebx, edi
or ebx, ecx
mov ebx, dword [esi + 0xc]
jne 0x4dbc6b
mov ecx, dword [ebx + 0xf8]
xor ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0xfc]
mov eax, edi
xor ebx, dword [esi + 0x1c]
or ebx, ecx
mov ebx, dword [esi + 0xc]
jne 0x4dbc6b
mov ecx, dword [esi + 0x18]
cmp dword [ebx + 0x100], ecx
jne 0x4dbc6b
mov ecx, dword [esi + 0x20]
cmp dword [ebx + 0x104], ecx
je 0x4dbd53
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0x10]
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], eax
mov ecx, dword [esi + 0x14]
mov dword [ebx + 0xf8], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebx + 0xfc], ecx
mov ecx, dword [esi + 0x18]
mov dword [ebx + 0x100], ecx
mov edi, dword [esi + 0x20]
mov dword [ebx + 0x104], edi
mov cl, byte [esi + 0xb]
mov byte [ebx + 0x108], cl
lea edx, [esi + 0x49]
mov ecx, dword [edx]
mov eax, dword [edx + 3]
mov dword [ebx + 0x109], ecx
mov dword [ebx + 0x10c], eax
mov ecx, dword [ebx + 0x58]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edi
mov al, byte [esi + 0xb]
mov byte [esi + 0x68], al
mov eax, dword [edx + 3]
mov dword [esi + 0x6c], eax
mov eax, dword [edx]
mov dword [esi + 0x69], eax
sub esp, 0x28
movdqu xmm0, xmmword [esi + 0x50]
movups xmm1, xmmword [esi + 0x60]
movups xmmword [esp + 0x18], xmm1
movdqu xmmword [esp + 8], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004dfa80
jmp 0x4dbd53
lea eax, [esi + 0x30]
mov ecx, ebx
push eax
call fcn.004dc290
jmp 0x4dbbd2
mov ebx, dword [esi + 0xc]
mov ecx, ebx
call fcn.004dc680
jmp 0x4dbba6
mov ch, byte [esi + 0xb]
and ch, 1
cmp ch, cl
je 0x4dbd53
jmp 0x4dbc6b
mov ecx, ebx
push dword [ebp + 8]
call fcn.004dd0c0
cmp dword [esi + 0xc0], 0
jne 0x4dbee0
lea ecx, [esi + 0x28]
call fcn.004e1010
mov ecx, dword [esi + 0x448]
xor ecx, ebp
call fcn.004ecef0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, ebx
call fcn.004dd0b0
test al, al
je 0x4dbd95
mov edi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x70]
jmp 0x4dbb6f
mov byte [esi + 0x30], 0
xor eax, eax
jmp 0x4dbbcf
shr ebx, 1
imul eax, ebx, 0x70
lea edi, [eax + ecx]
add edi, 0xffffff90
test edi, edi
je 0x4dbeff
dec ebx
mov ecx, edi
call fcn.004e1990
add edi, 0xffffff90
test ebx, ebx
jne 0x4dbdab
mov eax, dword [esi + 0xc0]
and eax, 1
jmp 0x4dbb08
mov eax, dword [esi + 0xc0]
mov edx, 8
test al, 1
mov ebx, dword [esi + 0xc]
je 0x4dbde8
mov edx, dword [esi + 0xcc]
mov ecx, eax
shr ecx, 1
cmp ecx, edx
je 0x4dbe1d
lea edx, [esi + 0xc8]
test al, 1
je 0x4dbe00
mov edx, dword [esi + 0xc8]
imul ecx, ecx, 0x70
add ecx, edx
je 0x4dbef0
push edi
call fcn.004e1940
add dword [esi + 0xc0], 2
jmp 0x4dbad5
lea ecx, [esi + 0xc0]
push edi
call fcn.004dd740
jmp 0x4dbad5
mov ecx, ebx
call fcn.004dd0b0
test al, al
je 0x4dbbdc
mov edi, dword [ebx + 0x5c]
mov dword [esi + 0x10], edi
mov ecx, ebx
call fcn.00486b50
mov byte [esi + 0x14], al
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x580f64]
sub esp, 0x2c
movaps xmm0, xmmword [esi + 0x30]
movaps xmm1, xmmword [esi + 0x40]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, byte [esi + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea edi, [esi + 0x50]
mov dword [esp], edi
mov ecx, dword [esi + 0x10]
call ebx
mov ebx, dword [esi + 0xc]
movdqu xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movaps xmmword [esi + 0x40], xmm1
movdqa xmmword [esi + 0x30], xmm0
jmp 0x4dbbdc
xor eax, eax
inc eax
mov ecx, dword [esi + 0xc8]
jmp 0x4dbaff
push dword [esi + 0xc8]
call fcn.004ec97e
add esp, 4
jmp 0x4dbb13
int3
mov eax, dword [esi + 0xc]
dec dword [eax + 0x78]
jmp 0x4dba88
push str....._third_partylibc_srcinclude_vector:618:_assertion__empty___failed:_front___called_on_an_empty_vector_n
push 0x565ab5
call fcn.0051c8d0
lea ecx, [esi + 0xc0]
call fcn.004dd6d0
jmp 0x4dbd60
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x565ab5
call fcn.0051c8d0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
push 0x565ab5
call fcn.0051c8d0
mov ecx, ebx
call fcn.004dc680
mov ecx, dword [ebx + 8]
xor edx, edx
cmp al, byte [ecx + 0x35]
mov eax, dword [ebx]
setbe dl
mov dword [esi + 0x14], edx
jmp 0x4dbb8a