Function at 0x464f91
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x10c
push ebx
push esi
push edi
mov dword [ebp + 0x54], ecx
push 0x10
lea ecx, [ebp - 0x8c]
call fcn.0043d49b
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
mov dword [ebp - 0x70], ebx
call fcn.00443e77
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x23
pop ecx
pop ecx
mov byte [ebp + 0x6d], bl
mov byte [ebp + 0x23], bl
mov byte [ebp + 0x6e], bl
jne 0x464fdd
add dword [ebp + 0x78], 2
mov byte [ebp + 0x6d], 1
lea eax, [ebp + 0x78]
push eax
call fcn.0040507c
pop ecx
push 1
lea ecx, [ebp - 0x88]
call fcn.0043d49b
lea ecx, [ebp + 0x34]
call fcn.0043d47d
push 1
lea ecx, [ebp - 0x48]
call fcn.0043d49b
push 1
lea ecx, [ebp - 0x38]
call fcn.0043d49b
lea ecx, [ebp - 8]
call fcn.0043d47d
mov edi, dword [ebp + 0x78]
lea ecx, [ebp - 0x60]
mov dword [ebp + 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x14], edi
call fcn.0043d47d
cmp word [edi], 0x2d
jne 0x465098
xor ecx, ecx
mov cx, word [edi + 2]
cmp cx, bx
je 0x465070
mov eax, ecx
call fcn.00482120
test al, al
jne 0x465070
cmp cx, 0x2c
je 0x465070
lea eax, [ebp - 0x14]
push eax
call fcn.0040507c
mov edi, dword [ebp - 0x14]
cmp word [edi], 0x2d
pop ecx
je 0x465041
cmp edi, dword [ebp + 0x78]
je 0x465098
cmp word [edi], bx
mov si, word [edi - 2]
je 0x465082
mov word [edi - 2], bx
mov ecx, dword [ebp + 0x54]
push 1
push ebx
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x78]
call fcn.0044c0fc
mov word [edi - 2], si
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x43], bl
mov dword [ebp + 0x30], ebx
mov dword [ebp - 0x14], ebx
call fcn.0043d47d
lea ecx, [ebp - 0x64]
call fcn.0043d47d
jmp 0x4652a5
push 5
lea eax, [ebp + 0x78]
push eax
push str._find
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x4650e5
mov byte [ebp + 0x6e], 1
jmp 0x4652a5
mov esi, dword [ebp + 0x78]
push 2
push esi
push 0x4adc9c
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x465194
mov ax, word [esi + 4]
cmp ax, 0x3d
je 0x465114
cmp ax, 0x3a
jne 0x465194
lea eax, [ebp + 0x78]
add esi, 6
push eax
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x58], esi
call fcn.0040507c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.0043a0e5
mov eax, dword [ebp + 0x58]
add esp, 0xc
cmp word [eax], 0x40
jne 0x4652a5
add dword [ebp + 0x58], 2
mov esi, dword [ebp + 0x58]
lea eax, [ebp + 0x58]
push eax
call fcn.004050f3
mov eax, dword [ebp + 0x58]
mov dx, word [eax]
lea eax, [ebp + 0x58]
push eax
call fcn.004379a9
cmp dx, bx
pop ecx
pop ecx
je 0x465170
mov eax, dword [ebp + 0x58]
mov word [eax - 2], bx
mov ecx, dword [ebp + 0x54]
push 1
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0044c0fc
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 8
mov dword [ebp - 0x18], eax
jmp 0x4652a5
push 6
lea eax, [ebp + 0x78]
push eax
push str._nolen
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x4651b4
mov byte [ebp + 0x23], 1
jmp 0x4652a5
push 4
lea eax, [ebp + 0x78]
push eax
push str._bin
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x4651d4
mov byte [ebp + 0x6f], 1
jmp 0x4652a5
push 5
lea eax, [ebp + 0x78]
push eax
push str._free
call fcn.0043f236
add esp, 0xc
test al, al
jne 0x46530d
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4adc90
call fcn.0043f236
add esp, 0xc
test al, al
je 0x4652b2
mov esi, dword [ebp + 0x78]
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x64], esi
call fcn.0040507c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
cmp word [esi], 0x3f
pop ecx
mov dword [ebp + 0x1c], ebx
jne 0x46525c
inc esi
inc esi
lea eax, [ebp + 0x3c]
push eax
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x3c], esi
call fcn.004050f3
mov eax, dword [ebp + 0x3c]
cmp word [eax], bx
pop ecx
je 0x465249
mov word [eax], bx
mov ecx, dword [ebp + 0x54]
push ebx
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
call fcn.00444018
mov dword [ebp + 0x64], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.0043a0c1
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
pop ecx
pop ecx
mov esi, eax
je 0x46529d
cmp eax, ebx
je 0x46529d
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp + 0x14], ebx
call fcn.00437f27
test eax, eax
pop ecx
pop ecx
je 0x46529d
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp + 0x30], esi
je 0x465299
mov dword [ebp + 0x30], eax
mov byte [ebp + 0x43], 1
lea ecx, [ebp + 0x1c]
call fcn.00437960
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x4650c5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov al, byte [ebp + 0x6f]
mov esi, dword [ebp + 0x54]
neg al
mov dword [ebp + 0x78], edi
mov ecx, esi
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
push eax
push 0x2c
pop edi
push edi
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00433065
push 1
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x78]
mov ecx, esi
call fcn.0044c0fc
cmp dword [ebp + 0x30], ebx
mov eax, dword [ebp - 0x64]
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x34]
jne 0x465353
cmp word [eax], bx
jne 0x465353
mov ebx, 0x80070057
jmp 0x466089
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x78]
push eax
call fcn.0040507c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.0043a0c1
add esp, 0xc
cmp dword [ebp - 0x28], 0xffffffff
je 0x466089
cmp dword [ebp - 0x28], ebx
je 0x466089
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x466089
cmp word [eax], 0x26
jne 0x46535d
mov byte [ebp + 0x6f], 1
push ebx
push edi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004331cb
mov eax, dword [ebp - 0x48]
add esp, 0x10
cmp word [eax], bx
je 0x465303
push ebx
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x78]
push eax
mov ecx, esi
call fcn.0043317e
mov eax, dword [ebp - 0x38]
cmp word [eax], bx
je 0x465303
push ebx
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0x78]
push eax
mov ecx, esi
mov dword [ebp + 0x1c], ebx
call fcn.0043317e
cmp byte [ebp + 0x6e], bl
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0x18], eax
je 0x4653e8
cmp byte [eax], 0x2a
jne 0x4653e8
add eax, 2
mov dword [ebp + 0x18], eax
cmp word [eax], 0x3c
mov byte [ebp + 0x6e], 3
jne 0x4653e8
inc eax
inc eax
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x18]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0043d187
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov dword [ebp + 0x1c], eax
cmp byte [ebp + 0x43], bl
mov dword [ebp - 0x30], 1
je 0x4653fd
cmp dword [ebp + 0x30], ebx
je 0x465c01
cmp byte [ebp + 0x6e], bl
je 0x46540e
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x465c01
lea ecx, [ebp - 0x5c]
call fcn.0043d356
cmp byte [ebp + 0x6f], bl
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x3c], eax
jne 0x4654fa
lea eax, [ebp + 0x3c]
push 1
push eax
call fcn.00443da3
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4654fa
cmp word [eax], 0x23
jne 0x4654fa
mov di, word [eax]
mov esi, dword [0x4bde84]
mov word [eax], bx
mov eax, dword [ebp + 0x3c]
mov cx, word [eax]
cmp cx, 0x2e
mov dword [ebp + 0x28], ebx
jne 0x465479
cmp word [eax + 2], bx
jne 0x465479
mov esi, dword [0x4bde84]
jmp 0x46548d
cmp cx, bx
je 0x46548d
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
mov dword [ebp + 0x28], esi
mov eax, dword [ebp - 0xc]
mov word [eax], di
mov eax, dword [ebp - 0xc]
inc eax
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0x64], 0x20
cmp word [eax], 0x2e
mov dword [ebp + 0x3c], ebx
jne 0x4654bb
mov word [eax], 0x23
add dword [ebp - 0xc], 2
mov dword [ebp + 0x64], 0x40
cmp esi, ebx
je 0x4654ec
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00443cf1
movzx ecx, byte [ebp + 0x64]
mov dword [ebp + 0x64], ecx
lea ecx, [ebp + 0x64]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push dword [ebp + 0x3c]
push esi
call fcn.00413072
add esp, 0x1c
mov byte [ebp + 0x6f], 2
cmp dword [ebp + 0x28], ebx
je 0x4654fa
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, dword [ebp + 0x34]
push eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x34], ebx
call fcn.0041113a
pop ecx
push eax
lea ecx, [ebp + 0x34]
call fcn.0044584c
lea ecx, [ebp + 0x10]
call fcn.00437960
mov eax, dword [ebp - 8]
push eax
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ebx
call fcn.0041113a
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.0044584c
lea ecx, [ebp + 0x10]
call fcn.00437960
mov eax, dword [ebp - 0x48]
mov dword [ebp + 0x78], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.00448773
mov eax, dword [ebp + 0x78]
pop ecx
pop ecx
push 0x23
pop esi
cmp word [eax], si
push 2
pop edi
jne 0x46564a
add dword [ebp + 0x78], edi
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x465597
or dword [ebp + 0x4c], 0xffffffff
add dword [ebp + 0x78], edi
mov dword [ebp + 0x50], 0x7fffffff
jmp 0x4655a6
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00448773
pop ecx
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x46564a
add dword [ebp + 0x78], edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00448773
test eax, eax
pop ecx
pop ecx
jle 0x4655d2
mov eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x46564a
add dword [ebp + 0x78], edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00448773
test eax, eax
pop ecx
pop ecx
jle 0x4655fa
mov eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x46564a
add dword [ebp + 0x78], edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00448773
test eax, eax
pop ecx
pop ecx
jle 0x465622
mov eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x46564a
add dword [ebp + 0x78], edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00448773
test eax, eax
pop ecx
pop ecx
jle 0x46564a
mov eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
lea eax, [ebp + 0x78]
push eax
call fcn.004379a9
mov eax, dword [ebp + 0x34]
cmp word [eax], 0x75
pop ecx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
jne 0x465733
cmp word [eax + 2], 0x64
jne 0x465733
cmp word [eax + 4], 0x3a
jne 0x465733
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp + 0x4c]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0x50]
push 0x22
add eax, 6
pop esi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
cmp word [eax], si
mov dword [ebp + 0x64], eax
mov byte [ebp + 0x6f], 4
jne 0x4656c1
add eax, edi
mov dword [ebp + 0x64], eax
mov edi, eax
push 0x3a
lea eax, [ebp + 0x64]
call fcn.00405093
mov eax, dword [ebp + 0x64]
cmp eax, edi
pop ecx
je 0x4656df
cmp word [eax - 2], si
jne 0x4656df
mov word [eax - 2], bx
cmp word [eax], 0x3a
jne 0x4656ea
mov word [eax], bx
inc eax
inc eax
cmp word [eax], si
mov ecx, eax
jne 0x465703
lea ecx, [eax + 2]
inc eax
inc eax
cmp word [eax], si
jne 0x4656fe
mov word [eax], bx
cmp word [eax], bx
jne 0x4656f4
lea eax, [ebp - 0x9c]
push eax
push ebx
push 0x10000
push ecx
lea eax, [ebp - 0x5c]
push eax
push edi
call fcn.004358b7
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
cdq
mov dword [ebp + 0x44], eax
mov eax, dword [ebp - 0x5c]
add esp, 0x18
add ecx, eax
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x68], ecx
push 0x3c
lea ecx, [ebp + 0x24]
call fcn.0043d49b
lea ecx, [ebp - 0x84]
call fcn.0043d47d
mov al, byte [ebp + 0x6e]
and al, 2
neg al
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp + 0x64], 0x80070057
mov dword [ebp - 0x20], ebx
sbb eax, eax
or dword [ebp + 4], 0xffffffff
or dword [ebp + 8], 0xffffffff
and eax, ecx
xor esi, esi
cmp byte [ebp + 0x6e], bl
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x58], ebx
mov edi, 0x4beb4c
je 0x4658b0
mov eax, dword [ebp - 8]
cmp word [eax], 0x2a
jne 0x465859
add eax, 2
cmp word [eax], 0x26
je 0x4657fd
mov ecx, dword [ebp + 0x54]
test byte [ecx + 9], 0x11
jne 0x4657fd
push ebx
lea ecx, [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x54]
push eax
call fcn.00444018
mov eax, dword [ebp + 0x28]
push eax
mov dword [ebp + 0x58], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
shl esi, 1
cmp esi, ebx
mov dword [ebp + 0x2c], esi
jg 0x4658b0
push str._I64d
push dword [ebp + 0x18]
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp + 0x54]
call fcn.0043f76f
add esp, 0x14
jmp 0x465d01
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.0040ef74
cmp eax, ebx
mov dword [ebp + 0x3c], eax
je 0x465828
mov esi, dword [eax + 0x10]
cmp esi, ebx
mov dword [ebp + 0x2c], esi
jg 0x465831
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x4657df
push esi
lea ecx, [ebp + 0x28]
call fcn.0043d4c2
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x28]
push esi
push dword [ecx + 4]
mov dword [ebp + 0x58], eax
push eax
call fcn.004125af
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x4658b0
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push eax
lea ecx, [ebp - 0x10]
call fcn.0040511c
cmp dword [ebp - 0x10], ebx
je 0x4658b0
push 2
push ebx
push ebx
push dword [ebp - 0x10]
call fcn.00438aec
add esp, 0x10
cmp edx, ebx
jl 0x465896
mov ecx, 0x20000000
jg 0x465891
cmp eax, ecx
jbe 0x465896
mov eax, ecx
mov dword [ebp + 0x60], ebx
push ebx
push ebx
mov esi, eax
push 2
cdq
push edx
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x2c], esi
call fcn.0043790a
mov dword [ebp + 0x58], eax
cmp byte [ebp + 0x6f], bl
je 0x465ae8
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ecx, [ebp + 0x38]
call fcn.0043d47d
cmp byte [ebp + 0x6f], 1
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x68], eax
jne 0x465907
mov ecx, dword [ebp + 0x54]
push ebx
lea eax, [ebp + 0x34]
push eax
call fcn.00402d87
mov ecx, dword [ebp + 0x54]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x34]
call fcn.0040ef74
cmp eax, ebx
je 0x465ad5
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], ebx
cmp byte [ebp + 0x6f], 2
jne 0x46591d
mov eax, dword [ebp - 0x58]
cdq
mov dword [ebp + 0x44], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x68], eax
mov eax, dword [ebp - 4]
cdq
cmp edx, dword [ebp + 0x48]
jl 0x465933
jg 0x46592d
cmp eax, dword [ebp + 0x44]
jbe 0x465933
mov eax, dword [ebp + 0x44]
mov edx, dword [ebp + 0x48]
add dword [ebp + 0x68], eax
mov esi, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x48]
sub esi, eax
mov eax, dword [ebp + 0x4c]
sbb ecx, edx
cmp dword [ebp + 0x50], ecx
cdq
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
jl 0x46595e
jg 0x465956
cmp dword [ebp + 0x4c], esi
jbe 0x46595e
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], ecx
jmp 0x465961
mov esi, dword [ebp + 0x5c]
cmp byte [ebp + 0x6e], bl
je 0x4659b1
push dword [ebp + 0x1c]
push dword [ebp + 0x68]
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push dword [ebp]
push dword [ebp - 4]
push ebx
push dword [ebp + 0x2c]
push dword [ebp + 0x58]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push ebx
push dword [ebp + 0x10]
call fcn.004437d1
add esp, 0x3c
lea ecx, [ebp + 0x38]
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
call fcn.00437960
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x465ce6
cmp byte [ebp + 0x6d], bl
je 0x4659e0
push ebx
push ebx
push dword [ebp + 0x5c]
push dword [ebp + 0x68]
push dword [ebp + 0x18]
push dword [ebp + 0x54]
call fcn.00448a7d
add esp, 0x18
lea ecx, [ebp + 0x38]
call fcn.00437960
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x466056
cmp dword [ebp + 0xc], ebx
lea esi, [esi + esi*4 + 0xa]
jle 0x465a06
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.0048f800
mov ecx, dword [ebp - 0x18]
inc eax
add ecx, 2
imul eax, ecx
add esi, eax
add esi, 6
push esi
lea ecx, [ebp + 0x38]
call fcn.0043d4c2
add dword [ebp + 0x5c], 0xffffffff
mov eax, dword [ebp + 0x38]
mov esi, eax
adc dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
js 0x465acd
jg 0x465a36
cmp dword [ebp + 0x5c], ebx
jb 0x465acd
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
cmp dword [ebp + 0xc], ebx
jle 0x465a8f
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
push dword [ebp + 0x48]
push dword [ebp + 0x44]
call fcn.00491e30
or eax, edx
jne 0x465a8f
cmp dword [ebp + 0x48], ebx
jl 0x465a70
jg 0x465a62
cmp dword [ebp + 0x44], ebx
jbe 0x465a70
mov word [esi], 0xd
inc esi
inc esi
mov word [esi], 0xa
inc esi
inc esi
cmp dword [ebp - 0x18], ebx
je 0x465a8f
push dword [ebp - 0x34]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
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 + 0x44], 1
lea eax, [esi - 2]
adc dword [ebp + 0x48], ebx
add dword [ebp + 0x5c], 0xffffffff
adc dword [ebp + 0x60], 0xffffffff
cmp dword [ebp + 0x60], ebx
jg 0x465a3c
jl 0x465acd
cmp dword [ebp + 0x5c], ebx
jae 0x465a3c
mov word [eax], bx
mov edi, 0x4beb4c
push dword [ebp + 0x38]
mov ecx, dword [ebp + 0x54]
push dword [ebp + 0x18]
call fcn.0043cd78
jmp 0x4659cc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.004435f5
cmp al, bl
pop ecx
pop ecx
mov byte [ebp + 0x2c], al
jge 0x465b13
cmp byte [ebp + 0x6e], bl
jne 0x465ce6
mov dword [ebp - 0x30], 0x80070057
jmp 0x465bce
or dword [ebp + 0x5c], 0xffffffff
or dword [ebp + 0x60], 0xffffffff
or dword [ebp + 0x3c], 0xffffffff
cmp byte [ebp + 0x43], bl
mov edi, dword [ebp + 0x30]
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x68], edi
je 0x465b3f
push ebx
push ebx
push ebx
push edi
call fcn.00438aec
add esp, 0x10
cmp edi, ebx
jne 0x465b96
push ebx
push ebx
push 3
push ebx
push 3
mov edi, 0x80000000
push edi
push dword [ebp + 0x34]
lea ecx, [ebp + 0x38]
call fcn.0040511c
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x68], eax
je 0x465b96
cmp eax, ebx
je 0x465b96
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x54]
call fcn.004458b6
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push edi
push dword [ebp + 0x34]
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x38], ebx
call fcn.0040511c
mov eax, dword [ebp + 0x38]
cmp eax, ebx
je 0x465b96
mov dword [ebp + 0x68], eax
cmp byte [ebp + 0x2c], 0x11
jne 0x465c19
lea eax, [ebp + 0x5c]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 0x68]
call fcn.0044b0d0
add esp, 0xc
cmp edx, ebx
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], edx
jg 0x465c47
jl 0x465bc6
cmp eax, ebx
jae 0x465c47
lea ecx, [ebp + 0x38]
call fcn.00402b5a
lea ecx, [ebp - 0x10]
call fcn.00402b5a
lea ecx, [ebp + 0x28]
call fcn.00437960
lea ecx, [ebp - 0x20]
call fcn.004378de
lea ecx, [ebp - 0x84]
call fcn.00437960
lea ecx, [ebp + 0x24]
call fcn.00437960
lea ecx, [ebp - 0x5c]
call fcn.00437960
mov ecx, dword [ebp + 0x54]
push str.0xFFFFFFFF
push dword [ebp + 0x18]
call fcn.0043cd78
mov ebx, dword [ebp - 0x30]
jmp 0x466089
cmp dword [ebp + 0x68], ebx
je 0x465c47
cmp byte [ebp + 0x2c], bl
jne 0x465c34
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.00438aec
add esp, 0x10
jmp 0x465c41
push dword [ebp + 0x2c]
push dword [ebp + 0x68]
call fcn.0043be15
pop ecx
pop ecx
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
cmp byte [ebp + 0x6e], bl
je 0x465d09
or dword [ebp + 4], 0xffffffff
or dword [ebp + 8], 0xffffffff
cmp dword [ebp - 0x24], ebx
jl 0x465c6c
jg 0x465c64
cmp dword [ebp - 0x28], ebx
jbe 0x465c6c
mov eax, dword [ebp - 0x28]
add dword [ebp + 0x58], eax
sub esi, eax
cmp dword [ebp - 0x4c], ebx
jl 0x465c8a
jg 0x465c78
cmp dword [ebp - 0x50], ebx
jbe 0x465c8a
mov eax, esi
cdq
cmp edx, dword [ebp - 0x4c]
jl 0x465c8a
jg 0x465c87
cmp eax, dword [ebp - 0x50]
jbe 0x465c8a
mov esi, dword [ebp - 0x50]
cmp dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], ebx
je 0x465cde
cmp dword [ebp + 0x58], ebx
je 0x465cde
cmp esi, ebx
jle 0x465cde
cmp dword [ebp - 0x68], ebx
jl 0x465cde
jg 0x465ca7
cmp dword [ebp - 0x6c], ebx
jb 0x465cde
push dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push dword [ebp + 0x50]
push dword [ebp + 0x4c]
push dword [ebp]
push dword [ebp - 4]
push dword [ebp + 0x2c]
push esi
push dword [ebp + 0x58]
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0x68]
push dword [ebp + 0x10]
call fcn.004437d1
add esp, 0x3c
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
lea ecx, [ebp + 0x38]
call fcn.00402b5a
mov eax, dword [ebp - 0x84]
cmp word [eax], bx
je 0x4657df
mov ecx, dword [ebp + 0x54]
push eax
push dword [ebp + 0x18]
call fcn.0043cd78
mov ebx, dword [ebp + 0x64]
jmp 0x466056
cmp dword [ebp + 0x68], ebx
mov dword [ebp + 0x64], ebx
je 0x465fdf
cmp dword [ebp], ebx
jl 0x465fdf
mov edx, dword [ebp - 4]
jg 0x465d2b
cmp edx, ebx
jb 0x465fdf
mov ecx, dword [ebp + 0x60]
cmp dword [ebp], ecx
jg 0x465fe2
jl 0x465d42
cmp edx, dword [ebp + 0x5c]
ja 0x465fe2
cmp byte [ebp + 0x2c], bl
jne 0x465d5c
cmp ecx, ebx
jl 0x466021
jg 0x465d70
cmp dword [ebp + 0x5c], ebx
jbe 0x466021
jmp 0x465d70
cmp ecx, ebx
jg 0x465d7b
jl 0x465d67
cmp dword [ebp + 0x5c], ebx
jae 0x465d70
or dword [ebp + 0x5c], 0xffffffff
mov ecx, 0x7fffffff
cmp ecx, ebx
jl 0x465da1
jg 0x465d7b
cmp dword [ebp + 0x5c], ebx
jbe 0x465da1
mov eax, dword [ebp + 0x5c]
sub eax, edx
sbb ecx, dword [ebp]
cmp ecx, dword [ebp + 0x50]
jg 0x465da1
jl 0x465d91
mov ecx, dword [ebp + 0x4c]
cmp eax, ecx
jae 0x465da4
mov eax, dword [ebp + 0x5c]
sub eax, edx
cdq
mov ecx, eax
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x50], edx
jmp 0x465da4
mov ecx, dword [ebp + 0x4c]
cmp dword [ebp + 0xc], ebx
mov esi, ecx
lea edi, [ecx + ecx*4 + 0xa]
jle 0x465dc1
mov eax, ecx
cdq
idiv dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
add edx, 2
inc eax
imul eax, edx
add edi, eax
cmp byte [ebp + 0x6d], bl
je 0x465dd0
lea eax, [ecx + 1]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
lea eax, [edi + 4]
push eax
lea ecx, [ebp + 0x24]
call fcn.0043d4c2
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x465deb
xor ebx, ebx
inc ebx
jmp 0x46604e
cmp byte [ebp + 0x6d], bl
mov dword [ebp + 0x78], eax
mov word [eax], bx
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x30], eax
je 0x465e06
mov byte [esi + eax], bl
mov eax, dword [ebp + 0x78]
mov word [eax + edi*2], bx
mov esi, dword [ebp - 4]
add esi, dword [ebp + 0x44]
mov edi, dword [ebp]
adc edi, dword [ebp + 0x48]
cmp byte [ebp + 0x2c], bl
mov dword [ebp - 4], esi
mov dword [ebp], edi
mov dword [ebp + 0x14], ebx
je 0x465e30
push ebx
push 0x200
push edi
push esi
call fcn.00491e30
mov dword [ebp + 0x14], eax
movzx eax, word [ebp + 0x14]
cdq
sub esi, eax
push ebx
sbb edi, edx
push edi
push esi
push dword [ebp + 0x68]
call fcn.00438aec
add esp, 0x10
push 0x100800
lea ecx, [ebp - 0x2c]
call fcn.0043d373
cmp dword [ebp + 0x50], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x1c], ebx
jl 0x465f9c
jle 0x465f93
movzx ecx, word [ebp + 0x14]
mov esi, 0x100000
sub esi, ecx
mov eax, esi
cdq
cmp edx, dword [ebp + 0x50]
jl 0x465e8c
jg 0x465e89
cmp eax, dword [ebp + 0x4c]
jbe 0x465e8c
mov esi, dword [ebp + 0x4c]
cmp byte [ebp + 0x2c], bl
lea eax, [ecx + esi]
je 0x465ea4
add eax, 0x1ff
cdq
mov edi, 0x200
idiv edi
shl eax, 9
mov edx, dword [ebp - 0x2c]
push ebx
lea edi, [ecx + edx]
lea ecx, [ebp + 0x10]
push ecx
push eax
push edx
push dword [ebp + 0x68]
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp byte [ebp + 0x6d], bl
mov dword [ebp + 0x14], ebx
je 0x465ee3
push esi
push edi
push dword [ebp + 0x30]
call fcn.004125f9
add dword [ebp + 0x30], esi
mov eax, esi
cdq
add esp, 0xc
sub dword [ebp + 0x4c], eax
sbb dword [ebp + 0x50], edx
jmp 0x465f88
dec esi
js 0x465f88
inc esi
mov dword [ebp - 0x30], esi
cmp dword [ebp + 0xc], ebx
jle 0x465f53
mov eax, dword [ebp + 0xc]
cdq
push edx
push eax
push dword [ebp + 8]
push dword [ebp + 4]
call fcn.00491e30
or eax, edx
jne 0x465f53
cmp dword [ebp + 8], ebx
jl 0x465f2c
jg 0x465f14
cmp dword [ebp + 4], ebx
jbe 0x465f2c
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 0x465f53
push dword [ebp - 0x34]
push dword [ebp + 0x1c]
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 + 0x1c]
add dword [ebp + 4], 1
adc dword [ebp + 8], ebx
add dword [ebp + 0x4c], 0xffffffff
adc dword [ebp + 0x50], 0xffffffff
inc edi
dec dword [ebp - 0x30]
jne 0x465eee
cmp dword [ebp + 0x50], ebx
jg 0x465e6f
jl 0x465f9c
cmp dword [ebp + 0x4c], ebx
ja 0x465e6f
mov ecx, dword [ebp + 0x24]
cmp dword [ebp + 0x78], ecx
je 0x465fba
cmp byte [ebp + 0x6d], bl
je 0x465fb0
mov eax, dword [ebp + 0x30]
mov byte [eax], bl
jmp 0x465fba
sub dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
mov word [eax], bx
cmp byte [ebp + 0x6d], bl
je 0x465fd5
mov eax, dword [ebp + 0x30]
push 4
push ebx
push dword [ebp + 0x30]
sub eax, ecx
mov dword [ebp + 0x3c], eax
call fcn.0048f7a0
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00437960
jmp 0x46601c
mov ecx, dword [ebp + 0x60]
cmp byte [ebp + 0x23], bl
jne 0x466015
cmp ecx, ebx
jg 0x466006
jl 0x465ff2
cmp dword [ebp + 0x5c], ebx
jae 0x466006
cmp byte [ebp + 0x6d], bl
jne 0x466015
push str.0xFFFFFFFF
lea ecx, [ebp + 0x24]
call fcn.0044584c
jmp 0x466015
push ecx
push dword [ebp + 0x5c]
push dword [ebp + 0x24]
call fcn.004842fa
add esp, 0xc
mov dword [ebp + 0x64], 1
cmp dword [ebp + 0x3c], ebx
jge 0x466031
push dword [ebp + 0x24]
mov ecx, dword [ebp + 0x54]
push dword [ebp + 0x18]
call fcn.0043cd78
jmp 0x46604b
push 1
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x54]
call fcn.00448a7d
add esp, 0x18
mov ebx, dword [ebp + 0x64]
lea ecx, [ebp + 0x38]
call fcn.00402b5a
lea ecx, [ebp - 0x10]
call fcn.00402b5a
lea ecx, [ebp + 0x28]
call fcn.00437960
lea ecx, [ebp - 0x20]
call fcn.004378de
lea ecx, [ebp - 0x84]
call fcn.00437960
lea ecx, [ebp + 0x24]
call fcn.00437960
lea ecx, [ebp - 0x5c]
call fcn.00437960
lea ecx, [ebp - 0x64]
call fcn.00437960
lea ecx, [ebp - 0x44]
call fcn.00437960
lea ecx, [ebp - 0x14]
call fcn.00402b5a
lea ecx, [ebp - 0x60]
call fcn.00437960
lea ecx, [ebp - 8]
call fcn.00437960
lea ecx, [ebp - 0x38]
call fcn.00437960
lea ecx, [ebp - 0x48]
call fcn.00437960
lea ecx, [ebp + 0x34]
call fcn.00437960
lea ecx, [ebp - 0x88]
call fcn.00437960
lea ecx, [ebp - 0x70]
call fcn.00437960
lea ecx, [ebp - 0x8c]
call fcn.00437960
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x70
leave
ret 8