Function at 0x464f0a
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x104
push ebx
push esi
push edi
mov dword [ebp + 0x4c], ecx
push 0x10
lea ecx, [ebp - 0x80]
call fcn.0043d3c3
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp - 0x68]
xor ebx, ebx
push eax
mov dword [ebp - 0x68], ebx
call fcn.00443d9f
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 + 0x6f], bl
jne 0x464f53
add dword [ebp + 0x78], 2
mov byte [ebp + 0x6d], 1
lea eax, [ebp + 0x78]
push eax
call fcn.00407fcf
pop ecx
push 1
lea ecx, [ebp - 0x84]
call fcn.0043d3c3
lea ecx, [ebp + 0x34]
call fcn.0043d3a5
push 1
lea ecx, [ebp - 0x34]
call fcn.0043d3c3
push 1
lea ecx, [ebp - 0x40]
call fcn.0043d3c3
lea ecx, [ebp - 8]
call fcn.0043d3a5
mov edi, dword [ebp + 0x78]
lea ecx, [ebp - 0x64]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp - 0x14], edi
call fcn.0043d3a5
cmp word [edi], 0x2d
jne 0x46500e
xor ecx, ecx
mov cx, word [edi + 2]
cmp cx, bx
je 0x464fe6
mov eax, ecx
call fcn.004820ac
test al, al
jne 0x464fe6
cmp cx, 0x2c
je 0x464fe6
lea eax, [ebp - 0x14]
push eax
call fcn.00407fcf
mov edi, dword [ebp - 0x14]
cmp word [edi], 0x2d
pop ecx
je 0x464fb7
cmp edi, dword [ebp + 0x78]
je 0x46500e
cmp word [edi], bx
mov si, word [edi - 2]
je 0x464ff8
mov word [edi - 2], bx
mov ecx, dword [ebp + 0x4c]
push 1
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x78]
call fcn.0044c04c
mov word [edi - 2], si
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x38]
mov dword [ebp + 0x78], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp + 0x6e], bl
mov byte [ebp + 0x43], bl
mov dword [ebp + 0x30], ebx
mov dword [ebp - 0x14], ebx
call fcn.0043d3a5
lea ecx, [ebp - 0x58]
call fcn.0043d3a5
jmp 0x46521b
push 5
lea eax, [ebp + 0x78]
push eax
push str._find
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x46505b
mov byte [ebp + 0x6f], 1
jmp 0x46521b
mov esi, dword [ebp + 0x78]
push 2
push esi
push 0x4adc4c
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x46510a
mov ax, word [esi + 4]
cmp ax, 0x3d
je 0x46508a
cmp ax, 0x3a
jne 0x46510a
lea eax, [ebp + 0x78]
add esi, 6
push eax
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x50], esi
call fcn.00407fcf
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x50]
push eax
call fcn.00439ff7
mov eax, dword [ebp + 0x50]
add esp, 0xc
cmp word [eax], 0x40
jne 0x46521b
add dword [ebp + 0x50], 2
mov esi, dword [ebp + 0x50]
lea eax, [ebp + 0x50]
push eax
call fcn.00405061
mov eax, dword [ebp + 0x50]
mov dx, word [eax]
lea eax, [ebp + 0x50]
push eax
call fcn.004378b6
cmp dx, bx
pop ecx
pop ecx
je 0x4650e6
mov eax, dword [ebp + 0x50]
mov word [eax - 2], bx
mov ecx, dword [ebp + 0x4c]
push 1
push ebx
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.0044c04c
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 8
mov dword [ebp - 0x20], eax
jmp 0x46521b
push 6
lea eax, [ebp + 0x78]
push eax
push str._nolen
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x46512a
mov byte [ebp + 0x23], 1
jmp 0x46521b
push 4
lea eax, [ebp + 0x78]
push eax
push str._bin
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x46514a
mov byte [ebp + 0x6e], 1
jmp 0x46521b
push 5
lea eax, [ebp + 0x78]
push eax
push str._free
call fcn.0043f15e
add esp, 0xc
test al, al
jne 0x465283
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4adc40
call fcn.0043f15e
add esp, 0xc
test al, al
je 0x465228
mov esi, dword [ebp + 0x78]
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x5c], esi
call fcn.00407fcf
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp word [esi], 0x3f
pop ecx
mov dword [ebp + 0x1c], ebx
jne 0x4651d2
inc esi
inc esi
lea eax, [ebp + 0x3c]
push eax
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x3c], esi
call fcn.00405061
mov eax, dword [ebp + 0x3c]
cmp word [eax], bx
pop ecx
je 0x4651bf
mov word [eax], bx
mov ecx, dword [ebp + 0x4c]
push ebx
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
call fcn.00443f40
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00439fd3
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
pop ecx
pop ecx
mov esi, eax
je 0x465213
cmp eax, ebx
je 0x465213
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp + 0x14], ebx
call fcn.00437e39
test eax, eax
pop ecx
pop ecx
je 0x465213
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp + 0x30], esi
je 0x46520f
mov dword [ebp + 0x30], eax
mov byte [ebp + 0x43], 1
lea ecx, [ebp + 0x1c]
call fcn.00437884
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x46503b
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov al, byte [ebp + 0x6e]
mov esi, dword [ebp + 0x4c]
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.00432fb5
push 1
push ebx
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x78]
mov ecx, esi
call fcn.0044c04c
cmp dword [ebp + 0x30], ebx
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x34]
jne 0x4652c9
cmp word [eax], bx
jne 0x4652c9
mov ebx, 0x80070057
jmp 0x465fe2
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00407fcf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00439fd3
add esp, 0xc
cmp dword [ebp - 0x28], 0xffffffff
je 0x465fe2
cmp dword [ebp - 0x28], ebx
je 0x465fe2
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x465fe2
cmp word [eax], 0x26
jne 0x4652d3
mov byte [ebp + 0x6e], 1
push ebx
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043311b
mov eax, dword [ebp - 0x34]
add esp, 0x10
cmp word [eax], bx
je 0x465279
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
mov ecx, esi
call fcn.004330ce
mov eax, dword [ebp - 0x40]
cmp word [eax], bx
je 0x465279
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.004330ce
cmp byte [ebp + 0x6f], bl
mov eax, dword [ebp - 0x40]
mov dword [ebp + 0x18], eax
je 0x46535e
cmp byte [eax], 0x2a
jne 0x46535e
add eax, 2
mov dword [ebp + 0x18], eax
cmp word [eax], 0x3c
mov byte [ebp + 0x6f], 3
jne 0x46535e
inc eax
inc eax
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x18]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.0043d0af
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov dword [ebp + 0x1c], eax
cmp byte [ebp + 0x43], bl
mov dword [ebp - 0x30], 1
je 0x465373
cmp dword [ebp + 0x30], ebx
je 0x465b6a
cmp byte [ebp + 0x6f], bl
je 0x465384
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x465b6a
lea ecx, [ebp - 0x54]
call fcn.0043d27e
cmp byte [ebp + 0x6e], bl
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x3c], eax
jne 0x465470
lea eax, [ebp + 0x3c]
push 1
push eax
call fcn.00443ccb
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x465470
cmp word [eax], 0x23
jne 0x465470
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 + 0x24], ebx
jne 0x4653ef
cmp word [eax + 2], bx
jne 0x4653ef
mov esi, dword [0x4bde84]
jmp 0x465403
cmp cx, bx
je 0x465403
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
mov dword [ebp + 0x24], 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 + 0x5c], 0x20
cmp word [eax], 0x2e
mov dword [ebp + 0x3c], ebx
jne 0x465431
mov word [eax], 0x23
add dword [ebp - 0xc], 2
mov dword [ebp + 0x5c], 0x40
cmp esi, ebx
je 0x465462
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00443c19
movzx ecx, byte [ebp + 0x5c]
mov dword [ebp + 0x5c], ecx
lea ecx, [ebp + 0x5c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
push dword [ebp + 0x3c]
push esi
call fcn.00412ff6
add esp, 0x1c
mov byte [ebp + 0x6e], 2
cmp dword [ebp + 0x24], ebx
je 0x465470
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, dword [ebp + 0x34]
push eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x34], ebx
call fcn.004110a0
pop ecx
push eax
lea ecx, [ebp + 0x34]
call fcn.004457ae
lea ecx, [ebp + 8]
call fcn.00437884
mov eax, dword [ebp - 8]
push eax
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call fcn.004110a0
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.004457ae
lea ecx, [ebp + 8]
call fcn.00437884
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x78], eax
lea eax, [ebp + 0xc]
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 - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.004486b7
mov eax, dword [ebp + 0x78]
pop ecx
pop ecx
push 0x23
pop esi
cmp word [eax], si
push 2
pop edi
jne 0x4655c0
add dword [ebp + 0x78], edi
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
jne 0x46550d
or dword [ebp + 0x44], 0xffffffff
add dword [ebp + 0x78], edi
mov dword [ebp + 0x48], 0x7fffffff
jmp 0x46551c
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004486b7
pop ecx
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x4655c0
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x465548
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 0x4655c0
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x465570
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 0x4655c0
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x465598
mov eax, dword [ebp + 0x60]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x78]
cmp word [eax], si
jne 0x4655c0
add dword [ebp + 0x78], edi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4655c0
mov eax, dword [ebp + 0x60]
cdq
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
lea eax, [ebp + 0x78]
push eax
call fcn.004378b6
mov eax, dword [ebp + 0x34]
cmp word [eax], 0x75
pop ecx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
jne 0x4656a9
cmp word [eax + 2], 0x64
jne 0x4656a9
cmp word [eax + 4], 0x3a
jne 0x4656a9
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp + 0x44]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp + 0x48]
push 0x22
add eax, 6
pop esi
mov dword [ebp - 0x88], ecx
cmp word [eax], si
mov dword [ebp + 0x5c], eax
mov byte [ebp + 0x6e], 4
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
jne 0x465637
add eax, edi
mov dword [ebp + 0x5c], eax
mov edi, eax
push 0x3a
lea eax, [ebp + 0x5c]
call fcn.0043cf2c
mov eax, dword [ebp + 0x5c]
cmp eax, edi
pop ecx
je 0x465655
cmp word [eax - 2], si
jne 0x465655
mov word [eax - 2], bx
cmp word [eax], 0x3a
jne 0x465660
mov word [eax], bx
inc eax
inc eax
cmp word [eax], si
mov ecx, eax
jne 0x465679
lea ecx, [eax + 2]
inc eax
inc eax
cmp word [eax], si
jne 0x465674
mov word [eax], bx
cmp word [eax], bx
jne 0x46566a
lea eax, [ebp - 0x94]
push eax
push ebx
push 0x10000
push ecx
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.00435807
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
cdq
mov dword [ebp + 0x60], eax
mov eax, dword [ebp - 0x54]
add esp, 0x18
add ecx, eax
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x68], ecx
push 0x3c
lea ecx, [ebp + 0x28]
call fcn.0043d3c3
lea ecx, [ebp - 0x7c]
call fcn.0043d3a5
mov al, byte [ebp + 0x6f]
and al, 2
neg al
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp + 0x5c], 0x80070057
mov dword [ebp - 0x1c], ebx
sbb eax, eax
or dword [ebp], 0xffffffff
or dword [ebp + 4], 0xffffffff
and eax, ecx
xor esi, esi
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x50], ebx
mov edi, 0x4beb4c
je 0x465820
mov eax, dword [ebp - 8]
cmp word [eax], 0x2a
jne 0x4657c9
add eax, 2
cmp word [eax], 0x26
je 0x46576d
mov ecx, dword [ebp + 0x4c]
test byte [ecx + 9], 0x11
jne 0x46576d
push ebx
lea ecx, [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x4c]
push eax
call fcn.00443f40
mov eax, dword [ebp + 0x24]
push eax
mov dword [ebp + 0x50], eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
shl esi, 1
cmp esi, ebx
mov dword [ebp + 0x2c], esi
jg 0x465820
push str._I64d
push dword [ebp + 0x18]
push dword [ebp + 4]
push dword [ebp]
push dword [ebp + 0x4c]
call fcn.0043f697
add esp, 0x14
jmp 0x465c67
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x4c]
push ebx
push 0xffffffffffffffff
add eax, 2
push ebx
push eax
call fcn.0040eec0
cmp eax, ebx
mov dword [ebp + 0x3c], eax
je 0x465798
mov esi, dword [eax + 0x10]
cmp esi, ebx
mov dword [ebp + 0x2c], esi
jg 0x4657a1
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x46574f
push esi
lea ecx, [ebp + 0x24]
call fcn.0043d3ea
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x24]
push esi
push dword [ecx + 4]
mov dword [ebp + 0x50], eax
push eax
call fcn.00412515
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x465820
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push eax
lea ecx, [ebp - 0x10]
call fcn.004050ca
cmp dword [ebp - 0x10], ebx
je 0x465820
push 2
push ebx
push ebx
push dword [ebp - 0x10]
call fcn.004389fe
add esp, 0x10
cmp edx, ebx
jl 0x465806
mov ecx, 0x20000000
jg 0x465801
cmp eax, ecx
jbe 0x465806
mov eax, ecx
mov dword [ebp + 0x58], ebx
push ebx
push ebx
mov esi, eax
push 2
cdq
push edx
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0x2c], esi
call fcn.0043782e
mov dword [ebp + 0x50], eax
cmp byte [ebp + 0x6e], bl
je 0x465a58
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ecx, [ebp + 0x38]
call fcn.0043d3a5
cmp byte [ebp + 0x6e], 1
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x68], eax
jne 0x465877
mov ecx, dword [ebp + 0x4c]
push ebx
lea eax, [ebp + 0x34]
push eax
call fcn.00402db0
mov ecx, dword [ebp + 0x4c]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x34]
call fcn.0040eec0
cmp eax, ebx
je 0x465a45
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], ebx
cmp byte [ebp + 0x6e], 2
jne 0x46588d
mov eax, dword [ebp - 0x50]
cdq
mov dword [ebp + 0x60], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0xc]
cdq
cmp edx, dword [ebp + 0x64]
jl 0x4658a3
jg 0x46589d
cmp eax, dword [ebp + 0x60]
jbe 0x4658a3
mov eax, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
add dword [ebp + 0x68], eax
mov esi, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x64]
sub esi, eax
mov eax, dword [ebp + 0x44]
sbb ecx, edx
cmp dword [ebp + 0x48], ecx
cdq
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], edx
jl 0x4658ce
jg 0x4658c6
cmp dword [ebp + 0x44], esi
jbe 0x4658ce
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x58], ecx
jmp 0x4658d1
mov esi, dword [ebp + 0x54]
cmp byte [ebp + 0x6f], bl
je 0x465921
push dword [ebp + 0x1c]
push dword [ebp + 0x68]
push dword [ebp - 0x70]
push dword [ebp - 0x60]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 0x2c]
push dword [ebp + 0x50]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push ebx
push dword [ebp + 8]
call fcn.004436f9
add esp, 0x3c
lea ecx, [ebp + 0x38]
mov dword [ebp], eax
mov dword [ebp + 4], edx
call fcn.00437884
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x465c4f
cmp byte [ebp + 0x6d], bl
je 0x465950
push ebx
push ebx
push dword [ebp + 0x54]
push dword [ebp + 0x68]
push dword [ebp + 0x18]
push dword [ebp + 0x4c]
call fcn.004489cd
add esp, 0x18
lea ecx, [ebp + 0x38]
call fcn.00437884
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x465fb2
cmp dword [ebp - 4], ebx
lea esi, [esi + esi*4 + 0xa]
jle 0x465976
mov eax, dword [ebp - 4]
cdq
push edx
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x54]
call fcn.0048f770
mov ecx, dword [ebp - 0x20]
inc eax
add ecx, 2
imul eax, ecx
add esi, eax
add esi, 6
push esi
lea ecx, [ebp + 0x38]
call fcn.0043d3ea
add dword [ebp + 0x54], 0xffffffff
mov eax, dword [ebp + 0x38]
mov esi, eax
adc dword [ebp + 0x58], 0xffffffff
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
js 0x465a3d
jg 0x4659a6
cmp dword [ebp + 0x54], ebx
jb 0x465a3d
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
cmp dword [ebp - 4], ebx
jle 0x4659ff
mov eax, dword [ebp - 4]
cdq
push edx
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.00491da0
or eax, edx
jne 0x4659ff
cmp dword [ebp + 0x64], ebx
jl 0x4659e0
jg 0x4659d2
cmp dword [ebp + 0x60], ebx
jbe 0x4659e0
mov word [esi], 0xd
inc esi
inc esi
mov word [esi], 0xa
inc esi
inc esi
cmp dword [ebp - 0x20], ebx
je 0x4659ff
push dword [ebp - 0x3c]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push str._8X_s
push esi
call edi
mov eax, dword [ebp - 0x20]
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 + 0x60], 1
lea eax, [esi - 2]
adc dword [ebp + 0x64], ebx
add dword [ebp + 0x54], 0xffffffff
adc dword [ebp + 0x58], 0xffffffff
cmp dword [ebp + 0x58], ebx
jg 0x4659ac
jl 0x465a3d
cmp dword [ebp + 0x54], ebx
jae 0x4659ac
mov word [eax], bx
mov edi, 0x4beb4c
push dword [ebp + 0x38]
mov ecx, dword [ebp + 0x4c]
push dword [ebp + 0x18]
call fcn.0043cc80
jmp 0x46593c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.0044351d
cmp al, bl
pop ecx
pop ecx
mov byte [ebp + 0x2c], al
jge 0x465a83
cmp byte [ebp + 0x6f], bl
jne 0x465c4f
mov dword [ebp - 0x30], 0x80070057
jmp 0x465b3a
or dword [ebp + 0x54], 0xffffffff
or dword [ebp + 0x58], 0xffffffff
or dword [ebp + 0x3c], 0xffffffff
cmp byte [ebp + 0x43], bl
mov edi, dword [ebp + 0x30]
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x68], edi
je 0x465aaf
push ebx
push ebx
push ebx
push edi
call fcn.004389fe
add esp, 0x10
cmp edi, ebx
jne 0x465b06
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.004050ca
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x68], eax
je 0x465b06
cmp eax, ebx
je 0x465b06
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x4c]
call fcn.00445818
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.004050ca
mov eax, dword [ebp + 0x38]
cmp eax, ebx
je 0x465b06
mov dword [ebp + 0x68], eax
cmp byte [ebp + 0x2c], 0x11
jne 0x465b82
lea eax, [ebp + 0x54]
push eax
push dword [ebp - 0x2c]
push dword [ebp + 0x68]
call fcn.0044b020
add esp, 0xc
cmp edx, ebx
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
jg 0x465bb0
jl 0x465b32
cmp eax, ebx
jae 0x465bb0
lea ecx, [ebp + 0x38]
call fcn.00402b8a
lea ecx, [ebp - 0x10]
call fcn.00402b8a
lea ecx, [ebp + 0x24]
call fcn.00437884
lea ecx, [ebp - 0x1c]
call fcn.0040dcb7
lea ecx, [ebp - 0x7c]
call fcn.00437884
lea ecx, [ebp + 0x28]
call fcn.00437884
lea ecx, [ebp - 0x54]
call fcn.00437884
mov ecx, dword [ebp + 0x4c]
push str.0xFFFFFFFF
push dword [ebp + 0x18]
call fcn.0043cc80
mov ebx, dword [ebp - 0x30]
jmp 0x465fe2
cmp dword [ebp + 0x68], ebx
je 0x465bb0
cmp byte [ebp + 0x2c], bl
jne 0x465b9d
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.004389fe
add esp, 0x10
jmp 0x465baa
push dword [ebp + 0x2c]
push dword [ebp + 0x68]
call fcn.0043bd1d
pop ecx
pop ecx
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], edx
cmp byte [ebp + 0x6f], bl
je 0x465c6f
or dword [ebp], 0xffffffff
or dword [ebp + 4], 0xffffffff
cmp dword [ebp - 0x24], ebx
jl 0x465bd5
jg 0x465bcd
cmp dword [ebp - 0x28], ebx
jbe 0x465bd5
mov eax, dword [ebp - 0x28]
add dword [ebp + 0x50], eax
sub esi, eax
cmp dword [ebp - 0x44], ebx
jl 0x465bf3
jg 0x465be1
cmp dword [ebp - 0x48], ebx
jbe 0x465bf3
mov eax, esi
cdq
cmp edx, dword [ebp - 0x44]
jl 0x465bf3
jg 0x465bf0
cmp eax, dword [ebp - 0x48]
jbe 0x465bf3
mov esi, dword [ebp - 0x48]
cmp dword [ebp + 0x68], ebx
mov dword [ebp + 0x5c], ebx
je 0x465c47
cmp dword [ebp + 0x50], ebx
je 0x465c47
cmp esi, ebx
jle 0x465c47
cmp dword [ebp - 0x5c], ebx
jl 0x465c47
jg 0x465c10
cmp dword [ebp - 0x60], ebx
jb 0x465c47
push dword [ebp + 0x1c]
push ebx
push dword [ebp - 0x70]
push dword [ebp - 0x60]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x2c]
push esi
push dword [ebp + 0x50]
push dword [ebp + 0x58]
push dword [ebp + 0x54]
push dword [ebp + 0x68]
push dword [ebp + 8]
call fcn.004436f9
add esp, 0x3c
mov dword [ebp], eax
mov dword [ebp + 4], edx
lea ecx, [ebp + 0x38]
call fcn.00402b8a
mov eax, dword [ebp - 0x7c]
cmp word [eax], bx
je 0x46574f
mov ecx, dword [ebp + 0x4c]
push eax
push dword [ebp + 0x18]
call fcn.0043cc80
mov ebx, dword [ebp + 0x5c]
jmp 0x465fb2
cmp dword [ebp + 0x68], ebx
mov dword [ebp + 0x5c], ebx
je 0x465f3b
cmp dword [ebp + 0x10], ebx
jl 0x465f3b
mov esi, dword [ebp + 0xc]
jg 0x465c91
cmp esi, ebx
jb 0x465f3b
mov ecx, dword [ebp + 0x58]
cmp dword [ebp + 0x10], ecx
jg 0x465f3e
jl 0x465ca8
cmp esi, dword [ebp + 0x54]
ja 0x465f3e
cmp byte [ebp + 0x2c], bl
jne 0x465cc2
cmp ecx, ebx
jl 0x465f7d
jg 0x465cd6
cmp dword [ebp + 0x54], ebx
jbe 0x465f7d
jmp 0x465cd6
cmp ecx, ebx
jg 0x465ce1
jl 0x465ccd
cmp dword [ebp + 0x54], ebx
jae 0x465cd6
or dword [ebp + 0x54], 0xffffffff
mov ecx, 0x7fffffff
cmp ecx, ebx
jl 0x465d01
jg 0x465ce1
cmp dword [ebp + 0x54], ebx
jbe 0x465d01
mov eax, dword [ebp + 0x54]
sub eax, esi
sbb ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x48]
jg 0x465d01
jl 0x465cf5
cmp eax, dword [ebp + 0x44]
jae 0x465d01
mov eax, dword [ebp + 0x54]
sub eax, esi
cdq
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], edx
cmp dword [ebp - 4], ebx
mov ecx, dword [ebp + 0x44]
lea edi, [ecx + ecx*4 + 0xa]
jle 0x465d1f
mov eax, ecx
cdq
idiv dword [ebp - 4]
mov edx, dword [ebp - 0x20]
add edx, 2
inc eax
imul eax, edx
add edi, eax
cmp byte [ebp + 0x6d], bl
je 0x465d2e
lea eax, [ecx + 1]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
lea eax, [edi + 4]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043d3ea
cmp dword [ebp + 0x28], ebx
jne 0x465d47
xor ebx, ebx
inc ebx
jmp 0x465faa
cmp byte [ebp + 0x6d], bl
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x78], eax
mov word [eax], bx
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x30], eax
je 0x465d68
mov ecx, dword [ebp + 0x44]
mov byte [ecx + eax], bl
mov eax, dword [ebp + 0x78]
mov word [eax + edi*2], bx
add esi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x64]
adc dword [ebp + 0x10], eax
cmp byte [ebp + 0x2c], bl
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x14], ebx
je 0x465d8c
push ebx
push 0x200
push edi
push esi
call fcn.00491da0
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.004389fe
add esp, 0x10
push 0x100800
lea ecx, [ebp - 0x2c]
call fcn.0043d29b
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x1c], ebx
jl 0x465ef8
jle 0x465eef
movzx ecx, word [ebp + 0x14]
mov esi, 0x100000
sub esi, ecx
mov eax, esi
cdq
cmp edx, dword [ebp + 0x48]
jl 0x465de8
jg 0x465de5
cmp eax, dword [ebp + 0x44]
jbe 0x465de8
mov esi, dword [ebp + 0x44]
cmp byte [ebp + 0x2c], bl
lea eax, [ecx + esi]
je 0x465e00
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 + 8]
push ecx
push eax
push edx
push dword [ebp + 0x68]
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp byte [ebp + 0x6d], bl
mov dword [ebp + 0x14], ebx
je 0x465e3f
push esi
push edi
push dword [ebp + 0x30]
call fcn.0041255f
add dword [ebp + 0x30], esi
mov eax, esi
cdq
add esp, 0xc
sub dword [ebp + 0x44], eax
sbb dword [ebp + 0x48], edx
jmp 0x465ee4
dec esi
js 0x465ee4
inc esi
mov dword [ebp - 0x30], esi
cmp dword [ebp - 4], ebx
jle 0x465eaf
mov eax, dword [ebp - 4]
cdq
push edx
push eax
push dword [ebp + 4]
push dword [ebp]
call fcn.00491da0
or eax, edx
jne 0x465eaf
cmp dword [ebp + 4], ebx
jl 0x465e88
jg 0x465e70
cmp dword [ebp], ebx
jbe 0x465e88
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 - 0x20]
cmp esi, ebx
je 0x465eaf
push dword [ebp - 0x3c]
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], 1
adc dword [ebp + 4], ebx
add dword [ebp + 0x44], 0xffffffff
adc dword [ebp + 0x48], 0xffffffff
inc edi
dec dword [ebp - 0x30]
jne 0x465e4a
cmp dword [ebp + 0x48], ebx
jg 0x465dcb
jl 0x465ef8
cmp dword [ebp + 0x44], ebx
ja 0x465dcb
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x78], ecx
je 0x465f16
cmp byte [ebp + 0x6d], bl
je 0x465f0c
mov eax, dword [ebp + 0x30]
mov byte [eax], bl
jmp 0x465f16
sub dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x78]
mov word [eax], bx
cmp byte [ebp + 0x6d], bl
je 0x465f31
mov eax, dword [ebp + 0x30]
push 4
push ebx
push dword [ebp + 0x30]
sub eax, ecx
mov dword [ebp + 0x3c], eax
call fcn.0048f710
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00437884
jmp 0x465f78
mov ecx, dword [ebp + 0x58]
cmp byte [ebp + 0x23], bl
jne 0x465f71
cmp ecx, ebx
jg 0x465f62
jl 0x465f4e
cmp dword [ebp + 0x54], ebx
jae 0x465f62
cmp byte [ebp + 0x6d], bl
jne 0x465f71
push str.0xFFFFFFFF
lea ecx, [ebp + 0x28]
call fcn.004457ae
jmp 0x465f71
push ecx
push dword [ebp + 0x54]
push dword [ebp + 0x28]
call fcn.00484286
add esp, 0xc
mov dword [ebp + 0x5c], 1
cmp dword [ebp + 0x3c], ebx
jge 0x465f8d
push dword [ebp + 0x28]
mov ecx, dword [ebp + 0x4c]
push dword [ebp + 0x18]
call fcn.0043cc80
jmp 0x465fa7
push 1
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x28]
push dword [ebp + 0x18]
push dword [ebp + 0x4c]
call fcn.004489cd
add esp, 0x18
mov ebx, dword [ebp + 0x5c]
lea ecx, [ebp + 0x38]
call fcn.00402b8a
lea ecx, [ebp - 0x10]
call fcn.00402b8a
lea ecx, [ebp + 0x24]
call fcn.00437884
lea ecx, [ebp - 0x1c]
call fcn.0040dcb7
lea ecx, [ebp - 0x7c]
call fcn.00437884
lea ecx, [ebp + 0x28]
call fcn.00437884
lea ecx, [ebp - 0x54]
call fcn.00437884
lea ecx, [ebp - 0x58]
call fcn.00437884
lea ecx, [ebp - 0x38]
call fcn.00437884
lea ecx, [ebp - 0x14]
call fcn.00402b8a
lea ecx, [ebp - 0x64]
call fcn.00437884
lea ecx, [ebp - 8]
call fcn.00437884
lea ecx, [ebp - 0x40]
call fcn.00437884
lea ecx, [ebp - 0x34]
call fcn.00437884
lea ecx, [ebp + 0x34]
call fcn.00437884
lea ecx, [ebp - 0x84]
call fcn.00437884
lea ecx, [ebp - 0x68]
call fcn.00437884
lea ecx, [ebp - 0x80]
call fcn.00437884
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x70
leave
ret 8