Function at 0x4888c0
Capabilities:
Link many functions at runtime
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 eax, dword [0x523084]
mov esi, dword [ebp + 8]
cmp eax, 1
je 0x488e7f
test eax, eax
jne 0x488afb
lea ecx, [esp + 0x170]
mov edx, 0x5031f0
push 0x12
call fcn.00489290
add esp, 4
mov edi, dword [esp + 0x170]
cmp edi, 0x80000000
jne 0x488936
mov edx, 0x503202
lea ecx, [esp + 0x170]
push 0xe
call fcn.00489290
add esp, 4
mov esi, dword [esp + 0x170]
cmp esi, 0x80000000
jne 0x48896c
xor ebx, ebx
jmp 0x4889b5
mov eax, dword [esp + 0x174]
cmp byte [esp + 0x17c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x178]
je 0x4889c9
mov bl, 1
cmp eax, 1
jne 0x488ad5
mov eax, dword [esp + 0x10]
cmp byte [eax], 0x30
setne bl
jmp 0x488ad5
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x178]
cmp byte [esp + 0x17c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
je 0x488a53
cmp dword [esp + 0x14], 1
mov bl, 1
jne 0x4889a3
mov eax, dword [esp + 0xc]
cmp byte [eax], 0x30
setne bl
test esi, esi
je 0x4889b5
mov ecx, dword [esp + 0xc]
mov edx, 1
call fcn.00404ac0
mov esi, dword [ebp + 8]
test edi, 0x7fffffff
je 0x488aea
jmp 0x488adc
test eax, eax
je 0x488ad3
mov esi, dword [esp + 0x10]
lea ecx, [esi + eax]
jmp 0x4889fa
add esi, 2
cmp edx, ecx
cmovne edx, esi
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, ecx
mov esi, edx
je 0x488952
movzx ebx, byte [esi]
lea edx, [esi + 1]
test bl, bl
jns 0x4889f0
cmp bl, 0xe0
jb 0x4889da
cmp bl, 0xed
jne 0x488a32
cmp edx, ecx
je 0x488952
lea edx, [esi + 2]
cmp edx, ecx
je 0x488952
cmp byte [esi + 1], 0x9f
ja 0x48890d
add esi, 3
mov edx, esi
jmp 0x4889f0
add esi, 2
cmp edx, ecx
cmove esi, edx
xor edx, edx
cmp esi, ecx
setne dl
add edx, esi
cmp bl, 0xf0
jb 0x4889f0
xor ebx, ebx
cmp edx, ecx
setne bl
add edx, ebx
jmp 0x4889f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4891a5
mov edx, dword [esp + 0xc]
lea ebx, [edx + eax]
jmp 0x488a7a
add edx, 2
cmp eax, ebx
cmovne eax, edx
cmp eax, ebx
mov edx, eax
je 0x488990
movzx ecx, byte [edx]
lea eax, [edx + 1]
test cl, cl
jns 0x488a70
cmp cl, 0xe0
jb 0x488a68
cmp cl, 0xed
jne 0x488ab2
cmp eax, ebx
je 0x488990
lea eax, [edx + 2]
cmp eax, ebx
je 0x488990
cmp byte [edx + 1], 0x9f
ja 0x4891cd
add edx, 3
mov eax, edx
jmp 0x488a70
add edx, 2
cmp eax, ebx
cmove edx, eax
xor eax, eax
cmp edx, ebx
setne al
add eax, edx
cmp cl, 0xf0
jb 0x488a70
xor ecx, ecx
cmp eax, ebx
setne cl
add eax, ecx
jmp 0x488a70
mov bl, 1
mov esi, dword [ebp + 8]
test edi, edi
je 0x488aea
mov ecx, dword [esp + 0x10]
mov edx, 1
call fcn.00404ac0
movzx eax, bl
inc eax
test bl, bl
mov dword [0x523084], eax
je 0x488e7f
push 0x5230cc
call sub.kernel32.dll_AcquireSRWLockExclusive
mov eax, dword [0x523144]
test eax, 0x7fffffff
jne 0x48917c
mov dword [esp + 0x28], 0
movzx eax, byte [0x5230d0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [esp + 0x14], eax
call sub.kernel32.dll_GetCurrentThread
mov dword [esp + 0x2c], eax
lea esi, [esp + 0x170]
push 0x2d0
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call sub.kernel32.dll_RtlCaptureContext
mov ecx, dword [0x5230e4]
test ecx, ecx
je 0x488e8a
push 0
push 0xffffffffffffffff
mov dword [esp + 0x2c], ecx
push ecx
call sub.kernel32.dll_WaitForSingleObjectEx
mov eax, dword [0x523118]
test eax, eax
jne 0x488ba7
push str.dbghelp.dll
call sub.kernel32.dll_LoadLibraryA
test eax, eax
mov dword [0x523118], eax
je 0x488f96
cmp byte [0x5230e8], 0
jne 0x488c44
mov ecx, dword [0x52311c]
test ecx, ecx
jne 0x488bd8
push str.SymGetOptions
push eax
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x489207
mov ecx, eax
mov dword [0x52311c], eax
call ecx
mov esi, eax
mov eax, dword [0x523120]
test eax, eax
jne 0x488c02
push str.SymSetOptions
push dword [0x523118]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x48920e
mov dword [0x523120], eax
or esi, 4
push esi
call eax
mov esi, dword [0x523124]
test esi, esi
jne 0x488c31
push str.SymInitializeW
push dword [0x523118]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x489215
mov esi, eax
mov dword [0x523124], eax
call sub.kernel32.dll_GetCurrentProcess
push 1
push 0
push eax
call esi
mov byte [0x5230e8], 1
mov eax, dword [0x52312c]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x488c76
push str.SymFunctionTableAccess64
push dword [0x523118]
call sub.kernel32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0xc], eax
je 0x4891ee
mov eax, dword [esp + 0xc]
mov dword [0x52312c], eax
mov ebx, dword [0x523130]
test ebx, ebx
jne 0x488c9f
push str.SymGetModuleBase64
push dword [0x523118]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x4891ee
mov ebx, eax
mov dword [0x523130], eax
call sub.kernel32.dll_GetCurrentProcess
mov esi, dword [0x523134]
mov dword [esp + 0x54], eax
test esi, esi
jne 0x488cd1
push str.StackWalkEx
push dword [0x523118]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x488ff8
mov esi, eax
mov dword [0x523134], eax
lea eax, [esp + 0x68]
push 0x108
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x234]
mov dword [esp + 0x168], 0x110
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], 3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 3
push 0
push 0
push ebx
push dword [esp + 0x18]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0x14c
call esi
cmp eax, 1
jne 0x488f54
mov edi, dword [esp + 0x20]
mov dword [esp + 0x58], esi
xor esi, esi
mov dword [esp + 0x5c], ebx
jmp 0x488e24
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x40]
lea ecx, [edi + edi*2]
inc edi
movsd qword [eax + ecx*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov eax, fcn.004888c0
mov dword [esp + 0x20], edi
xor ebx, eax
mov eax, dword [esp + 0x10]
or ebx, esi
cmove eax, edi
mov dword [esp + 0x10], eax
mov eax, 1
cmove esi, eax
push 0
push 0
mov ebx, dword [esp + 0x64]
push ebx
push dword [esp + 0x18]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x48]
push dword [esp + 0x34]
push 0x14c
call dword [esp + pe_nt_image_headers32]
cmp eax, 1
jne 0x488f56
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x5c]
call ebx
mov ebx, dword [esp + 0x60]
cmp edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
jne 0x488da0
lea ecx, [esp + 0x18]
mov edx, edi
call fcn.00489520
mov edi, dword [esp + 0x20]
jmp 0x488da0
mov dword [esi], 1
jmp 0x488fee
push 0x21
push str.LocalRustBacktraceMutex00000000
lea eax, [esp + 0x68]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call sub.kernel32.dll_GetCurrentProcessId
test eax, eax
je 0x488ee5
mov ecx, 0x1f
nop dword [eax]
cmp ecx, 0x20
ja 0x4891b4
mov edx, eax
mov esi, eax
and dl, 0xf
mov dh, dl
mov ebx, edx
add bl, 0x37
or dh, 0x30
cmp dl, 0xa
movzx edx, dh
movzx ebx, bl
cmovb ebx, edx
shr esi, 4
mov byte [esp + ecx + 0x60], bl
dec ecx
cmp eax, 0x10
mov eax, esi
jae 0x488eb0
movsd xmm1, qword [esp + 0x70]
movzx eax, byte [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x60]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esp + 0x68]
mov byte [esp + 0x50], al
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x30], xmm2
movsd qword [esp + 0x38], xmm1
lea eax, [esp + 0x30]
push eax
push 0
push 0
call sub.kernel32.dll_CreateMutexA
test eax, eax
je 0x488f9f
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x5230e4], ecx
je 0x488b79
mov esi, eax
push ecx
call sub.kernel32.dll_CloseHandle
mov ecx, esi
jmp 0x488b79
xor esi, esi
push dword [esp + 0x24]
call sub.kernel32.dll_ReleaseMutex
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x20], 0
je 0x488fa8
test esi, esi
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
cmove ecx, esi
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], eax
movsd qword [esi + 4], xmm0
mov dword [esi], 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0
jmp 0x488fcd
push dword [esp + 0x24]
call sub.kernel32.dll_ReleaseMutex
xor esi, esi
cmp dword [esp + 0x20], 0
jne 0x488f6a
mov esi, dword [ebp + 8]
cmp dword [esp + 0x18], 0
mov dword [esi], 0
mov dword [esi + 0x14], 0
je 0x488fcd
mov ecx, dword [esp + 0x1c]
mov edx, 4
call fcn.00404ac0
cmp byte [esp + 0x28], 0
jne 0x488fe4
mov eax, dword [0x523144]
test eax, 0x7fffffff
jne 0x48918c
push 0x5230cc
call sub.kernel32.dll_ReleaseSRWLockExclusive
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x68]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
mov edx, dword [esp + 0x234]
xor esi, esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], 3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 3
jmp 0x4890cb
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x40]
lea ecx, [edx + edx*2]
inc edx
movsd qword [eax + ecx*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov ecx, fcn.004888c0
mov dword [esp + 0x20], edx
xor edi, ecx
mov ecx, 1
or edi, esi
mov edi, dword [esp + 0x10]
cmove esi, ecx
cmove edi, edx
mov dword [esp + 0x10], edi
mov eax, dword [0x523128]
test eax, eax
jne 0x4890f1
push str.StackWalk64
push dword [0x523118]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x4891ee
mov dword [0x523128], eax
push 0
push ebx
push dword [esp + 0x14]
push 0
lea ecx, [esp + 0x180]
push ecx
lea ecx, [esp + 0x74]
push ecx
push dword [esp + 0x44]
push dword [esp + 0x30]
push 0x14c
call eax
cmp eax, 1
jne 0x488f56
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x5c]
call ebx
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], eax
cmp edx, dword [esp + 0x18]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 0
jne 0x489080
lea ecx, [esp + 0x18]
call fcn.00489520
mov edx, dword [esp + 0x20]
jmp 0x489080
call fcn.0046bd40
xor al, 1
mov dword [esp + 0x28], eax
jmp 0x488b1d
call fcn.0046bd40
test al, al
jne 0x488fe4
mov byte [0x5230d0], 1
jmp 0x488fe4
mov bl, 1
test esi, esi
jne 0x4889a7
jmp 0x4889b5
mov edx, 0x21
mov ecx, 0xffffffff
push 0x503f84
call fcn.0040cf20
add esp, 4
jmp 0x48922d
test esi, 0x7fffffff
je 0x488932
mov ecx, dword [esp + 0xc]
mov edx, 1
call fcn.00404ac0
xor ebx, ebx
jmp 0x4889b5
mov edx, 0x2b
mov ecx, 0x5063db
push 0x504c68
call fcn.0040db80
add esp, 4
jmp 0x48922d
mov eax, 0x503f30
jmp 0x48921a
mov eax, 0x503f40
jmp 0x48921a
mov eax, 0x503f50
mov edx, 0x2b
mov ecx, 0x5063db
push eax
call fcn.0040db80
add esp, 4
ud2