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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5f4
mov dword [esp + 8], edx
xor ebx, ebx
mov eax, dword [ecx + 0x40]
mov edi, dword [ecx + 0x44]
mov dword [esp], 0
mov dword [esp + 4], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ebp, eax
mov esi, eax
shr ebp, 1
and ebp, 0x3f
cmp ebp, 0x3f
je 0x426206
cmp ebp, 0x3e
jne 0x42619d
cmp dword [esp], 0
jne 0x42619d
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x80], 0
mov dword [eax + 0x88], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x8c], 0
mov dword [eax + 0x94], 0
mov dword [eax + 0x90], 0
mov dword [eax + 0x98], 0
mov dword [eax + 0xa0], 0
mov dword [eax + 0x9c], 0
mov dword [eax + 0xa4], 0
mov dword [eax + 0xac], 0
mov dword [eax + 0xa8], 0
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb8], 0
mov dword [eax + 0xb4], 0
mov dword [eax + 0xbc], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xcc], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0x100], 0
mov dword [eax + 0xfc], 0
mov dword [eax + 0x104], 0
mov dword [eax + 0x10c], 0
mov dword [eax + 0x108], 0
mov dword [eax + 0x110], 0
mov dword [eax + 0x118], 0
mov dword [eax + 0x114], 0
mov dword [eax + 0x11c], 0
mov dword [eax + 0x124], 0
mov dword [eax + 0x120], 0
mov dword [eax + 0x128], 0
mov dword [eax + 0x130], 0
mov dword [eax + 0x12c], 0
mov dword [eax + 0x134], 0
mov dword [eax + 0x13c], 0
mov dword [eax + 0x138], 0
mov dword [eax + 0x140], 0
mov dword [eax + 0x148], 0
mov dword [eax + 0x144], 0
mov dword [eax + 0x14c], 0
mov dword [eax + 0x154], 0
mov dword [eax + 0x150], 0
mov dword [eax + 0x158], 0
mov dword [eax + 0x160], 0
mov dword [eax + 0x15c], 0
mov dword [eax + 0x164], 0
mov dword [eax + 0x16c], 0
mov dword [eax + 0x168], 0
mov dword [eax + 0x170], 0
mov dword [eax + 0x178], 0
mov dword [eax + 0x174], 0
mov dword [eax + 0x17c], 0
mov dword [eax + 0x184], 0
mov dword [eax + 0x180], 0
mov dword [eax + 0x188], 0
mov dword [eax + 0x190], 0
mov dword [eax + 0x18c], 0
mov dword [eax + 0x194], 0
mov dword [eax + 0x19c], 0
mov dword [eax + 0x198], 0
mov dword [eax + 0x1a0], 0
mov dword [eax + 0x1a8], 0
mov dword [eax + 0x1a4], 0
mov dword [eax + 0x1ac], 0
mov dword [eax + 0x1b4], 0
mov dword [eax + 0x1b0], 0
mov dword [eax + 0x1b8], 0
mov dword [eax + 0x1c0], 0
mov dword [eax + 0x1bc], 0
mov dword [eax + 0x1c4], 0
mov dword [eax + 0x1cc], 0
mov dword [eax + 0x1c8], 0
mov dword [eax + 0x1d0], 0
mov dword [eax + 0x1d8], 0
mov dword [eax + 0x1d4], 0
mov dword [eax + 0x1dc], 0
mov dword [eax + 0x1e4], 0
mov dword [eax + 0x1e0], 0
mov dword [eax + 0x1e8], 0
mov dword [eax + 0x1f0], 0
mov dword [eax + 0x1ec], 0
mov dword [eax + 0x1f4], 0
mov dword [eax + 0x1fc], 0
mov dword [eax + 0x1f8], 0
mov dword [eax + 0x200], 0
mov dword [eax + 0x208], 0
mov dword [eax + 0x204], 0
mov dword [eax + 0x20c], 0
mov dword [eax + 0x214], 0
mov dword [eax + 0x210], 0
mov dword [eax + 0x218], 0
mov dword [eax + 0x220], 0
mov dword [eax + 0x21c], 0
mov dword [eax + 0x224], 0
mov dword [eax + 0x22c], 0
mov dword [eax + 0x228], 0
mov dword [eax + 0x230], 0
mov dword [eax + 0x238], 0
mov dword [eax + 0x234], 0
mov dword [eax + 0x23c], 0
mov dword [eax + 0x244], 0
mov dword [eax + 0x240], 0
mov dword [eax + 0x248], 0
mov dword [eax + 0x250], 0
mov dword [eax + 0x24c], 0
mov dword [eax + 0x254], 0
mov dword [eax + 0x25c], 0
mov dword [eax + 0x258], 0
mov dword [eax + 0x260], 0
mov dword [eax + 0x268], 0
mov dword [eax + 0x264], 0
mov dword [eax + 0x26c], 0
mov dword [eax + 0x274], 0
mov dword [eax + 0x270], 0
mov dword [eax + 0x278], 0
mov dword [eax + 0x280], 0
mov dword [eax + 0x27c], 0
mov dword [eax + 0x284], 0
mov dword [eax + 0x28c], 0
mov dword [eax + 0x288], 0
mov dword [eax + 0x290], 0
mov dword [eax + 0x298], 0
mov dword [eax + 0x294], 0
mov dword [eax + 0x29c], 0
mov dword [eax + 0x2a4], 0
mov dword [eax + 0x2a0], 0
mov dword [eax + 0x2a8], 0
mov dword [eax + 0x2b0], 0
mov dword [eax + 0x2ac], 0
mov dword [eax + 0x2b4], 0
mov dword [eax + 0x2bc], 0
mov dword [eax + 0x2b8], 0
mov dword [eax + 0x2c0], 0
mov dword [eax + 0x2c8], 0
mov dword [eax + 0x2c4], 0
mov dword [eax + 0x2cc], 0
mov dword [eax + 0x2d4], 0
mov dword [eax + 0x2d0], 0
mov dword [eax + 0x2d8], 0
mov dword [eax + 0x2e0], 0
mov dword [eax + 0x2dc], 0
mov dword [eax + 0x2e4], 0
push 0x2f4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x308]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x426161
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x426295
mov dword [0x5371d8], eax
push 0x2f8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x426295
mov dword [eax], 0
mov dword [esp], eax
add eax, 4
push 0x2f4
lea ecx, [esp + 0x304]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 4]
lea edx, [esi + 2]
mov eax, esi
lock cmpxchg dword [ecx + 0x40], edx
je 0x42621f
mov edi, dword [ecx + 0x44]
cmp ebx, 6
mov ecx, 6
mov edx, 1
cmovb ecx, ebx
nop dword [eax]
mov esi, edx
pause
inc edx
shr esi, cl
test esi, esi
je 0x4261c0
mov ecx, dword [esp + 4]
cmp ebx, 7
adc ebx, 0
jmp 0x425a00
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [esp + 4]
cmp ebx, 0xb
adc ebx, 0
mov esi, dword [ecx + 0x40]
mov edi, dword [ecx + 0x44]
mov ebp, esi
shr ebp, 1
and ebp, 0x3f
cmp ebp, 0x3f
jne 0x425a12
cmp ebx, 6
ja 0x4261e0
mov eax, 1
mov edx, eax
mov ecx, ebx
pause
inc eax
shr edx, cl
test edx, edx
je 0x426210
jmp 0x4261e6
cmp ebp, 0x3e
jne 0x426257
mov eax, dword [esp]
test eax, eax
je 0x4262a4
add esi, 4
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x40], esi
mov dword [edi], eax
mov ecx, dword [esp + 0x608]
mov eax, dword [esp + 8]
mov dword [edi + 0x2ec], eax
mov dword [edi + 0x2f0], ecx
lock or dword [edi + 0x2f4], 1
jmp 0x42628a
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x608]
lea eax, [ebp + ebp*2]
mov dword [edi + eax*4 + 4], ecx
mov dword [edi + eax*4 + 8], edx
lock or dword [edi + eax*4 + 0xc], 1
mov eax, dword [esp]
test eax, eax
je 0x42628a
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x5f4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 0x2f8
call fcn.004d6180
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4e26cc
call fcn.004d6490
int3