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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0xac]
mov cl, byte [edi + 0x27c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x74], eax
movsd xmm0, qword [esi + 0xa4]
movsd qword [esp + 0x6c], xmm0
mov dword [esi + 0xa4], 1
and dword [esi + 0xa8], 0
and dword [esi + 0xac], 0
mov al, byte [edi + 0x50]
cmp al, 2
mov byte [esp + 4], al
mov eax, edx
call 0x577b41
pop edx
sete byte [esp + 0x38]
and eax, 0x7ffffff
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x94]
shr eax, cl
mov ecx, dword [esi + 0x8c]
push 0x5ac5a4
push eax
call fcn.004052a8
pop ecx
pop edx
and dword [esi + 0x48], 0
and dword [esi + 0x64], 0
mov ecx, eax
mov dword [esp + 0x10], esi
mov eax, dword [edi + 0x278]
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov al, byte [eax + 0x15c]
add ebx, 8
mov edx, esi
mov ecx, ebx
mov byte [esp + 3], al
call fcn.0047cd1a
test eax, eax
je 0x577bd3
xor ecx, ecx
cmp eax, 0x40000000
mov ebp, eax
mov edx, 0x5af494
setb cl
shl ebp, 2
call fcn.004b8a02
xor ecx, ecx
add ebp, 0xd
mov edx, 0x5af4a4
setae cl
call fcn.004b8a02
jmp 0x577bd6
push 9
pop ebp
mov al, byte [esp + 4]
mov edx, ebx
or byte [esp + 0x38], al
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x30]
mov ebx, eax
mov dword [esp + 0x28], ecx
lea ecx, [eax + 0x98]
mov dword [esp + 0x3c], ecx
lea ecx, [eax + 0x8c]
mov dword [esp + 0x48], ecx
mov ecx, ebp
push 0x5af474
push esi
call fcn.004fc45b
pop ecx
pop ecx
mov ecx, dword [ebx + 0x38]
mov esi, eax
mov edi, edx
xor ebp, ebp
mov dword [esp + 4], 0
mov dword [esp + 0xc], ecx
test edi, edi
je 0x577d11
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 8], ebp
cmp edi, edx
je 0x577c50
movzx eax, byte [esi + edx]
test al, al
jns 0x577c56
and eax, 0x7f
inc edx
shl eax, cl
add ecx, 7
or ebx, eax
jmp 0x577c37
xor eax, eax
xor edx, edx
jmp 0x577c5b
shl eax, cl
inc edx
or eax, ebx
mov ebp, dword [esp + 4]
mov ecx, eax
and eax, 1
shr ecx, 1
neg eax
xor eax, ecx
mov ecx, edx
mov edx, esi
add ebp, eax
push 0x5af484
push edi
call fcn.004fc45b
pop ecx
pop ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebp
mov edi, edx
mov esi, eax
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x44]
push 0x5af930
mov dword [esp + 8], ebp
push ebp
call fcn.00408083
pop ecx
pop edx
mov eax, dword [eax]
mov ebp, dword [esp + 8]
cmp eax, ebp
jae 0x577cc9
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push 0x5af940
push eax
call fcn.00408083
pop ecx
pop edx
mov ecx, dword [esp + 4]
cmp dword [eax], ecx
je 0x577c25
cmp ebp, dword [esp + 0xc]
mov dword [esp + 0x50], ebp
jae 0x5784e4
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
push 0x5af910
push ebp
call fcn.00408083
pop ecx
pop edx
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x44]
push 0x5af920
push dword [esp + 0x48]
call fcn.00408083
pop ecx
pop edx
mov dword [eax], ebp
inc ebp
mov dword [ebx + 0x48], ebp
jmp 0x577c25
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0047c46e
test eax, eax
je 0x577f04
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0047c477
mov ecx, dword [esp + 0xa4]
mov esi, eax
mov ebx, ecx
shr ebx, 8
test cl, 1
jne 0x577d5a
cmp bl, 0xa
je 0x577d5f
movzx eax, bl
cmp eax, 0xd
jne 0x577d82
cmp byte [esp + 3], 0
jne 0x577d66
jmp 0x577d7f
or esi, 0x2a
jmp 0x577d82
cmp byte [esp + 3], 0
jne 0x577d7f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
call fcn.0047c480
mov ecx, dword [esp + 0xa4]
test al, al
jne 0x577d82
or esi, 0x20
mov eax, dword [esp + 0x18]
mov ebp, esi
or ebp, 8
cmp byte [eax + 0x158], bl
cmovne ebp, esi
test cl, 1
cmovne ebp, esi
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0047c480
test al, al
je 0x577dd8
cmp byte [esp + 3], 0
je 0x577dc5
mov eax, dword [esp + 0xa4]
test al, 1
jne 0x577dd5
cmp bl, 0xd
je 0x577dd8
jmp 0x577dd5
mov eax, dword [esp + 0xa4]
test al, 1
jne 0x577dd5
cmp bl, 0xa
je 0x577dd8
or ebp, 0x10
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0047c49e
mov ecx, dword [esp + 0xa4]
test cl, 1
jne 0x577e13
movzx ecx, bl
mov edi, 0x280
mov cl, byte [ecx + 0x5af960]
test cl, cl
setne dl
xor al, dl
mov eax, 0x140
cmovne edi, eax
or edi, ebp
test cl, cl
jne 0x577e2d
jmp 0x577e27
test al, al
je 0x577e1f
or ebp, 0x140
jmp 0x577e25
or ebp, 0x280
mov edi, ebp
or edi, 0x28000
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0047c49e
test al, al
je 0x577e52
mov eax, dword [esp + 0xa4]
test al, 1
jne 0x577e83
movzx eax, bl
cmp byte [eax + 0x5af960], 0
je 0x577e83
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0047c49e
test al, al
jne 0x577e89
mov eax, dword [esp + 0xa4]
and eax, 1
jne 0x577e89
mov ecx, edi
movzx eax, bl
or ecx, 0x1400
cmp byte [eax + 0x5af960], 0
cmovne edi, ecx
jmp 0x577e89
or edi, 0x2800
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0047c477
mov edx, esi
mov esi, eax
mov ecx, dword [edx]
mov edx, dword [edx + 4]
not esi
call fcn.0047c46e
mov ebx, dword [esp + 0x10]
and eax, esi
test eax, edi
je 0x577f04
mov ecx, dword [esp + 0x28]
call fcn.0047c4bc
mov ecx, ebx
mov esi, eax
mov ebx, edx
lea ebp, [ecx + 0x4c]
cmp esi, ebx
je 0x577ee2
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
add esi, 4
mov ecx, dword [eax + 0x278]
push ebp
push dword [esp + 0x40]
push edi
call fcn.0047c4dc
add esp, 0xc
jmp 0x577ebf
push 0xfffffffffffffff9
pop eax
mov esi, dword [esp + 0x10]
test eax, eax
je 0x577f00
mov ecx, dword [ebp + eax*4]
mov edx, dword [ebp + eax*4 + 0x1c]
mov dword [ebp + eax*4], edx
mov dword [ebp + eax*4 + 0x1c], ecx
inc eax
jmp 0x577ee9
and dword [esi + 0x64], 0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x6c]
call fcn.0047b5a2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xa4]
mov eax, dword [eax + 0x130]
test al, 0x3c
je 0x577f80
mov edi, dword [esp + 0x2c]
test dl, 1
jne 0x577f84
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x158], dh
jne 0x577f84
lea ebx, [esp + 0x1c]
mov ecx, ebx
call fcn.0047c798
mov edx, dword [ebx + 8]
mov ecx, dword [ebx]
mov esi, eax
or esi, 4
push 0x5af504
push 1
call fcn.00410db0
pop ecx
pop ecx
mov ebx, edx
mov edx, eax
mov ecx, esi
push ebx
call fcn.0047c7a5
mov edx, dword [esp + 0xa8]
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
jmp 0x577f84
mov edi, dword [esp + 0x2c]
test al, 0x30
je 0x577fe6
mov ecx, edx
and ecx, 0xff01
cmp byte [esp + 3], 0
je 0x578350
cmp ecx, 0xd00
jne 0x577fe6
lea ebx, [esp + 0x1c]
mov ecx, ebx
call fcn.0047c798
mov edx, dword [ebx + 8]
mov ecx, dword [ebx]
mov esi, eax
or esi, 0x10
push 0x5af504
push 1
call fcn.00410db0
pop ecx
pop ecx
mov ebx, edx
mov edx, eax
mov ecx, esi
push ebx
call fcn.0047c7a5
mov edx, dword [esp + 0xa8]
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
and edx, 1
test eax, 0x3ffc0
mov dword [esp + 8], edx
mov dword [esp + 4], edx
je 0x578055
cmp dword [esp + 8], 0
jne 0x57801a
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], 0
movzx eax, ah
cmp byte [eax + 0x5af960], 0
jne 0x578055
lea ebx, [esp + 0x1c]
mov ecx, ebx
call fcn.0047c798
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
mov esi, eax
or esi, 0x14000
push 0x5af504
push 1
call fcn.00410db0
pop ecx
pop ecx
mov ebx, edx
mov ecx, esi
mov edx, eax
push ebx
call fcn.0047c7a5
pop eax
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
call fcn.0047c4bc
mov ecx, dword [esp + 0xa4]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov esi, edx
shr ecx, 8
add eax, 0x4c
movzx edx, cl
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], edx
cmp ebx, esi
je 0x5781a7
mov edx, dword [ebx]
mov ecx, dword [edi + 0x278]
add ebx, 4
call fcn.00478de9
mov ecx, dword [eax]
mov ecx, dword [ecx*4 + 0x578554]
add ecx, dword [esp + 0x40]
jmp ecx
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x64], 0
je 0x57821d
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
test eax, 0x3ffc0
je 0x5781ee
cmp dword [esp + 4], 0
jne 0x5781ee
movzx ecx, byte [esp + 0xc]
cmp byte [ecx + 0x5af960], 0
je 0x5781ee
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
call fcn.0047c8d7
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
test al, 0x30
je 0x57821d
mov eax, dword [esp + 0xa4]
and eax, 0xff01
cmp byte [esp + 3], 0
je 0x578361
cmp eax, 0xa00
jne 0x57821d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
call fcn.0047c8ea
mov eax, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
lea ebx, [esp + 0x54]
lea edx, [esp + 0x78]
mov ecx, ebx
mov dword [edx + 8], eax
movsd qword [edx], xmm0
call fcn.0047b5cd
mov ecx, dword [edi + 0x278]
mov edx, dword [esp + 0x14]
push ebx
call fcn.0047c900
pop eax
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov ebx, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 4], eax
call fcn.0047c3e1
mov cl, byte [edi + 0x27c]
push 4
pop edx
shl edx, cl
add eax, esi
mov dword [esp + 8], esi
mov dword [esp + 0x40], ebp
lea eax, [edx + eax + 0x14]
mov edx, dword [edi + 0x280]
mov dword [esp + 0xc], eax
cmp eax, edx
mov dword [esp + 0x3c], edx
jbe 0x5782c9
mov ebp, dword [esp + 0x34]
mov ecx, edi
mov edx, ebx
push ebp
call fcn.0047cbfa
pop ecx
mov edi, dword [eax]
lock inc dword [edi]
jle 0x57853a
mov esi, dword [eax + 4]
lea ecx, [ebx + 0x20]
call fcn.004783f5
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x28], edi
mov edi, dword [esp + 0x2c]
mov dword [ebx + 0x2c], esi
mov esi, dword [esp + 4]
mov ebp, dword [esp + 8]
mov ecx, ebx
mov edx, esi
push ebp
call fcn.0047ca08
pop ecx
test eax, eax
je 0x5782f7
mov edi, dword [eax]
mov ecx, ebx
mov edx, esi
push dword [esp + 0x40]
call fcn.0047cbc9
pop eax
xor ebp, ebp
jmp 0x57842a
mov ecx, esi
mov edx, ebp
call fcn.0047b65c
mov esi, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 8], eax
mov ecx, edi
mov edx, ebx
push esi
call fcn.0047bd94
pop ecx
test al, al
jne 0x57832a
mov ecx, dword [esp + 0x30]
call fcn.0047bdbc
test al, al
jne 0x578337
mov ecx, dword [esp + 0x30]
call fcn.0047be31
test eax, eax
je 0x578371
lea ecx, [esp + 0x78]
call fcn.00471766
xor ebp, ebp
mov dword [esp + 8], 0
inc ebp
jmp 0x578413
cmp ecx, 0xa00
je 0x577fa3
jmp 0x577fe6
cmp eax, 0xd00
je 0x578210
jmp 0x57821d
mov ecx, dword [esp + 8]
mov ebp, edx
mov edx, esi
mov dword [esp + 0x38], esi
call fcn.0047be91
mov esi, edi
mov edi, ebp
or edi, 0x8000000
test al, al
cmove edi, ebp
lea ebp, [ebx + 0x74]
call fcn.0047bd6f
mov cl, byte [esi + 0x27c]
xor ebx, ebx
mov edx, eax
inc ebx
shl ebx, cl
mov ecx, ebp
push ebx
mov ebx, dword [esp + 0x14]
call fcn.00477f77
pop eax
lea ebp, [esi + 0x258]
mov ecx, ebp
call fcn.004782fb
test al, al
jne 0x5783d5
mov ecx, esi
mov edx, edi
call fcn.0047be9a
test al, al
je 0x5784a7
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 8]
add dword [ebx + 0x68], esi
lock inc dword [ebp]
jle 0x57853a
mov ecx, dword [esp + 0x48]
mov edx, ebp
push esi
call fcn.004777cb
pop eax
mov ecx, ebx
mov edx, ebp
push edi
push esi
call fcn.004785dc
pop eax
pop ecx
mov eax, dword [esp + 0x30]
xor ebp, ebp
mov ebx, dword [eax + 4]
mov al, 1
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov ecx, ebx
push dword [esp + 0x40]
call fcn.0047cbc9
pop eax
cmp byte [esp + 8], 0
je 0x578498
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0xc], eax
jbe 0x57847c
movsd xmm0, qword [ebx + 0x20]
movsd xmm1, qword [ebx + 0x28]
mov esi, ebx
movsd qword [esp + 0x5c], xmm1
movsd qword [esp + 0x54], xmm0
and dword [ebx + 0x20], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x578467
mov ecx, dword [esp + 0x58]
cmp eax, 1
xor ebx, ebx
mov dword [esp + 0x34], ecx
jmp 0x578469
mov bl, 1
lea ecx, [esp + 0x54]
call fcn.004783f5
test bl, bl
mov ebx, esi
jne 0x57853e
mov eax, dword [esp + 0x30]
mov edx, ebx
mov ecx, dword [eax]
push edi
push dword [esp + 0xa8]
push dword [esp + 0x3c]
call fcn.0047bf4a
add esp, 0xc
mov eax, ebp
mov edx, edi
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.0047bec9
mov ecx, ebp
lea esi, [esp + 0x54]
mov ebp, eax
mov dword [esi], ecx
and dword [esi + 4], 0
mov ecx, esi
call fcn.0047bf0f
test al, 1
je 0x5783d5
mov ecx, dword [esp + 0x2c]
movzx eax, dl
mov edx, ebx
shl eax, 8
push ebp
push eax
push edi
call fcn.0047bf4a
add esp, 0xc
jmp 0x5784bc
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
lea edx, [esp + 0x54]
mov dword [eax], ecx
lea ecx, [esp + 0x50]
mov dword [edx], ecx
mov ecx, fcn.00404493
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x78]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], fcn.00472953
mov dword [ecx], str.assertion_failed:_mid___self.len__chunk_size_must_be_non_zero
push 3
pop eax
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x5af900
mov dword [ecx + 0xc], eax
call fcn.005769a0
ud2
ud2
push 0x28
pop edx
mov ecx, str.state_saver_does_not_have_saved_state_IDP
push 0x5ac6bc
call fcn.00576e90
pop eax
ud2