Function at 0x41aee0
Capabilities:
Delete file
Get file attributes
Read file on windows
Resolve function by parsing pe exports
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4801ea
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x1a0]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1ac]
xor edi, edi
mov dword [esp + 0x198], edi
push 0x80000
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x4c], edi
xor ebp, ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x60], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x6c], edi
call fcn.00469ab0
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], 0x80000
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x1b4]
mov esi, dword [esp + 0x1b0]
mov byte [esp + 0x198], 2
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0xb4]
mov eax, dword [eax]
cmp eax, 0xffffffff
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], esi
je 0x41b023
push 1
lea ecx, [esp + 0x3c]
push ecx
push edi
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
jne 0x41b00f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41b023
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
jmp 0x41b09f
push edi
push 0x4851c0
lea esi, [esp + 0xbc]
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], edi
mov word [esp + 0xc0], di
call fcn.00401df0
mov byte [esp + 0x198], 3
mov esi, dword [ebx]
add esi, 0x34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
lea eax, [esp + 0xb8]
push eax
push 0x10000002
mov ecx, ebx
call edx
mov byte [esp + 0x198], 2
cmp dword [esp + 0xcc], 8
jb 0x41b098
mov eax, dword [esp + 0xb8]
push eax
call fcn.00469d48
add esp, 4
mov esi, dword [esp + 0x1b0]
cmp dword [esp + 0x1b4], edi
ja 0x41b0b0
cmp esi, edi
jbe 0x41b75c
mov eax, dword [esp + 0x1b4]
cmp eax, edi
jb 0x41b0d0
ja 0x41b0c5
cmp esi, 0x80000
jbe 0x41b0d0
mov ecx, 0x80000
mov dword [esp + 0x38], edi
jmp 0x41b0d6
mov ecx, esi
mov dword [esp + 0x38], eax
cmp dword [esp + 0x64], edi
mov eax, dword [ebx + 0xb4]
je 0x41b7d9
cmp dword [eax], 0xffffffff
je 0x41b7d9
push edi
lea edx, [esp + 0x48]
push edx
push ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], edi
mov edx, dword [eax]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b7d9
mov eax, dword [esp + 0x44]
cmp eax, edi
seta cl
test cl, cl
je 0x41b7d9
sub esi, eax
mov al, byte [ebx + 0x100]
sbb dword [esp + 0x1b4], edi
test al, al
mov dword [esp + 0x1b0], esi
jne 0x41b8ae
mov eax, dword [esp + 0x44]
cmp eax, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], edi
jbe 0x41b730
mov esi, dword [esp + 0x1b8]
mov edi, edi
mov eax, dword [ebx + 0x104]
cmp eax, edi
je 0x41b178
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x41b178
push eax
call sub.KERNEL32.dll_Sleep
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
mov byte [esp + 0x7c], 0
call eax
xor ecx, ecx
cmp dword [esp + 0x1ac], ecx
jg 0x41b1a1
jl 0x41b19c
cmp dword [esp + 0x1a8], eax
ja 0x41b1a1
mov byte [esp + 0x7c], 1
mov eax, dword [esp + 0x7c]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x64]
add ecx, eax
push ecx
mov ecx, esi
call edx
test al, al
je 0x41b912
mov eax, dword [esp + 0x40]
add dword [esp + 0x58], eax
sub dword [esp + 0x2c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
test eax, eax
jbe 0x41b726
mov dword [esp + 0x20], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
cmp eax, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
je 0x41b71d
mov eax, dword [esp + 0x20]
cmp eax, edi
jbe 0x41b71d
sub dword [esp + 0x1a8], eax
sbb dword [esp + 0x1ac], edi
lea esp, [esp]
mov esi, dword [esp + 0x80]
mov eax, esi
call fcn.0040b0a0
mov edx, dword [esp + 0x48]
cmp edx, eax
jae 0x41bade
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41b25d
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edx, eax
jb 0x41b262
call fcn.00469efa
mov edx, dword [esp + 0x48]
mov eax, esi
mov ecx, dword [eax + 4]
mov edi, dword [ecx + edx*8]
lea eax, [ecx + edx*8]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
je 0x41b28c
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0xec]
push edx
mov byte [esp + 0x19c], 5
call fcn.00406d50
cmp byte [esp + 0x1b], 0
mov byte [esp + 0x198], 6
jne 0x41b55e
lea eax, [esp + 0x118]
push eax
call fcn.0041d780
add esp, 4
test al, al
je 0x41b437
mov eax, dword [esp + 0x11c]
mov esi, 8
cmp dword [esp + 0x130], esi
jae 0x41b2e8
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x11c]
and eax, 0xfffffffe
cmp dword [esp + 0x130], esi
jae 0x41b309
lea ecx, [esp + 0x11c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x130], esi
mov eax, dword [esp + 0x11c]
jae 0x41b328
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
je 0x41b437
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov edx, dword [edx + 0x30]
mov esi, eax
lea eax, [esp + 0x118]
push eax
push esi
mov ecx, ebx
call edx
test al, al
jne 0x41b4c1
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
push esi
lea ecx, [esp + 0x11c]
push ecx
push 0x10000004
mov ecx, ebx
call edx
test al, al
jne 0x41b4c1
lea esi, [esp + 0xec]
mov byte [esp + 0x198], 5
call fcn.00418eb0
mov byte [esp + 0x198], 2
mov esi, dword [esp + 0x78]
test esi, esi
je 0x41b3c7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b3c7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b3c7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x41b3d7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x64]
push eax
call fcn.00469cbe
mov dword [esp + 0x19c], 0xffffffff
mov esi, dword [esp + 0x1c0]
add esp, 4
test esi, esi
je 0x41b8a7
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b8a7
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b8a7
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor al, al
jmp 0x41b7af
cmp byte [esp + 0x1a], 0
jne 0x41b4c6
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x11c]
or eax, 0x8000000
cmp dword [esp + 0x130], 8
jae 0x41b466
lea ecx, [esp + 0x11c]
push 0
push eax
push 4
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x41b4c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x118]
push ecx
push esi
mov ecx, ebx
call edx
test al, al
jne 0x41b4c1
mov eax, dword [ebx]
mov edx, dword [eax + 0x34]
push esi
lea ecx, [esp + 0x11c]
push ecx
push 0x10000001
mov ecx, ebx
call edx
test al, al
je 0x41b9b4
mov byte [esp + 0x1a], 1
cmp dword [esp + 0x16c], 0
jne 0x41b4f8
cmp dword [esp + 0x170], 0
jne 0x41b4f8
mov eax, dword [esp + 0x154]
add dword [esp + 0x24], eax
mov ecx, dword [esp + 0x158]
mov ebp, eax
adc dword [esp + 0x28], ecx
mov dword [esp + 0x70], ecx
jmp 0x41b528
mov ebp, dword [esp + 0x8c]
sub ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x90]
sbb eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
push 0
push eax
lea ecx, [esp + 0xf4]
push ecx
mov ecx, ebx
mov byte [esp + 0x27], 1
call edx
mov ecx, dword [ebx + 0x104]
test ecx, ecx
je 0x41b55e
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0xec]
push edx
call eax
xor ecx, ecx
cmp byte [esp + 0x1a], cl
mov dword [esp + 0x30], ecx
jne 0x41b5bb
mov esi, dword [esp + 0x20]
cmp ebp, esi
jae 0x41b574
mov esi, ebp
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
add eax, edx
cmp eax, ecx
je 0x41ba62
cmp edi, 0xffffffff
je 0x41ba62
push 0
lea ecx, [esp + 0x34]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41ba62
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x41ba62
xor ecx, ecx
jmp 0x41b5cd
mov eax, dword [esp + 0x20]
cmp ebp, eax
mov edi, dword [esp + 0x1c]
jae 0x41b5c9
mov eax, ebp
mov dword [esp + 0x30], eax
cmp ebp, eax
jne 0x41b698
cmp dword [esp + 0x70], ecx
jne 0x41b698
sub dword [esp + 0x20], eax
add dword [esp + 0x48], 1
add dword [esp + 0x4c], eax
mov edx, dword [esp + 0x144]
mov eax, dword [esp + 0x148]
adc dword [esp + 0x50], ecx
cmp edi, 0xffffffff
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
je 0x41b67b
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xac]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41b67b
mov dword [esp + 0x1c], 0xffffffff
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0xec]
push eax
mov ecx, ebx
mov byte [esp + 0x1f], 0
mov byte [esp + 0x1e], 0
call edx
jmp 0x41b6aa
sub ebp, eax
sbb dword [esp + 0x70], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
lea esi, [esp + 0xec]
mov byte [esp + 0x198], 5
call fcn.00418eb0
mov byte [esp + 0x198], 2
mov esi, dword [esp + 0x78]
test esi, esi
je 0x41b6f8
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b6f8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b6f8
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp dword [esp + 0x20], 0
ja 0x41b230
mov eax, dword [esp + 0x40]
add dword [ebx + 0x110], eax
mov esi, dword [esp + 0x1b8]
adc dword [ebx + 0x114], 0
xor edi, edi
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp dword [esp + 0x2c], edi
ja 0x41b160
cmp dword [esp + 0x1b4], edi
mov esi, dword [esp + 0x1b0]
ja 0x41b0b0
cmp esi, edi
ja 0x41b0b0
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x41b75c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x41b76d
push eax
call fcn.00469cbe
add esp, 4
mov dword [esp + 0x198], 0xffffffff
mov esi, dword [esp + 0x1bc]
cmp esi, edi
je 0x41b7ad
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b7ad
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b7ad
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov al, 1
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00469ab5
add esp, 0x188
ret 0x20
push edi
push 0x4851c0
lea esi, [esp + 0xd8]
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], edi
mov word [esp + 0xdc], di
call fcn.00401df0
mov byte [esp + 0x198], 4
mov esi, dword [ebx]
add esi, 0x34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
lea ecx, [esp + 0xd4]
push ecx
push 0x10000002
mov ecx, ebx
call edx
cmp dword [esp + 0xe8], 8
jb 0x41b846
mov eax, dword [esp + 0xd4]
push eax
call fcn.00469d48
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x41b856
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x41b867
push eax
call fcn.00469cbe
add esp, 4
mov dword [esp + 0x198], 0xffffffff
mov esi, dword [esp + 0x1bc]
cmp esi, edi
je 0x41b8a7
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b8a7
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b8a7
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor al, al
jmp 0x41b7af
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x41b8be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00469cbe
mov dword [esp + 0x19c], 0xffffffff
mov esi, dword [esp + 0x1c0]
add esp, 4
cmp esi, edi
je 0x41b90b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41b90b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b90b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x41b7af
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x98]
sbb ecx, dword [esp + 0x1b4]
add eax, dword [esp + 0x84]
mov edx, dword [ebx]
adc ecx, dword [esp + 0x88]
push ecx
push eax
mov eax, dword [edx + 0x38]
push 0x30000003
mov ecx, ebx
call eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x41b95c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00469cbe
mov dword [esp + 0x19c], 0xffffffff
mov esi, dword [esp + 0x1c0]
add esp, 4
cmp esi, edi
je 0x41b90b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41b90b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b90b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x41b7af
lea esi, [esp + 0xec]
mov byte [esp + 0x198], 5
call fcn.00418eb0
mov byte [esp + 0x198], 2
mov esi, dword [esp + 0x78]
test esi, esi
je 0x41ba02
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41ba02
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41ba02
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00469cbe
mov dword [esp + 0x19c], 0xffffffff
mov esi, dword [esp + 0x1c0]
add esp, 4
test esi, esi
je 0x41b90b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41b90b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b90b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x41b7af
mov esi, dword [ebx]
add esi, 0x34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
lea eax, [esp + 0x11c]
push eax
push 0x10000003
mov ecx, ebx
call edx
lea esi, [esp + 0xec]
mov byte [esp + 0x198], 5
call fcn.00418eb0
mov byte [esp + 0x198], 2
mov esi, dword [esp + 0x78]
test esi, esi
je 0x41bacf
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41bacf
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41bacf
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp edi, 0xffffffff
je 0x41b3d7
push edi
jmp 0x41b3d1
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x41baee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00469cbe
mov dword [esp + 0x19c], 0xffffffff
mov esi, dword [esp + 0x1c0]
add esp, 4
test esi, esi
je 0x41b90b
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41b90b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b90b
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor al, al
jmp 0x41b7af