Function at 0x4b8620
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xbc], esp
mov dword [esi + 0xc8], 0xffffffff
mov dword [esi + 0xc4], 0x4c02f0
mov edi, ecx
lea eax, [esi + 0xc0]
mov ecx, dword fs:[0]
mov dword [esi + 0xc0], ecx
mov dword fs:[0], eax
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x4b8689
call fcn.0040e440
push dword [edi]
call fcn.0040f9e0
add esp, 4
mov dword [edi], 0
mov eax, dword [edi + 4]
mov ebx, dword [ebp + 8]
inc eax
cmp eax, 2
jb 0x4b86ac
call fcn.0040e440
push dword [edi + 4]
call fcn.0040f9e0
add esp, 4
mov dword [edi + 4], 0
test ebx, ebx
mov dword [edi + 0x34], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x39], 0
mov dword [esi + 0xc], edi
mov dword [edi + 0x35], 0
je 0x4b8755
cmp word [ebx], 0
je 0x4b8755
mov ecx, dword [0x6d1ebc]
mov edi, 0x104
mov eax, 0x104
test ecx, ecx
je 0x4b8734
call fcn.0042701a
push eax
push ebx
call fcn.005d55e2
add esp, 8
mov ecx, dword [0x6d1ebc]
mov ebx, eax
test ecx, ecx
je 0x4b8751
call fcn.0042701a
mov edi, eax
cmp ebx, edi
jne 0x4b8785
xor ebx, ebx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0xc0]
mov eax, dword [eax]
mov dword fs:[0], edx
inc eax
cmp eax, 1
seta cl
cmp dword [ebp + 0xc], 0
sete al
or al, bl
and al, cl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov ebx, dword [ebp + 8]
mov dword [esi + 0x9c], 7
mov dword [esi + 0x98], 0
mov word [esi + 0x88], 0
push ebx
call fcn.005d3244
add esp, 4
mov edi, eax
cmp eax, 7
jbe 0x4b87e9
sub esp, 0xc
mov al, byte [esi + 0x50]
lea ecx, [esi + 0x88]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.00405590
cmp byte [ebp + 0x14], 0
jne 0x4b8814
cmp dword [esi + 0x98], 0
jne 0x4b88a2
jmp 0x4b88c7
mov eax, edi
mov dword [esi + 0x98], edi
lea ecx, [esi + 0x88]
add eax, edi
push eax
push ebx
push ecx
call fcn.0061e340
add esp, 0xc
mov word [esi + edi*2 + 0x88], 0
cmp byte [ebp + 0x14], 0
je 0x4b87d7
lea eax, [esi + 0x88]
mov dword [esi + 0xc8], 8
lea ecx, [esi + 0x50]
push eax
push ecx
call fcn.00486680
add esp, 8
mov ecx, dword [esi + 0x9c]
cmp ecx, 8
jb 0x4b8872
mov eax, dword [esi + 0x88]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b8868
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b97bc
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 0x98], xmm0
movsd qword [esi + 0x90], xmm1
movsd qword [esi + 0x88], xmm2
cmp dword [esi + 0x98], 0
je 0x4b88c7
lea eax, [esi + 0x88]
mov dword [esi + 0xc8], 8
push 0xffff
mov dword [esi + 0x10], eax
push eax
call fcn.0042a080
add esp, 8
test al, al
je 0x4b8913
xor ebx, ebx
mov ecx, dword [esi + 0x9c]
cmp ecx, 8
jb 0x4b8757
mov eax, dword [esi + 0x88]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b8904
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b97ad
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
jmp 0x4b8757
mov edi, dword [esi + 0x98]
cmp dword [esi + 0x9c], 7
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
jbe 0x4b8939
mov eax, dword [esi + 0x88]
mov dword [esi + 0x10], eax
cmp edi, 7
ja 0x4b895b
mov eax, dword [esi + 0x10]
mov ecx, 7
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x38], xmm1
movsd qword [esi + 0x30], xmm0
jmp 0x4b89c9
mov eax, edi
mov ecx, 0x7ffffffe
mov dword [esi + 0x14], edi
or eax, 7
cmp eax, 0x7ffffffe
mov dword [esi + 0x4c], eax
cmovb ecx, eax
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x4b89a3
cmp ecx, 0x7fffffee
jae 0x4b97cb
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4b89af
add eax, 2
push eax
call fcn.005d0220
add esp, 4
mov edi, dword [esi + 0x14]
mov dword [esi + 0x30], eax
lea ecx, [edi + edi + 2]
push ecx
push dword [esi + 0x10]
push eax
call fcn.0061e340
add esp, 0xc
mov ecx, dword [esi + 0x4c]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0xb4], 7
mov dword [esi + 0xb0], 0
mov word [esi + 0xa0], 0
cmp eax, 1
je 0x4b8bbb
cmp eax, 2
jne 0x4b8a07
cmp ecx, 7
je 0x4b8a1e
mov eax, dword [esi + 0x30]
jmp 0x4b8a21
mov dword [esi + 0x84], eax
mov ebx, 0x110000
mov dword [esi + 0x4c], 0
jmp 0x4b8cf6
lea eax, [esi + 0x30]
mov dword [esi + 0xc8], 9
push eax
call fcn.005d8724
add esp, 4
test eax, eax
je 0x4b8da7
mov dword [esi + 0xc8], 0xc
mov dword [esi + 0x10], eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [esi + 0x10]
test eax, eax
je 0x4b8a97
push edi
call fcn.005d3244
add esp, 4
test eax, eax
je 0x4b8a97
mov edi, dword [esi + 0x40]
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
mov word [esi + 0x50], 0
sub edi, eax
jb 0x4b97ee
cmp dword [esi + 0x44], 7
jbe 0x4b8aa5
mov ecx, dword [esi + 0x30]
jmp 0x4b8aa8
push edi
call fcn.005d31ac
add esp, 4
jmp 0x4b8da7
lea ecx, [esi + 0x30]
lea eax, [ecx + eax*2]
cmp edi, 7
jbe 0x4b8acb
sub esp, 0xc
mov cl, byte [esi + 0x18]
mov byte [esp + 4], cl
lea ecx, [esi + 0x50]
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00405590
jmp 0x4b8ae6
lea ecx, [edi + edi]
mov dword [esi + 0x60], edi
lea edx, [esi + 0x50]
push ecx
push eax
push edx
call fcn.0061e340
add esp, 0xc
mov word [esi + edi*2 + 0x50], 0
mov ecx, dword [esi + 0xb4]
mov ebx, dword [esi + 0x10]
cmp ecx, 8
jb 0x4b8b2a
mov eax, dword [esi + 0xa0]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b8b20
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b9802
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0xa8], xmm1
movsd qword [esi + 0xa0], xmm2
push ebx
call fcn.005d3244
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x44]
cmp eax, edi
jae 0x4b8b81
sub esp, 0xc
mov al, byte [esi + 0x50]
lea ecx, [esi + 0x30]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.00405590
mov ebx, dword [esi + 0x10]
jmp 0x4b8baf
cmp eax, 7
jbe 0x4b8b8b
mov ecx, dword [esi + 0x30]
jmp 0x4b8b8e
lea ecx, [esi + 0x30]
mov eax, edi
mov dword [esi + 0x14], ecx
mov dword [esi + 0x40], edi
add eax, edi
push eax
mov ebx, dword [esi + 0x10]
push ebx
push ecx
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 0x14]
mov word [eax + edi*2], 0
push ebx
call fcn.005d31ac
add esp, 4
mov edi, dword [esi + 0x40]
mov al, 1
mov ebx, 0x2110000
cmp edi, 6
mov dword [esi + 0x4c], eax
je 0x4b8bfc
cmp edi, 2
mov dword [esi + 0x84], 1
jne 0x4b8cf6
mov eax, dword [esi + 0x44]
cmp eax, 8
jb 0x4b8c75
mov ecx, dword [esi + 0x30]
cmp word [ecx + 2], 0x3a
je 0x4b8c7f
jmp 0x4b8cf6
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x30]
lea edx, [esi + 0x30]
mov dword [esi + 0x84], 1
cmp eax, 7
cmova edx, ecx
cmp word [edx], 0x5c
jne 0x4b8cf6
cmp word [edx + 2], 0x5c
jne 0x4b8cf6
mov dword [esi + 0x14], edi
lea edx, [ecx + 4]
cmp eax, 7
lea edi, [esi + 0x34]
cmova edi, edx
cmp word [edi], 0x3f
jne 0x4b8cf6
lea edx, [ecx + 6]
cmp eax, 7
lea edi, [esi + 0x36]
cmova edi, edx
cmp word [edi], 0x5c
jne 0x4b8cf6
cmp eax, 7
jbe 0x4b91b4
cmp word [ecx + 0xa], 0x3a
mov edi, dword [esi + 0x14]
jne 0x4b8cf6
add ecx, 8
jmp 0x4b8c7f
cmp word [esi + 0x32], 0x3a
jne 0x4b8cf6
lea ecx, [esi + 0x30]
movzx ecx, word [ecx]
and ecx, 0xffffffdf
add ecx, 0xffffffbf
cmp cx, 0x19
ja 0x4b8cf6
cmp eax, edi
jne 0x4b8ccc
mov dword [esi + 0xc8], 9
sub esp, 0x10
mov al, byte [esi + 0x50]
lea ecx, [esi + 0x30]
mov byte [esp + 4], al
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x65857a
mov dword [esp], 1
call fcn.0040b010
mov ebx, 0x2110000
jmp 0x4b8cec
lea ecx, [edi + 1]
cmp eax, 7
mov dword [esi + 0x40], ecx
jbe 0x4b8cdc
mov eax, dword [esi + 0x30]
jmp 0x4b8cdf
lea eax, [esi + 0x30]
mov word [eax + edi*2], 0x5c
mov word [eax + edi*2 + 2], 0
mov dword [esi + 0xc8], 9
mov ecx, dword [ebp + 0x18]
xor eax, eax
test cl, 1
sete al
cmp dword [esi + 0x44], 7
lea eax, [eax + eax + 1]
jbe 0x4b8d10
mov ecx, dword [esi + 0x30]
jmp 0x4b8d13
lea ecx, [esi + 0x30]
mov dword [esi + 0xc8], 9
push 0
push ebx
push 3
push 0
push eax
push 0x120089
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [esi + 0xc]
mov ecx, eax
cmp dword [edx], ecx
je 0x4b8d9b
mov dword [esi + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x10]
mov edx, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
inc eax
cmp eax, 2
jb 0x4b8d77
mov dword [esi + 0x14], edx
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0040f9e0
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, ecx
inc eax
cmp eax, 2
jb 0x4b8d8f
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], edx
mov dword [eax], ecx
call fcn.0040e440
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
lea eax, [ecx + 1]
cmp eax, 2
jae 0x4b8e2e
xor ebx, ebx
mov ecx, dword [esi + 0xb4]
cmp ecx, 8
jb 0x4b8dea
mov eax, dword [esi + 0xa0]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b8de0
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b97d0
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x44]
cmp ecx, 8
jb 0x4b88c9
mov eax, dword [esi + 0x30]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b8e1f
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b97df
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
jmp 0x4b88c9
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x4b8ee7
mov eax, dword [ebp + 0x18]
test al, 2
je 0x4b8e59
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x30]
push eax
call fcn.004b9bf0
test al, al
je 0x4b8f3e
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], 0
mov word [esi + 0x18], 0
je 0x4b8eb6
mov dword [esi + 0xc8], 0xa
call fcn.00406c70
cmp eax, 3
jl 0x4b8eb6
lea eax, [esi + 0x18]
push 0
push eax
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.004b62a0
add esp, 0xc
test al, al
jne 0x4b8eb6
cmp dword [esi + 0x2c], 7
lea eax, [esi + 0x18]
jbe 0x4b8eaa
mov eax, dword [esi + 0x18]
mov dword [esi + 0x28], 0
mov word [eax], 0
mov edi, dword [esi + 0x28]
test edi, edi
je 0x4b9409
mov ebx, dword [esi + 0xb0]
test ebx, ebx
je 0x4b923f
cmp dword [esi + 0xb4], 7
jbe 0x4b8f86
mov eax, dword [esi + 0xa0]
jmp 0x4b8f8c
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
cmp eax, 2
jb 0x4b8f0d
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
inc eax
cmp eax, 2
jb 0x4b8da7
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax + 4]
call fcn.0040f9e0
add esp, 4
mov eax, dword [esi + 0xc]
xor ebx, ebx
mov dword [eax + 4], 0
jmp 0x4b8da9
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
cmp eax, 2
jb 0x4b8f64
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
inc eax
cmp eax, 2
jb 0x4b8da7
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax + 4]
call fcn.0040f9e0
add esp, 4
jmp 0x4b8f2d
lea eax, [esi + 0xa0]
mov ecx, dword [esi + 0x2c]
movzx edx, word [eax]
cmp ecx, 7
mov dword [esi + 0x10], ecx
jbe 0x4b8f9f
mov ecx, dword [esi + 0x18]
jmp 0x4b8fa2
lea ecx, [esi + 0x18]
cmp dx, 0x5c
movzx edx, word [ecx + edi*2 - 2]
jne 0x4b9004
cmp dx, 0x5c
jne 0x4b900f
lea ecx, [ebx - 1]
add eax, 2
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
mov word [esi + 0x50], 0
cmp ecx, 7
jbe 0x4b9098
mov dword [esi + 0xc8], 0xa
sub esp, 0xc
mov dl, byte [esi + 0x48]
mov byte [esp + 4], dl
mov dword [esp], ecx
lea ecx, [esi + 0x50]
mov dword [esp + 8], eax
call fcn.00405590
mov edi, dword [esi + 0x28]
mov ebx, dword [esi + 0x2c]
jmp 0x4b90b5
cmp dx, 0x5c
jne 0x4b9046
mov edx, dword [esi + 0x10]
jmp 0x4b9012
mov edx, dword [esi + 0x2c]
mov ecx, edx
sub ecx, edi
cmp ecx, ebx
jae 0x4b9080
mov dword [esi + 0xc8], 0xa
sub esp, 0x10
mov cl, byte [esi + 0x50]
mov byte [esp + 4], cl
lea ecx, [esi + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0040b010
jmp 0x4b923f
cmp dword [esi + 0x10], edi
jne 0x4b90c3
mov dword [esi + 0xc8], 0xa
sub esp, 0x10
mov al, byte [esi + 0x50]
lea ecx, [esi + 0x18]
mov byte [esp + 4], al
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x65857a
mov dword [esp], 1
call fcn.0040b010
jmp 0x4b90d6
mov dword [esi + 0x14], eax
lea eax, [ebx + edi]
cmp edx, 7
mov ecx, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x28], eax
jbe 0x4b90ed
mov ecx, dword [esi + 0x18]
jmp 0x4b90f0
mov dword [esi + 0x60], ecx
add ecx, ecx
lea edx, [esi + 0x50]
push ecx
push eax
push edx
call fcn.0061e340
add esp, 0xc
mov word [esi + ebx*2 + 0x4e], 0
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 0x60]
cmp dword [esi + 0x64], 7
jbe 0x4b9115
mov ecx, dword [esi + 0x50]
jmp 0x4b9118
lea eax, [edi + 1]
mov dword [esi + 0x28], eax
mov word [ecx + edi*2], 0x5c
mov word [ecx + edi*2 + 2], 0
mov eax, dword [esi + 0xb0]
cmp dword [esi + 0xb4], 7
jbe 0x4b9164
mov ecx, dword [esi + 0xa0]
jmp 0x4b916a
lea ecx, [esi + 0x18]
mov eax, dword [esi + 0x14]
mov edx, ecx
add ebx, ebx
lea ecx, [ecx + edi*2]
mov edi, edx
push ebx
push eax
push ecx
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 0x10]
mov word [edi + eax*2], 0
jmp 0x4b923f
lea ecx, [esi + 0x50]
mov edx, ebx
sub edx, edi
cmp edx, eax
jae 0x4b914c
mov dword [esi + 0xc8], 0xb
sub esp, 0x10
mov dl, byte [esi + 0x48]
mov byte [esp + 4], dl
mov dword [esp + 8], ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.0040b010
jmp 0x4b91e9
mov dword [esi + 0x14], ecx
lea ecx, [edi + eax]
cmp ebx, 7
mov edx, ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x28], ecx
jbe 0x4b91ca
mov ebx, dword [esi + 0x18]
jmp 0x4b91cd
lea ecx, [esi + 0xa0]
mov ebx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov edi, ebx
sub edi, edx
cmp edi, eax
jae 0x4b91a4
mov dword [esi + 0xc8], 0xa
sub esp, 0x10
mov dl, byte [esi + 0x50]
mov byte [esp + 4], dl
mov dword [esp + 8], ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.0040b010
jmp 0x4b923f
lea edi, [edx + eax]
cmp ebx, 7
mov dword [esi + 0x28], edi
jbe 0x4b9226
mov ebx, dword [esi + 0x18]
jmp 0x4b9229
cmp word [esi + 0x3a], 0x3a
mov edi, dword [esi + 0x14]
jne 0x4b8cf6
lea ecx, [esi + 0x38]
jmp 0x4b8c7f
lea ebx, [esi + 0x18]
mov ecx, dword [esi + 0x14]
add eax, eax
lea edx, [ebx + edi*2]
push eax
push ecx
push edx
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 0x10]
mov word [ebx + eax*2], 0
mov ecx, dword [esi + 0x64]
cmp ecx, 8
jb 0x4b923f
mov eax, dword [esi + 0x50]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b921a
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b982f
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
jmp 0x4b923f
lea ebx, [esi + 0x18]
add eax, eax
lea edx, [ebx + edx*2]
push eax
push ecx
push edx
call fcn.0061e340
add esp, 0xc
mov word [ebx + edi*2], 0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [0x6d1f28], ecx
jne 0x4b9278
mov dword [esi + 0xc8], 0xa
push 0
push str.4202392
call fcn.005dff30
add esp, 8
cmp ax, 1
mov ecx, 1
adc ecx, 0
xchg dword [0x6d1f28], ecx
cmp dword [0x6d1f28], 1
jne 0x4b929b
cmp dword [esi + 0x98], 0x103
ja 0x4b929b
mov eax, dword [esi + 0x28]
cmp eax, 0x103
ja 0x4b935b
lea eax, [esi + 0x18]
mov dword [esi + 0xc8], 0xa
push 0xffff
push eax
call fcn.0042a080
add esp, 8
test al, al
je 0x4b9305
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
cmp eax, 2
jb 0x4b92e0
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
inc eax
cmp eax, 2
jb 0x4b9687
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax + 4]
call fcn.0040f9e0
add esp, 4
jmp 0x4b96a1
mov eax, dword [esi + 0x28]
cmp eax, 3
jne 0x4b935b
mov ecx, dword [esi + 0x2c]
lea edi, [esi + 0x18]
cmp ecx, 8
jb 0x4b931f
mov edi, dword [esi + 0x18]
test edi, edi
je 0x4b9356
movzx edx, word [edi]
mov eax, 3
test dx, dx
je 0x4b935b
and edx, 0xffffffdf
add edx, 0xffffffbf
cmp dx, 0x19
ja 0x4b935b
cmp word [edi + 2], 0x3a
jne 0x4b935b
mov edx, dword [esi + 0x18]
lea edi, [esi + 0x1c]
add edx, 4
cmp ecx, 7
cmova edi, edx
cmp word [edi], 0x5c
jne 0x4b935b
jmp 0x4b9386
mov eax, 3
cmp dword [esi + 0x2c], 7
jbe 0x4b9366
mov ecx, dword [esi + 0x18]
jmp 0x4b9369
lea ecx, [esi + 0x18]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x4b9386
test eax, eax
je 0x4b9811
lea edx, [eax - 1]
mov dword [esi + 0x28], edx
mov word [ecx + eax*2 - 2], 0
cmp byte [ebp + 0x14], 0
mov dword [esi + 0xc8], 0xa
je 0x4b9409
lea eax, [esi + 0x18]
lea ecx, [esi + 0x50]
push eax
push ecx
call fcn.004282f0
add esp, 8
mov ecx, dword [esi + 0x2c]
cmp ecx, 8
jb 0x4b93e1
mov eax, dword [esi + 0x18]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b93d7
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b9820
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm2
cmp dword [esi + 0x28], 0
je 0x4b96b2
mov eax, dword [esi + 0xc]
xorps xmm0, xmm0
mov dword [esi + 0x80], 0
lea ecx, [esi + 0x50]
movaps xmmword [esi + 0x70], xmm0
movaps xmmword [esi + 0x60], xmm0
movaps xmmword [esi + 0x50], xmm0
mov eax, dword [eax]
mov dword [esi + 0xc8], 0xa
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x4b95b6
mov edx, dword [esi + 0x50]
test dl, 0x40
jne 0x4b9658
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [0x6d1f3c], ecx
jne 0x4b949d
mov dword [esi + 0x10], edx
push str.snacnp64.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [esi + 0x10]
test eax, eax
jne 0x4b948c
push str.snacnp.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [esi + 0x10]
test eax, eax
je 0x4b97a3
mov ecx, 1
xor eax, eax
lock cmpxchg dword [0x6d1f3c], ecx
jmp 0x4b949f
mov ecx, eax
cmp ecx, 1
je 0x4b94ae
test byte [esi + 0x51], 4
jne 0x4b9658
test dl, 0x10
sete al
cmp dword [esi + 0x84], 0
setne cl
test byte [esi + 0x4c], al
jne 0x4b9658
or cl, al
je 0x4b9658
call fcn.00406c70
cmp eax, 3
jl 0x4b9565
mov eax, dword [esi + 0xc]
mov ecx, dword [0x6d1f30]
mov edi, dword [eax]
test ecx, ecx
mov dword [esi + 0x48], 0
jne 0x4b952e
mov dword [esi + 0x10], edi
push 0x6586d4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b9521
push 0x65d826
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test eax, eax
je 0x4b9521
xor eax, eax
lock cmpxchg dword [0x6d1f30], ecx
mov ecx, dword [0x6d1f30]
mov edi, dword [esi + 0x10]
test ecx, ecx
je 0x4b9565
mov dword [esi + 0xc8], 0xffffffff
call dword [0x64689c]
lea eax, [esi + 0x48]
mov dword [esi + 0xc8], 0xa
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push edi
call ecx
test eax, eax
je 0x4b9565
mov eax, dword [esi + 0x48]
mov dword [esi + 0x6c], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x80]
mov ebx, dword [ebp + 8]
lea eax, [edx + 8]
mov dword [eax + 0x30], ecx
movsd xmm0, qword [esi + 0x78]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esi + 0x70]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x68]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x60]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov byte [edx + 0x3c], 1
cmp dword [ebp + 0xc], 0
je 0x4b9687
cmp dword [esi + 0x28], 0
je 0x4b9624
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [0x6d1f28], ecx
jne 0x4b95f8
push 0
push str.4202392
call fcn.005dff30
add esp, 8
cmp ax, 1
mov ecx, 1
mov ebx, dword [ebp + 8]
adc ecx, 0
xchg dword [0x6d1f28], ecx
cmp dword [0x6d1f28], 1
mov edi, dword [esi + 0x28]
jne 0x4b970c
cmp dword [esi + 0x98], 0x103
ja 0x4b970c
cmp edi, 0x103
jbe 0x4b970c
push ebx
call fcn.005d3244
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [ecx + 0x14]
cmp eax, edi
jae 0x4b96f6
sub esp, 0xc
mov al, byte [esi + 0x48]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.00405590
jmp 0x4b9761
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
cmp eax, 2
jb 0x4b967e
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
inc eax
cmp eax, 2
jae 0x4b968e
xor ebx, ebx
jmp 0x4b9763
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax + 4]
call fcn.0040f9e0
add esp, 4
mov eax, dword [esi + 0xc]
xor ebx, ebx
mov dword [eax + 4], 0
jmp 0x4b9763
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
inc eax
cmp eax, 2
jb 0x4b96d8
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax]
call fcn.0040f9e0
add esp, 4
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov eax, dword [ecx + 4]
inc eax
cmp eax, 2
jb 0x4b9687
call fcn.0040e440
mov eax, dword [esi + 0xc]
push dword [eax + 4]
call fcn.0040f9e0
add esp, 4
jmp 0x4b96a1
cmp eax, 8
mov ebx, ecx
jb 0x4b96ff
mov ebx, dword [ecx]
mov eax, edi
mov dword [ecx + 0x10], edi
add eax, edi
push eax
push dword [ebp + 8]
jmp 0x4b9752
lea eax, [esi + 0x18]
mov bl, 1
cmp eax, dword [ebp + 0xc]
je 0x4b9763
cmp dword [esi + 0x2c], 7
jbe 0x4b971f
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
cmp edx, edi
jae 0x4b9741
sub esp, 0xc
mov dl, byte [esi + 0x48]
mov byte [esp + 4], dl
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00405590
jmp 0x4b9761
cmp edx, 8
mov ebx, ecx
jb 0x4b974a
mov ebx, dword [ecx]
mov dword [ecx + 0x10], edi
lea ecx, [edi + edi]
push ecx
push eax
push ebx
call fcn.0061e340
add esp, 0xc
mov word [ebx + edi*2], 0
mov bl, 1
mov ecx, dword [esi + 0x2c]
cmp ecx, 8
jb 0x4b8da9
mov eax, dword [esi + 0x18]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b9794
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b97f3
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
jmp 0x4b8da9
mov ecx, 2
jmp 0x4b9491
mov dword [esi + 0xc8], 7
call fcn.006207e0
mov dword [esi + 0xc8], 0
call fcn.006207e0
call fcn.005e8c60
mov dword [esi + 0xc8], 5
call fcn.006207e0
mov dword [esi + 0xc8], 6
call fcn.006207e0
call fcn.005e9a00
mov dword [esi + 0xc8], 4
call fcn.006207e0
mov dword [esi + 0xc8], 1
call fcn.006207e0
mov dword [esi + 0xc8], 0xa
call fcn.005e9a00
mov dword [esi + 0xc8], 3
call fcn.006207e0
mov dword [esi + 0xc8], 2
call fcn.006207e0
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
mov ecx, dword [esi + 0x64]
cmp ecx, 8
jb 0x4b9987
mov eax, dword [esi + 0x50]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b997d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b99a0
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 7
mov word [esi + 0x50], 0
add esp, 0x20
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
mov ecx, dword [esi + 0x2c]
cmp ecx, 8
jb 0x4b99f7
mov eax, dword [esi + 0x18]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x4b99ed
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4b99fc
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x20
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax + eax]
push ebp
sub esp, 0x20
lea esi, [ebp - 0xcc]
mov ebp, dword [esi + 0xb8]
push dword [esi + 0x10]
call fcn.005d31ac
add esp, 0x24
pop ebp
ret