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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov eax, dword [esi + 0xac]
mov cl, byte [edi + 0x27c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x70], eax
movsd xmm0, qword [esi + 0xa4]
movsd qword [esp + 0x68], xmm0
and dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 1
and dword [esi + 0xac], 0
mov al, byte [edi + 0x50]
cmp al, 2
mov byte [esp + 4], al
mov eax, edx
call 0x5a1c71
pop edx
sete byte [esp + 0x3c]
and eax, 0x7ffffff
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x94]
shr eax, cl
mov ecx, dword [esi + 0x90]
push 0x5d01bc
push eax
call fcn.004086dc
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.00462fc5
test eax, eax
je 0x5a1d03
xor ecx, ecx
cmp eax, 0x40000000
mov ebp, eax
mov edx, 0x5d307c
setb cl
shl ebp, 2
call fcn.004ac869
xor ecx, ecx
add ebp, 0xd
mov edx, 0x5d308c
setae cl
call fcn.004ac869
jmp 0x5a1d06
push 9
pop ebp
mov al, byte [esp + 4]
mov edx, ebx
or byte [esp + 0x3c], al
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x30]
mov ebx, eax
mov dword [esp + 0x30], ecx
lea ecx, [eax + 0x98]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
push 0x5d305c
push esi
call fcn.004b7877
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 + 8], ecx
test edi, edi
je 0x5a1e37
xor edx, edx
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebp
cmp edi, edx
je 0x5a1d76
movzx eax, byte [esi + edx]
test al, al
jns 0x5a1d7c
and eax, 0x7f
inc edx
shl eax, cl
add ecx, 7
or ebx, eax
jmp 0x5a1d5d
xor eax, eax
xor edx, edx
jmp 0x5a1d81
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 0x5d306c
push edi
call fcn.004b7877
pop ecx
pop ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebp
mov edi, edx
mov esi, eax
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
push 0x5d3518
mov dword [esp + 8], ebp
push ebp
call fcn.00454a95
pop ecx
pop edx
mov eax, dword [eax]
mov ebp, dword [esp + 0x20]
cmp eax, ebp
jae 0x5a1def
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x38]
push 0x5d3528
push eax
call fcn.00454a95
pop ecx
pop edx
mov ecx, dword [esp + 4]
cmp dword [eax], ecx
je 0x5a1d4b
cmp ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
jae 0x5a2612
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x38]
push 0x5d34f8
push ebp
call fcn.00454a95
pop ecx
pop edx
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
push 0x5d3508
push dword [esp + 0x48]
call fcn.00454a95
pop ecx
pop edx
mov dword [eax], ebp
inc ebp
mov dword [ebx + 0x48], ebp
jmp 0x5a1d4b
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.00462702
test eax, eax
je 0x5a202a
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0046270b
mov ecx, dword [esp + 0xa0]
mov esi, eax
mov ebx, ecx
shr ebx, 8
test cl, 1
jne 0x5a1e80
cmp bl, 0xa
je 0x5a1e85
movzx eax, bl
cmp eax, 0xd
jne 0x5a1ea8
cmp byte [esp + 3], 0
jne 0x5a1e8c
jmp 0x5a1ea5
or esi, 0x2a
jmp 0x5a1ea8
cmp byte [esp + 3], 0
jne 0x5a1ea5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
call fcn.00462714
mov ecx, dword [esp + 0xa0]
test al, al
jne 0x5a1ea8
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.00462714
test al, al
je 0x5a1efe
cmp byte [esp + 3], 0
je 0x5a1eeb
mov eax, dword [esp + 0xa0]
test al, 1
jne 0x5a1efb
cmp bl, 0xd
je 0x5a1efe
jmp 0x5a1efb
mov eax, dword [esp + 0xa0]
test al, 1
jne 0x5a1efb
cmp bl, 0xa
je 0x5a1efe
or ebp, 0x10
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0046272f
mov ecx, dword [esp + 0xa0]
test cl, 1
jne 0x5a1f39
movzx ecx, bl
mov edi, 0x280
mov cl, byte [ecx + 0x5d3548]
test cl, cl
setne dl
xor al, dl
mov eax, 0x140
cmovne edi, eax
or edi, ebp
test cl, cl
jne 0x5a1f53
jmp 0x5a1f4d
test al, al
je 0x5a1f45
or ebp, 0x140
jmp 0x5a1f4b
or ebp, 0x280
mov edi, ebp
or edi, 0x28000
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0046272f
test al, al
je 0x5a1f78
mov eax, dword [esp + 0xa0]
test al, 1
jne 0x5a1fa9
movzx eax, bl
cmp byte [eax + 0x5d3548], 0
je 0x5a1fa9
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0046272f
test al, al
jne 0x5a1faf
mov eax, dword [esp + 0xa0]
and eax, 1
jne 0x5a1faf
mov ecx, edi
movzx eax, bl
or ecx, 0x1400
cmp byte [eax + 0x5d3548], 0
cmovne edi, ecx
jmp 0x5a1faf
or edi, 0x2800
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0046270b
mov edx, esi
mov esi, eax
mov ecx, dword [edx]
mov edx, dword [edx + 4]
not esi
call fcn.00462702
mov ebx, dword [esp + 0x10]
and eax, esi
test eax, edi
je 0x5a202a
mov ecx, dword [esp + 0x30]
call fcn.0046274a
mov ecx, ebx
mov esi, eax
mov ebx, edx
lea ebp, [ecx + 0x4c]
cmp esi, ebx
je 0x5a2008
mov eax, dword [esp + 0xc]
mov edx, dword [esi]
add esi, 4
mov ecx, dword [eax + 0x278]
push ebp
push dword [esp + 0x20]
push edi
call fcn.00462768
add esp, 0xc
jmp 0x5a1fe5
push 0xfffffffffffffff9
pop eax
mov esi, dword [esp + 0x10]
test eax, eax
je 0x5a2026
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 0x5a200f
and dword [esi + 0x64], 0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x68]
call fcn.0046185d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xa0]
mov eax, dword [eax + 0x130]
test al, 0x3c
je 0x5a20a7
mov edi, dword [esp + 0xc]
test dl, 1
jne 0x5a20ab
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x158], dh
jne 0x5a20ab
lea ebx, [esp + 0x24]
mov ecx, ebx
call fcn.00462a24
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov esi, eax
or esi, 4
push 0x5d30ec
push 1
call fcn.00431048
pop ecx
pop ecx
mov ebx, edx
mov edx, eax
mov ecx, esi
push ebx
call fcn.00462a32
mov edx, dword [esp + 0xa4]
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
jmp 0x5a20ab
mov edi, dword [esp + 0xc]
test al, 0x30
je 0x5a210e
mov ecx, edx
and ecx, 0xff01
cmp byte [esp + 3], 0
je 0x5a247c
cmp ecx, 0xd00
jne 0x5a210e
lea ebx, [esp + 0x24]
mov ecx, ebx
call fcn.00462a24
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov esi, eax
or esi, 0x10
push 0x5d30ec
push 1
call fcn.00431048
pop ecx
pop ecx
mov ebx, edx
mov edx, eax
mov ecx, esi
push ebx
call fcn.00462a32
mov edx, dword [esp + 0xa4]
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
and edx, 1
test eax, 0x3ffc0
mov dword [esp + 0x20], edx
mov dword [esp + 4], edx
je 0x5a217e
cmp dword [esp + 0x20], 0
jne 0x5a2142
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], 0
movzx eax, ah
cmp byte [eax + 0x5d3548], 0
jne 0x5a217e
lea ebx, [esp + 0x24]
mov ecx, ebx
call fcn.00462a24
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov esi, eax
or esi, 0x14000
push 0x5d30ec
push 1
call fcn.00431048
pop ecx
pop ecx
mov ebx, edx
mov ecx, esi
mov edx, eax
push ebx
call fcn.00462a32
pop eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
call fcn.0046274a
mov ecx, dword [esp + 0xa0]
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 + 8], ecx
mov dword [esp + 0x30], edx
cmp ebx, esi
je 0x5a22d0
mov edx, dword [ebx]
mov ecx, dword [edi + 0x278]
add ebx, 4
call fcn.0045f19f
mov ecx, dword [eax]
mov ecx, dword [ecx*4 + 0x5a267c]
add ecx, dword [esp + 0x40]
jmp ecx
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x64], 0
je 0x5a2346
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
test eax, 0x3ffc0
je 0x5a2317
cmp dword [esp + 4], 0
jne 0x5a2317
movzx ecx, byte [esp + 8]
cmp byte [ecx + 0x5d3548], 0
je 0x5a2317
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
call fcn.00462b66
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x130]
test al, 0x30
je 0x5a2346
mov eax, dword [esp + 0xa0]
and eax, 0xff01
cmp byte [esp + 3], 0
je 0x5a248d
cmp eax, 0xa00
jne 0x5a2346
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
call fcn.00462b79
mov eax, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x24]
lea ebx, [esp + 0x50]
lea edx, [esp + 0x74]
mov ecx, ebx
mov dword [edx + 8], eax
movsd qword [edx], xmm0
call fcn.00461888
mov ecx, dword [edi + 0x278]
mov edx, dword [esp + 0x14]
push ebx
call fcn.00462b8c
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.00462675
mov cl, byte [edi + 0x27c]
push 4
pop edx
shl edx, cl
add eax, esi
lea eax, [edx + eax + 0x14]
mov edx, dword [edi + 0x280]
mov dword [esp + 0x20], eax
cmp eax, edx
mov dword [esp + 0x40], edx
jbe 0x5a23fa
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x38]
mov ecx, edi
mov edx, ebx
push ebp
call fcn.00462e86
pop ecx
mov edi, dword [eax]
lock inc dword [edi]
jle 0x5a2666
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x20]
mov dword [esp + 0x1c], eax
call fcn.0045e9c8
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x28], edi
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [ebx + 0x2c], eax
mov ecx, ebx
mov edx, ebp
push esi
call fcn.00462c94
pop ecx
test eax, eax
je 0x5a241f
mov edi, dword [eax]
mov edx, dword [esp + 4]
mov ecx, ebx
push ebp
call fcn.00462e55
pop eax
xor ebp, ebp
jmp 0x5a2558
mov ecx, ebp
mov edx, esi
mov dword [esp + 8], ebp
call fcn.00461914
mov esi, edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x1c], eax
mov ecx, edi
mov edx, ebx
push esi
call fcn.00462040
pop ecx
test al, al
jne 0x5a2456
mov ecx, dword [esp + 0x34]
call fcn.00462068
test al, al
jne 0x5a2463
mov ecx, dword [esp + 0x34]
call fcn.004620dd
test eax, eax
je 0x5a249d
lea ecx, [esp + 0x74]
call fcn.004571a0
xor ebp, ebp
mov dword [esp + 0xc], 0
inc ebp
jmp 0x5a2541
cmp ecx, 0xa00
je 0x5a20ca
jmp 0x5a210e
cmp eax, 0xd00
je 0x5a2339
jmp 0x5a2346
mov ecx, dword [esp + 0x1c]
mov ebp, edx
mov edx, esi
mov dword [esp + 0x3c], esi
call fcn.0046213d
mov esi, edi
mov edi, ebp
or edi, 0x8000000
test al, al
cmove edi, ebp
lea ebp, [ebx + 0x74]
call fcn.0046201b
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.0045e4af
pop eax
lea ebp, [esi + 0x258]
mov ecx, ebp
call fcn.0045e89a
test al, al
jne 0x5a2501
mov ecx, esi
mov edx, edi
call fcn.00462146
test al, al
je 0x5a25d5
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
add dword [ebx + 0x68], esi
lock inc dword [ebp]
jle 0x5a2666
lea ecx, [ebx + 0x8c]
mov edx, ebp
push esi
call fcn.0045d3e3
pop eax
mov ecx, ebx
mov edx, ebp
push edi
push esi
call fcn.0045ea67
pop eax
pop ecx
mov eax, dword [esp + 0x34]
xor ebp, ebp
mov ebx, dword [eax + 4]
mov al, 1
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov ecx, ebx
push dword [esp + 8]
call fcn.00462e55
pop eax
cmp byte [esp + 0xc], 0
je 0x5a25c6
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x20], eax
jbe 0x5a25aa
movsd xmm0, qword [ebx + 0x20]
movsd xmm1, qword [ebx + 0x28]
mov esi, ebx
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm0
and dword [ebx + 0x20], 0
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5a2595
mov ecx, dword [esp + 0x54]
cmp eax, 1
xor ebx, ebx
mov dword [esp + 0x38], ecx
jmp 0x5a2597
mov bl, 1
lea ecx, [esp + 0x50]
call fcn.0045e9c8
test bl, bl
mov ebx, esi
jne 0x5a2668
mov eax, dword [esp + 0x34]
mov edx, ebx
mov ecx, dword [eax]
push edi
push dword [esp + 0xa4]
push dword [esp + 0x40]
call fcn.004621f6
add esp, 0xc
mov eax, ebp
mov edx, edi
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00462175
mov ecx, ebp
lea esi, [esp + 0x50]
mov ebp, eax
mov dword [esi], ecx
and dword [esi + 4], 0
mov ecx, esi
call fcn.004621bb
test al, 1
je 0x5a2501
mov ecx, dword [esp + 0xc]
movzx eax, dl
mov edx, ebx
shl eax, 8
push ebp
push eax
push edi
call fcn.004621f6
add esp, 0xc
jmp 0x5a25ea
mov ecx, dword [esp + 8]
lea eax, [esp + 0x24]
lea edx, [esp + 0x50]
mov dword [eax], ecx
lea ecx, [esp + 0x4c]
mov dword [edx], ecx
mov ecx, fcn.004077d1
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x74]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 0x45964a
mov dword [ecx], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
push 3
pop eax
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x5d34e8
mov dword [ecx + 0xc], eax
call fcn.0059ede0
ud2
push 0x28
pop edx
mov ecx, str.state_saver_does_not_have_saved_state_IDh
push 0x5d02d4
call fcn.0059f240
nop
popal
add eax, 0x57f0000
add byte [eax], al
xchg edi, eax
add eax, 0x53a0000
add byte [eax], al
cmp al, byte [0x53a0000]
add byte [eax], al
cmp al, byte [0x53a0000]
add byte [eax], al
loopne 0x5a26a3
add byte [eax], al
push esi
sub esp, 0x58
mov esi, ecx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
call 0x5a26b6
pop edi
test ecx, ecx
je 0x5a26d1
cmp ecx, 1
jne 0x5a276f
mov dword [esp + 0x14], esi
mov esi, dword [edx]
mov eax, 0x128
jmp 0x5a26dc
mov dword [esp + 0x14], esi
mov esi, dword [edx]
mov eax, 0x12c
add eax, dword [esi + 0x278]
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x34]
mov eax, dword [eax]
mov bl, byte [esp + 0x74]
mov ebp, dword [ecx + 0xac]
mov dword [esp + 0x18], eax
mov dword [edx + 8], ebp
mov ebp, ecx
movsd xmm0, qword [ecx + 0xa4]
movsd qword [edx], xmm0
and dword [ecx + 0xa4], 0
mov dword [ecx + 0xa8], 1
and dword [ecx + 0xac], 0
lea ecx, [esp + 4]
call fcn.0046185d
mov ecx, dword [esi + 0x278]
mov dword [esp + 0x20], esi
mov al, byte [ecx + 0x15c]
movzx esi, byte [ecx + 0x158]
mov edx, dword [ecx + 0x130]
movzx ecx, bl
add edi, dword [ecx*4 + 0x5a2cac]
mov dword [esp + 0x1c], ecx
jmp edi
mov ecx, dword [edx]
test byte [ecx + 0x51], 1
jne 0x5a2785
mov dword [esi + 4], eax
mov dword [esi], 2
jmp 0x5a2c26
mov ebx, dword [ecx + 0x278]
cmp dword [ebx + 0x154], eax
jbe 0x5a290b
lea eax, [eax*4]
mov dword [esp + 0x14], esi
mov esi, ecx
add eax, dword [ebx + 0x150]
jmp 0x5a26e2
call fcn.004622e1
mov dword [esi + 4], eax
mov dword [esi], 5
jmp 0x5a2c26
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret