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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov esi, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp edi, ebx
jbe 0x4df5cb
mov dword [ecx], 0
jmp 0x4e0b03
cmp byte [esi + 0x18], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0xc], ecx
je 0x4df766
mov eax, dword [esi + 0xc]
cmp ebx, eax
mov dword [esp + 0x1c], eax
jae 0x4df8de
mov edi, dword [esp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x260]
mov edx, dword [edi + 0x268]
movzx eax, byte [eax + ebx]
or edx, dword [edi + 0x278]
or ecx, dword [edi + 0x270]
mov byte [esp + 4], al
mov eax, dword [edi + 0x26c]
or ecx, edx
mov edx, dword [edi + 0x264]
or eax, dword [edi + 0x27c]
or edx, dword [edi + 0x274]
mov edi, dword [esp + 0x20]
or edx, eax
movzx eax, byte [esp + 4]
or edx, ecx
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
je 0x4df8f2
mov ch, byte [esp + 4]
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov al, ch
and ch, 7
and al, 0x78
mov cl, ch
shr al, 3
neg al
movsx edi, al
mov esi, dword [esp + edi + 0x94]
mov eax, dword [esp + edi + 0x98]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edx
shld eax, esi, cl
shl esi, cl
not cl
mov dword [esp + 0x2c], eax
mov eax, dword [esp + edi + 0x90]
mov edi, eax
mov edx, eax
mov eax, dword [esp + 0x14]
shr edi, 1
shr edi, cl
mov cl, ch
or edi, esi
mov esi, dword [esp + 0x18]
shr eax, 3
and eax, 0xfffffff0
mov esi, dword [esp + esi + 0x8c]
shld edx, esi, cl
shl esi, cl
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], edx
add ecx, 0x260
mov dword [esp + 0x18], ecx
and edi, dword [ecx + eax + 8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
and ecx, dword [edx + eax + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
and edx, dword [ecx + eax + 4]
and esi, dword [ecx + eax]
or edx, dword [esp + 0x2c]
or esi, edi
mov edi, dword [esp + 0x20]
or edx, esi
mov edx, dword [esp + 0x10]
je 0x4df8f2
movzx eax, byte [esp + 4]
mov dword [esp + 0x48], 4
mov byte [esp + 0x4c], al
jmp 0x4df944
mov eax, dword [esi + 0xc]
cmp ebx, eax
mov dword [esp + 0x24], eax
jae 0x4df9cf
mov eax, dword [esi + 8]
movzx eax, byte [eax + ebx]
mov byte [esp + 0x10], al
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x26c]
mov edx, dword [eax + 0x268]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x260]
or edx, dword [eax + 0x278]
or ecx, dword [eax + 0x270]
or ecx, edx
mov edx, dword [eax + 0x264]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 4]
or edx, dword [eax + 0x274]
or ecx, dword [eax + 0x27c]
movzx eax, byte [esp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
or edx, dword [esp + 4]
or edx, dword [esp + 0x1c]
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
je 0x4dfccc
mov ch, byte [esp + 0x10]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov al, ch
and ch, 7
and al, 0x78
mov cl, ch
shr al, 3
neg al
movsx edi, al
mov esi, dword [esp + edi + 0x74]
mov eax, dword [esp + edi + 0x78]
mov dword [esp + 0x18], edi
mov dword [esp + 4], edx
shld eax, esi, cl
shl esi, cl
not cl
mov dword [esp + 0x2c], eax
mov eax, dword [esp + edi + 0x70]
mov edi, eax
mov edx, eax
mov eax, dword [esp + 0x14]
shr edi, 1
shr edi, cl
mov cl, ch
or edi, esi
mov esi, dword [esp + 0x18]
shr eax, 3
and eax, 0xfffffff0
mov esi, dword [esp + esi + 0x6c]
shld edx, esi, cl
shl esi, cl
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], edx
add ecx, 0x260
mov dword [esp + 0x18], ecx
and edi, dword [ecx + eax + 8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
and ecx, dword [edx + eax + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
and edx, dword [ecx + eax + 4]
and esi, dword [ecx + eax]
or edx, dword [esp + 0x2c]
or esi, edi
mov edi, dword [esp + 0x20]
or edx, esi
mov edx, dword [esp + 4]
je 0x4dfccc
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x48], 4
mov byte [esp + 0x4c], al
jmp 0x4dfd1e
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x24], eax
mov al, 2
movzx ecx, al
test edx, edx
jne 0x4df906
jmp 0x4df912
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + ecx + 0x60]
movzx ecx, al
test edx, edx
je 0x4df912
cmp edx, 1
jne 0x4df9ea
add ecx, 6
mov dword [esp + 0x10], edx
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x88]
cmp ecx, edx
jae 0x4e037b
mov edx, dword [esi + 0x84]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e0451
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 5
lea ecx, [esp + 0x30]
lea edx, [esp + 0x48]
push ebx
call fcn.004e0c90
add esp, 4
cmp dword [esp + 0x30], 0
mov esi, dword [esp + 0x34]
jne 0x4dfd3a
cmp edi, ebx
jne 0x4dfa0d
test edi, edi
je 0x4e03e2
mov edx, dword [esp + 0x1c]
lea ecx, [edi - 1]
cmp ecx, edx
jae 0x4e0b4f
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 8]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 8]
mov byte [esp + 0x10], al
movzx eax, al
movzx edx, byte [ecx + eax + 0x160]
mov ecx, esi
and ecx, 0x7ffffff
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x4e0b0b
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + ecx*4]
test edx, edx
jns 0x4dfdb2
jmp 0x4e08c4
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
mov al, 2
movzx ecx, al
test edx, edx
jne 0x4dfce0
jmp 0x4dfcec
mov esi, dword [esp + 8]
test byte [esi + 0x59], 1
jne 0x4dfe1c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], eax
jmp 0x4df944
mov ecx, dword [ebp + 8]
dec ebx
cmp dword [ecx + 0xb0], 1
jne 0x4dfa3c
mov edx, dword [ecx + 0xb4]
mov eax, dword [ecx + 0xb8]
mov dword [esp + 4], edx
mov edx, eax
sub edx, dword [esp + 4]
neg edx
sub eax, dword [esp + 4]
cmovb eax, edx
add dword [ecx + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xb0], 1
mov dword [ecx + 0xb4], ebx
mov dword [ecx + 0xb8], ebx
mov ecx, 0xffffffff
mov edx, dword [eax + 8]
mov eax, edi
add eax, 3
cmovae ecx, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 4], edx
mov ecx, dword [eax + 0x280]
mov eax, dword [eax + 0x284]
and eax, 0x1f
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
nop dword [eax + eax]
cmp esi, 0x7ffffff
jbe 0x4dfb10
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
cmp dword [edi + 0xb0], 0
je 0x4e0bad
cmp ebx, eax
mov dword [edi + 0xb8], ebx
jae 0x4e0b15
movzx eax, byte [edx + ebx]
mov ecx, dword [esp + 8]
movzx edx, byte [ecx + eax + 0x160]
mov ecx, esi
and ecx, 0x7ffffff
add ecx, edx
mov edx, dword [edi + 0x7c]
cmp ecx, edx
jae 0x4e0b0b
mov edx, dword [edi + 0x78]
mov edi, dword [edx + ecx*4]
test edi, edi
js 0x4dfc9c
mov edx, dword [esp + 4]
cmp edi, 0x8000000
jb 0x4dfb06
mov eax, edi
and eax, 0x10000000
je 0x4e0385
mov esi, edi
mov edi, dword [esp + 0x20]
jmp 0x4dfb14
cmp ebx, edi
jae 0x4dfb30
mov ecx, ebx
lea ebx, [ecx - 1]
cmp ecx, edi
jne 0x4dfa90
jmp 0x4e016a
mov ecx, dword [ebp + 8]
dec ebx
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
nop word cs:[eax + eax]
nop dword [eax]
movzx ecx, byte [edx + ebx + 1]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x160]
add ecx, esi
mov edx, dword [eax + ecx*4]
cmp edx, 0x7ffffff
ja 0x4dfbfa
lea ecx, [ebx + 1]
cmp ecx, dword [esp + 0x24]
jbe 0x4dfc09
mov edi, dword [esp + 4]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
movzx ecx, byte [edi + ebx]
movzx ecx, byte [esi + ecx + 0x160]
add ecx, edx
mov ecx, dword [eax + ecx*4]
cmp ecx, 0x7ffffff
ja 0x4dfc14
movzx edx, byte [edi + ebx - 1]
movzx edx, byte [esi + edx + 0x160]
add edx, ecx
mov edx, dword [eax + edx*4]
cmp edx, 0x7ffffff
ja 0x4dfc20
movzx ecx, byte [edi + ebx - 2]
movzx ecx, byte [esi + ecx + 0x160]
add ecx, edx
mov esi, dword [eax + ecx*4]
cmp esi, 0x7ffffff
ja 0x4dfc2f
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 4]
lea ecx, [ebx - 4]
add ebx, 0xfffffffd
cmp ebx, edi
mov ebx, ecx
jae 0x4dfb50
inc ecx
jmp 0x4dfb16
mov edi, edx
inc ebx
mov edx, esi
test edi, edi
jns 0x4dfaed
jmp 0x4dfc3c
mov esi, edx
mov edx, dword [esp + 4]
jmp 0x4dfb16
mov edi, ecx
test edi, edi
jns 0x4dfaed
jmp 0x4dfc3c
mov edi, edx
dec ebx
mov edx, ecx
test edi, edi
jns 0x4dfaed
jmp 0x4dfc3c
add ebx, 0xfffffffe
mov edi, esi
test edi, edi
jns 0x4dfaed
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xb0], 0
je 0x4e0bad
mov dword [ecx + 0xb8], ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
movzx esi, byte [ecx + ebx]
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + esi + 0x160]
add ecx, edx
cmp ecx, eax
jae 0x4e0b59
mov edi, dword [edi + ecx*4]
test edi, edi
jns 0x4dfaed
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 8]
shl esi, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push esi
jmp 0x4dfcb5
mov ecx, dword [esp + 8]
shl eax, 8
mov edx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
jne 0x4e0a0e
mov edi, edx
jmp 0x4dfaed
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + ecx + 0x60]
movzx ecx, al
test edx, edx
je 0x4dfcec
cmp edx, 1
jne 0x4dfdf9
add ecx, 6
mov dword [esp + 4], edx
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x88]
cmp ecx, edx
jae 0x4e037b
mov edx, dword [esi + 0x84]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e0571
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], 5
lea ecx, [esp + 0x30]
lea edx, [esp + 0x48]
push ebx
call fcn.004e0c90
add esp, 4
cmp dword [esp + 0x30], 0
mov esi, dword [esp + 0x34]
je 0x4dfd4c
mov eax, dword [esp + 0xc]
mov dword [eax + 4], esi
mov dword [eax], 2
jmp 0x4e0b03
cmp edi, ebx
jne 0x4dfe5c
test edi, edi
je 0x4e0481
mov edx, dword [esp + 0x24]
lea ecx, [edi - 1]
cmp ecx, edx
jae 0x4e0b4f
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 8]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 8]
mov byte [esp + 0x10], al
movzx eax, al
movzx edx, byte [ecx + eax + 0x160]
mov ecx, esi
and ecx, 0x7ffffff
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x4e0b0b
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e08c4
test edx, 0x8000000
jne 0x4e023a
test edx, 0x20000000
je 0x4e053e
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0xc
call fcn.0056a9f0
test eax, eax
je 0x4e0bf3
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 4]
mov byte [eax], 0
mov byte [eax + 1], cl
jmp 0x4e0af3
mov esi, dword [esp + 8]
test byte [esi + 0x59], 1
jne 0x4e0340
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], eax
jmp 0x4dfd1e
mov byte [esp + 4], al
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x280]
mov eax, dword [esp + 0x24]
cmp dword [edx + 0x15c], eax
jbe 0x4e0425
lea edx, [eax + eax*2]
movzx eax, byte [esp + 4]
lea ecx, [ecx + edx*2 + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x88]
cmp ecx, edx
jb 0x4df927
jmp 0x4e037b
mov edi, dword [ebp + 8]
dec ebx
cmp dword [edi + 0xb0], 1
jne 0x4dfe83
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xb4]
mov edx, eax
sub edx, ecx
neg edx
sub eax, ecx
cmovb eax, edx
add dword [edi + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xb0], 1
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov edi, dword [esp + 8]
mov ecx, 0xffffffff
mov dword [esp + 0x14], 0
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
add eax, 3
cmovae ecx, eax
mov eax, dword [edi + 0x280]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x284]
and eax, 0x1f
mov dword [esp + 0x54], eax
jmp 0x4dfefe
mov eax, dword [eax + 0x15]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 1]
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], eax
cmp ebx, dword [esp + 0x20]
lea ebx, [ebx - 1]
je 0x4e026a
cmp esi, 0x7ffffff
jbe 0x4e0000
mov edi, dword [ebp + 8]
cmp dword [edi + 0xb0], 0
je 0x4e0bad
cmp ebx, dword [esp + 0x24]
mov dword [edi + 0xb8], ebx
jae 0x4e0b25
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
movzx eax, byte [eax + ebx]
movzx edx, byte [ecx + eax + 0x160]
mov ecx, esi
and ecx, 0x7ffffff
add ecx, edx
mov edx, dword [edi + 0x7c]
cmp ecx, edx
jae 0x4e0b0b
mov edx, dword [edi + 0x78]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
js 0x4e013a
mov edi, dword [esp + 8]
mov esi, ecx
cmp esi, 0x8000000
jb 0x4dfef1
mov eax, esi
and eax, 0x10000000
jne 0x4dfef1
test esi, 0x8000000
je 0x4e06a0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
cmp dword [eax + 0x15c], 1
je 0x4dfee2
mov eax, esi
mov ecx, dword [esp + 0x54]
and eax, 0x7ffffff
shr eax, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
cmp eax, edx
jae 0x4e0b43
mov ecx, dword [ecx + 0x90]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x4e0b35
mov eax, dword [ecx + eax*8]
test byte [eax + 8], 2
je 0x4dfee2
cmp edx, 0xd
jb 0x4e0bd5
add edx, 0xfffffff3
cmp edx, 3
ja 0x4dfedb
jmp 0x4e0be4
cmp ebx, dword [esp + 0x20]
jb 0x4dfef1
mov ecx, dword [ebp + 8]
dec ebx
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
nop word [eax + eax]
mov edx, dword [esp + 4]
movzx edx, byte [edx + ecx + 1]
movzx edx, byte [edi + edx + 0x160]
add edx, esi
mov edx, dword [eax + edx*4]
cmp edx, 0x7ffffff
ja 0x4e00b0
lea ebx, [ecx + 1]
cmp ebx, dword [esp + 0x10]
jbe 0x4e00b3
mov ebx, dword [esp + 4]
movzx esi, byte [ebx + ecx]
movzx esi, byte [edi + esi + 0x160]
add esi, edx
mov esi, dword [eax + esi*4]
cmp esi, 0x7ffffff
ja 0x4e00d2
movzx edx, byte [ebx + ecx - 1]
movzx edx, byte [edi + edx + 0x160]
add edx, esi
mov edx, dword [eax + edx*4]
cmp edx, 0x7ffffff
ja 0x4e00ba
movzx esi, byte [ebx + ecx - 2]
movzx esi, byte [edi + esi + 0x160]
add esi, edx
mov esi, dword [eax + esi*4]
cmp esi, 0x7ffffff
ja 0x4e00cf
lea ebx, [ecx - 4]
add ecx, 0xfffffffd
cmp ecx, dword [esp + 0x20]
mov ecx, ebx
jae 0x4e0020
inc ebx
jmp 0x4dfef1
inc ecx
jmp 0x4e00bb
mov esi, edx
jmp 0x4dfef1
dec ecx
mov ebx, ecx
mov ecx, edx
mov edx, esi
mov esi, dword [esp + 0x2c]
test ecx, ecx
jns 0x4dff65
jmp 0x4e00e2
add ecx, 0xfffffffe
mov ebx, ecx
mov ecx, esi
mov esi, dword [esp + 0x2c]
test ecx, ecx
jns 0x4dff65
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xb0], 0
je 0x4e0bad
mov dword [ecx + 0xb8], ebx
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + ebx]
mov dword [esp + 0x58], ecx
movzx ecx, byte [edi + ecx + 0x160]
add ecx, edx
cmp ecx, esi
jae 0x4e0b6f
mov esi, dword [eax + ecx*4]
test esi, esi
jns 0x4dff67
mov esi, dword [esp + 0x58]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edi
shl esi, 8
mov dword [esp + 0x34], eax
push esi
jmp 0x4e0153
mov edi, dword [esp + 8]
mov ecx, dword [ebp + 8]
shl eax, 8
mov edx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
jne 0x4e0a0e
mov esi, edx
jmp 0x4dff67
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xb4]
cmp dword [ebx + 0xb0], 0
mov dword [ebx + 0xb0], 0
je 0x4e0bc1
mov ecx, edi
mov edx, edi
sub ecx, eax
neg ecx
sub edx, eax
cmovb edx, ecx
add dword [ebx + 0x70], edx
test edi, edi
je 0x4e04f7
mov edx, dword [esp + 0x1c]
lea ecx, [edi - 1]
cmp ecx, edx
jae 0x4e0b4f
mov eax, dword [esp + 4]
mov dword [esp + 0x10], ecx
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 8]
mov byte [esp + 4], al
movzx eax, al
movzx edx, byte [ecx + eax + 0x160]
mov ecx, esi
and ecx, 0x7ffffff
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x4e0b0b
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e0a31
test edx, 0x8000000
jne 0x4e05bc
test edx, 0x20000000
je 0x4e053e
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0xc
call fcn.0056a9f0
test eax, eax
je 0x4e0bf3
movzx ecx, byte [esp + 4]
mov edi, dword [esp + 0x10]
mov byte [eax], 0
mov byte [eax + 1], cl
jmp 0x4e0af3
mov ecx, dword [esp + 8]
xor ebx, ebx
mov esi, 1
mov eax, dword [ecx + 0x280]
cmp dword [eax + 0x15c], 1
je 0x4e094b
movzx ecx, byte [ecx + 0x284]
and edx, 0x7ffffff
jmp 0x4e05de
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xb4]
cmp dword [ecx + 0xb0], 0
mov dword [ecx + 0xb0], 0
je 0x4e0bc1
mov ebx, dword [esp + 0x20]
mov ecx, ebx
mov edx, ebx
sub ecx, eax
neg ecx
sub edx, eax
cmovb edx, ecx
mov ecx, dword [ebp + 8]
add dword [ecx + 0x70], edx
test ebx, ebx
je 0x4e062a
mov edx, dword [esp + 0x24]
dec ebx
cmp ebx, edx
jae 0x4e0b89
mov eax, dword [esp + 4]
mov ecx, esi
and ecx, 0x7ffffff
movzx eax, byte [eax + ebx]
mov byte [esp + 4], al
movzx eax, al
movzx edx, byte [edi + eax + 0x160]
mov edi, dword [ebp + 8]
add ecx, edx
mov edx, dword [edi + 0x7c]
cmp ecx, edx
jae 0x4e0b0b
mov edx, dword [edi + 0x78]
mov edi, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e0a5b
test edx, 0x8000000
jne 0x4e0732
mov esi, dword [esp + 0x1c]
test edx, 0x20000000
je 0x4e09cd
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0xc
call fcn.0056a9f0
test eax, eax
je 0x4e0bf3
movzx ecx, byte [esp + 4]
mov edi, ebx
mov byte [eax], 0
mov byte [eax + 1], cl
jmp 0x4e0af3
mov byte [esp + 0x10], al
mov dword [esp + 4], edx
mov edx, dword [esi + 0x280]
mov eax, dword [esp + 0x1c]
cmp dword [edx + 0x15c], eax
jbe 0x4e0545
lea edx, [eax + eax*2]
movzx eax, byte [esp + 0x10]
lea ecx, [ecx + edx*2 + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x88]
cmp ecx, edx
jb 0x4dfd01
push 0x59bcd4
call fcn.0057f710
test edi, 0x8000000
jne 0x4e05a1
test edi, 0x40000000
jne 0x4e07ad
test edi, 0x20000000
je 0x4e0c4e
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xb4]
cmp dword [esi + 0xb0], 0
mov dword [esi + 0xb0], 0
je 0x4e0bc1
mov ecx, ebx
mov edx, ebx
sub ecx, eax
neg ecx
sub edx, eax
cmovb edx, ecx
add dword [esi + 0x70], edx
mov edx, dword [esp + 0x1c]
jmp 0x4e06ec
mov eax, dword [esp + 8]
mov edi, dword [ebp + 8]
mov ecx, esi
and ecx, 0x7ffffff
movzx eax, byte [eax + 0x25f]
shl eax, 0x10
add eax, 0x10001
mov edx, eax
shr edx, 0x10
add ecx, edx
mov edx, dword [edi + 0x7c]
cmp ecx, edx
jae 0x4e0b65
mov edx, dword [edi + 0x78]
mov edx, dword [edx + ecx*4]
test edx, edx
jns 0x4e04bf
jmp 0x4e09e6
mov ecx, dword [esi + 0x284]
movzx eax, byte [esp + 4]
mov edx, 1
and ecx, 0x1f
shl edx, cl
cmp ecx, 0x1b
jae 0x4e0c02
or edx, 0x40000000
test edx, edx
jns 0x4df938
mov ecx, dword [esp + 8]
movzx eax, al
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x48]
push eax
push dword [esp + 0x28]
push dword [esp + 0x18]
call fcn.005853c0
add esp, 0xc
jmp 0x4df944
mov eax, dword [esp + 8]
mov edi, dword [ebp + 8]
mov ecx, esi
and ecx, 0x7ffffff
movzx eax, byte [eax + 0x25f]
shl eax, 0x10
add eax, 0x10001
mov edx, eax
shr edx, 0x10
add ecx, edx
mov edx, dword [edi + 0x7c]
cmp ecx, edx
jae 0x4e0b65
mov edx, dword [edi + 0x78]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e09e6
test edx, 0x8000000
je 0x4e053e
mov ecx, dword [esp + 8]
xor edi, edi
mov esi, 1
mov eax, dword [ecx + 0x280]
cmp dword [eax + 0x15c], 1
je 0x4e07a6
movzx ecx, byte [ecx + 0x284]
and edx, 0x7ffffff
jmp 0x4e08fc
mov edi, dword [esp + 8]
mov ecx, esi
and ecx, 0x7ffffff
movzx eax, byte [edi + 0x25f]
shl eax, 0x10
add eax, 0x10001
mov edx, eax
shr edx, 0x10
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x4e0b65
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e0a8d
test edx, 0x8000000
jne 0x4e078e
xor esi, esi
jmp 0x4e094b
mov ecx, dword [esi + 0x284]
movzx eax, byte [esp + 0x10]
mov edx, 1
and ecx, 0x1f
shl edx, cl
cmp ecx, 0x1b
jae 0x4e0c02
or edx, 0x40000000
test edx, edx
jns 0x4dfd12
mov ecx, dword [esp + 8]
movzx eax, al
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x48]
push eax
push dword [esp + 0x20]
push dword [esp + 0xc]
call fcn.005853c0
add esp, 0xc
jmp 0x4dfd1e
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [ecx + 0x15c], 1
jne 0x4e07ea
mov edi, dword [ebp + 8]
jmp 0x4e083d
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov esi, 1
cmp dword [eax + 0x15c], 1
je 0x4e094b
mov ecx, dword [esp + 0x18]
and edx, 0x7ffffff
shr edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edx, eax
jae 0x4e0b7b
mov ecx, dword [ecx + 0x90]
mov eax, dword [ecx + edx*8 + 4]
test eax, eax
je 0x4e0b35
mov ecx, dword [ecx + edx*8]
test byte [ecx + 8], 2
je 0x4e094b
cmp eax, 0xd
jb 0x4e0c2c
add eax, 0xfffffff3
cmp eax, 3
ja 0x4e0948
jmp 0x4e0c3d
movzx eax, byte [edi + 0x25f]
mov edi, dword [ebp + 8]
mov ecx, esi
and ecx, 0x7ffffff
shl eax, 0x10
add eax, 0x10001
mov edx, eax
shr edx, 0x10
add ecx, edx
mov edx, dword [edi + 0x7c]
cmp ecx, edx
jae 0x4e0b65
mov edx, dword [edi + 0x78]
mov edi, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x4e0aad
mov esi, dword [esp + 0x1c]
test edx, 0x8000000
je 0x4e09cd
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x15c], 1
jne 0x4e095c
xor esi, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 1
jmp 0x4e09cd
test esi, 0x40000000
jne 0x4e0880
test esi, 0x20000000
je 0x4e0c4e
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xb4]
cmp dword [esi + 0xb0], 0
mov dword [esi + 0xb0], 0
je 0x4e0bc1
mov ecx, ebx
mov edx, ebx
sub ecx, eax
neg ecx
sub edx, eax
cmovb edx, ecx
add dword [esi + 0x70], edx
mov edx, dword [esp + 0x24]
cmp ebx, edx
jae 0x4e0b95
mov eax, dword [esp + 4]
xor ecx, ecx
mov edx, 0xc
movzx eax, byte [eax + ebx]
mov byte [esp + 8], al
movzx eax, byte [0x5fd2ec]
call fcn.0056a9f0
test eax, eax
je 0x4e0bf3
movzx ecx, byte [esp + 8]
mov byte [eax], 0
mov byte [eax + 1], cl
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ebx
jmp 0x4e0afa
mov eax, dword [esp + 0x18]
xor esi, esi
cmp dword [eax + 0x15c], 1
je 0x4e09c1
and edx, 0x7ffffff
mov ecx, dword [esp + 0x54]
shr edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edx, eax
jae 0x4e0b7b
mov ecx, dword [ecx + 0x90]
mov dword [esp + 0x14], 1
mov eax, dword [ecx + edx*8 + 4]
test eax, eax
je 0x4e0b35
mov ecx, dword [ecx + edx*8]
test byte [ecx + 8], 2
jne 0x4e09a9
jmp 0x4e09c9
mov eax, dword [esp + 0x14]
xor edi, edi
mov esi, 1
cmp dword [eax + 0x15c], 1
jne 0x4e08f2
xor ebx, ebx
jmp 0x4e094b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb4]
cmp dword [edx + 0xb0], 0
mov dword [edx + 0xb0], 0
je 0x4e0bc1
mov ecx, ebx
sub ecx, eax
neg ecx
sub ebx, eax
mov eax, dword [esp + 0xc]
cmovb ebx, ecx
add dword [edx + 0x70], ebx
mov dword [eax], 0
jmp 0x4e0b03
and edi, 0x7ffffff
mov ecx, dword [esp + 0x18]
shr edi, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
cmp edi, edx
jae 0x4e0ba1
mov ecx, dword [ecx + 0x90]
mov edx, dword [ecx + edi*8 + 4]
test edx, edx
je 0x4e0b35
mov ecx, dword [ecx + edi*8]
mov edi, dword [ebp + 8]
test byte [ecx + 8], 2
je 0x4e083d
cmp edx, 0xd
jb 0x4e0bd5
add edx, 0xfffffff3
cmp edx, 3
jbe 0x4e0be4
mov eax, dword [ecx + 0x15]
mov ecx, dword [edi + 0xb4]
cmp dword [edi + 0xb0], 0
mov dword [edi + 0xb0], 0
je 0x4e0bc1
mov edx, ebx
mov esi, ebx
sub edx, ecx
neg edx
sub esi, ecx
mov ecx, dword [esp + 0xc]
cmovb esi, edx
inc ebx
add dword [edi + 0x70], esi
mov dword [ecx], 1
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
jmp 0x4e0b03
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb4]
cmp dword [edx + 0xb0], 0
mov dword [edx + 0xb0], 0
je 0x4e0bc1
mov ecx, ebx
mov esi, dword [esp + 0x14]
sub ecx, eax
neg ecx
sub ebx, eax
mov eax, dword [esp + 0xc]
cmovb ebx, ecx
add dword [edx + 0x70], ebx
mov edx, dword [esp + 0x1c]
mov dword [eax], esi
mov dword [eax + 4], edx
jmp 0x4e09da
mov ecx, dword [esp + 8]
shl eax, 8
mov edx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
jne 0x4e0a84
jmp 0x4dfdb2
mov ecx, dword [esp + 0x18]
and edx, 0x7ffffff
shr edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edx, eax
jae 0x4e0b7b
mov ecx, dword [ecx + 0x90]
mov eax, dword [ecx + edx*8 + 4]
test eax, eax
je 0x4e0b35
mov ecx, dword [ecx + edx*8]
mov ebx, 0
test byte [ecx + 8], 2
je 0x4e094b
cmp eax, 0xd
jb 0x4e0c2c
mov edi, dword [esp + 0x20]
add eax, 0xfffffff3
cmp eax, 3
jbe 0x4e0c3d
mov ebx, dword [ecx + 0x15]
mov eax, dword [esp + 0xc]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
jmp 0x4e0b03
and edx, 0x7ffffff
mov ecx, dword [esp + 0x54]
shr edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edx, eax
jae 0x4e0b7b
mov ecx, dword [ecx + 0x90]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 1
mov eax, dword [ecx + edx*8 + 4]
test eax, eax
je 0x4e0b35
mov ecx, dword [ecx + edx*8]
mov esi, 0
test byte [ecx + 8], 2
je 0x4e09cd
cmp eax, 0xd
jb 0x4e0c2c
add eax, 0xfffffff3
cmp eax, 3
jbe 0x4e0c3d
mov esi, dword [ecx + 0x15]
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
jmp 0x4e0b03
mov ecx, dword [esp + 8]
mov edx, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edi
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
jne 0x4e0ad3
jmp 0x4e04bf
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, 0xc
call fcn.0056a9f0
test eax, eax
je 0x4e0bf3
mov byte [eax], 1
jmp 0x4e0726
mov ecx, dword [esp + 8]
shl eax, 8
mov edx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
jne 0x4e0a84
jmp 0x4e01f3
mov ecx, dword [esp + 8]
shl eax, 8
mov edx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
je 0x4e02f7
movzx eax, byte [0x5fd2ec]
jmp 0x4e0adc
mov edx, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
jne 0x4e0ad3
jmp 0x4e0532
mov ecx, dword [esp + 8]
mov edx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.00583a20
add esp, 4
test eax, eax
je 0x4e0668
movzx eax, byte [0x5fd2ec]
xor edi, edi
xor ecx, ecx
mov edx, 0xc
call fcn.0056a9f0
test eax, eax
je 0x4e0bf3
mov byte [eax], 1
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], edi
mov dword [ecx + 4], eax
mov dword [ecx], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x59b9a8
call fcn.0057f710
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x59bf98
call fcn.0057f710
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0x59bf98
call fcn.0057f710
xor ecx, ecx
xor edx, edx
push 0x59e5d0
call fcn.0057f710
mov ecx, eax
push 0x59bce4
call fcn.0057f710
push 0x59bfe8
call fcn.0057f710
mov edx, eax
push 0x59b9a8
call fcn.0057f710
push 0x59b9b8
call fcn.0057f710
mov edx, esi
push 0x59b9a8
call fcn.0057f710
mov ecx, edx
mov edx, eax
push 0x59bce4
call fcn.0057f710
mov ecx, ebx
push 0x59bfe8
call fcn.0057f710
mov ecx, ebx
push 0x59bfb8
call fcn.0057f710
mov ecx, edi
push 0x59bce4
call fcn.0057f710
mov ecx, str.no_in_progress_search_to_update
mov edx, 0x1f
push 0x59ba4c
call fcn.0057fb30
mov ecx, str.no_in_progress_search_to_finish
mov edx, 0x1f
push 0x59ba7c
call fcn.0057fb30
mov ecx, 0xd
push 0x59e600
call fcn.0057f6b0
mov ecx, 4
push 0x59e514
call fcn.0057f770
mov ecx, 4
mov edx, 0xc
call fcn.0057f230
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
lea eax, [esp + 0x30]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59bcf4
push 0x59aa5c
push eax
call fcn.0057fa90
mov ecx, 0xd
mov edx, eax
push 0x59e600
call fcn.0057f6b0
mov ecx, 4
mov edx, eax
push 0x59e514
call fcn.0057f770
lea eax, [esp + 0x50]
lea ecx, [esp + 0x30]
mov edx, 0x59bfa8
mov dword [esp + 0x30], 0x59bf70
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
call fcn.0057f680
int3