Function at 0x467bad
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp + 0x54], ecx
push 0x10
lea ecx, [ebp - 0x90]
call fcn.0043dd9c
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp - 0x74]
xor ebx, ebx
push eax
mov dword [ebp - 0x74], ebx
call fcn.00444b0e
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x23
pop ecx
pop ecx
mov dword [ebp - 0x60], str.0xFFFFFFFF
mov byte [ebp + 0x6d], bl
mov byte [ebp + 0x1b], bl
mov byte [ebp + 0x6f], bl
mov dword [ebp - 0x20], 0x200
jne 0x467c07
add dword [ebp + 0x78], 2
mov byte [ebp + 0x6d], 1
lea eax, [ebp + 0x78]
push eax
call fcn.00405196
pop ecx
push 1
lea ecx, [ebp - 0x94]
call fcn.0043dd9c
lea ecx, [ebp + 0x40]
call fcn.0043dd7e
push 1
lea ecx, [ebp - 0x38]
call fcn.0043dd9c
push 1
lea ecx, [ebp - 0x3c]
call fcn.0043dd9c
lea ecx, [ebp - 8]
call fcn.0043dd7e
mov esi, dword [ebp + 0x78]
lea ecx, [ebp - 0x68]
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp - 0x1c], esi
call fcn.0043dd7e
cmp word [esi], 0x2d
jne 0x467cc2
xor ecx, ecx
mov cx, word [esi + 2]
cmp cx, bx
je 0x467c9a
mov eax, ecx
call fcn.00437e2d
test al, al
jne 0x467c9a
cmp cx, 0x2c
je 0x467c9a
lea eax, [ebp - 0x1c]
push eax
call fcn.00405196
mov esi, dword [ebp - 0x1c]
cmp word [esi], 0x2d
pop ecx
je 0x467c6b
cmp esi, dword [ebp + 0x78]
je 0x467cc2
cmp word [esi], bx
mov di, word [esi - 2]
je 0x467cac
mov word [esi - 2], bx
mov ecx, dword [ebp + 0x54]
push 1
push ebx
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0x78]
call fcn.0044c8eb
mov word [esi - 2], di
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x40]
mov dword [ebp + 0x78], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0x6e], bl
mov byte [ebp + 0x3f], bl
mov dword [ebp + 0x68], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0043dd7e
lea ecx, [ebp - 0x64]
call fcn.0043dd7e
jmp 0x467f14
push 5
lea eax, [ebp + 0x78]
push eax
push str._find
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x467d0f
mov byte [ebp + 0x6f], 1
jmp 0x467f14
mov edi, dword [ebp + 0x78]
push 2
push edi
push 0x4b09ec
call fcn.0043917b
add esp, 0xc
test al, al
je 0x467dbe
mov ax, word [edi + 4]
cmp ax, 0x3d
je 0x467d3e
cmp ax, 0x3a
jne 0x467dbe
lea eax, [ebp + 0x78]
add edi, 6
push eax
mov dword [ebp + 0x78], edi
mov dword [ebp + 0x5c], edi
call fcn.00405196
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.0043a784
mov eax, dword [ebp + 0x5c]
add esp, 0xc
cmp word [eax], 0x40
jne 0x467f14
add dword [ebp + 0x5c], 2
mov edi, dword [ebp + 0x5c]
lea eax, [ebp + 0x5c]
push eax
call fcn.00405172
mov eax, dword [ebp + 0x5c]
mov dx, word [eax]
lea eax, [ebp + 0x5c]
push eax
call fcn.00437e65
cmp dx, bx
pop ecx
pop ecx
je 0x467d9a
mov eax, dword [ebp + 0x5c]
mov word [eax - 2], bx
mov ecx, dword [ebp + 0x54]
push 1
push ebx
lea eax, [ebp - 0x40]
push eax
push edi
call fcn.0044c8eb
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 8
mov dword [ebp - 0x18], eax
jmp 0x467f14
push 6
lea eax, [ebp + 0x78]
push eax
push str._nolen
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x467dde
mov byte [ebp + 0x1b], 1
jmp 0x467f14
push 4
lea eax, [ebp + 0x78]
push eax
push 0x4af2dc
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x467dfe
mov byte [ebp + 0x6e], 1
jmp 0x467f14
push 5
lea eax, [ebp + 0x78]
push eax
push str._free
call fcn.0043fca8
add esp, 0xc
test al, al
jne 0x467f7c
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4b09e0
call fcn.0043fca8
add esp, 0xc
test al, al
je 0x467ed1
mov edi, dword [ebp + 0x78]
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x58], edi
call fcn.00405196
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp word [edi], 0x3f
pop ecx
mov dword [ebp + 0x10], ebx
jne 0x467e86
inc edi
inc edi
lea eax, [ebp + 0x34]
push eax
mov dword [ebp + 0x58], edi
mov dword [ebp + 0x48], edi
mov dword [ebp + 0x34], edi
call fcn.00405172
mov eax, dword [ebp + 0x34]
cmp word [eax], bx
pop ecx
je 0x467e73
mov word [eax], bx
mov ecx, dword [ebp + 0x54]
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x48]
call fcn.00444caf
mov dword [ebp + 0x58], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.0043a760
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
pop ecx
pop ecx
mov edi, eax
je 0x467ec7
cmp eax, ebx
je 0x467ec7
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp + 0x48], ebx
call fcn.0043841e
test eax, eax
pop ecx
pop ecx
je 0x467ec7
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov dword [ebp + 0x68], edi
je 0x467ec3
mov dword [ebp + 0x68], eax
mov byte [ebp + 0x3f], 1
lea ecx, [ebp + 0x10]
call fcn.00437e1a
jmp 0x467f14
push 5
push dword [ebp + 0x78]
push str._err:
call fcn.0043917b
add esp, 0xc
test al, al
je 0x467f21
add dword [ebp + 0x78], 0xa
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405172
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
pop ecx
je 0x467f0a
mov word [eax], bx
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x78]
push eax
call fcn.00437e65
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x467cef
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov al, byte [ebp + 0x6e]
neg al
mov dword [ebp + 0x78], esi
mov esi, dword [ebp + 0x54]
mov ecx, esi
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
push eax
push 0x2c
pop edi
push edi
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043359b
push 1
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x78]
mov ecx, esi
call fcn.0044c8eb
cmp dword [ebp + 0x68], ebx
mov eax, dword [ebp - 0x64]
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x40]
jne 0x467fc2
cmp word [eax], bx
jne 0x467fc2
mov ebx, 0x80070057
jmp 0x468d7f
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00405196
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x20]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.0043a760
add esp, 0xc
cmp dword [ebp - 0x28], 0xffffffff
je 0x468d7f
cmp dword [ebp - 0x28], ebx
je 0x468d7f
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x468d7f
cmp word [eax], 0x26
jne 0x467fcc
mov byte [ebp + 0x6e], 1
push ebx
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00433754
mov eax, dword [ebp - 0x38]
add esp, 0x10
cmp word [eax], bx
je 0x467f72
push ebx
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x78]
push eax
mov ecx, esi
call fcn.00433707
mov eax, dword [ebp - 0x3c]
cmp word [eax], bx
je 0x467f72
push ebx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x78]
push eax
mov ecx, esi
mov dword [ebp + 0x10], ebx
call fcn.00433707
cmp byte [ebp + 0x6f], bl
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
je 0x468057
cmp byte [eax], 0x2a
jne 0x468057
add eax, 2
mov dword [ebp + 0xc], eax
cmp word [eax], 0x3c
mov byte [ebp + 0x6f], 3
jne 0x468057
inc eax
inc eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0043da88
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [ebp + 0x10], eax
cmp byte [ebp + 0x3f], bl
mov dword [ebp - 0x2c], 1
je 0x46806c
cmp dword [ebp + 0x68], ebx
je 0x4688d8
cmp byte [ebp + 0x6f], bl
je 0x46807d
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x4688d8
lea ecx, [ebp - 0x54]
call fcn.0043dc57
cmp byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x34], eax
jne 0x468169
lea eax, [ebp + 0x34]
push 1
push eax
call fcn.00444a3a
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x468169
cmp word [eax], 0x23
jne 0x468169
mov si, word [eax]
mov edi, dword [0x4c0ea0]
mov word [eax], bx
mov eax, dword [ebp + 0x34]
mov cx, word [eax]
cmp cx, 0x2e
mov dword [ebp + 0x14], ebx
jne 0x4680e8
cmp word [eax + 2], bx
jne 0x4680e8
mov edi, dword [0x4c0ea0]
jmp 0x4680fc
cmp cx, bx
je 0x4680fc
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
mov dword [ebp + 0x14], edi
mov eax, dword [ebp - 0xc]
mov word [eax], si
mov eax, dword [ebp - 0xc]
inc eax
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0x58], 0x20
cmp word [eax], 0x2e
mov dword [ebp + 0x34], ebx
jne 0x46812a
mov word [eax], 0x23
add dword [ebp - 0xc], 2
mov dword [ebp + 0x58], 0x40
cmp edi, ebx
je 0x46815b
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00444988
movzx ecx, byte [ebp + 0x58]
mov dword [ebp + 0x58], ecx
lea ecx, [ebp + 0x58]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
push dword [ebp + 0x34]
push edi
call fcn.00413369
add esp, 0x1c
mov byte [ebp + 0x6e], 2
cmp dword [ebp + 0x14], ebx
je 0x468169
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, dword [ebp + 0x40]
push eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x40], ebx
call fcn.0041161a
pop ecx
push eax
lea ecx, [ebp + 0x40]
call fcn.004464ff
lea ecx, [ebp + 0x20]
call fcn.00437e1a
mov eax, dword [ebp - 8]
push eax
mov dword [ebp + 0x20], eax
mov dword [ebp - 8], ebx
call fcn.0041161a
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.004464ff
lea ecx, [ebp + 0x20]
call fcn.00437e1a
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0x78], eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
call fcn.00449426
mov eax, dword [ebp + 0x78]
pop ecx
pop ecx
push 0x23
pop esi
cmp word [eax], si
push 2
pop edi
jne 0x4682b9
add dword [ebp + 0x78], edi
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x468206
or dword [ebp + 0x4c], 0xffffffff
add dword [ebp + 0x78], edi
mov dword [ebp + 0x50], 0x7fffffff
jmp 0x468215
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00449426
pop ecx
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x4682b9
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00449426
test eax, eax
pop ecx
pop ecx
jle 0x468241
mov eax, dword [ebp + 0x60]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x4682b9
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00449426
test eax, eax
pop ecx
pop ecx
jle 0x468269
mov eax, dword [ebp + 0x60]
cdq
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x4682b9
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00449426
test eax, eax
pop ecx
pop ecx
jle 0x468291
mov eax, dword [ebp + 0x60]
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x4682b9
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00449426
test eax, eax
pop ecx
pop ecx
jle 0x4682b9
mov eax, dword [ebp + 0x60]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
lea eax, [ebp + 0x78]
push eax
call fcn.00437e65
mov eax, dword [ebp + 0x40]
cmp word [eax], 0x75
pop ecx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
jne 0x4683a2
cmp word [eax + 2], 0x64
jne 0x4683a2
cmp word [eax + 4], 0x3a
jne 0x4683a2
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x4c]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp + 0x50]
push 0x22
add eax, 6
pop esi
mov dword [ebp - 0x98], ecx
cmp word [eax], si
mov dword [ebp + 0x58], eax
mov byte [ebp + 0x6e], 4
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
jne 0x468330
add eax, edi
mov dword [ebp + 0x58], eax
mov edi, eax
push 0x3a
lea eax, [ebp + 0x58]
call fcn.004128fe
mov eax, dword [ebp + 0x58]
cmp eax, edi
pop ecx
je 0x46834e
cmp word [eax - 2], si
jne 0x46834e
mov word [eax - 2], bx
cmp word [eax], 0x3a
jne 0x468359
mov word [eax], bx
inc eax
inc eax
cmp word [eax], si
mov ecx, eax
jne 0x468372
lea ecx, [eax + 2]
inc eax
inc eax
cmp word [eax], si
jne 0x46836d
mov word [eax], bx
cmp word [eax], bx
jne 0x468363
lea eax, [ebp - 0xa4]
push eax
push ebx
push 0x10000
push ecx
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00435b56
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
cdq
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x54]
add esp, 0x18
add ecx, eax
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x30], ecx
push 0x3c
lea ecx, [ebp + 0x2c]
call fcn.0043dd9c
lea ecx, [ebp - 0x8c]
call fcn.0043dd7e
mov al, byte [ebp + 0x6f]
and al, 2
neg al
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp + 0x14], 0x80070057
mov dword [ebp - 0x14], ebx
sbb eax, eax
or dword [ebp], 0xffffffff
or dword [ebp + 4], 0xffffffff
and eax, ecx
cmp byte [ebp + 0x6f], bl
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x38], ebx
mov edi, 0x4c1b94
mov esi, 0x80000000
je 0x46853f
mov eax, dword [ebp - 8]
cmp word [eax], 0x2a
jne 0x4684d3
add eax, 2
cmp word [eax], 0x26
je 0x468473
mov ecx, dword [ebp + 0x54]
test byte [ecx + 9], 0x11
jne 0x468473
push ebx
lea ecx, [ebp + 0x58]
push ecx
mov ecx, dword [ebp + 0x54]
push eax
call fcn.00444caf
mov eax, dword [ebp + 0x58]
push eax
mov dword [ebp + 0x38], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
shl eax, 1
cmp eax, ebx
mov dword [ebp + 0x5c], eax
jg 0x46853f
push str._I64d
push dword [ebp + 0xc]
push dword [ebp + 4]
push dword [ebp]
push dword [ebp + 0x54]
call fcn.004401e1
add esp, 0x14
jmp 0x4689ef
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x54]
push ebx
push 0xffffffffffffffff
add eax, 2
push ebx
push eax
call fcn.0040f3c5
cmp eax, ebx
mov dword [ebp + 0x34], eax
je 0x46849e
mov eax, dword [eax + 0x10]
cmp eax, ebx
mov dword [ebp + 0x5c], eax
jg 0x4684a7
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x468455
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x58]
call fcn.0043ddc3
push dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x58]
push dword [ecx + 4]
mov dword [ebp + 0x38], eax
push eax
call fcn.0041286c
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x46853f
push ebx
push ebx
push 3
push ebx
push 3
push esi
push eax
lea ecx, [ebp + 8]
call fcn.004051d2
cmp dword [ebp + 8], ebx
jne 0x468504
push ebx
push ebx
push 0x2000003
push ebx
push 3
push esi
push dword [ebp - 8]
lea ecx, [ebp + 8]
call fcn.004051d2
cmp dword [ebp + 8], ebx
je 0x46853f
push 2
push ebx
push ebx
push dword [ebp + 8]
call fcn.0043908b
add esp, 0x10
cmp edx, ebx
jl 0x468527
mov ecx, 0x20000000
jg 0x468522
cmp eax, ecx
jbe 0x468527
mov eax, ecx
mov dword [ebp - 0x6c], ebx
push ebx
push ebx
mov dword [ebp + 0x5c], eax
push 2
cdq
push edx
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.00437dc4
mov dword [ebp + 0x38], eax
cmp byte [ebp + 0x6e], bl
je 0x468777
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ecx, [ebp + 0x44]
call fcn.0043dd7e
cmp byte [ebp + 0x6e], 1
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x68], eax
jne 0x468596
mov ecx, dword [ebp + 0x54]
push ebx
lea eax, [ebp + 0x40]
push eax
call fcn.00402d33
mov ecx, dword [ebp + 0x54]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x40]
call fcn.0040f3c5
cmp eax, ebx
je 0x468764
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], ebx
cmp byte [ebp + 0x6e], 2
jne 0x4685ac
mov eax, dword [ebp - 0x50]
cdq
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x24]
cdq
cmp edx, dword [ebp + 0x20]
jl 0x4685c2
jg 0x4685bc
cmp eax, dword [ebp + 0x1c]
jbe 0x4685c2
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
add dword [ebp + 0x68], eax
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
sub esi, eax
mov eax, dword [ebp + 0x4c]
sbb ecx, edx
cmp dword [ebp + 0x50], ecx
cdq
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
jl 0x4685ed
jg 0x4685e5
cmp dword [ebp + 0x4c], esi
jbe 0x4685ed
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x64], ecx
jmp 0x4685f0
mov esi, dword [ebp + 0x60]
cmp byte [ebp + 0x6f], bl
je 0x468640
push dword [ebp + 0x10]
push dword [ebp + 0x68]
push dword [ebp - 0x7c]
push dword [ebp - 0x5c]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push ebx
push dword [ebp + 0x5c]
push dword [ebp + 0x38]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x34]
call fcn.00444468
add esp, 0x3c
lea ecx, [ebp + 0x44]
mov dword [ebp], eax
mov dword [ebp + 4], edx
call fcn.00437e1a
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x4689d4
cmp byte [ebp + 0x6d], bl
je 0x46866f
push ebx
push ebx
push dword [ebp + 0x60]
push dword [ebp + 0x68]
push dword [ebp + 0xc]
push dword [ebp + 0x54]
call fcn.0044983b
add esp, 0x18
lea ecx, [ebp + 0x44]
call fcn.00437e1a
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x468d4c
cmp dword [ebp - 4], ebx
lea esi, [esi + esi*4 + 0xa]
jle 0x468695
mov eax, dword [ebp - 4]
cdq
push edx
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.00492e60
mov ecx, dword [ebp - 0x18]
inc eax
add ecx, 2
imul eax, ecx
add esi, eax
add esi, 6
push esi
lea ecx, [ebp + 0x44]
call fcn.0043ddc3
add dword [ebp + 0x60], 0xffffffff
mov eax, dword [ebp + 0x44]
mov esi, eax
adc dword [ebp + 0x64], 0xffffffff
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
js 0x46875c
jg 0x4686c5
cmp dword [ebp + 0x60], ebx
jb 0x46875c
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
cmp dword [ebp - 4], ebx
jle 0x46871e
mov eax, dword [ebp - 4]
cdq
push edx
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
call fcn.004951f0
or eax, edx
jne 0x46871e
cmp dword [ebp + 0x28], ebx
jl 0x4686ff
jg 0x4686f1
cmp dword [ebp + 0x24], ebx
jbe 0x4686ff
mov word [esi], 0xd
inc esi
inc esi
mov word [esi], 0xa
inc esi
inc esi
cmp dword [ebp - 0x18], ebx
je 0x46871e
push dword [ebp - 0x80]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push str._8X_s
push esi
call edi
mov eax, dword [ebp - 0x18]
add esp, 0x14
lea esi, [esi + eax*2]
mov eax, dword [ebp + 0x68]
movzx eax, byte [eax]
push eax
push str.0x_02X
push esi
call edi
add esp, 0xc
inc dword [ebp + 0x68]
add esi, 0xa
add dword [ebp + 0x24], 1
lea eax, [esi - 2]
adc dword [ebp + 0x28], ebx
add dword [ebp + 0x60], 0xffffffff
adc dword [ebp + 0x64], 0xffffffff
cmp dword [ebp + 0x64], ebx
jg 0x4686cb
jl 0x46875c
cmp dword [ebp + 0x60], ebx
jae 0x4686cb
mov word [eax], bx
mov edi, 0x4c1b94
push dword [ebp + 0x44]
mov ecx, dword [ebp + 0x54]
push dword [ebp + 0xc]
call fcn.0043d658
jmp 0x46865b
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.004441f1
cmp al, bl
pop ecx
pop ecx
mov byte [ebp + 0x44], al
jge 0x4687a2
cmp byte [ebp + 0x6f], bl
jne 0x4689d4
mov dword [ebp - 0x2c], 0x80070057
jmp 0x4688a5
or dword [ebp + 0x60], 0xffffffff
or dword [ebp + 0x64], 0xffffffff
or dword [ebp + 0x34], 0xffffffff
cmp byte [ebp + 0x3f], bl
mov edi, dword [ebp + 0x68]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x68], edi
je 0x4687d1
push ebx
push ebx
push ebx
push edi
call fcn.0043908b
add esp, 0x10
cmp edi, ebx
jne 0x468870
push ebx
mov edi, 0x2000000
push edi
push 3
push ebx
push 3
push esi
push dword [ebp + 0x40]
lea ecx, [ebp + 0x30]
call fcn.004051d2
cmp eax, ebx
mov dword [ebp + 0x68], eax
jne 0x46880e
push ebx
push ebx
push 3
push ebx
push 3
push esi
push dword [ebp + 0x40]
lea ecx, [ebp + 0x30]
call fcn.004051d2
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x48], ebx
je 0x468862
cmp dword [ebp + 0x68], ebx
je 0x468867
push dword [ebp + 0x48]
push dword [ebp + 0x68]
push dword [ebp + 0x54]
call fcn.00446569
add esp, 0xc
push ebx
push edi
push 3
push ebx
push 3
push esi
push dword [ebp + 0x40]
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x30], ebx
call fcn.004051d2
cmp dword [ebp + 0x30], ebx
jne 0x46885c
push ebx
push edi
push 3
push ebx
push 3
push esi
push dword [ebp + 0x40]
lea ecx, [ebp + 0x30]
call fcn.004051d2
cmp dword [ebp + 0x30], ebx
je 0x468862
mov eax, dword [ebp + 0x30]
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x68], ebx
jne 0x468870
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x20], eax
cmp byte [ebp + 0x44], 0x11
mov esi, dword [ebp + 0x68]
jne 0x4688ee
lea eax, [ebp + 0x60]
push eax
push dword [ebp - 0x30]
push esi
call fcn.0044b8a7
add esp, 0xc
cmp edx, ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
jg 0x46891c
jl 0x46889d
cmp eax, ebx
jae 0x46891c
lea ecx, [ebp + 0x30]
call fcn.00402b5a
lea ecx, [ebp + 8]
call fcn.00402b5a
lea ecx, [ebp + 0x58]
call fcn.00437e1a
lea ecx, [ebp - 0x14]
call fcn.00437d98
lea ecx, [ebp - 0x8c]
call fcn.00437e1a
lea ecx, [ebp + 0x2c]
call fcn.00437e1a
lea ecx, [ebp - 0x54]
call fcn.00437e1a
push dword [ebp - 0x60]
mov ecx, dword [ebp + 0x54]
push dword [ebp + 0xc]
call fcn.0043d658
mov ebx, dword [ebp - 0x2c]
jmp 0x468d7f
cmp esi, ebx
je 0x468917
cmp byte [ebp + 0x44], bl
jne 0x468906
push 2
push ebx
push ebx
push esi
call fcn.0043908b
add esp, 0x10
jmp 0x468911
push dword [ebp + 0x44]
push esi
call fcn.0043c680
pop ecx
pop ecx
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
cmp byte [ebp + 0x44], bl
je 0x468930
cmp esi, ebx
je 0x468930
push 0x200
push esi
call fcn.0043b675
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
cmp byte [ebp + 0x6f], bl
je 0x4689f7
or dword [ebp], 0xffffffff
or dword [ebp + 4], 0xffffffff
cmp dword [ebp - 0x24], ebx
jl 0x468956
jg 0x46894d
cmp dword [ebp - 0x28], ebx
jbe 0x468956
mov eax, dword [ebp - 0x28]
add dword [ebp + 0x38], eax
sub dword [ebp + 0x5c], eax
cmp dword [ebp - 0x44], ebx
jl 0x468978
jg 0x468962
cmp dword [ebp - 0x48], ebx
jbe 0x468978
mov eax, dword [ebp + 0x5c]
cdq
cmp edx, dword [ebp - 0x44]
jl 0x468978
jg 0x468972
cmp eax, dword [ebp - 0x48]
jbe 0x468978
mov eax, dword [ebp - 0x48]
mov dword [ebp + 0x5c], eax
cmp esi, ebx
mov dword [ebp + 0x14], ebx
je 0x4689cc
cmp dword [ebp + 0x38], ebx
je 0x4689cc
cmp dword [ebp + 0x5c], ebx
jle 0x4689cc
cmp dword [ebp - 0x58], ebx
jl 0x4689cc
jg 0x468995
cmp dword [ebp - 0x5c], ebx
jb 0x4689cc
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x7c]
push dword [ebp - 0x5c]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x44]
push dword [ebp + 0x5c]
push dword [ebp + 0x38]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push esi
push dword [ebp - 0x34]
call fcn.00444468
add esp, 0x3c
mov dword [ebp], eax
mov dword [ebp + 4], edx
lea ecx, [ebp + 0x30]
call fcn.00402b5a
mov eax, dword [ebp - 0x8c]
cmp word [eax], bx
je 0x468455
mov ecx, dword [ebp + 0x54]
push eax
push dword [ebp + 0xc]
call fcn.0043d658
mov ebx, dword [ebp + 0x14]
jmp 0x468d4c
cmp esi, ebx
mov dword [ebp + 0x14], ebx
je 0x468ccb
mov edi, dword [ebp + 0x28]
cmp edi, ebx
jl 0x468ccb
mov esi, dword [ebp + 0x24]
jg 0x468a1a
cmp esi, ebx
jb 0x468ccb
mov ecx, dword [ebp + 0x64]
cmp edi, ecx
jg 0x468cce
jl 0x468a30
cmp esi, dword [ebp + 0x60]
ja 0x468cce
cmp byte [ebp + 0x44], bl
jne 0x468a4a
cmp ecx, ebx
jl 0x468d17
jg 0x468a5e
cmp dword [ebp + 0x60], ebx
jbe 0x468d17
jmp 0x468a5e
cmp ecx, ebx
jg 0x468a69
jl 0x468a55
cmp dword [ebp + 0x60], ebx
jae 0x468a5e
or dword [ebp + 0x60], 0xffffffff
mov ecx, 0x7fffffff
cmp ecx, ebx
jl 0x468a88
jg 0x468a69
cmp dword [ebp + 0x60], ebx
jbe 0x468a88
mov eax, dword [ebp + 0x60]
sub eax, esi
sbb ecx, edi
cmp ecx, dword [ebp + 0x50]
jg 0x468a88
jl 0x468a7c
cmp eax, dword [ebp + 0x4c]
jae 0x468a88
mov eax, dword [ebp + 0x60]
sub eax, esi
cdq
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], edx
cmp dword [ebp - 4], ebx
mov ecx, dword [ebp + 0x4c]
lea eax, [ecx + ecx*4 + 0xa]
mov dword [ebp + 0x48], eax
jle 0x468aaa
mov eax, ecx
cdq
idiv dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add edx, 2
inc eax
imul eax, edx
add dword [ebp + 0x48], eax
cmp byte [ebp + 0x6d], bl
je 0x468aba
lea eax, [ecx + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x48]
add eax, 4
push eax
lea ecx, [ebp + 0x2c]
call fcn.0043ddc3
cmp dword [ebp + 0x2c], ebx
jne 0x468ad6
xor ebx, ebx
inc ebx
jmp 0x468d44
cmp byte [ebp + 0x6d], bl
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x78], eax
mov word [eax], bx
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x38], eax
je 0x468afa
mov ecx, dword [ebp + 0x4c]
mov byte [ecx + eax], bl
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x48]
mov word [eax + ecx*2], bx
add esi, dword [ebp - 0x70]
mov dword [ebp + 0x48], ebx
adc edi, dword [ebp - 0x6c]
cmp byte [ebp + 0x44], bl
je 0x468b18
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
push edi
push esi
call fcn.004951f0
mov dword [ebp + 0x48], eax
movzx eax, word [ebp + 0x48]
cdq
sub esi, eax
push ebx
sbb edi, edx
push edi
push esi
push dword [ebp + 0x68]
call fcn.0043908b
mov eax, dword [ebp - 0x20]
add esp, 0x10
lea eax, [eax*4 + 0x100000]
push eax
lea ecx, [ebp - 0x30]
call fcn.0043dc74
cmp dword [ebp + 0x50], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], ebx
jl 0x468c89
jle 0x468c80
movzx ecx, word [ebp + 0x48]
mov esi, 0x100000
sub esi, ecx
mov eax, esi
cdq
cmp edx, dword [ebp + 0x50]
jl 0x468b7a
jg 0x468b77
cmp eax, dword [ebp + 0x4c]
jbe 0x468b7a
mov esi, dword [ebp + 0x4c]
cmp byte [ebp + 0x44], bl
lea eax, [ecx + esi]
je 0x468b91
mov edx, dword [ebp - 0x20]
lea eax, [eax + edx - 1]
cdq
idiv dword [ebp - 0x20]
imul eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
push ebx
lea edi, [ecx + edx]
lea ecx, [ebp - 0x34]
push ecx
push eax
push edx
push dword [ebp + 0x68]
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp byte [ebp + 0x6d], bl
mov dword [ebp + 0x48], ebx
je 0x468bd0
push esi
push edi
push dword [ebp + 0x38]
call fcn.004128b6
add dword [ebp + 0x38], esi
mov eax, esi
cdq
add esp, 0xc
sub dword [ebp + 0x4c], eax
sbb dword [ebp + 0x50], edx
jmp 0x468c75
dec esi
js 0x468c75
inc esi
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 4], ebx
jle 0x468c40
mov eax, dword [ebp - 4]
cdq
push edx
push eax
push dword [ebp + 4]
push dword [ebp]
call fcn.004951f0
or eax, edx
jne 0x468c40
cmp dword [ebp + 4], ebx
jl 0x468c19
jg 0x468c01
cmp dword [ebp], ebx
jbe 0x468c19
mov eax, dword [ebp + 0x78]
mov word [eax], 0xd
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
mov word [eax], 0xa
add dword [ebp + 0x78], 2
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x468c40
push dword [ebp - 0x80]
push dword [ebp + 0x10]
push str._8X_s
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp + 0x78]
lea eax, [eax + esi*2]
add esp, 0x10
mov dword [ebp + 0x78], eax
movzx eax, byte [edi]
push eax
push str.0x_02X
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_wsprintfW]
add dword [ebp + 0x78], 0xa
add esp, 0xc
inc dword [ebp + 0x10]
add dword [ebp], 1
adc dword [ebp + 4], ebx
add dword [ebp + 0x4c], 0xffffffff
adc dword [ebp + 0x50], 0xffffffff
inc edi
dec dword [ebp - 0x2c]
jne 0x468bdb
cmp dword [ebp + 0x50], ebx
jg 0x468b5d
jl 0x468c89
cmp dword [ebp + 0x4c], ebx
ja 0x468b5d
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x2c]
je 0x468ca5
cmp byte [ebp + 0x6d], bl
je 0x468c9d
mov eax, dword [ebp + 0x38]
mov byte [eax], bl
jmp 0x468ca5
dec eax
dec eax
mov dword [ebp + 0x78], eax
mov word [eax], bx
cmp byte [ebp + 0x6d], bl
je 0x468cc1
mov eax, dword [ebp + 0x38]
sub eax, dword [ebp + 0x2c]
push 4
push ebx
push dword [ebp + 0x38]
mov dword [ebp + 0x34], eax
call fcn.00492e00
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00437e1a
jmp 0x468d12
mov ecx, dword [ebp + 0x64]
cmp byte [ebp + 0x1b], bl
jne 0x468cff
cmp ecx, ebx
jg 0x468cf0
jl 0x468cde
cmp dword [ebp + 0x60], ebx
jae 0x468cf0
cmp byte [ebp + 0x6d], bl
jne 0x468cff
push dword [ebp - 0x60]
lea ecx, [ebp + 0x2c]
call fcn.004464ff
jmp 0x468cff
push ecx
push dword [ebp + 0x60]
push dword [ebp + 0x2c]
call fcn.004878e2
add esp, 0xc
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x468d0b
mov dword [ebp + 0x14], eax
jmp 0x468d17
mov dword [ebp + 0x14], 1
cmp dword [ebp + 0x34], ebx
jge 0x468d27
push dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x54]
push dword [ebp + 0xc]
call fcn.0043d658
jmp 0x468d41
push 1
lea eax, [ebp + 0x2c]
push eax
push dword [ebp + 0x34]
push dword [ebp + 0x2c]
push dword [ebp + 0xc]
push dword [ebp + 0x54]
call fcn.0044983b
add esp, 0x18
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp + 0x30]
call fcn.00402b5a
lea ecx, [ebp + 8]
call fcn.00402b5a
lea ecx, [ebp + 0x58]
call fcn.00437e1a
lea ecx, [ebp - 0x14]
call fcn.00437d98
lea ecx, [ebp - 0x8c]
call fcn.00437e1a
lea ecx, [ebp + 0x2c]
call fcn.00437e1a
lea ecx, [ebp - 0x54]
call fcn.00437e1a
lea ecx, [ebp - 0x64]
call fcn.00437e1a
lea ecx, [ebp - 0x40]
call fcn.00437e1a
lea ecx, [ebp - 0x1c]
call fcn.00402b5a
lea ecx, [ebp - 0x68]
call fcn.00437e1a
lea ecx, [ebp - 8]
call fcn.00437e1a
lea ecx, [ebp - 0x3c]
call fcn.00437e1a
lea ecx, [ebp - 0x38]
call fcn.00437e1a
lea ecx, [ebp + 0x40]
call fcn.00437e1a
lea ecx, [ebp - 0x94]
call fcn.00437e1a
lea ecx, [ebp - 0x74]
call fcn.00437e1a
lea ecx, [ebp - 0x90]
call fcn.00437e1a
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x70
leave
ret 8