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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov ebx, dword [ebp + 8]
cmp byte [edx + 0x24], 0
mov dword [esp + 0x2c], ecx
je 0x4e8b46
test byte [ebx + 0x59], 4
je 0x4e8b46
mov eax, 0x20000000
and eax, dword [ebx + 0x5c]
je 0x4e8b46
lea edi, [esp + 0x130]
mov dword [esp + 0x28], edx
mov ecx, 0x1a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x180]
mov ecx, dword [esp + 0x178]
mov eax, dword [eax + 0x54]
test edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
je 0x4e82c9
js 0x4e903e
mov esi, dword [0x56bbf8]
mov eax, dword [esi]
test eax, eax
jne 0x4e82aa
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x4e82b9
mov dword [esi], eax
push edi
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x4e82ce
push 1
push edi
call fcn.004085f0
add esp, 8
jmp 0x4e907d
mov esi, 1
push edi
push dword [esp + 0x20]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov byte [esp + 0x6c], 0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x70]
push 1
push eax
call fcn.004e70a0
add esp, 8
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov eax, edx
xor eax, 2
or eax, ecx
jne 0x4e8453
movzx edi, word [esp + 0x91]
movzx esi, word [esp + 0xa1]
movzx edx, byte [esp + 0x90]
movzx ecx, byte [esp + 0x93]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x8c]
mov word [esp + 0x10], di
mov word [esp + 0xc], si
mov byte [esp + 0x12], cl
mov byte [esp + 0x40], dl
movzx edx, byte [esp + 0xa3]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x98]
movzx edi, word [esp + 0x10]
movzx esi, word [esp + 0xc]
movzx ecx, byte [esp + 0x12]
mov byte [esp + 0xe], dl
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov word [esp + 0x18], di
mov word [esp + 0x14], si
mov byte [esp + 0x1a], cl
movzx edx, byte [esp + 0xe]
movzx ecx, byte [esp + 0xa0]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x48], eax
mov byte [esp + 0x16], dl
mov byte [esp + 0x30], cl
cmp dword [esp + 0x17c], 0
je 0x4e83e6
mov eax, dword [0x56bbf8]
push dword [esp + 0x1c]
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
movzx eax, word [esp + 0x18]
mov ecx, dword [esp + 0x2c]
movzx edx, byte [esp + 0x30]
mov word [ecx + 0x21], ax
movzx eax, byte [esp + 0x1a]
mov byte [ecx + 0x23], al
movzx eax, word [esp + 0x14]
mov word [ecx + 0x31], ax
movzx eax, byte [esp + 0x16]
mov byte [ecx + 0x33], al
mov eax, dword [esp + 0x24]
mov dword [ecx + 8], 2
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x1c], eax
mov ah, byte [esp + 0x40]
mov byte [ecx + 0x20], ah
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], edi
mov byte [ecx + 0x30], dl
jmp 0x4e9036
mov eax, dword [esp + 0x74]
movsd xmm0, qword [esp + 0xa4]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x80]
cmp dword [esp + 0x17c], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x88]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [esp + 0xac]
mov dword [esp + 0x124], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], edi
mov dword [esp + 0x5c], eax
movzx eax, word [esp + 0x91]
movsd qword [esp + 0xe8], xmm0
movsd xmm0, qword [esp + 0xb4]
mov dword [esp + 0x120], esi
mov esi, dword [esp + 0x98]
mov word [esp + 0x10], ax
movzx eax, word [esp + 0xa1]
movsd qword [esp + 0xf0], xmm0
movsd xmm0, qword [esp + 0xbc]
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0x94]
mov word [esp + 0xc], ax
mov eax, dword [esp + 0xd4]
movsd qword [esp + 0xf8], xmm0
movsd xmm0, qword [esp + 0xc4]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x110], eax
movzx eax, byte [esp + 0x93]
mov ah, byte [esp + 0x90]
movsd qword [esp + 0x100], xmm0
movsd xmm0, qword [esp + 0xcc]
mov dword [esp + 0x50], esi
mov esi, ebx
mov byte [esp + 0x12], al
mov al, byte [esp + 0xa3]
movsd qword [esp + 0x108], xmm0
mov byte [esp + 0x23], ah
mov byte [esp + 0xe], al
mov al, byte [esp + 0xa0]
mov byte [esp + 0x54], al
je 0x4e85b8
mov eax, dword [0x56bbf8]
push dword [esp + 0x1c]
push 0
push dword [eax]
mov esi, edx
mov edi, ecx
call sub.kernel32.dll_HeapFree
mov ecx, edi
mov edx, esi
mov ah, byte [esp + 0x23]
mov edi, dword [esp + 0x11c]
mov esi, dword [esp + 0x118]
mov dword [esp + 0x34], edx
mov edx, edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x130], esi
mov ebx, dword [esp + 0x5c]
movsd xmm1, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xf0]
movsd xmm0, qword [esp + 0xe0]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x13c], ecx
test bl, 0x10
mov dword [esp + 0x138], edi
mov edi, dword [esp + 0x124]
mov dword [esp + 0x140], edx
mov dword [esp + 0x148], ebx
mov edx, dword [esp + 0x34]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x144], edi
mov edi, dword [esp + 0x120]
mov dword [esp + 0x14c], edi
mov byte [esp + 0x150], ah
movzx eax, word [esp + 0x10]
mov edi, esi
mov esi, ecx
mov word [esp + 0x151], ax
movzx eax, byte [esp + 0x12]
mov byte [esp + 0x153], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x15c], eax
movzx eax, byte [esp + 0x54]
mov byte [esp + 0x160], al
movzx eax, word [esp + 0xc]
mov word [esp + 0x161], ax
movzx eax, byte [esp + 0xe]
mov byte [esp + 0x163], al
movsd qword [esp + 0x16c], xmm1
movsd xmm1, qword [esp + 0xf8]
mov eax, dword [esp + 0x110]
movsd qword [esp + 0x174], xmm2
movsd xmm2, qword [esp + 0x100]
movsd qword [esp + 0x164], xmm0
movsd qword [esp + 0x17c], xmm1
movsd xmm1, qword [esp + 0x108]
mov dword [esp + 0x194], eax
movsd qword [esp + 0x184], xmm2
movsd qword [esp + 0x18c], xmm1
je 0x4e8a5c
mov edx, dword [esp + 0x178]
mov edi, dword [esp + 0x180]
movsd xmm1, qword [0x56a7f0]
xorps xmm0, xmm0
mov dword [esp + 0x12c], esi
mov dword [esp + 0x8c], 0
mov word [esp + 0x90], 0
movlps qword [esp + 0x70], xmm0
movsd qword [esp + 0x7c], xmm1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 1
mov dword [esp + 0x70], 0x2000000
lea esi, [esp + 0x70]
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], edx
push esi
push edi
call fcn.004ceae0
add esp, 8
cmp byte [esp + 0x60], 4
jne 0x4e8790
mov eax, dword [esp + 0x64]
jmp 0x4e87ab
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
cmp cl, 4
mov dword [esp + 0x38], eax
jne 0x4e89d7
mov eax, dword [esp + 0x38]
mov edx, esi
mov dword [esp + 0x3c], edi
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
push esi
mov edi, eax
push eax
call sub.kernel32.dll_GetFileInformationByHandle
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x4e89c2
mov eax, edi
mov esi, dword [esp + 0xa0]
mov edx, edi
shr eax, 8
mov word [esp + 0xfd], ax
mov eax, edi
shr eax, 0x18
mov byte [esp + 0xff], al
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 1
mov dword [esp + 0x44], esi
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xec], 0
mov byte [esp + 0xef], 0
mov word [esp + 0xed], 0
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], eax
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x4c]
mov dword [esp + 0xf8], 2
mov byte [esp + 0xfc], dl
test eax, eax
je 0x4e89b1
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe8]
shl eax, 4
mov ecx, dword [ecx + 0x44]
mov dword [esp + 0x48], esi
lea esi, [eax + eax*2]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
lea eax, [ecx - 0x30]
lea ecx, [esp + 0xe0]
jmp 0x4e88c9
add esi, 0xffffffd0
je 0x4e89b1
lea edi, [eax + esi]
cmp edi, ecx
je 0x4e8902
mov edx, dword [edi]
xor edx, 1
or edx, dword [edi + 4]
jne 0x4e88c0
mov edx, dword [eax + esi + 8]
mov edi, dword [eax + esi + 0xc]
xor edx, dword [esp + 0x30]
xor edi, dword [esp + 0x48]
or edi, edx
jne 0x4e88c0
mov edx, dword [eax + esi + 0x10]
mov edi, dword [eax + esi + 0x14]
xor edx, dword [esp + 0x44]
xor edi, dword [esp + 0x40]
or edi, edx
jne 0x4e88c0
mov eax, dword [esp + 0x38]
push dword [eax + esi - 8]
push dword [eax + esi - 0x10]
lea eax, [esp + 0x68]
push eax
call fcn.004c7c50
add esp, 0xc
push dword [esp + 0x3c]
push dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
call fcn.004c7c50
add esp, 0xc
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0x6c]
mov byte [esp + 0x40], al
movzx eax, word [esp + 0x6d]
mov word [esp + 0x10], ax
movzx eax, byte [esp + 0x6f]
mov byte [esp + 0x12], al
movzx eax, byte [esp + 0x7c]
mov byte [esp + 0x30], al
movzx eax, word [esp + 0x7d]
mov word [esp + 0xc], ax
movzx eax, byte [esp + 0x7f]
mov byte [esp + 0xe], al
mov eax, dword [esp + 0xf8]
cmp eax, 2
jne 0x4e8a30
push dword [esp + 0xfc]
call sub.kernel32.dll_CloseHandle
jmp 0x4e8a43
push dword [esp + 0xfc]
call sub.kernel32.dll_CloseHandle
jmp 0x4e8a4a
call sub.kernel32.dll_GetLastError
mov ebx, eax
push edi
call sub.kernel32.dll_CloseHandle
xor esi, esi
mov dword [esp + 0x38], ebx
jmp 0x4e89d9
mov esi, ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 2
mov byte [esp + 0x40], 2
mov byte [esp + 0x30], 2
movzx ebx, word [esp + 0x10]
movzx eax, byte [esp + 0x12]
movzx edx, word [esp + 0xc]
movzx ecx, byte [esp + 0xe]
mov word [esp + 0x18], bx
mov ebx, dword [esp + 0x38]
mov byte [esp + 0x1a], al
mov word [esp + 0x14], dx
mov byte [esp + 0x16], cl
cmp dword [esp + 0x17c], 0
jne 0x4e83d4
jmp 0x4e83e6
test eax, eax
mov dword [esp + 0xf8], 0
je 0x4e9069
cmp byte [esp + 0x30], 3
jne 0x4e89f3
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x12c]
mov edi, dword [esp + 0x118]
lea eax, [esp + 0x151]
movzx ecx, word [eax]
movsd xmm1, qword [eax + 0x33]
movsd xmm2, qword [eax + 0x2b]
movsd xmm0, qword [eax + 0x3b]
mov word [esp + 0x18], cx
movzx ecx, word [eax + 0x10]
movsd qword [ebx + 0x54], xmm1
movsd xmm1, qword [eax + 0x23]
movsd qword [ebx + 0x4c], xmm2
movsd xmm2, qword [eax + 0x13]
movsd qword [ebx + 0x5c], xmm0
mov word [esp + 0x14], cx
mov ecx, dword [eax + 0x43]
movsd qword [ebx + 0x44], xmm1
movsd xmm1, qword [eax + 0x1b]
movsd qword [ebx + 0x34], xmm2
mov dword [ebx + 0x64], ecx
movzx ecx, word [esp + 0x18]
movsd qword [ebx + 0x3c], xmm1
mov word [ebx + 0x21], cx
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 0x12]
mov byte [esp + 0x1a], cl
mov byte [esp + 0x16], al
movzx ecx, byte [esp + 0x1a]
movzx eax, byte [esp + 0x16]
mov byte [ebx + 0x23], cl
movzx ecx, word [esp + 0x14]
mov byte [ebx + 0x33], al
mov eax, dword [esp + 0x58]
mov word [ebx + 0x31], cx
mov dword [ebx + 4], eax
mov dword [ebx], edi
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x11c]
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x5c]
mov ch, byte [esp + 0x23]
mov cl, byte [esp + 0x54]
mov dword [ebx + 0x10], edx
mov edx, dword [esp + 0x124]
mov dword [ebx + 0x18], esi
mov esi, dword [esp + 0x120]
mov dword [ebx + 0x14], edx
mov edx, dword [esp + 0x128]
mov dword [ebx + 0x1c], esi
mov byte [ebx + 0x20], ch
mov esi, dword [esp + 0x4c]
mov dword [ebx + 0x28], edx
mov edx, dword [esp + 0x50]
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x2c], edx
mov edx, dword [esp + 0x28]
mov byte [ebx + 0x30], cl
test byte [ebx + 0x59], 4
je 0x4e8bf4
mov eax, 0x20000000
and eax, dword [ebx + 0x5c]
je 0x4e8bf4
cmp dword [ebx + 0x60], 0
jne 0x4e8bfa
mov edi, edx
mov edx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x50]
lea ecx, [esp + 0x70]
mov dword [esp + 0x24], edx
push 0
push esi
call fcn.004cf250
add esp, 8
mov eax, dword [esp + 0x78]
xor eax, 2
or eax, dword [esp + 0x7c]
jne 0x4e8d16
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
test esi, esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
je 0x4e8e32
js 0x4e9045
mov edi, dword [0x56bbf8]
mov eax, dword [edi]
test eax, eax
jne 0x4e8bd1
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x4e8be4
mov dword [edi], eax
push esi
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x4e8e37
push 1
push esi
call fcn.004085f0
add esp, 8
jmp 0x4e907d
test byte [ebx + 0x18], 0x10
jne 0x4e8c3a
mov eax, dword [edx + 0x54]
cmp eax, dword [edx + 0x14]
jb 0x4e8c19
cmp eax, dword [edx + 0x18]
ja 0x4e8c19
mov edi, dword [esp + 0x2c]
mov ecx, 0x1a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x4e9036
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 3
cmp dword [ebx + 0x4c], 0
jne 0x4e9025
jmp 0x4e9036
cmp byte [edx + 0x26], 0
mov dword [esp + 0x28], edx
je 0x4e8cf9
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x4e8cf9
mov dword [esp + 0x30], eax
mov eax, dword [edx]
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
mov word [esp + 0x90], 0
movlps qword [esp + 0x70], xmm0
movsd xmm0, qword [0x56a7f0]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0xc]
movsd qword [esp + 0x7c], xmm0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x8c], 1
mov dword [esp + 0x70], 0x2000000
mov dword [esp + 0x54], eax
mov eax, dword [edx + 8]
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x50]
lea esi, [esp + 0x70]
lea ecx, [esp + 0x130]
mov dword [esp + 0x5c], edx
push esi
mov dword [esp + 0x28], eax
push eax
call fcn.004ceae0
add esp, 8
cmp byte [esp + 0x130], 4
jne 0x4e8dc4
mov edi, dword [esp + 0x134]
jmp 0x4e8dde
lea ecx, [esp + 0x70]
push ebx
call fcn.004e9140
add esp, 4
cmp byte [esp + 0x90], 3
je 0x4e8f10
jmp 0x4e8d67
mov eax, dword [esp + 0x88]
test eax, 0x400
sete cl
test dword [esp + 0xa4], 0x20000000
sete dl
or dl, cl
cmp dl, 1
mov edx, edi
jne 0x4e8bfa
and eax, 0x10
je 0x4e8bfa
lea ecx, [esp + 0x70]
push ebx
call fcn.004e9140
add esp, 4
cmp byte [esp + 0x90], 3
jne 0x4e8d67
mov edx, edi
jmp 0x4e8bfa
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x70]
mov dword [ecx + 0x30], eax
movsd qword [ecx + 0x28], xmm0
movsd qword [ecx + 0x20], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [ecx + 0x18], xmm1
movsd qword [ecx + 0x10], xmm2
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 2
cmp dword [ebx + 0x4c], 0
jne 0x4e9025
jmp 0x4e9036
mov eax, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
cmp al, 4
mov dword [esp + 0x1c], eax
jne 0x4e8f70
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
push esi
push edi
call sub.kernel32.dll_GetFileInformationByHandle
mov esi, eax
test eax, eax
je 0x4e8ec2
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ecx
jmp 0x4e8ed3
mov edi, 1
push esi
push dword [esp + 0x28]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, word [esp + 0x130]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov word [esp + 0xe0], ax
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], esi
mov byte [ecx + 0x20], 0
mov esi, dword [esp + 0x1c]
movzx eax, word [esp + 0xe0]
mov word [ecx + 0x21], ax
movzx eax, byte [esp + 0x132]
mov byte [esp + 0xe2], al
movzx eax, byte [esp + 0xe2]
mov byte [ecx + 0x23], al
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 2
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x28], esi
mov dword [ecx + 0x24], edx
mov byte [ecx + 0x30], 2
cmp dword [ebx + 0x4c], 0
jne 0x4e9025
jmp 0x4e9036
call sub.kernel32.dll_GetLastError
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], 0
push edi
call sub.kernel32.dll_CloseHandle
test esi, esi
je 0x4e8f74
cmp dword [esp + 0x58], 0
je 0x4e904c
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x4c]
or eax, dword [esp + 0x54]
jne 0x4e8f10
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x70]
push ebx
call fcn.004e9140
add esp, 4
jmp 0x4e8d06
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x25], 0
je 0x4e8bfa
lea edi, [esp + 0x70]
mov ecx, 0x1a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [edx + 0x60]
cmp edx, dword [ecx + 0x5c]
jne 0x4e8f44
mov esi, ecx
add ecx, 0x58
call fcn.004e68d0
mov edx, dword [esi + 0x60]
mov ecx, esi
imul edi, edx, 0x68
mov eax, ecx
mov esi, ebx
inc edx
add edi, dword [ecx + 0x58]
mov ecx, 0x1a
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x60], edx
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 3
jmp 0x4e9036
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
je 0x4e8fcd
js 0x4e9062
mov esi, dword [0x56bbf8]
mov eax, dword [esi]
test eax, eax
jne 0x4e8fa8
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x4e8fba
mov dword [esi], eax
push dword [esp + 0x24]
push 0
push eax
call sub.kernel32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x4e8fd2
push 1
push dword [esp + 0x28]
call fcn.004085f0
add esp, 8
jmp 0x4e907d
mov esi, 1
mov edi, dword [esp + 0x24]
push edi
push dword [esp + 0x60]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 2
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov esi, dword [esp + 0x34]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], esi
mov byte [eax + 0x30], 2
cmp dword [ebx + 0x4c], 0
je 0x4e9036
mov eax, dword [0x56bbf8]
push dword [ebx + 0x48]
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004085b0
jmp 0x4e907d
call fcn.004085b0
jmp 0x4e907d
push 0x56aa68
push 0x33
push str.BUG:_called_is_same_file_system_without_root_device
call fcn.004148e0
add esp, 0xc
jmp 0x4e907d
call fcn.004085b0
jmp 0x4e907d
push 0x56b3bc
push 0x2b
push str.called__Option::unwrap____on_a__None__value_usr_local_cargo_registry_src_github.com_1ecc6299db9ec823_winapi_util_0.1.5_src_win.rs
call fcn.00414ad0
add esp, 0xc
ud2