Function at 0x40f814
Capabilities:
Check if file exists
Encode data using xor
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xcb0
mov esi, esp
mov dword [esi + 0xc98], ebp
lea eax, [esi + 0xca0]
lea ebx, [esi + 0xa4]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x45f450
mov edi, dword fs:[0]
mov dword [eax], edi
call 0x40f856
pop edi
mov dword fs:[0], eax
mov dword [esi + 0x60], edx
mov dword [esi + 0x90], edi
lea edi, [esi + 0xa0]
mov dword [edi], ecx
xor edi, edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx], edi
lea edi, [esi + 0x330]
mov dword [ebx + 4], 4
mov ecx, edi
lea edx, [esi + 0xa0]
push 0x473844
call fcn.00402f5f
add esp, 4
cmp dword [esi + 0x330], 0x80000000
je 0x40f8b1
mov ecx, ebx
mov edx, edi
call fcn.004020ba
jmp 0x40f885
mov ecx, dword [esi + 0xb0]
test ecx, ecx
je 0x4115b9
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xa4]
mov edi, 0
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0xa8]
lea ebx, [eax + 1]
cmp ebx, edx
mov ebx, edx
cmovb ebx, edi
neg ebx
lea ebx, [eax + ebx + 1]
shl eax, 4
mov dword [esi + 0xac], ebx
mov ebx, dword [esi + 0x10]
dec ebx
mov dword [esi + 0xb0], ebx
mov edi, dword [ecx + eax]
cmp edi, 0x80000000
mov dword [esi + 0x98], edi
je 0x41169d
mov ebx, dword [ecx + eax + 8]
mov edi, dword [ecx + eax + 4]
mov eax, dword [ecx + eax + 0xc]
test ebx, ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
je 0x40fab0
js 0x411710
mov al, byte [0x48fdb4]
xor ecx, ecx
mov edx, ebx
call fcn.0045a4d0
test eax, eax
je 0x411715
push ebx
push edi
mov dword [esi + 0x18], eax
push eax
call fcn.00462380
add esp, 0xc
mov al, byte [0x48fdb4]
xor ecx, ecx
mov edx, ebx
call fcn.0045a4d0
test eax, eax
je 0x41171f
mov ecx, edi
mov edi, eax
push ebx
mov dword [esi + 0x94], ecx
push ecx
push eax
call fcn.00462380
add esp, 0xc
mov dword [esi + 0x330], ebx
mov dword [esi + 0x334], edi
mov dword [esi + 0x338], ebx
mov byte [esi + 0x33c], 0
mov dword [esi + 0xca8], 5
lea ecx, [esi + 0x330]
mov edx, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
push 1
call fcn.00457150
add esp, 4
mov eax, dword [esi + 0x330]
mov edx, dword [esi + 0x334]
mov edi, dword [esi + 0x338]
mov byte [esi + 0x1f], 1
mov dword [esi + 0xca8], 1
lea ecx, [esi + 0x58c]
mov dword [esi + 8], eax
mov dword [esi + 0x14], edx
push edi
call fcn.00450df0
add esp, 4
mov ecx, dword [esi + 0x58c]
mov edx, dword [esi + 0x590]
mov eax, dword [esi + 0x594]
cmp ecx, 0x80000000
je 0x40fa4e
mov dword [esi + 0x330], ecx
mov dword [esi + 0x334], edx
lea ecx, [esi + 0xe0]
lea edx, [esi + 0x330]
mov dword [esi + 0x338], eax
mov byte [esi + 0x1f], 1
call fcn.00456ba0
mov eax, dword [esi + 0xe0]
mov edx, dword [esi + 0xe4]
cmp eax, 0x80000000
jne 0x4113e1
mov eax, dword [esi + 0xe8]
mov ecx, edx
mov dword [esi + 0x5c], eax
mov bl, 1
mov dword [esi + 0x48], 2
shr ecx, 8
mov dword [esi + 0x78], ecx
mov ecx, edx
mov eax, dword [esi + 8]
test eax, eax
je 0x40fa80
push dword [esi + 0x14]
push 0
push dword [0x48fd58]
mov edi, ecx
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, edi
test bl, bl
mov ebx, dword [esi + 0x48]
je 0x40fa9c
push dword [esi + 0x18]
push 0
push dword [0x48fd58]
mov edi, ecx
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, edi
cmp ebx, 2
jne 0x40fc07
mov edx, dword [esi + 0x5c]
mov edi, dword [esi + 0x94]
jmp 0x40fab7
mov edx, 3
xor ecx, ecx
mov eax, dword [esi + 0x78]
mov dword [esi + 0x6c], ecx
movzx ecx, cl
mov ebx, edi
mov dword [esi + 0x5c], edx
mov dword [esi + 0xa44], edx
mov edx, edi
shl eax, 8
or ecx, eax
mov dword [esi + 0xa40], ecx
mov dword [esi + 0xa3c], 2
lea ecx, [esi + 0x330]
push dword [esi + 0x10]
call fcn.0045d050
add esp, 4
mov eax, dword [esi + 0x330]
xor eax, 2
or eax, dword [esi + 0x334]
jne 0x40fb20
mov ecx, dword [esi + 0x338]
mov edx, dword [esi + 0x33c]
call fcn.00429aac
mov dword [esi + 8], 0
xor eax, eax
jmp 0x40fb2f
mov eax, dword [esi + 0x368]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x36c]
mov edi, dword [esi + 0x10]
mov ecx, ebx
mov edx, edi
push eax
push dword [esi + 8]
call fcn.00423d9e
add esp, 8
mov ecx, dword [esi + 0x98]
lea edx, [esi + 0x60]
mov dword [esi + 0x330], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x334], ebx
mov dword [esi + 0x338], edi
mov dword [esi + 0x33c], ecx
mov byte [esi + 0x340], al
lea eax, [esi + 0x330]
lea ecx, [esi + 0x7e0]
push eax
call fcn.00402caa
add esp, 4
mov eax, dword [esi + 0x7e0]
mov edi, 2
cmp eax, 0x80000000
je 0x40fbb1
test eax, eax
je 0x40fbb1
push dword [esi + 0x7e4]
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esi + 0xa3c]
lea ebx, [esi + 0x7e0]
lea eax, [esi + 0x330]
mov dword [esi + 0x330], 0xc
lea edx, [ebp + 8]
mov ecx, ebx
push eax
call fcn.00402e6d
add esp, 4
mov ecx, ebx
call fcn.00401b70
cmp edi, 2
jne 0x40fbf7
mov ecx, dword [esi + 0xa40]
mov edx, dword [esi + 0xa44]
call fcn.00429aac
jmp 0x4114dd
lea ecx, [esi + 0xa3c]
call fcn.00401c62
jmp 0x4114dd
mov eax, dword [esi + 0x78]
mov dword [esi + 0x6c], ecx
movzx ecx, cl
mov dword [esi + 0xa3c], ebx
shl eax, 8
or ecx, eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0xa40], ecx
mov dword [esi + 0xa44], eax
push 0x248
lea eax, [esi + 0x7e0]
push eax
lea eax, [esi + 0xa48]
push eax
call fcn.00462380
add esp, 0xc
mov eax, dword [esi + 0x88]
mov dword [esi + 0xc90], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0xc94], eax
push 0x25c
lea eax, [esi + 0xa3c]
push eax
lea eax, [esi + 0x330]
push eax
call fcn.00462380
add esp, 0xc
mov edi, dword [esi + 0x588]
cmp edi, 0xffffffff
je 0x41149a
mov eax, dword [esi + 0x330]
movzx ecx, word [esi + 0x360]
movzx ebx, word [esi + 0x362]
movzx edx, word [esi + 0x364]
mov dword [esi + 0x330], 0
cmp eax, 1
jne 0x40fcd6
mov eax, dword [esi + 0x584]
cmp cx, 0x2e
jne 0x40fd63
test bx, bx
je 0x40fcd6
cmp bx, 0x2e
jne 0x40fd63
test dx, dx
jne 0x40fd63
push 0x250
push 0
lea ebx, [esi + 0x58c]
push ebx
call fcn.00462900
add esp, 0xc
push ebx
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x40fd3f
mov eax, dword [esi + 0x584]
mov dword [esi + 0x10], eax
cmp word [esi + 0x5b8], 0x2e
jne 0x40fde1
movzx eax, word [esi + 0x5ba]
test ax, ax
je 0x40fd33
cmp ax, 0x2e
jne 0x40fde1
cmp word [esi + 0x5bc], 0
jne 0x40fde1
push ebx
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
jne 0x40fd01
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
cmp eax, 0x12
je 0x41149a
call edi
xor edi, edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], 0
jmp 0x40fe5d
mov word [esi + 0x18], dx
mov word [esi + 0x10], cx
lock inc dword [eax]
jle 0x41177f
mov edi, eax
mov eax, dword [esi + 0x334]
mov ecx, dword [esi + 0x338]
mov dword [esi + 8], eax
shrd eax, ecx, 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x9c], eax
push 0x24
lea eax, [esi + 0x33c]
push eax
lea eax, [esi + 0x30c]
push eax
call fcn.00462380
add esp, 0xc
push 0x21e
lea eax, [esi + 0x366]
push eax
lea eax, [esi + 0xe0]
push eax
call fcn.00462380
add esp, 0xc
movzx eax, word [esi + 0x10]
movzx ecx, word [esi + 0x18]
mov word [esi + 0x68], bx
lea ebx, [esi + 0x58c]
mov word [esi + 0x6a], ax
mov word [esi + 0x66], cx
jmp 0x40fe5d
mov edi, dword [esi + 0x10]
lock inc dword [edi]
jle 0x41177f
mov eax, dword [esi + 0x58c]
mov ecx, dword [esi + 0x590]
mov dword [esi + 8], eax
shrd eax, ecx, 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x9c], eax
push 0x24
lea eax, [esi + 0x594]
push eax
lea eax, [esi + 0x30c]
push eax
call fcn.00462380
add esp, 0xc
movzx eax, word [esi + 0x5b8]
mov word [esi + 0x6a], ax
movzx eax, word [esi + 0x5ba]
mov word [esi + 0x68], ax
movzx eax, word [esi + 0x5bc]
mov word [esi + 0x66], ax
push 0x21e
lea eax, [esi + 0x5be]
push eax
lea eax, [esi + 0xe0]
push eax
call fcn.00462380
add esp, 0xc
mov dword [esi + 0x10], edi
test edi, edi
lea edi, [esi + 0x20]
je 0x40feaf
push 0x24
lea eax, [esi + 0x30c]
push eax
push edi
call fcn.00462380
add esp, 0xc
push 0x21e
lea eax, [esi + 0xe0]
push eax
push ebx
call fcn.00462380
add esp, 0xc
movzx eax, word [esi + 0x6a]
movzx edx, word [esi + 0x68]
movzx ecx, word [esi + 0x66]
mov word [esi + 0x86], ax
mov word [esi + 0x84], dx
mov word [esi + 0x82], cx
mov eax, dword [esi + 0x9c]
movzx ecx, byte [esi + 8]
mov edx, edi
mov edi, dword [esi + 0x10]
shl eax, 8
mov dword [esi + 0x7e4], edi
or ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x7e8], ecx
mov dword [esi + 0x7ec], eax
push 0x24
push edx
lea eax, [esi + 0x7f0]
push eax
call fcn.00462380
add esp, 0xc
movzx eax, word [esi + 0x86]
mov word [esi + 0x814], ax
movzx eax, word [esi + 0x84]
mov word [esi + 0x816], ax
movzx eax, word [esi + 0x82]
mov word [esi + 0x818], ax
push 0x21e
push ebx
lea eax, [esi + 0x81a]
push eax
call fcn.00462380
add esp, 0xc
test edi, edi
lea edi, [esi + 0x20]
mov dword [esi + 0x7e0], 1
je 0x41148f
push 0x254
lea eax, [esi + 0x7e4]
push eax
push ebx
call fcn.00462380
add esp, 0xc
mov eax, dword [esi + 0x58c]
lea edx, [esi + 0x5bc]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov eax, 0x104
mov dword [esi + 0x10], ecx
mov ecx, edx
cmp word [ecx], 0
je 0x41001d
cmp word [ecx + 2], 0
je 0x40fffc
cmp word [ecx + 4], 0
je 0x410001
cmp word [ecx + 6], 0
je 0x410006
cmp word [ecx + 8], 0
je 0x41000b
cmp word [ecx + 0xa], 0
je 0x410010
cmp word [ecx + 0xc], 0
je 0x410015
cmp word [ecx + 0xe], 0
je 0x41001a
add eax, 0xfffffff8
add ecx, 0x10
cmp eax, 7
ja 0x40ff6f
cmp word [esi + 0x7bc], 0
lea ecx, [esi + 0x7bc]
je 0x41001d
cmp word [esi + 0x7be], 0
lea ecx, [esi + 0x7be]
je 0x41001d
cmp word [esi + 0x7c0], 0
lea ecx, [esi + 0x7c0]
je 0x41001d
cmp word [esi + 0x7c2], 0
mov eax, 0x104
lea ecx, [esi + 0x7c2]
jne 0x41002f
jmp 0x41001d
add ecx, 2
jmp 0x41001d
add ecx, 4
jmp 0x41001d
add ecx, 6
jmp 0x41001d
add ecx, 8
jmp 0x41001d
add ecx, 0xa
jmp 0x41001d
add ecx, 0xc
jmp 0x41001d
add ecx, 0xe
sub ecx, edx
mov eax, ecx
shr eax, 1
cmp ecx, 0x20a
jae 0x4116d5
mov ecx, edi
push eax
call fcn.00453380
add esp, 4
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
test ebx, ebx
mov edi, ebx
mov ebx, 1
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
je 0x41006f
js 0x4116e6
mov al, byte [0x48fdb4]
xor ecx, ecx
mov edx, edi
call fcn.0045a4d0
mov ebx, eax
test eax, eax
je 0x4116fa
push edi
push dword [esi + 0x10]
push ebx
call fcn.00462380
add esp, 0xc
mov edx, dword [esi + 0xc]
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], edi
mov byte [esi + 0xec], 0
mov dword [esi + 0xca8], 7
lea ecx, [esi + 0xe0]
push dword [esi + 8]
call fcn.00457150
add esp, 4
mov eax, dword [esi + 0xe0]
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xec]
mov edi, dword [esi + 0xe4]
cmp dword [esi + 0x20], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x7c], ecx
je 0x4100eb
push dword [esi + 0xc]
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [esi + 0xe0]
mov edx, edi
mov ecx, ebx
push dword [esi + 0x10]
call fcn.0045d050
add esp, 4
mov eax, dword [esi + 0xe0]
xor eax, 2
or eax, dword [esi + 0xe4]
jne 0x410135
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0xec]
call fcn.00429aac
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0
jmp 0x410962
mov eax, dword [esi + 0x118]
mov dword [esi + 0xc], edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x120]
bt eax, 0xa
jae 0x41019c
mov ecx, dword [esi + 0x124]
mov edx, 0x20000000
and ecx, edx
je 0x41019c
lea ecx, [esi + 0xb8]
mov edx, edi
push dword [esi + 0x10]
call fcn.0045d4f0
add esp, 4
mov eax, dword [esi + 0xb8]
cmp eax, 0x80000000
jne 0x41061b
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov ebx, edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x4c], ecx
jmp 0x410949
test al, 0x10
je 0x410962
mov ebx, dword [esi + 0x10]
mov ecx, edi
mov edx, ebx
call fcn.00459500
test eax, eax
mov dword [esi + 8], edx
je 0x4105e7
mov dword [esi + 0x14], eax
lea eax, [0x468d0c]
lea ebx, [esi + 0xe0]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0xbf84e892
mov edx, dword [esi + 0xe0]
call fcn.004035a6
xor ecx, ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xe8], ecx
mov ecx, 0xfffffffc
mov edx, dword [ecx + 0x473858]
xor edx, dword [eax + ecx + 4]
mov dword [esi + ecx + 0xe4], edx
add ecx, 4
cmp ecx, 8
jb 0x410204
mov eax, dword [esi + 0xe8]
movsd xmm0, qword [esi + 0xe0]
mov ebx, dword [esi + 0x14]
mov edi, dword [esi + 8]
mov dword [esi + 0x28], eax
movsd qword [esi + 0x20], xmm0
mov ecx, ebx
mov edx, edi
push 0xc
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x472cdb]
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x5614b4ff
mov edx, dword [esi + 0xe0]
call fcn.0040363c
mov eax, dword [eax]
mov ecx, 0x8b7e34a0
mov edx, edi
xor eax, ecx
mov ecx, ebx
mov dword [esi + 0x20], eax
push 4
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x46f8b9]
lea edi, [esi + 0xe0]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x99a1972d
mov edx, dword [esi + 0xe0]
call fcn.00403de0
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf0], ecx
mov ecx, 0xfffffffc
movaps xmmword [esi + 0xe0], xmm0
mov edx, dword [ecx + 0x473864]
xor edx, dword [eax + ecx + 4]
mov dword [esi + ecx + 0xe4], edx
add ecx, 4
cmp ecx, 0x14
jb 0x4102f0
mov al, byte [eax + 0x18]
mov ecx, dword [esi + 0x14]
movaps xmm0, xmmword [esi + 0xe0]
movsd xmm1, qword [esi + 0xf0]
mov ebx, dword [esi + 8]
xor al, 0xfc
mov edi, ecx
movaps xmmword [esi + 0x20], xmm0
movsd qword [esi + 0x30], xmm1
mov edx, ebx
mov byte [esi + 0x38], al
push 0x19
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x47167c]
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x6f2c5042
mov edx, dword [esi + 0xe0]
call fcn.00403565
mov eax, dword [eax]
mov ecx, 0xd3daa289
mov edx, ebx
xor eax, ecx
mov ecx, edi
mov dword [esi + 0x20], eax
push 4
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x46cd85]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x20], 0xbe44762f
mov edx, dword [esi + 0x20]
call fcn.004039dd
mov ecx, dword [eax]
mov al, byte [eax + 4]
mov edx, 0xe18a59f8
xor ecx, edx
xor al, 0xe2
mov edx, ebx
mov dword [esi + 0xe0], ecx
mov byte [esi + 0xe4], al
mov ecx, edi
push 5
lea eax, [esi + 0xe0]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x46ec82]
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x366a1e59
mov edx, dword [esi + 0xe0]
call fcn.004032f7
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, ebx
xor eax, 0xf59d
xor cl, 0x9b
mov byte [esi + 0x22], cl
mov word [esi + 0x20], ax
mov ecx, edi
push 3
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x46cc6a]
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0xb01676b8
mov edx, dword [esi + 0xe0]
call fcn.00403ed8
xor ecx, ecx
mov dl, 1
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov ebx, ecx
movzx edi, byte [ecx + 0x473879]
or ebx, 1
movzx ebx, byte [ebx + 0x473879]
shl ebx, 8
or ebx, edi
mov edi, ecx
or edi, 2
movzx edi, byte [edi + 0x473879]
shl edi, 0x10
or ebx, edi
mov edi, ecx
or edi, 3
movzx edi, byte [edi + 0x473879]
shl edi, 0x18
or ebx, edi
xor ebx, dword [eax + ecx]
test dl, 1
mov edx, 0
mov dword [esi + ecx + 0xe0], ebx
mov ecx, 4
jne 0x41048b
movzx ecx, byte [eax + 0xa]
movzx eax, word [eax + 8]
mov edx, dword [esi + 8]
xor eax, 0x2b6b
xor cl, 0x2e
mov word [esi + 0xe8], ax
mov byte [esi + 0xea], cl
mov ecx, dword [esi + 0x14]
movsd xmm0, qword [esi + 0xe0]
mov eax, dword [esi + 0xe7]
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x27], eax
push 0xb
lea edi, [esi + 0x20]
push edi
call fcn.00421da9
add esp, 8
test al, al
lea ebx, [esi + 0xe0]
jne 0x4110de
lea eax, [0x4728fb]
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x20], 0xf0ef45b
mov edx, dword [esi + 0x20]
call fcn.00403e02
mov ecx, dword [eax]
mov edx, 0x76c0794d
xor ecx, edx
movzx edx, byte [eax + 6]
movzx eax, word [eax + 4]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esi + 0x14]
xor eax, 0x5299
xor dl, 0xd5
mov word [esi + 0xe4], ax
mov byte [esi + 0xe6], dl
mov edx, dword [esi + 8]
push 7
push ebx
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x466824]
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x20], 0x180c8999
mov edx, dword [esi + 0x20]
call fcn.00403871
mov ecx, dword [eax]
mov al, byte [eax + 4]
mov edx, 0xeaaa9e93
xor ecx, edx
mov edx, dword [esi + 8]
xor al, 0xcf
mov dword [esi + 0xe0], ecx
mov ecx, dword [esi + 0x14]
mov byte [esi + 0xe4], al
push 5
push ebx
call fcn.00421da9
add esp, 8
mov edi, dword [esi + 0xc]
test al, al
jne 0x4110e1
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x7c]
lea edx, [esi + 0xe0]
mov dword [esi + 0xe0], ecx
lea ecx, [esi + 0xa4]
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], eax
call fcn.004020ba
jmp 0x4110f7
mov ecx, dword [esi + 0xc0]
mov edx, dword [esi + 0xbc]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x70], edx
mov edx, edi
push ebx
call fcn.00453830
add esp, 4
mov eax, dword [esi + 0xe8]
mov cl, byte [esi + 0xe0]
mov dword [esi + 8], eax
mov eax, dword [esi + 0xf0]
mov byte [esi + 0x5b], cl
mov dword [esi + 0x54], eax
movzx eax, cl
mov ecx, 6
mov edx, dword [eax*4 + 0x411918]
mov eax, edi
add edx, dword [esi + 0x90]
jmp edx
lea ecx, [esi + 0xb8]
call fcn.00401ef2
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x4c]
mov edi, ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ecx
mov ebx, dword [esi + 0x10]
mov ecx, edi
mov edx, ebx
call fcn.00459500
test eax, eax
mov dword [esi + 0x14], eax
je 0x411171
lea eax, [0x46706e]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x80ac4712
mov edx, dword [esi + 0xe0]
call fcn.00403d59
xor ecx, ecx
mov dl, 1
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov ebx, ecx
movzx edi, byte [ecx + 0x473884]
or ebx, 1
movzx ebx, byte [ebx + 0x473884]
shl ebx, 8
or ebx, edi
mov edi, ecx
or edi, 2
movzx edi, byte [edi + 0x473884]
shl edi, 0x10
or ebx, edi
mov edi, ecx
or edi, 3
movzx edi, byte [edi + 0x473884]
shl edi, 0x18
or ebx, edi
xor ebx, dword [eax + ecx]
test dl, 1
mov edx, 0
mov dword [esi + ecx + 0xe0], ebx
mov ecx, 4
jne 0x4109bc
movzx ecx, byte [eax + 0xa]
movzx eax, word [eax + 8]
mov ebx, dword [esi + 0x14]
mov edx, dword [esi + 8]
xor eax, 0x49be
xor cl, 0xd9
mov word [esi + 0xe8], ax
mov byte [esi + 0xea], cl
mov ecx, ebx
movsd xmm0, qword [esi + 0xe0]
mov eax, dword [esi + 0xe7]
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x27], eax
push 0xb
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
lea edi, [esi + 0xe0]
jne 0x4110de
lea eax, [0x467a19]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x2844ccb2
mov edx, dword [esi + 0xe0]
call fcn.004038c9
xor ecx, ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xe8], ecx
mov ecx, 0xfffffffc
mov edx, dword [ecx + 0x473893]
xor edx, dword [eax + ecx + 4]
mov dword [esi + ecx + 0xe4], edx
add ecx, 4
cmp ecx, 8
jb 0x410aa6
mov eax, dword [esi + 0xe8]
movsd xmm0, qword [esi + 0xe0]
mov edx, dword [esi + 8]
mov ecx, ebx
mov dword [esi + 0x28], eax
movsd qword [esi + 0x20], xmm0
push 0xc
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x4683b6]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x3948b4e1
mov edx, dword [esi + 0xe0]
call fcn.004035f6
xor ecx, ecx
mov dl, 1
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov ebx, ecx
movzx edi, byte [ecx + 0x47389b]
or ebx, 1
movzx ebx, byte [ebx + 0x47389b]
shl ebx, 8
or ebx, edi
mov edi, ecx
or edi, 2
movzx edi, byte [edi + 0x47389b]
shl edi, 0x10
or ebx, edi
mov edi, ecx
or edi, 3
movzx edi, byte [edi + 0x47389b]
shl edi, 0x18
or ebx, edi
xor ebx, dword [eax + ecx]
test dl, 1
mov edx, 0
mov dword [esi + ecx + 0xe0], ebx
mov ecx, 4
jne 0x410b27
movsd xmm0, qword [esi + 0xe0]
mov ebx, dword [esi + 0x14]
mov edx, dword [esi + 8]
movsd qword [esi + 0x20], xmm0
mov ecx, ebx
push 8
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
lea edi, [esi + 0xe0]
jne 0x4110de
lea eax, [0x46de04]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x777f3270
mov edx, dword [esi + 0xe0]
call fcn.00403837
xor ecx, ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xe8], ecx
mov ecx, 0xfffffffc
mov edx, dword [ecx + 0x4738a7]
xor edx, dword [eax + ecx + 4]
mov dword [esi + ecx + 0xe4], edx
add ecx, 4
cmp ecx, 8
jb 0x410beb
mov eax, dword [esi + 0xe8]
movsd xmm0, qword [esi + 0xe0]
mov edx, dword [esi + 8]
mov ecx, ebx
mov dword [esi + 0x28], eax
movsd qword [esi + 0x20], xmm0
push 0xc
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x46f79b]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x8a1c6f95
mov edx, dword [esi + 0xe0]
call fcn.0040401f
xor ecx, ecx
mov dl, 1
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov ebx, ecx
movzx edi, byte [ecx + 0x4738af]
or ebx, 1
movzx ebx, byte [ebx + 0x4738af]
shl ebx, 8
or ebx, edi
mov edi, ecx
or edi, 2
movzx edi, byte [edi + 0x4738af]
shl edi, 0x10
or ebx, edi
mov edi, ecx
or edi, 3
movzx edi, byte [edi + 0x4738af]
shl edi, 0x18
or ebx, edi
xor ebx, dword [eax + ecx]
test dl, 1
mov edx, 0
mov dword [esi + ecx + 0xe0], ebx
mov ecx, 4
jne 0x410c6c
movzx ecx, byte [eax + 0xa]
movzx eax, word [eax + 8]
mov ebx, dword [esi + 0x14]
mov edx, dword [esi + 8]
xor eax, 0x8a62
xor cl, 0x85
mov word [esi + 0xe8], ax
mov byte [esi + 0xea], cl
mov ecx, ebx
movsd xmm0, qword [esi + 0xe0]
mov eax, dword [esi + 0xe7]
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x27], eax
push 0xb
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
lea edi, [esi + 0xe0]
jne 0x4110de
lea eax, [0x468d1b]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x6beb1ca8
mov edx, dword [esi + 0xe0]
call fcn.00403acb
xor ecx, ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xe8], ecx
mov ecx, 0xfffffffc
mov edx, dword [ecx + 0x4738be]
xor edx, dword [eax + ecx + 4]
mov dword [esi + ecx + 0xe4], edx
add ecx, 4
cmp ecx, 8
jb 0x410d56
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xe8]
movsd xmm0, qword [esi + 0xe0]
mov ecx, ebx
mov dword [esi + 0x28], eax
movsd qword [esi + 0x20], xmm0
mov edx, edi
push 0xc
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x465728]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x20]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x20], 0xf104934a
mov edx, dword [esi + 0x20]
call fcn.00403448
mov ecx, dword [eax]
mov al, byte [eax + 4]
mov edx, 0xc9a70489
xor ecx, edx
xor al, 0x52
mov edx, edi
mov dword [esi + 0xe0], ecx
mov byte [esi + 0xe4], al
mov ecx, ebx
push 5
lea edi, [esi + 0xe0]
push edi
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x46cc65]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x42f12f1b
mov edx, dword [esi + 0xe0]
call fcn.004034ae
xor ecx, ecx
mov dl, 1
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov ebx, ecx
movzx edi, byte [ecx + 0x4738c6]
or ebx, 1
movzx ebx, byte [ebx + 0x4738c6]
shl ebx, 8
or ebx, edi
mov edi, ecx
or edi, 2
movzx edi, byte [edi + 0x4738c6]
shl edi, 0x10
or ebx, edi
mov edi, ecx
or edi, 3
movzx edi, byte [edi + 0x4738c6]
shl edi, 0x18
or ebx, edi
xor ebx, dword [eax + ecx]
test dl, 1
mov edx, 0
mov dword [esi + ecx + 0xe0], ebx
mov ecx, 4
jne 0x410e2e
movzx eax, word [eax + 8]
movsd xmm0, qword [esi + 0xe0]
mov ebx, dword [esi + 0x14]
mov edx, dword [esi + 8]
xor eax, 0x21c5
movsd qword [esi + 0x20], xmm0
mov ecx, ebx
mov word [esi + 0x28], ax
push 0xa
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
lea edi, [esi + 0xe0]
jne 0x4110de
lea eax, [0x4731e6]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x555e82db
mov edx, dword [esi + 0xe0]
call fcn.0040371d
xor ecx, ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xe8], ecx
mov ecx, 0xfffffffc
mov edx, dword [ecx + 0x4738d4]
xor edx, dword [eax + ecx + 4]
mov dword [esi + ecx + 0xe4], edx
add ecx, 4
cmp ecx, 8
jb 0x410eff
movzx eax, word [eax + 0xc]
mov edx, dword [esi + 8]
mov ecx, ebx
xor eax, 0x4ae1
mov word [esi + 0xec], ax
movsd xmm0, qword [esi + 0xe0]
movsd xmm1, qword [esi + 0xe6]
movsd qword [esi + 0x20], xmm0
movsd qword [esi + 0x26], xmm1
push 0xe
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110de
lea eax, [0x470c62]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x29ce78e6
mov edx, dword [esi + 0xe0]
call fcn.00403614
xor ecx, ecx
mov dl, 1
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov ebx, ecx
movzx edi, byte [ecx + 0x4738de]
or ebx, 1
movzx ebx, byte [ebx + 0x4738de]
shl ebx, 8
or ebx, edi
mov edi, ecx
or edi, 2
movzx edi, byte [edi + 0x4738de]
shl edi, 0x10
or ebx, edi
mov edi, ecx
or edi, 3
movzx edi, byte [edi + 0x4738de]
shl edi, 0x18
or ebx, edi
xor ebx, dword [eax + ecx]
test dl, 1
mov edx, 0
mov dword [esi + ecx + 0xe0], ebx
mov ecx, 4
jne 0x410f94
movzx eax, word [eax + 8]
movsd xmm0, qword [esi + 0xe0]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
xor eax, 0xa977
movsd qword [esi + 0x20], xmm0
mov word [esi + 0x28], ax
push 0xa
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
lea eax, [esi + 0xe0]
jne 0x4110de
lea ecx, [0x46eac4]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0xfdf991d0
mov edx, dword [esi + 0xe0]
call fcn.00403d98
xor ecx, ecx
mov dl, 1
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov ebx, ecx
movzx edi, byte [ecx + 0x4738e8]
or ebx, 1
movzx ebx, byte [ebx + 0x4738e8]
shl ebx, 8
or ebx, edi
mov edi, ecx
or edi, 2
movzx edi, byte [edi + 0x4738e8]
shl edi, 0x10
or ebx, edi
mov edi, ecx
or edi, 3
movzx edi, byte [edi + 0x4738e8]
shl edi, 0x18
or ebx, edi
xor ebx, dword [eax + ecx]
test dl, 1
mov edx, 0
mov dword [esi + ecx + 0xe0], ebx
mov ecx, 4
jne 0x41105a
mov al, byte [eax + 8]
movsd xmm0, qword [esi + 0xe0]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
xor al, 0xf8
movsd qword [esi + 0x20], xmm0
mov byte [esi + 0x28], al
push 9
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
je 0x41116b
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4110f7
push edi
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x58c]
lock dec dword [eax]
jne 0x41110d
mov ecx, dword [esi + 0x58c]
call fcn.004022a8
cmp dword [esi + 0x7e0], 0
je 0x40fc75
cmp dword [esi + 0x7e4], 0
jne 0x40fc75
lea ecx, [esi + 0x7e4]
call fcn.00401e4f
jmp 0x40fc75
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov ecx, edi
mov edx, ebx
call fcn.00459af0
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
je 0x411351
lea eax, [0x472992]
lea ebx, [esi + 0xe0]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x3f8a2da6
mov edx, dword [esi + 0xe0]
call fcn.00403750
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [esi + 8]
xor cl, 0x5e
xor eax, 0xb97a
mov byte [esi + 0xe2], cl
mov ecx, dword [esi + 0xc]
mov word [esi + 0xe0], ax
push 3
push ebx
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110e1
lea eax, [0x467c3b]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0xd1e3e228
mov edx, dword [esi + 0xe0]
call fcn.004040ba
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [esi + 8]
xor cl, 0xba
xor eax, 0x515f
mov byte [esi + 0x22], cl
mov ecx, dword [esi + 0xc]
mov word [esi + 0x20], ax
push 3
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110e1
lea eax, [0x46b1d2]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0xe5145487
mov edx, dword [esi + 0xe0]
call fcn.004034bb
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [esi + 8]
xor cl, 0xc1
xor eax, 0xb45c
mov byte [esi + 0x22], cl
mov ecx, dword [esi + 0xc]
mov word [esi + 0x20], ax
push 3
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110e1
lea eax, [0x470c1b]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0x1dfd0d8c
mov edx, dword [esi + 0xe0]
call fcn.00403ba2
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [esi + 8]
xor cl, 0x91
xor eax, 0x50c0
mov byte [esi + 0x22], cl
mov ecx, dword [esi + 0xc]
mov word [esi + 0x20], ax
push 3
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110e1
lea eax, [0x471120]
mov dword [esi + 0xe0], eax
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xe0], 0xb5b8acf3
mov edx, dword [esi + 0xe0]
call fcn.00403796
movzx ecx, byte [eax + 2]
movzx eax, word [eax]
mov edx, dword [esi + 8]
xor cl, 2
xor eax, 0x8bf8
mov byte [esi + 0x22], cl
mov ecx, dword [esi + 0xc]
mov word [esi + 0x20], ax
push 3
lea eax, [esi + 0x20]
push eax
call fcn.00421da9
add esp, 8
test al, al
jne 0x4110e1
mov ebx, dword [esi + 0x10]
mov ecx, edi
mov edx, ebx
push dword [esi + 0x50]
push dword [esi + 0x48]
call fcn.00423d9e
add esp, 8
mov ecx, dword [esi + 0x18]
lea edx, [esi + 0x60]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], ebx
lea edi, [esi + 0x20]
lea ebx, [esi + 0xe0]
mov dword [esi + 0xec], ecx
mov byte [esi + 0xf0], al
mov ecx, edi
push ebx
call fcn.00402caa
add esp, 4
mov eax, dword [esi + 0x20]
cmp eax, 0x80000000
je 0x4113bd
test eax, eax
je 0x4113bd
push dword [esi + 0x24]
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esi + 0xe0], 0xc
mov ecx, edi
lea edx, [ebp + 8]
push ebx
call fcn.00402e6d
add esp, 4
mov ecx, edi
call fcn.00401b70
jmp 0x4110f7
mov dword [esi + 0x4c], eax
push 0x250
push 0
lea edi, [esi + 0x330]
push edi
mov ebx, edx
call fcn.00462900
add esp, 0xc
push edi
mov dword [esi + 0x50], ebx
push ebx
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov ebx, dword [esi + 0x10]
cmp eax, 0xffffffff
mov dword [esi + 0x48], eax
je 0x4114f0
mov al, byte [0x48fdb4]
xor ecx, ecx
mov edx, 0x18
call fcn.0045a4d0
test eax, eax
je 0x41174b
mov ecx, dword [esi + 0x18]
xor edi, edi
mov dword [esi + 0x88], eax
inc edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 0x14], 0
mov ebx, dword [esi + 0x330]
mov eax, dword [esi + 0x334]
mov ecx, ebx
mov dword [esi + 0x5c], eax
shrd ecx, eax, 8
mov dword [esi + 0x78], ecx
push 0x248
lea eax, [esi + 0x338]
push eax
lea eax, [esi + 0x7e0]
push eax
call fcn.00462380
mov ecx, ebx
add esp, 0xc
mov eax, dword [esi + 0x48]
mov ebx, edi
mov dword [esi + 0x74], eax
jmp 0x41156f
lea ecx, [esi + 0x7e4]
call fcn.00401e4f
lea ecx, [esi + 0x330]
call fcn.00401c62
cmp dword [esi + 0xa3c], 2
mov edi, dword [esi + 0x94]
jne 0x4114c5
mov ecx, dword [esi + 0xa40]
mov edx, dword [esi + 0xa44]
call fcn.00429aac
cmp dword [esi + 0x98], 0
je 0x4114dd
push edi
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esi + 0xb0]
test ecx, ecx
jne 0x40f8c2
jmp 0x4115b9
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x411565
mov al, byte [0x48fdb4]
xor ecx, ecx
mov edx, 0x18
call fcn.0045a4d0
test eax, eax
je 0x411766
mov ecx, eax
mov eax, 1
cmp dword [esi + 0x4c], 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 8], ebx
mov dword [esi + 0x88], ecx
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x10], ebx
mov byte [ecx + 0x14], 0
je 0x41154e
push eax
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esi + 0x6c]
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x48], 0
dec eax
mov dword [esi + 0x74], eax
jmp 0x40fa64
mov ebx, 2
xor ecx, ecx
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x50]
cmp dword [esi + 0x4c], 0
je 0x41158f
push eax
push 0
push dword [0x48fd58]
mov edi, ebx
mov ebx, ecx
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, ebx
mov ebx, edi
cmp dword [esi + 8], 0
je 0x4115aa
push dword [esi + 0x14]
push 0
push dword [0x48fd58]
mov edi, ecx
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, edi
cmp dword [esi + 0x48], 0xffffffff
jne 0x40fa9c
jmp 0x40fa87
mov eax, dword [esi + 0xa4]
mov dword [esi + 0xc], eax
xor ecx, ecx
xor edx, edx
xor edi, edi
mov ebx, dword [esi + 0xa8]
sub edx, ecx
shl ecx, 4
add ecx, ebx
call fcn.00401cb5
mov ecx, ebx
mov edx, edi
call fcn.00401cb5
cmp dword [esi + 0xc], 0
je 0x4115f8
push ebx
push 0
push dword [0x48fd58]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [ebp + 8]
call fcn.00401e6f
mov eax, dword [esi + 0x60]
lock dec dword [eax + 0xe8]
mov edi, dword [esi + 0x60]
jne 0x411671
xor edx, edx
inc edx
lock xadd dword [edi + 0x44], edx
add edi, 0x40
mov ecx, edi
call fcn.00402987
lock or dword [eax + 0x148], 0x20000
mov edi, dword [esi + 0x60]
mov eax, dword [edi + 0x88]
mov ecx, eax
or ecx, 2
lock cmpxchg dword [edi + 0x88], ecx
jne 0x411635
test eax, eax
jne 0x411671
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
mov dword [edi + 0x80], 0
lock and dword [edi + 0x88], 0xfffffffd
test eax, eax
je 0x411671
push ecx
call dword [eax + 4]
add esp, 4
lock dec dword [edi]
jne 0x41167e
mov ecx, dword [esi + 0x60]
call fcn.00402381
lea ecx, [esi + 0xa0]
call fcn.00401fa2
mov eax, dword [esi + 0xca0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
mov dword [esi + 0xc], edx
je 0x4115c2
mov ecx, dword [esi + 0xac]
mov eax, edx
xor edi, edi
cmp ecx, edx
mov edx, ebx
mov ebx, eax
cmovb ebx, edi
mov edi, edx
sub ecx, ebx
mov ebx, eax
sub eax, ecx
sub edi, eax
jbe 0x4116ce
mov edx, ebx
jmp 0x4115c8
add edx, ecx
jmp 0x4115c6
mov ecx, eax
mov edx, 0x104
push 0x47f144
call fcn.0046e9c0
mov dword [esi + 0xca8], 6
call fcn.00414380
jmp 0x41177f
xor ecx, ecx
mov edx, edi
mov dword [esi + 0xca8], 6
inc ecx
call fcn.0046d190
jmp 0x41177f
call fcn.00414380
xor ecx, ecx
mov edx, ebx
inc ecx
call fcn.0046d190
xor ecx, ecx
mov edx, ebx
mov byte [esi + 0x1e], 1
mov dword [esi + 0xca8], 0
inc ecx
call fcn.0046d190
jmp 0x41177f
mov ecx, 4
mov edx, 0x18
mov dword [esi + 0xca8], 4
call fcn.0046d190
jmp 0x41177f
mov ecx, 4
mov edx, 0x18
mov dword [esi + 0xca8], 3
call fcn.0046d190
ud2