Function at 0x45cbe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x80
lea eax, [ebp - 0x28]
mov edx, dword [0x4f195c]
xor edx, ebp
push 0x12
push dword [ebp + 8]
push eax
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x10], edx
call fcn.0045de60
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45cc86
mov ecx, dword [ebp + 0x10]
movzx edx, cl
test dl, 1
je 0x45cc75
shr ecx, 0x18
movzx ecx, cl
test ecx, 0x80
je 0x45cc59
lea ecx, [ebp + 0x17]
and ecx, 0xfffffffc
lea edx, [ecx + 4]
test byte [edx - 4], 0x10
je 0x45cc59
add ecx, 7
and ecx, 0xfffffffc
mov edx, dword [ecx]
add ecx, 7
and ecx, 0xfffffffc
cmp byte [edx], 0x38
mov ebx, dword [ecx]
jne 0x45cc59
cmp byte [edx + 2], 0x4e
je 0x45d25d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
movzx eax, si
cmp ecx, dword [0x4f195c]
jne 0x45d32a
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push str.unknown
push edi
push 2
push esi
call fcn.00464d00
add esp, 0x10
mov esi, dword [ebp - 0x28]
xor eax, eax
mov dword [esi + 0x98], eax
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10c], eax
mov ecx, dword [ebp - 0x28]
and byte [ecx + 0x199], 0xf7
mov edx, dword [ebp - 0x28]
movzx ecx, byte [ebp + 0x13]
mov ebx, dword [edx + 0xd0]
mov eax, dword [edx + 0xd4]
mov dword [edx + 0xc8], ebx
mov dword [edx + 0xcc], eax
test ecx, 0x80
je 0x45cd62
lea ecx, [ebp + 0x17]
and ecx, 0xfffffffc
lea eax, [ecx + 4]
mov edx, dword [eax - 4]
test dl, 0x20
je 0x45ccea
mov eax, dword [ebp - 0x28]
or byte [eax + 0x197], 0x40
test dl, 0x10
je 0x45cd62
add ecx, 7
and ecx, 0xfffffffc
mov ebx, dword [ecx]
add ecx, 7
and ecx, 0xfffffffc
cmp byte [ebx], 0x38
mov esi, dword [ecx]
je 0x45ddcb
cmp byte [ebx], 0xb
je 0x45db65
cmp byte [ebx], 0x38
je 0x45da52
cmp byte [ebx], 0x38
je 0x45d963
cmp byte [ebx], 0x38
je 0x45d84c
cmp byte [ebx], 0x38
je 0x45d72a
cmp byte [ebx], 0x38
je 0x45d63b
cmp byte [ebx], 0x38
je 0x45d54f
cmp byte [ebx], 1
je 0x45cd62
push 0x28f
push 0x4c7d40
push 2
push 8
call fcn.00464d00
add esp, 0x10
mov edx, dword [ebp - 0x28]
test byte [edx + 0x18d], 0x20
jne 0x45cdc7
mov eax, dword [edx + 0x20]
test eax, eax
je 0x45d3a7
test byte [eax + 0x44], 2
je 0x45d378
mov edx, 0x25e
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x45cda9
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x78], edx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
mov eax, 0x25e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp dword [edx + 0x154], 1
jne 0x45ce29
mov eax, dword [edx + 0x20]
test eax, eax
je 0x45d402
test byte [eax + 0x44], 2
je 0x45d3cf
mov edx, 0x24b
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x45ce0b
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x78], edx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
mov eax, 0x24b
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test byte [edx + 0x198], 1
jne 0x45ce3b
test byte [edx + 0x199], 1
je 0x45ce41
xor ecx, ecx
xor ebx, ebx
jmp 0x45ce46
mov ecx, 1
test byte [edx + 0x190], 0x20
je 0x45ce70
test edx, edx
je 0x45ce66
test byte [edx + 0x18c], 0x10
je 0x45ce66
mov ebx, 1
jmp 0x45d1e3
mov ebx, 0xffffffff
jmp 0x45d1e3
test ecx, ecx
je 0x45cf0d
cmp byte [edx + 0x17a], 5
jne 0x45ce96
test byte [edx + 0x191], 2
je 0x45cf0b
mov ebx, dword [edx + 0x54]
sub ebx, dword [edx + 0x4c]
jmp 0x45cf0d
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea ebx, [ebp - 0x60]
push ebx
lea esi, [ebp - 0x64]
push esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea ebx, [ebp - 0x70]
push ebx
lea esi, [ebp - 0x74]
push esi
push 0
push edx
call fcn.00478330
add esp, 0x28
mov edx, dword [ebp - 0x28]
cmp dword [ebp - 0x70], 0
mov ebx, dword [edx + 0xac]
je 0x45cee6
cmp dword [ebp - 0x60], 0
je 0x45cee6
cmp dword [ebp - 0x6c], 0
jne 0x45cee6
mov ecx, dword [edx + 0x60]
sub ecx, dword [edx + 0x4c]
sub ebx, ecx
jmp 0x45cf0d
cmp dword [ebp - 0x5c], 0
je 0x45cf0b
mov ebx, dword [edx + 0x64]
cmp ebx, dword [edx + 0x48]
je 0x45ceff
mov ecx, dword [edx + 0x60]
test ecx, ecx
je 0x45ceff
sub ebx, ecx
jmp 0x45cf0d
cmp ebx, dword [edx + 0x48]
je 0x45cf0b
mov ecx, dword [edx + 0x4c]
cmp ecx, ebx
jb 0x45cefb
xor ebx, ebx
push 1
xor ecx, ecx
lea esi, [ebp - 0x2c]
push esi
push ecx
push dword [edx + 0xfc]
mov dword [ebp - 0x30], ecx
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, 0xffffffff
je 0x45d524
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
push 2
xor edx, edx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov dword [ebp - 0x44], edx
push dword [ecx + 0xfc]
mov dword [ebp - 0x40], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x45d4f3
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], edi
mov edi, eax
mov esi, dword [ebp - 0x28]
add edi, 0xffffffff
mov edx, dword [ebp - 0x88]
mov ecx, edx
adc ecx, 0xffffffff
cmp dword [esi + 0x154], 7
mov dword [ebp - 0x38], esi
je 0x45cf95
mov edi, eax
mov eax, ebx
mov esi, dword [ebp - 0x7c]
je 0x45cf9e
mov ecx, edx
cdq
mov eax, esi
sub eax, ebx
mov ebx, dword [ebp - 0x3c]
sbb ebx, edx
mov dword [ebp - 0x80], eax
sub eax, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x8c], edi
sbb ebx, ecx
mov edi, dword [ebp - 0x78]
jl 0x45cfe3
cmp dword [ebp - 0x38], 0
je 0x45cfd9
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18c], 0x10
je 0x45cfd9
mov ebx, 1
jmp 0x45d1b9
mov ebx, 0xffffffff
jmp 0x45d1b9
mov eax, dword [ebp - 0x38]
test byte [eax + 0x18c], 1
je 0x45d1b7
xor eax, eax
xor ebx, ebx
xor edx, edx
mov byte [ebp - 0x53], bl
mov byte [ebp - 0x51], bl
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], dl
mov edx, 0xa
mov byte [ebp - 0x4b], dl
mov byte [ebp - 0x49], dl
movzx edx, byte [ebx + 0x18e]
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], al
mov byte [ebp - 0x18], al
mov eax, 0x1a
mov byte [ebp - 0x1b], 1
mov byte [ebp - 0x17], 0x1a
mov byte [ebp - 0x16], 1
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x52], 0x1a
mov byte [ebp - 0x50], 0xa
mov byte [ebp - 0x4f], al
mov byte [ebp - 0x4e], 0xd
mov byte [ebp - 0x4d], al
mov byte [ebp - 0x4c], 0xd
mov byte [ebp - 0x4a], 0x1a
mov byte [ebp - 0x48], 0x1a
mov byte [ebp - 0x47], 0xd
test edx, 0x80
je 0x45d081
mov eax, ebx
cmp byte [eax + 0x17a], 4
je 0x45d43c
cmp byte [eax + 0x17a], 3
je 0x45d42a
test dl, 0x40
je 0x45d1b7
mov eax, ebx
movsx ebx, byte [eax + 0x17a]
lea edx, [ebx - 5]
cmp edx, 3
ja 0x45d1b7
cmp byte [eax + 0x17c], 1
je 0x45d472
cmp ebx, 7
je 0x45d0dd
cmp ebx, 6
jne 0x45d0c5
mov dword [ebp - 0x78], 2
lea eax, [ebp - 0x4a]
mov dword [ebp - 0x7c], eax
jmp 0x45d0ea
cmp ebx, 8
jne 0x45d1b7
mov dword [ebp - 0x78], 3
lea eax, [ebp - 0x4d]
mov dword [ebp - 0x7c], eax
jmp 0x45d0ea
mov dword [ebp - 0x78], 2
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x45d1b7
mov eax, dword [ebp - 0x8c]
xor edx, edx
sub eax, dword [ebp - 0x80]
sbb ecx, dword [ebp - 0x34]
sub eax, dword [ebp - 0x78]
sbb ecx, edx
jl 0x45d1b7
push 0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x34]
push ecx
push dword [edx + 0xfc]
mov dword [eax - 4], ecx
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
je 0x45d44e
push 0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x78]
lea edx, [ebp - 0x24]
push edx
push dword [ecx + 0xfc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45d16b
mov dword [ebp - 0x80], 0
xor eax, eax
jmp 0x45d16e
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x78]
jne 0x45d1ad
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea eax, [ebp - 0x24]
push eax
call fcn.004a0900
mov edx, eax
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
test edx, edx
jne 0x45d1b7
cmp dword [ebp - 0x38], 0
je 0x45cfd9
test byte [eax + 0x18c], 0x10
jne 0x45cfcf
jmp 0x45cfd9
mov edx, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x38], edx
jmp 0x45d1b9
xor ebx, ebx
push 0
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x7c], esi
push esi
mov esi, dword [ebp - 0x3c]
push dword [ecx + 0xfc]
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x45d4d5
push edi
call fcn.0045f1b0
add esp, 4
test eax, eax
je 0x45d242
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x45d4b2
test byte [edx + 0x44], 2
je 0x45d484
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x45d229
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
lea edx, [ebp - 0x8c]
push edx
push edi
call fcn.0045f650
add esp, 8
test eax, eax
jne 0x45cc59
mov edi, dword [ebp - 0x8c]
xor ecx, ecx
mov dword [edi + 0x98], ecx
mov edx, dword [ebp - 0x8c]
movzx edi, byte [ebp + 0x10]
and edi, 1
mov dword [edx + 0x10c], ecx
mov edx, dword [ebp - 0x8c]
and byte [edx + 0x199], 0xf7
mov eax, dword [ebp - 0x8c]
movzx edx, byte [eax + 0x190]
and edx, 0xfffffffe
or edx, edi
mov byte [eax + 0x190], dl
mov edi, dword [ebp - 0x8c]
mov edx, dword [ebx]
mov dword [edi + 0x10c], edx
mov edx, dword [ebp - 0x8c]
mov ebx, dword [ebx + 4]
mov dword [edx + 0x98], ebx
mov ebx, dword [ebp - 0x8c]
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x45d359
test byte [edx + 0x44], 2
je 0x45d32f
mov dword [edx + 0x38], esi
mov edx, dword [ebp - 0x8c]
mov ebx, dword [edx + 0x20]
mov dword [ebx + 0x3c], esi
mov edi, dword [ebp - 0x8c]
mov edx, dword [edi + 0x78]
test edx, edx
je 0x45d313
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.004a91cc
push esi
movzx eax, byte [ebx + 0x190]
push esi
and eax, 7
push eax
push 0xffffffffffffffff
push ebx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push ebx
push esi
push esi
push 0
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
mov eax, 0x25e
push eax
movzx ecx, byte [edx + 0x190]
push eax
and ecx, 7
push ecx
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
mov eax, 0x25e
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
mov eax, 0x24b
push eax
movzx ecx, byte [edx + 0x190]
push eax
and ecx, 7
push ecx
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
mov eax, 0x24b
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
mov dword [ebp - 0x78], 4
lea eax, [ebp - 0x54]
mov dword [ebp - 0x7c], eax
jmp 0x45d0ea
mov dword [ebp - 0x78], 9
lea eax, [ebp - 0x1b]
mov dword [ebp - 0x7c], eax
jmp 0x45d0ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45d140
mov eax, 0xffffffff
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
jmp 0x45d140
mov dword [ebp - 0x78], 3
lea eax, [ebp - 0x50]
mov dword [ebp - 0x7c], eax
jmp 0x45d0ea
push eax
push eax
movzx eax, byte [ecx + 0x190]
and eax, 7
push eax
push 0xffffffffffffffff
push ecx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push ecx
push eax
push eax
push 0
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45d1e3
mov edx, 0xffffffff
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
jmp 0x45d1e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45d513
mov eax, 0xffffffff
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
jmp 0x45cf6e
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x88], edx
jmp 0x45cf6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45d541
mov esi, 0xffffffff
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
jmp 0x45cf3b
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
jmp 0x45cf3b
cmp byte [ebx + 2], 0x53
jne 0x45cd47
push 3
lea eax, [ebp - 0x84]
push eax
push 0x53
push dword [esi]
push dword [esi + 4]
call fcn.004445d0
add esp, 0x14
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x45d5a6
add ebx, 4
movzx eax, byte [edx + 0x189]
mov byte [edx + 0x18a], al
mov esi, dword [ebp - 0x28]
or byte [esi + 0x197], 0x20
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x84]
mov byte [ecx + 0x189], dl
jmp 0x45cd47
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x45d618
test byte [ecx + 0x44], 2
je 0x45d5ea
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x45d5d4
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
push eax
movzx eax, byte [edx + 0x190]
and eax, 7
push eax
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
cmp byte [ebx + 2], 0x51
jne 0x45cd3e
push 3
lea eax, [ebp - 0x84]
push eax
push 0x51
push dword [esi]
push dword [esi + 4]
call fcn.004445d0
add esp, 0x14
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x45d695
add ebx, 4
add esi, 8
movzx eax, byte [edx + 0x185]
mov byte [edx + 0x186], al
mov ecx, dword [ebp - 0x28]
or byte [ecx + 0x197], 0x10
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x84]
mov byte [eax + 0x185], dl
jmp 0x45cd3e
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x45d707
test byte [ecx + 0x44], 2
je 0x45d6d9
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x45d6c3
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
push eax
movzx eax, byte [edx + 0x190]
and eax, 7
push eax
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
cmp byte [ebx + 2], 0x3c
jne 0x45cd35
push 3
lea eax, [ebp - 0x84]
push eax
push 0x3c
push dword [esi]
push dword [esi + 4]
call fcn.004445d0
add esp, 0x14
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x45d7b7
movzx ecx, byte [edx + 0x192]
mov eax, ecx
shr ecx, 1
and eax, 0xfffffffb
and ecx, 1
shl ecx, 2
or eax, ecx
mov byte [edx + 0x192], al
mov edx, dword [ebp - 0x28]
or byte [edx + 0x197], 8
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x84], 2
jne 0x45d7a5
movzx edx, byte [ebp + 0x12]
shr edx, 2
and edx, 1
movzx eax, byte [ecx + 0x192]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x192], al
jmp 0x45d7ac
and byte [ecx + 0x192], 0xfd
add ebx, 4
add esi, 8
jmp 0x45cd35
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x45d829
test byte [ecx + 0x44], 2
je 0x45d7fb
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x45d7e5
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
push eax
movzx eax, byte [edx + 0x190]
and eax, 7
push eax
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
cmp byte [ebx + 2], 0x3b
jne 0x45cd2c
push 3
lea eax, [ebp - 0x84]
push eax
push 0x3b
push dword [esi]
push dword [esi + 4]
call fcn.004445d0
add esp, 0x14
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x45d8ce
movzx eax, byte [edx + 0x17f]
mov byte [edx + 0x180], al
mov edx, dword [ebp - 0x28]
or byte [edx + 0x197], 4
mov eax, dword [ebp - 0x84]
cmp eax, 2
je 0x45d8b9
cmp eax, 1
jne 0x45d8a8
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x17f], 0x27
jmp 0x45d8c3
cmp eax, 3
jne 0x45d8b9
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x17f], 0x22
jmp 0x45d8c3
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x17f], 0
add ebx, 4
add esi, 8
jmp 0x45cd2c
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x45d940
test byte [ecx + 0x44], 2
je 0x45d912
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x45d8fc
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
push eax
movzx eax, byte [edx + 0x190]
and eax, 7
push eax
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
cmp byte [ebx + 2], 0x52
jne 0x45cd23
push 3
lea eax, [ebp - 0x84]
push eax
push 0x52
push dword [esi]
push dword [esi + 4]
call fcn.004445d0
add esp, 0x14
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x45d9bd
add ebx, 4
add esi, 8
movzx eax, byte [edx + 0x187]
mov byte [edx + 0x188], al
mov ecx, dword [ebp - 0x28]
or byte [ecx + 0x197], 2
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x84]
mov byte [eax + 0x187], dl
jmp 0x45cd23
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x45da2f
test byte [ecx + 0x44], 2
je 0x45da01
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x45d9eb
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
push eax
movzx eax, byte [edx + 0x190]
and eax, 7
push eax
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
cmp byte [ebx + 2], 6
jne 0x45cd1a
push 3
lea eax, [ebp - 0x84]
push eax
push 6
push dword [esi]
push dword [esi + 4]
call fcn.004445d0
add esp, 0x14
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x45dad0
movzx ecx, byte [edx + 0x18f]
mov eax, ecx
shr ecx, 5
and eax, 0xffffffbf
and ecx, 1
shl ecx, 6
or eax, ecx
mov byte [edx + 0x18f], al
mov edx, dword [ebp - 0x28]
or byte [edx + 0x197], 1
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x28]
cmp eax, 1
je 0x45dabe
cmp eax, 2
jne 0x45dabe
or byte [edx + 0x18f], 0x20
jmp 0x45dac5
and byte [edx + 0x18f], 0xdf
add ebx, 4
add esi, 8
jmp 0x45cd1a
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x45db42
test byte [ecx + 0x44], 2
je 0x45db14
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x45dafe
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
push eax
movzx eax, byte [edx + 0x190]
and eax, 7
push eax
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
cmp byte [ebx + 2], 0x4f
jne 0x45cd11
mov eax, dword [ebp - 0x28]
test byte [eax + 0x18f], 4
jne 0x45dc3a
mov ecx, dword [eax + 0x20]
test byte [eax + 0x18d], 0x20
jne 0x45dbe1
test ecx, ecx
je 0x45dca2
test byte [ecx + 0x44], 2
je 0x45dc6f
mov edx, 0x6d
mov dword [ecx + 0x38], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x45dbc3
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x78], edx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
mov eax, 0x6d
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test ecx, ecx
je 0x45dcfa
test byte [ecx + 0x44], 2
je 0x45dcca
mov dword [ecx + 0x38], 0x6e
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x45dc1c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x78], edx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
mov eax, 0x6e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, dword [esi]
add edx, 0xffffffff
mov ecx, dword [esi + 4]
adc ecx, 0xffffffff
add esi, 8
mov dword [eax + 0xc8], edx
mov dword [eax + 0xcc], ecx
xor eax, eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0xcc]
sub ecx, eax
jl 0x45dd1f
add ebx, 4
jmp 0x45cd11
mov edx, 0x6d
push edx
movzx ecx, byte [eax + 0x190]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push eax
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
mov eax, 0x6d
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push 0x1f
movzx edx, byte [eax + 0x190]
push 0x6e
and edx, 7
push edx
push 0xffffffffffffffff
push eax
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push eax
push 0x1f
push 0x6e
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
mov eax, dword [edx + 0x20]
test eax, eax
je 0x45dda3
test byte [eax + 0x44], 2
je 0x45dd70
mov edx, 0x6f
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x45dd52
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x78], edx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
mov eax, 0x6f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, 0x6f
push eax
movzx ecx, byte [edx + 0x190]
push eax
and ecx, 7
push ecx
push 0xffffffffffffffff
push edx
call fcn.0046e340
add esp, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
push edx
mov eax, 0x6f
push eax
push eax
push 1
call fcn.00463630
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
cmp ecx, dword [0x4f195c]
jne 0x45d32a
jmp 0x45cc6d
cmp byte [ebx + 2], 0x4e
jne 0x45cd08
mov edx, dword [ebp - 0x28]
add ebx, 4
mov eax, dword [esi]
mov dword [edx + 0x10c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [esi + 4]
add esi, 8
mov dword [eax + 0x98], ecx
mov edx, dword [ebp - 0x28]
and byte [edx + 0x199], 0xf7
jmp 0x45cd08